1 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4 (latin_a_char_to_byte1): Deleted.
5 (latin_a_char_to_byte2): Deleted.
7 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
9 * mule-charset.c (make_charset): Add new argument `ucs_min',
10 `ucs_max' and `code_offset'.
11 (charset_get_byte1): New implementation [delete specific charset
12 depended implementations].
13 (Fmake_charset): Modify for `make_charset'.
14 (Fmake_reverse_direction_charset): Likewise.
15 (complex_vars_of_mule_charset): Likewise.
17 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
19 (CHARSET_UCS_MIN): New macro.
20 (CHARSET_UCS_MAX): New macro.
21 (CHARSET_CODE_OFFSET): New macro.
22 (MAKE_CHAR): Delete charset depended definitions [except
25 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
27 * char-ucs.h (breakup_char_1): Use
28 `Vdefault_coded_charset_priority_list' for C0-Controls,
29 Basic-Latin, C1-Controls and Latin-1-Supplement area.
31 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
33 * char-ucs.h (charset_get_byte1): New function.
34 (XCHARSET_GET_BYTE1): Deleted.
35 (charset_get_byte2): New function.
36 (XCHARSET_GET_BYTE2): Deleted.
37 (Vdefault_coded_charset_priority_list): New external variable.
38 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
39 `Vdefault_preferred_coded_charset_list'.
41 * mule-charset.c (charset_get_byte1): New function.
42 (charset_get_byte2): New function.
43 (Vdefault_coded_charset_priority_list): New variable.
44 (vars_of_mule_charset): Add new variable
45 `default-coded-charset-priority-list'.
47 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
49 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
50 (XCHARSET_GET_BYTE2): New inline function.
51 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
54 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
56 * mule-charset.c (make_charset): Initialize
57 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
58 NULL if table is not defined.
60 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
62 * text-coding.c (char_encode_shift_jis): Use
63 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
64 `ucs_to_latin_jisx0201'.
66 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
67 (ucs_to_latin_iso8859_2): Deleted.
68 (ucs_to_latin_iso8859_3): Deleted.
69 (ucs_to_latin_iso8859_4): Deleted.
70 (ucs_to_latin_iso8859_9): Deleted.
71 (ucs_to_latin_viscii_lower): Deleted.
72 (ucs_to_latin_viscii_upper): Deleted.
73 (ucs_to_latin_tcvn5712): Deleted.
74 (make_charset): Add new argument `decoding_table'; set up
75 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
76 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
77 `decoding_table' is defined in UTF-2000.
78 (Fmake_charset): Modify for `make_charset'.
79 (Fmake_reverse_direction_charset): Likewise.
80 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
81 and `GENERATE_96_SET'.
83 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
84 (ucs_to_latin_jisx0201): Deleted.
85 (latin_iso8859_2_to_ucs): Deleted.
86 (ucs_to_latin_iso8859_2): Deleted.
87 (latin_iso8859_3_to_ucs): Deleted.
88 (ucs_to_latin_iso8859_3): Deleted.
89 (latin_iso8859_4_to_ucs): Deleted.
90 (ucs_to_latin_iso8859_4): Deleted.
91 (latin_iso8859_9_to_ucs): Deleted.
92 (ucs_to_latin_iso8859_9): Deleted.
93 (latin_viscii_lower_to_ucs): Deleted.
94 (ucs_to_latin_viscii_lower): Deleted.
95 (latin_viscii_upper_to_ucs): Deleted.
96 (ucs_to_latin_viscii_upper): Deleted.
97 (struct Lisp_Charset): Renamed `encoding_table' to
98 `to_byte1_table'; add `to_byte2_table'.
99 (CHARSET_DECODING_TABLE): New macro.
100 (CHARSET_TO_BYTE1_TABLE): New macro.
101 (CHARSET_TO_BYTE2_TABLE): New macro.
102 (XCHARSET_DECODING_TABLE): New macro.
103 (XCHARSET_TO_BYTE1_TABLE): New macro.
104 (XCHARSET_TO_BYTE2_TABLE): New macro.
105 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
107 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
108 don't use `ucs_to_*' tables.
110 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
112 * text-coding.c (Fmake_coding_system): Don't set up
113 `codesys->fixed.size'.
114 (encode_coding_no_conversion): Use `if' instead of `switch'.
116 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
118 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
120 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
121 (Fmake_charset): Modify for `make_charset'.
122 (Fmake_reverse_direction_charset): Likewise.
123 (complex_vars_of_mule_charset): Likewise.
125 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
127 * text-coding.c (char_encode_shift_jis): Use table
128 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
130 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
132 * text-coding.c (text_encode_generic): Use `if' instead of
134 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
137 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
139 * text-coding.c (encode_coding_sjis): Deleted.
140 (char_encode_shift_jis): New function.
141 (char_finish_shift_jis): New function.
142 (reset_encoding_stream): Set up `encode_char' and `finish' for
143 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
144 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
145 (char_encode_utf8): Treat `eol_type'.
147 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
149 * file-coding.c (decode_coding_iso2022): Use
150 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
152 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
154 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
157 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
159 * char-lb.h (CHAR_COLUMNS): New macro.
161 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
163 * text-coding.c (char_encode_ucs4): New function.
164 (char_finish_ucs4): New function.
165 (encode_coding_ucs4): Deleted.
166 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
167 (text_encode_generic): Delete local variable `charset' and `half'.
168 (ucs_to_mule_table): Deleted.
169 (mule_to_ucs_table): Deleted.
170 (Fset_ucs_char): Deleted.
171 (ucs_to_char): Deleted.
172 (Fucs_char): Deleted.
173 (Fset_char_ucs): Deleted.
174 (Fchar_ucs): Deleted.
175 (decode_ucs4): Deleted.
176 (mule_char_to_ucs4): Deleted.
177 (encode_ucs4): Deleted.
178 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
179 (decode_coding_utf8): Likewise.
180 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
181 (char_encode_iso2022): Fixed.
182 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
183 `Fset_char_ucs' and `Fchar_ucs'.
184 (complex_vars_of_file_coding): Don't initialize
187 * objects-tty.c (tty_initialize_font_instance): Don't use
190 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
193 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
194 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
196 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
197 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
198 (emchar_string_displayed_columns): Likewise.
200 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
201 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
202 (string_column_at_point): Likewise.
203 (Fmove_to_column): Likewise.
205 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
206 `encoding_table' and `decoding_table'.
207 (CHARSET_REP_BYTES): Deleted.
208 (XCHARSET_REP_BYTES): Deleted.
209 (XCHARSET_COLUMNS): Deleted.
210 (CHAR_COLUMNS): New macro.
211 (lookup_composite_char): Deleted unconditionally.
212 (composite_char_string): Likewise.
214 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
216 * char-ucs.h (Emchar_to_byte_table): New type.
217 (get_byte_from_character_table): New function interface.
218 (Vcharset_latin_jisx0201): New variable.
219 (latin_jisx0201_to_ucs): New variable.
220 (ucs_to_latin_jisx0201): New variable.
221 (Vcharset_latin_iso8859_2): New variable.
222 (latin_iso8859_2_to_ucs): New variable.
223 (ucs_to_latin_iso8859_2): New variable.
224 (Vcharset_latin_iso8859_3): New variable.
225 (latin_iso8859_3_to_ucs): New variable.
226 (ucs_to_latin_iso8859_3): New variable.
227 (Vcharset_latin_iso8859_4): New variable.
228 (latin_iso8859_4_to_ucs): New variable.
229 (ucs_to_latin_iso8859_4): New variable.
230 (Vcharset_latin_iso8859_9): New variable.
231 (latin_iso8859_9_to_ucs): New variable.
232 (ucs_to_latin_iso8859_9): New variable.
233 (Vcharset_latin_viscii_lower): New variable.
234 (latin_viscii_lower_to_ucs): New variable.
235 (ucs_to_latin_viscii_lower): New variable.
236 (Vcharset_latin_viscii_upper): New variable.
237 (latin_viscii_upper_to_ucs): New variable.
238 (ucs_to_latin_viscii_upper): New variable.
239 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
240 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
241 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
242 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
243 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
244 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
245 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
246 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
247 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
248 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
250 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
251 (Vcharset_latin_viscii_upper): New variable.
252 (make_byte_from_character_table): New function.
253 (put_byte_from_character_table): New function.
254 (get_byte_from_character_table): New function.
256 (ucs_to_latin_jisx0201): New variable.
257 (latin_jisx0201_to_ucs): New variable.
258 (ucs_to_latin_iso8859_2): New variable.
259 (latin_iso8859_2_to_ucs): New variable.
260 (ucs_to_latin_iso8859_3): New variable.
261 (latin_iso8859_3_to_ucs): New variable.
262 (ucs_to_latin_iso8859_4): New variable.
263 (latin_iso8859_4_to_ucs): New variable.
264 (ucs_to_latin_iso8859_9): New variable.
265 (latin_iso8859_9_to_ucs): New variable.
266 (ucs_to_latin_viscii_lower): New variable.
267 (latin_viscii_lower_to_ucs): New variable.
268 (ucs_to_latin_viscii_upper): New variable.
269 (latin_viscii_upper_to_ucs): New variable.
270 (ucs_to_latin_tcvn5712): New variable.
271 (latin_tcvn5712_to_ucs): New variable.
272 (Qlatin_viscii_lower): New variable.
273 (Qlatin_viscii_upper): New variable.
274 (syms_of_mule_charset): Set up new symbol
275 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
276 (complex_vars_of_mule_charset): Set up new charset
277 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
278 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
279 `ucs_to_<CHARSET>' tables.
281 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
283 * text-coding.c: New file.
285 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
287 * mule-charset.c (Fmake_char): Fix problem of 256-set.
289 * char-ucs.h (Vcharset_ucs_bmp): New variable.
290 (MAKE_CHAR): Modify for `ucs-bmp'.
291 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
292 non-MULE characters of BMP.
294 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
296 * mule-charset.c (vars_of_mule_charset):
297 Update `utf-2000-version' to 0.6.
299 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
302 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
303 - Include character.h for `CHAR_ASCII_P'.
305 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
307 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
308 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
310 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
311 (BYTE_C0_P): Likewise.
312 (BYTE_C1_P): Likewise.
313 (Lstream_get_emchar_1): Likewise.
314 (Lstream_fput_emchar): Likewise.
315 (Lstream_funget_emchar): Likewise.
316 (copy_internal_to_external): Likewise.
317 (copy_external_to_internal): Likewise.
319 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
320 (BYTE_C0_P): Likewise.
321 (BYTE_C1_P): Likewise.
322 (Lstream_get_emchar_1): Likewise.
323 (Lstream_fput_emchar): Likewise.
324 (Lstream_funget_emchar): Likewise.
325 (copy_internal_to_external): Likewise.
326 (copy_external_to_internal): Likewise.
328 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
329 (REP_BYTES_BY_FIRST_BYTE): Likewise.
331 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
332 (BYTE_ASCII_P): Moved to mb-1byte.h.
334 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
336 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
338 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
339 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
340 (VALID_CHARPTR_P): Moved to mb-*byte.h.
341 (VALIDATE_CHARPTR_BACKWARD): Likewise.
342 (VALIDATE_CHARPTR_FORWARD): Likewise.
343 (simple_charptr_emchar): Moved to mb-multibyte.h.
344 (simple_set_charptr_emchar): Likewise.
345 (simple_charptr_copy_char): Likewise.
346 (non_ascii_charptr_emchar): Likewise.
347 (non_ascii_set_charptr_emchar): Likewise.
348 (non_ascii_charptr_copy_char): Likewise.
349 (charptr_emchar): Moved to mb-*byte.h.
350 (set_charptr_emchar): Likewise.
351 (charptr_copy_char): Likewise.
353 * mb-1byte.h, mb-multibyte.h: New files.
355 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
357 * mb-utf-8.h (MULTIBYTE): New macro.
358 (MAX_EMCHAR_LEN): Moved from buffer.h.
359 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
361 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
363 * mb-lb.h, multibyte.h: New files.
365 * char-1byte.h (Charset_ID): Moved from buffer.h.
366 (MIN_LEADING_BYTE): Likewise.
367 (LEADING_BYTE_ASCII): Likewise.
368 (NUM_LEADING_BYTES): Likewise.
369 (CHARSETP): Likewise.
370 (CHARSET_BY_LEADING_BYTE): Likewise.
371 (XCHARSET_LEADING_BYTE): Likewise.
372 (XCHARSET_GRAPHIC): Likewise.
373 (XCHARSET_COLUMNS): Likewise.
374 (XCHARSET_DIMENSION): Likewise.
375 (CHAR_CHARSET): Likewise.
376 (CHAR_LEADING_BYTE): Likewise.
377 (BREAKUP_CHAR): Likewise.
378 (Vcharset_ascii): Likewise.
380 * buffer.h: Include multibyte.h unconditionally.
381 (VALID_CHARPTR_P): Moved to multibyte.h.
382 (ASSERT_VALID_CHARPTR): Likewise.
383 (REAL_INC_CHARPTR): Likewise.
384 (REAL_INC_CHARBYTIND): Likewise.
385 (REAL_DEC_CHARPTR): Likewise.
386 (INC_CHARPTR): Likewise.
387 (INC_CHARBYTIND): Likewise.
388 (DEC_CHARPTR): Likewise.
389 (VALIDATE_CHARPTR_BACKWARD): Likewise.
390 (VALIDATE_CHARPTR_FORWARD): Likewise.
391 (charptr_n_addr): Likewise.
392 (MAX_EMCHAR_LEN): Moved to mb-*.h.
393 (simple_charptr_emchar): Moved to multibyte.h.
394 (simple_set_charptr_emchar): Likewise.
395 (simple_charptr_copy_char): Likewise.
396 (non_ascii_charptr_emchar): Likewise.
397 (non_ascii_set_charptr_emchar): Likewise.
398 (non_ascii_charptr_copy_char): Likewise.
399 (charptr_emchar): Likewise.
400 (set_charptr_emchar): Likewise.
401 (charptr_copy_char): Likewise.
402 (charptr_emchar_n): Likewise.
403 (Charset_ID): Moved to char-1byte.h.
404 (Vcharset_ascii): Likewise.
405 (CHAR_CHARSET): Likewise.
406 (CHAR_LEADING_BYTE): Likewise.
407 (LEADING_BYTE_ASCII): Likewise.
408 (NUM_LEADING_BYTES): Likewise.
409 (MIN_LEADING_BYTE): Likewise.
410 (CHARSETP): Likewise.
411 (CHARSET_BY_LEADING_BYTE): Likewise.
412 (XCHARSET_LEADING_BYTE): Likewise.
413 (XCHARSET_GRAPHIC): Likewise.
414 (XCHARSET_COLUMNS): Likewise.
415 (XCHARSET_DIMENSION): Likewise.
416 (BREAKUP_CHAR): Likewise.
418 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
420 * character.h: Add document about interface for characters.
422 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
423 (MAKE_CHAR): Delete comment about
424 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
425 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
426 (BREAKUP_CHAR): Modify name of arguments.
427 (CHAR_CHARSET): Modify name of argument.
429 * buffer.h: Delete document about Emchar accessors.
431 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
433 * character.h (CHAR_INTP): Moved from buffer.h
434 (CHAR_OR_CHAR_INTP): Likewise.
435 (XCHAR_OR_CHAR_INT): Likewise.
436 (CHECK_CHAR_COERCE_INT): Likewise.
438 * buffer.h (CHAR_INTP): Moved to character.h
439 (CHAR_OR_CHAR_INTP): Likewise.
440 (XCHAR_OR_CHAR_INT): Likewise.
441 (CHECK_CHAR_COERCE_INT): Likewise.
443 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
446 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
447 - Include char-1byte.h, char-lb.h or char-ucs.h.
449 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
451 * buffer.h: Include character unconditionally.
452 (valid_char_p): Moved to char-*.h.
453 (non_ascii_valid_char_p): Moved to char-lb.h.
455 * char-1byte.h, char-lb.h, char-ucs.h: New files.
457 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
459 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
460 in UTF-2000 because it is not ported yet and not to use
461 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
462 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
463 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
465 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
466 (CHAR_ASCII_P): Moved from character.h.
468 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
469 (CHAR_ASCII_P): Likewise.
470 (CHAR_FIELD1_MASK): Deleted.
471 (CHAR_FIELD2_MASK): Deleted.
472 (CHAR_FIELD3_MASK): Deleted.
473 (MAX_CHAR_BASIC_LATIN): New macro.
474 (CHAR_FIELD1): Deleted.
475 (CHAR_FIELD2_INTERNAL): Deleted.
476 (CHAR_FIELD3_INTERNAL): Deleted.
477 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
478 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
479 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
480 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
481 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
482 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
483 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
484 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
485 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
486 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
487 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
488 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
489 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
490 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
491 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
492 (MIN_CHAR_COMPOSITION): Deleted.
493 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
494 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
496 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
498 * buffer.h: Include mb-utf-8.h in UTF-2000.
500 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
502 * mb-utf-8.h: New file.
504 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
506 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
509 * mule-charset.h, buffer.h (Charset_ID): New type.
511 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
513 * mule-canna.c (c2mu): Use `MAKE_CHAR',
514 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
515 instead of `MULE_CHAR_PRIVATE_OFFSET',
516 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
517 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
518 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
520 * character.h (Vcharset_japanese_jisx0212): New variable
523 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
525 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
526 (charset_by_attributes): Delete array about direction.
527 (latin_a_char_to_charset): New variable in UTF-2000.
528 (latin_a_char_to_byte1): New variable in UTF-2000.
529 (latin_a_char_to_byte2): New variable in UTF-2000.
530 (Qucs_bmp): New variable.
531 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
533 (next_allocated_2_byte_leading_byte): Likewise.
534 (non_ascii_set_charptr_emchar): Likewise.
535 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
536 `CHARSET_TYPE_256X256' in UTF-2000; modify for
537 `charset_by_attributes'.
538 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
539 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
540 and `CHARSET_BY_LEADING_BYTE'.
541 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
542 `utf-2000-version' to `vars_of_mule_charset'.
543 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
544 define `leading-code-private-11' in UTF-2000; move setting of
545 `utf-2000-version' from `syms_of_mule_charset'.
546 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
549 * character.h (Charset_ID): New type.
550 (LEADING_BYTE_UCS_BMP): New macro.
551 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
552 (CHARSET_ID_OFFSET_94): New macro.
553 (MIN_CHARSET_ID_PRIVATE_94): New macro.
554 (MAX_CHARSET_ID_PRIVATE_94): New macro.
555 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
557 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
558 (LEADING_BYTE_LATIN_JISX0201): Likewise.
559 (CHARSET_ID_OFFSET_96): New macro.
560 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
561 CHARSET_ID_OFFSET_96 and final-byte.
562 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
563 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
564 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
565 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
566 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
567 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
568 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
569 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
570 (LEADING_BYTE_THAI_TIS620): Likewise.
571 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
572 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
573 (CHARSET_ID_OFFSET_94x94): New macro.
574 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
575 CHARSET_ID_OFFSET_94x94 and final-byte.
576 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
577 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
578 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
579 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
580 (LEADING_BYTE_CHINESE_GB2312): Likewise.
581 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
582 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
583 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
584 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
585 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
586 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
587 (CHARSET_TYPE_128X128): New macro.
588 (CHARSET_TYPE_256X256): New macro.
589 (XCHARSET_PRIVATE_P): Delete unconditionally.
590 (charset_by_attributes): Delete array about direction.
591 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
592 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
593 (MIN_CHAR_94): New macro.
594 (MAX_CHAR_94): New macro.
595 (MIN_CHAR_96): New macro.
596 (MAX_CHAR_96): New macro.
597 (MIN_CHAR_94x94): New macro.
598 (MAX_CHAR_94x94): New macro.
599 (MIN_CHAR_96x96): New macro.
600 (MAX_CHAR_96x96): New macro.
601 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
602 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
603 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
605 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
606 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
607 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
608 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
609 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
610 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
611 `XCHARSET_LEADING_BYTE' to make code-point.
612 (latin_a_char_to_charset): New variable.
613 (latin_a_char_to_byte1): New variable.
614 (latin_a_char_to_byte2): New variable.
615 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
616 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
617 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
619 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
620 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
621 (find_charsets_in_emchar_string): Likewise.
622 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
624 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
626 (decode_coding_iso2022): Likewise.
628 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
631 * redisplay.c (redisplay_text_width_emchar_string): Use
632 `Charset_ID' instead of `unsigned char'.
633 (redisplay_frame_text_width_string): Likewise.
635 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
638 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
639 instead of `unsigned char'.
640 (face_cachel_charset_font_metric_info): Likewise.
642 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
643 (get_non_ascii_char_table_value): Likewise.
644 (get_char_table): Likewise.
645 (put_char_table): Likewise.
646 (map_over_other_charset): Likewise.
647 (map_char_table): Likewise.
649 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
650 instead of `unsigned char'.
652 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
654 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
655 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
657 * mule-charset.c (leading_code_private_11): Don't define in
660 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
661 in UTF-2000 because it is not ported yet and not to use
662 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
664 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
666 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
668 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
670 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
673 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
674 of unsigned char to store leading-byte.
676 * chartab.c (get_non_ascii_char_table_value): Don't use
677 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
679 * file-coding.c (encode_coding_big5): Delete bogus implementation
682 * character.h (LEADING_BYTE_*): Delete definition for
684 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
685 (LEADING_BYTE_PREFIX_P): Deleted.
686 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
687 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
688 (BUFBYTE_LEADING_BYTE_P): Deleted.
689 (CHARSET_PRIVATE_P): Deleted unconditionally.
690 (rep_bytes_by_first_byte): Deleted unconditionally.
691 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
692 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
693 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
694 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
695 (CHAR_FIELD2): Deleted.
696 (CHAR_FIELD3): Deleted.
697 (MAKE_CHAR): Delete definition for non-UTF-2000.
698 (BREAKUP_CHAR_1_UNSAFE): Deleted.
699 (breakup_char_1): New implementation.
700 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
701 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
703 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
705 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
708 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
710 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
711 (CHARSET_PRIVATE_P): Likewise.
712 (XCHARSET_PRIVATE_P): Likewise.
713 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
715 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
717 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
719 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
721 * character.h (LEADING_BYTE_*): Changed in UTF2000.
722 (NUM_LEADING_BYTES): Changed from 128 to 256.
723 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
724 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
726 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
728 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
730 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
731 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
732 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
733 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
734 (Qchinese_cns11643_3): New variable in UTF2000.
735 (Qchinese_cns11643_4): New variable in UTF2000.
736 (Qchinese_cns11643_5): New variable in UTF2000.
737 (Qchinese_cns11643_6): New variable in UTF2000.
738 (Qchinese_cns11643_7): New variable in UTF2000.
739 (syms_of_mule_charset): Define `chinese-cns11643-3',
740 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
741 and `chinese-cns11643-7' in UTF2000.
742 (vars_of_mule_charset): Initialize
743 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
745 (complex_vars_of_mule_charset): Setup charset
746 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
747 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
749 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
751 * mule-charset.c: Move setting for `leading-code-private-11' from
752 `syms_of_mule_charset' to `vars_of_mule_charset'.
754 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
756 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
757 and `NUM_LEADING_BYTES' in assert.
759 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
761 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
763 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
764 `NUM_LEADING_BYTES' instead of 128.
766 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
768 * mule-charset.h (charset_by_leading_byte): Use
769 `NUM_LEADING_BYTES' instead of 128.
770 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
772 * mule-charset.c (charset_by_leading_byte): Use
773 `NUM_LEADING_BYTES' instead of 128.
774 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
776 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
779 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
781 * mule-charset.c (syms_of_mule_charset): Update to
784 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
786 * file-coding.c (encode_coding_sjis): New implementation for
787 UTF2000. (decode_coding_sjis): Ditto.
789 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
791 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
792 Don't define in UTF2000.
794 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
797 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
798 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
801 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
803 * config.h.in (CHAR_IS_UCS4): New macro.
805 * mule-charset.c (rep_bytes_by_first_byte): Modify for
806 conventional MULE representation.
807 (syms_of_mule_charset): Update to 0.3 (Imamiya).
809 * mule-charset.h: Reverted to original.
811 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
812 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
813 "mule-charset.h" if CHAR_IS_UCS4 is defined.
815 * character.h: New file.
817 * file-coding.c (Fmake_coding_system): Set 1 to
818 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
820 (encode_coding_no_conversion): New implementation for UTF2000.
822 * file-coding.h (struct Lisp_Coding_System): Add new member
825 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
827 * file-coding.c (decode_coding_iso2022): Code-point arguments of
828 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
829 (encode_coding_iso2022): New implementation for UTF2000.
831 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
833 * mule-canna.c (c2mu): New implementation for UTF2000.
836 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
838 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
840 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
842 * file-coding.c (reset_encoding_stream): Set 0 to
843 `str->iso2022.current_char_boundary' in UTF2000.
844 (encode_utf8): Don't define in UTF2000.
845 (encode_coding_utf8): New implementation for UTF-8 representation
847 (complex_vars_of_file_coding): Define coding-system `utf-8'.
849 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
851 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
853 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
855 (REP_BYTES_BY_FIRST_BYTE): Likewise.
857 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
859 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
860 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
862 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
863 (non_ascii_valid_char_p): Don't define in UTF2000.
864 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
865 (Lstream_get_emchar_1): Likewise.
866 (utf-2000-version): New variable in UTF2000.
868 * lread.c (read_escape): Add new reader `u'.
870 * insdel.c (three_to_one_table): Don't define in UTF2000.
871 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
872 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
874 (bytind_to_bufpos_func): Likewise.
875 (buffer_mule_signal_inserted_region): Likewise.
876 (vars_of_insdel): Don't initialize `three_to_one_table'.
877 (init_buffer_text): Use `buf->text->mule_size' instead of
878 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
881 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
882 UTF-8 representation in UTF2000.
883 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
884 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
885 (decode_coding_iso2022): Don't define local variable `lb' in
886 UTF2000; don't use LEADING_BYTE in UTF2000; use
887 `DECODE_ADD_UCS_CHAR' in UTF2000.
888 (convert_to_external_format): Decode as UTF-8 in UTF2000.
890 * config.h.in (UTF2000): New macro.
892 * buffer.h (struct buffer_text): Add new member `mule_size' and
893 don't add `mule_shifter' and `mule_three_p' in UTF2000.
894 (valid_char_p): Return always 1 in UTF2000.
895 (MAX_EMCHAR_LEN): 6 in UTF2000.
896 (three_to_one_table): Don't define in UTF2000.
897 (real_bufpos_to_bytind): Modify for UTF-8 representation in
899 (real_bytind_to_bufpos): Likewise.
901 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
903 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
905 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
906 representation change.
907 (Vutf_2000_version): New variable.
908 (leading_code_private_11): New variable.
909 (syms_of_mule_charset): Add new variables `utf-2000-version' and
910 `leading-code-private-11'.
912 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
913 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
914 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
915 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
916 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
917 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
918 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
919 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
920 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
921 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
922 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
923 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
924 (MIN_CHAR_GREEK): New macro.
925 (MAX_CHAR_GREEK): New macro.
926 (MIN_CHAR_CYRILLIC): New macro.
927 (MAX_CHAR_CYRILLIC): New macro.
928 (MIN_CHAR_HEBREW): New macro.
929 (MAX_CHAR_HEBREW): New macro.
930 (MIN_CHAR_THAI): New macro.
931 (MAX_CHAR_THAI): New macro.
932 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
933 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
934 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
935 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
936 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
937 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
938 (CHAR_FIELD2): New inline function.
939 (CHAR_FIELD3): New inline function.
940 (MULE_CHAR_PRIVATE_OFFSET): New macro.
941 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
942 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
943 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
944 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
945 (MIN_CHAR_COMPOSITION): Likewise.
946 (CHAR_LEADING_BYTE): Modified for character representation change.
947 (MAKE_CHAR): Likewise.
949 * lisp.h (Vcharset_latin_iso8859_1): New variable.
950 (Vcharset_greek_iso8859_7): Likewise.
951 (Vcharset_cyrillic_iso8859_5): Likewise.
952 (Vcharset_hebrew_iso8859_8): Likewise.
953 (Vcharset_thai_tis620): Likewise.
954 (Vcharset_katakana_jisx0201): Likewise.
956 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
958 * file-coding.c (determine_real_coding_system): Treat `coding:'
961 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
963 * file-coding.c (struct decoding_stream): New member `counter'.
964 (reset_decoding_stream): Initialize `counter'.
965 (decode_coding_ucs4): Use `counter'.
966 (decode_coding_utf8): Likewise.
968 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
970 * XEmacs 21.2.19 is released
972 1999-07-27 Jeff Miller <jmiller@smart.net>
974 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
975 menubar_show_keybindings.
977 1999-07-23 SL Baur <steve@miho>
979 * mule-charset.c (syms_of_mule_charset): Delete duplicated
980 definition of Qccl_program.
982 * mule-ccl.h: Make a global declaration of it here.
984 1999-07-20 Bob Weiner <weiner@beopen.com>
986 * s/sco7.h: Added from rr@sco.com.
988 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
990 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
992 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
994 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
995 (mule_encode): Likewise.
997 * mule-ccl.c (Qccl_program): New variable.
998 (CCL_SUSPEND): New macro.
999 (CCL_INVALID_CMD): New macro.
1000 (CCL_READ_CHAR): Don't regard as invalid command while processing
1001 the last block even if input is empty; use
1002 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1003 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1005 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1006 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1007 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1008 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1009 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1011 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1013 * mule-ccl.h (struct ccl_program): New member stack_idx.
1015 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1016 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1018 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1020 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1022 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1025 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1027 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1028 processing the last block, don't just finish but processes eol
1029 block of the current CCL program.
1030 (ccl_driver): Add a new jump label ccl_repeat for the above
1033 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1035 * mule-ccl.c: Typo in comments fixed.
1036 (Qccl_program_idx): New variables.
1037 (CCL_ReadMultibyteChar2): Macro name changed from
1038 CCL_ReadMultibyteCharacter.
1039 (CCL_WriteMultibyteChar2): Macro name changed from
1040 CCL_WriteMultibyteChar2.
1041 (ccl_driver): Adjusted for the above changes.
1042 (resolve_symbol_ccl_program): New function.
1043 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1044 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1045 numbers by resolve_symbol_ccl_program.
1046 (Fccl_execute_on_string): Likewise.
1047 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1048 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1050 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1052 * mule-ccl.h: (struct ccl_program): New member private_state.
1055 (CCL_Call): Fix the comment.
1056 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1057 macros for CCL Commands.
1059 (ccl_driver): New case lable `CCL_Extention'.
1060 (setup_ccl_program): Initialize the member `private_state' of CCL.
1062 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1064 * keymap.c (copy_keymap_internal): Inherit the default binding.
1066 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1068 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1069 focus the event (XIM_focus_event).
1070 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1071 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1072 the interface for future use (XIM_SetGeometry).
1073 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1074 location (XIM_SetSpotLocation).
1075 (x_output_eol_cursor): Ditto.
1077 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1079 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1080 Olivier's change to lrecord.h of 1999-04-22
1082 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1084 * gutter.c (redraw_exposed_gutter): Change type of pos from
1085 enum toolbar_pos -> enum gutter_pos, since former is only defined
1086 if toolbar support is.
1088 1999-07-19 Andy Piper <andy@xemacs.org>
1090 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1093 * gutter.c (gutter_validate): new function for the gutter specifier.
1094 (specifier_type_create_gutter): declare specifier validator.
1096 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1098 1999-07-18 Andy Piper <andy@xemacs.org>
1100 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1102 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1104 (mswindows_resize_subwindow): new function.
1106 * gutter.c (redraw_exposed_gutter): only reset the
1107 current_display_lines if non-zero.
1108 (Fgutter_pixel_height): new function.
1109 (Fgutter_pixel_width): new function.
1111 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1112 we want to retrive from the tab control.
1114 1999-07-17 Andy Piper <andy@xemacs.org>
1116 * window.c (change_window_height): mark gutters changed when we're
1119 * gutter.c (specifier_vars_of_gutter): make defaults more
1122 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1124 (DEFAULT_GUTTER_WIDTH): change.
1125 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1127 1999-07-18 Andy Piper <andy@xemacs.org>
1129 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1131 1999-07-16 Andy Piper <andy@xemacs.org>
1133 * frame.c (Fmake_frame): call init_frame_gutters().
1135 * redisplay.c (add_emchar_rune): use string functions if we are
1136 working with a string.
1137 (position_redisplay_data_type): add string element.
1139 1999-07-15 Andy Piper <andy@xemacs.org>
1141 * winslots.h: add real_gutter_size slots to hold the actual gutter
1142 size. This is important for autodetected sizes.
1144 * gutter.c (calculate_gutter_size): calculate size for gutters
1145 that have 'autodetect size.
1147 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1148 extent of divider for gutters.
1150 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1151 divider for gutters.
1153 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1154 position to take into account the gutters.
1156 * redisplay.c (generate_modeline): adjust modeline position to
1157 take into account the gutters.
1159 1999-07-14 Andy Piper <andy@xemacs.org>
1161 * gutter.c (frame_topmost_window): new function.
1162 (frame_bottommost_window): ditto.
1163 (frame_leftmost_window): ditto.
1164 (frame_rightmost_window): ditto.
1166 1999-07-13 Andy Piper <andy@xemacs.org>
1168 * redisplay.c (calculate_display_line_boundaries): use text
1169 boundaries so that gutters get handled properly.
1171 1999-07-12 Andy Piper <andy@xemacs.org>
1173 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1176 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1179 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1182 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1184 * gutter.c: new file - implements gutters. All new functions are
1185 semantically equivalent to the toolbar functions.
1186 (gutter_was_visible): new function.
1187 (get_gutter_coords): ditto.
1188 (output_gutter): ditto.
1189 (clear_gutter): ditto.
1190 (update_frame_gutters): ditto.
1191 (redraw_exposed_gutter): ditto.
1192 (redraw_exposed_gutters): ditto.
1193 (free_frame_gutters): ditto.
1194 (init_frame_gutters): ditto.
1195 (decode_gutter_position): ditto.
1196 (Fset_default_gutter_position): ditto.
1197 (Fset_default_gutter_position): ditto.
1198 (Fdefault_gutter_position): ditto.
1199 (gutter_after_change): ditto.
1200 (Fgutter_specifier_p): ditto.
1201 (recompute_overlaying_specifier): ditto.
1202 (gutter_specs_changed): ditto.
1203 (default_gutter_specs_changed): ditto.
1204 (gutter_geometry_changed_in_window): ditto.
1205 (default_gutter_size_changed_in_window): ditto.
1206 (default_gutter_border_width_changed_in_window): ditto.
1207 (default_gutter_visible_p_changed_in_window): ditto.
1208 (syms_of_gutter): ditto.
1209 (vars_of_gutter): ditto.
1210 (specifier_type_create_gutter): ditto.
1211 (specifier_vars_of_gutter): ditto.
1213 * gutter.h: new file. Contains gutter constants and sizing macros
1214 similar to those for the toolbar.
1216 * winslots.h: add gutter variables.
1218 * window.h: declare window_is_* functions.
1220 * window.c (window_is_lowest): make non-static.
1221 (window_is_highest): ditto.
1222 (window_top_toolbar_height): deleted.
1223 (window_bottom_toolbar_height): deleted.
1224 (window_left_toolbar_width): deleted.
1225 (window_right_toolbar_width): deleted.
1226 (window_top_gutter_height): add gutter sizing.
1227 (window_bottom_gutter_height): ditto.
1228 (window_left_gutter_width): ditto.
1229 (window_right_gutter_width): ditto.
1231 * symsinit.h: declarations for gutters vars etc.
1233 * search.c (bi_find_next_emchar_in_string): new function.
1235 * scrollbar.c (update_scrollbar_instance): remove reference to
1236 window_bottom_toolbar_height which did nothing.
1238 * redisplay.h (struct display_line): add face indices for
1239 overriding defaults in output_display_line.
1240 Add gutter_changed flags and declarations.
1242 * redisplay.c (create_string_text_block): new function, similar to
1243 create_text_block but for strings. Display tables etc are used
1244 from the currently selected window.
1245 (generate_string_display_line): ditto. Similar to
1246 generate_display_line.
1247 (generate_displayable_area): generate display lines for a given
1248 area on a frame. Input is the string, with associated extents, to
1250 (redisplay_frame): add gutter_changed check.
1251 (redisplay_device): ditto.
1252 (redisplay_without_hooks): ditto.
1254 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1255 (x_redraw_exposed_area): redraw exposed gutters.
1256 (x_bevel_area): new redisplay device method.
1257 (x_type_create_redisplay_mswindows): add bevel_area device method.
1258 (x_output_display_block): fiddly Martin-style cleanup.
1259 (x_output_vertical_divider): use bevel_area.
1261 * redisplay-output.c (output_display_line): check display_lines
1262 for face information before using defaults.
1263 (bevel_modeline): new function, calls bevel_area with appropriate
1266 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1267 (mswindows_redraw_exposed_area): redraw exposed gutters.
1268 (mswindows_bevel_area): new redisplay device method.
1269 (console_type_create_redisplay_mswindows): add bevel_area device
1272 * indent.c (string_column_at_point): add column_at_point but for
1275 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1276 instantiate widgets that we have a toolkit for.
1278 * general.c: add Qgutter.
1280 * frame.h (struct frame): add display lines for gutters and
1283 * frame.c (set_frame_selected_window): mark gutters changed.
1285 * emacs.c (main_1): add gutter initialisation.
1287 * device.h (struct device): add gutter_changed flag and macros to
1290 * console.h (struct console_methods): new bevel area redisplay
1293 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1294 REAL_INC_BYTIND is for buffers.
1295 (INC_CHARPTR): ditto.
1297 * Makefile.in.in (objs): add gutter.o
1299 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1301 * XEmacs 21.2.18 is released
1303 1999-07-08 SL Baur <steve@mule.m17n.org>
1305 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1307 (emacs_Xt_handle_magic_event): Ditto.
1308 * redisplay-x.c (x_output_string): Ditto.
1309 (x_output_eol_cursor): Ditto.
1311 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1313 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1314 problem that when XIM is destroyed or missed with some reason,
1315 xemacs will die. Now xim=xlib waits the XIM will be ready and
1316 endures the case of XIM end up.
1318 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1320 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1321 SIGINT and SIGCHLD before calling tt_open and restore the
1322 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1324 1999-07-06 SL Baur <steve@xemacs.org>
1326 * s/linux.h: gcc-2.8 changes for powerpc
1327 From Justin Vallon <vallon@mindspring.com>
1329 1999-07-05 Didier Verna <verna@inf.enst.fr>
1331 * indent.c: new symbol Qcoerce.
1332 (Fmove_to_column): use it + doc string update.
1334 1999-07-04 Andy Piper <andy@xemacs.org>
1336 * console.c: undo earlier Fprovide changes.
1340 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1341 function. validate appropriate image formats for tty.
1343 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1344 initialize consoles parameter.
1345 (struct image_instantiator_methods): add consoles parameter.
1346 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1348 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1351 * glyphs-msw.c: declare instantiators for later use.
1352 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1353 and friends on the mswindows console.
1354 * glyphs-x.c: ditto.
1356 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1357 that have not been registered on the supplied device.
1358 (Fvalid_image_instantiator_format_p): add locale argument.
1359 (instantiate_image_instantiator): valid image instantiator on the
1362 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1365 * emacs.c (main_1): add call to
1366 image_instantiator_format_create_glyphs_tty().
1368 1999-06-29 Olivier Galibert <galibert@pobox.com>
1370 * lisp.h: Add #include <stddef.h>.
1372 * sysdep.c: Remove #include <stddef.h>.
1373 * symbols.c: Remove #include <stddef.h>.
1374 * sheap.c: Remove #include <stddef.h>.
1375 * opaque.c: Remove #include <stddef.h>.
1376 * nt.c: Remove #include <stddef.h>.
1377 * mule-charset.c: Remove #include <stddef.h>.
1378 * marker.c: Remove #include <stddef.h>.
1379 * file-coding.c: Remove #include <stddef.h>.
1380 * extents.c: Remove #include <stddef.h>.
1381 * elhash.c: Remove #include <stddef.h>.
1382 * data.c: Remove #include <stddef.h>.
1383 * chartab.c: Remove #include <stddef.h>.
1384 * bytecode.c: Remove #include <stddef.h>.
1385 * alloc.c: Remove #include <stddef.h>. Fix vector description
1387 1999-06-30 SL Baur <steve@miho.m17n.org>
1389 * editfns.c: Document "%s" format spec.
1390 Suggested by Bob Weiner <weiner@altrasoft.com>
1392 1999-06-29 Andy Piper <andy@xemacs.org>
1394 * event-msw.c: fix definition booboo.
1396 1999-06-28 Andy Piper <andy@xemacs.org>
1398 * glyphs-x.c: change tree -> tree-view, progress ->
1399 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1401 (complex_vars_of_glyphs_x): provide-on-console the implemented
1404 * glyphs-msw.c: ditto.
1405 (complex_vars_of_glyphs_mswindows): ditto.
1407 * lisp.h: add Fprovide_on_console.
1409 * fns.c (Ffeaturep): add extra optional console argument.
1410 (Fprovide_on_console): like Fprovide but provides only on the
1411 specified console-type.
1412 (Frequire): check console-features as well as global features.
1414 * console.c (Fconsole_features): new function. return features for
1416 (syms_of_console): add Fconsole_features.
1418 * console.h (CONMETH_FEATURES): new function for accessing features.
1419 (CONSOLE_FEATURES): ditto.
1420 (struct console_methods): add features slot.
1421 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1423 1999-06-28 Andy Piper <andy@xemacs.org>
1425 * event-Xt.c (handle_focus_event_1): conditionally compile for
1428 * s/cygwin32.h: fix me website address.
1430 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1432 * gui-x.c (button_item_to_widget_value): only add callback if it
1435 * glyphs-x.c: add progress, edit and combo instantiators.
1436 (x_widget_set_property): new function. uses lwlib to set widget
1438 (x_widget_property): new function. uses lwlib to get widget
1440 (x_button_instantiate): support images in buttons.
1441 (x_button_property): new function. use lwlib to get the selected
1443 (x_progress_instantiate): new function for instantiating progress
1445 (x_progress_set_property): new function. sets the progress gauge
1447 (x_edit_instantiate): new function. for instantiating edit fields.
1448 (x_combo_instantiate): new function. for instantiating combo
1450 (image_instantiator_format_create_glyphs_x): add new device ii
1453 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1455 * console.h (CONSOLE_FEATURES): new features accesor.
1457 * conslots.h (MARKED_SLOT): add features entry.
1459 1999-06-25 Andy Piper <andy@xemacs.org>
1461 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1464 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1466 * gui.h (struct Lisp_Gui_Item): add accelerator.
1468 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1469 (gui_item_init): ditto.
1470 (gui_add_item_keywords_to_plist): ditto.
1471 (mark_gui_item): ditto.
1472 (gui_item_hash): ditto.
1473 (gui_item_accelerator): new function.
1474 (gui_name_accelerator): new function stolen from gui-x.c
1476 * gui-x.c (popup_selection_callback): always define. mark
1477 subwindows changed after calling a callback.
1478 (menu_name_to_accelerator): deleted.
1479 (button_item_to_widget_value): forward gui_item things to gui_item
1482 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1483 appropriate accesors.
1485 * glyphs-x.c: declare new glyph formats.
1486 (x_finalize_image_instance): unmanage and destroy widgets if they
1488 (x_unmap_subwindow): handle widgets specially.
1489 (x_map_subwindow): ditto. offset display of widgets by offset of
1490 text widget within container.
1491 (x_update_subwindow): new function. call lw_modify_all_widgets
1492 when we are a widget.
1493 (x_widget_instantiate): new function for generically creating
1494 widgets-glyphs. toolkit specifics forwarded to lwlib.
1495 (x_button_instantiate): new function for instantiating
1496 widgets-glyph buttons.
1497 (console_type_create_glyphs_x): register update_subwindow.
1498 (image_instantiator_format_create_glyphs_x): register widget and
1501 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1503 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1504 when we get a button press in case we do not have the focus.
1505 (handle_focus_event_1): set the keyboard focus to the text widget
1506 if we do not have it.
1508 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1511 1999-06-24 SL Baur <steve@miho.m17n.org>
1513 * syntax.c (scan_words): Restore non-Mule code.
1514 (word_constituent_p): Restore.
1516 1999-06-23 Olivier Galibert <galibert@pobox.com>
1518 * config.h.in: Add missing #undef *_USER_DEFINED.
1520 1999-06-23 SL Baur <steve@miho.m17n.org>
1522 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1523 int (fixes a 64-bit problem).
1525 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1528 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1530 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1532 1999-06-22 Olivier Galibert <galibert@pobox.com>
1534 * lrecord.h: Added basic external description system.
1536 * symbols.c: Added symbol, symbol-value-buffer-local,
1537 symbol-value-lisp-magic and symbol-value-varalias description.
1538 * mule-charset.c: Added charset description.
1539 * marker.c: Added marker description.
1540 * keymap.c: Added keymap description.
1541 * glyphs.c: Added glyph description.
1542 * floatfns.c: Added float description.
1543 * file-coding.c: Added coding-system description.
1544 * extents.c: Added extent description.
1545 * elhash.c: Added hash-table description.
1546 * data.c: Added weak-list desciption.
1547 * chartab.c: Added char-table-entry and char-table description.
1548 * bytecode.c: Added compiled-function description.
1549 * alloc.c: Added cons, vector and string description.
1551 1999-06-22 Olivier Galibert <galibert@pobox.com>
1553 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1554 Updated everything to the removal of the "flags" substructure.
1556 * lisp.h (subr_lheader_initializer): Updated.
1557 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1559 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1561 * syntax.c (word_constituent_p): Deleted.
1562 (scan_words): Use `WORD_BOUNDARY_P'.
1564 * chartab.c (Vword_combining_categories): New variable.
1565 (Vword_separating_categories): Likewise.
1566 (CATEGORYP): New macro.
1567 (CATEGORY_SET): Likewise.
1568 (CATEGORY_MEMBER): Likewise.
1569 (word_boundary_p): New function.
1570 (complex_vars_of_chartab): Set up new variable
1571 `word-combining-categories' and `word-separating-categories'.
1573 1999-06-18 Olivier Galibert <galibert@pobox.com>
1575 * lrecord.h: Added description as a placehold in the lrecord
1576 implementation structures. Added the parameter to all constructor
1579 * alloc.c: Added placeholders.
1581 * bytecode.c: Ditto.
1585 * database.c: Ditto.
1590 * event-stream.c: Ditto.
1594 * file-coding.c: Ditto.
1595 * floatfns.c: Ditto.
1603 * mule-charset.c: Ditto.
1607 * rangetab.c: Ditto.
1608 * specifier.c: Ditto.
1611 * tooltalk.c: Ditto.
1614 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1616 * XEmacs 21.2.17 is released
1618 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1620 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1621 (HAVE_LDAP_GET_LDERRNO): Ditto
1622 (HAVE_LDAP_RESULT2ERROR): Ditto
1623 (HAVE_LDAP_PARSE_RESULT): Ditto
1624 (HAVE_UMICH_LDAP): Removed
1625 (HAVE_NS_LDAP): Removed
1627 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1628 suggested by Olivier Galibert
1629 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1631 * eldap.c: Take the removal of `livep' into account in all the
1633 (signal_ldap_error): Take two additional parameters
1634 Added new finer compilation conditions in order to use
1635 ldap_parse_result or ldap_result2error if available
1636 (Fldap_open): Conform to this new API
1637 (Fldap_search_internal): Ditto
1639 1999-06-17 SL Baur <steve@miho.m17n.org>
1641 * data.c (struct int_or_double): Should use EMACS_INT not int.
1643 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1645 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1648 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1650 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1651 `CCL_MODE_ENCODING'.
1653 * file-coding.c (mule_decode): Run `ccl_driver' with
1654 `CCL_MODE_DECODING'.
1655 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1657 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1658 (ccl_driver): Add new argument `conversion_mode'.
1659 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1660 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1661 new optional argument].
1663 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1664 (CCL_MODE_DECODING): New macro.
1665 (ccl_driver): Add new argument `conversion_mode'.
1667 1999-06-15 SL Baur <steve@miho.m17n.org>
1669 * mule-charset.c (Fsplit_char): New subr.
1670 (Fchar_octet): delete.
1671 (syms_of_mule_charset): DEFSUBR it.
1673 1999-06-13 Andy Piper <andy@xemacs.org>
1675 * menubar.h: update declarations involving gui_items.
1677 * lisp.h: declare Lisp_Gui_Item.
1679 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1681 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1682 (print_image_instance): ditto.
1683 (image_instance_equal): ditto.
1684 (image_instance_hash): ditto.
1686 * event-msw.c (mswindows_need_event): assert badly_p status.
1687 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1688 callbacks in tree-view and tab-control widgets.
1689 (emacs_mswindows_next_event): modify use of
1690 mswindows_dequeue_dispatch_event.
1692 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1693 lisp-based gui_items.
1695 * glyphs-msw.c (mswindows_update_subwindow): update use of
1697 (mswindows_register_gui_item): new function.
1698 (mswindows_register_gui_item): fix to use lisp gui_items.
1699 (mswindows_widget_instantiate): ditto.
1700 (mswindows_button_instantiate): ditto.
1701 (add_tree_item): new function to recursively add tree view
1703 (add_tree_item_list): ditto.
1704 (mswindows_tree_instantiate): new function. instantiate tree view
1706 (add_tab_item): new function to add tabs to a tab control.
1707 (mswindows_tab_instantiate): new function. instantiate tab
1709 (image_instantiator_format_create_glyphs_mswindows): add tree view
1711 (vars_of_glyphs_mswindows): ditto.
1713 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
1715 (check_valid_item_list): ditto.
1716 (initialize_widget_image_instance): fix to use new lisp gui_item.
1717 (widget_instantiate_1): allow the setting of default textwidth in
1719 (widget_instantiate): change to use new widget_instantiate_1
1721 (combo_instantiate): ditto.
1722 (static_instantiate): ditto.
1723 (tab_instantiate): new function for tab widgets.
1724 (image_instantiator_format_create_glyphs_widget): add tab and tree
1727 * menubar-msw.c (displayable_menu_item): convert to use lisp
1729 (populate_menu_add_item): ditto.
1730 (populate_or_checksum_helper): ditto.
1732 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
1734 (Fmenu_find_real_submenu): ditto.
1736 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
1738 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
1739 objects, convert functions that use them accordingly.
1740 (gui_item_init): ditto.
1741 (gui_item_active_p): ditto.
1742 (gui_item_selected_p): ditto.
1743 (gui_item_included_p): ditto.
1744 (gui_item_display_flush_left): ditto.
1745 (gui_item_display_flush_right): ditto.
1746 (mark_gui_item): ditto.
1747 (allocate_gui_item): new function to create a gui_item.
1748 (make_gui_item_from_keywords_internal): ditto. create and return a
1749 gui_item as well as setting keywords.
1750 (gui_parse_item_keywords): ditto.
1751 (gui_parse_item_keywords_no_errors): ditto.
1752 (gui_add_item_keywords_to_plist): new function, not yet used.
1753 (gui_item_hash): new function.
1754 (gui_item_id_hash): use gui_item_hash.
1755 (gui_item_equal): new function.
1756 (print_gui_item): new function.
1758 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
1760 * XEmacs 21.2.16 is released
1762 1999-06-10 Andy Piper <andy@xemacs.org>
1764 * select-msw.c (mswindows_own_selection): only set the clipboard
1766 (mswindows_get_foreign_selection): only get the clipboard if
1768 (mswindows_disown_selection): only disown the clipboard if asked.
1770 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1772 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
1774 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
1775 of coding-category `no-conversion'.
1777 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
1779 * file-coding.c (Qraw_text): New variable.
1780 (syms_of_mule_coding): Add new symbol `raw-text'.
1781 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
1782 define coding-system `binary' independently; define coding-system
1783 `no-conversion' as an alias for `raw-text'.
1785 * file-coding.h (Qraw_text): New variable.
1787 1999-06-08 SL Baur <steve@xemacs.org>
1789 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
1791 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
1793 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
1795 (base64_decode_1): Signal errors instead of returning -1.
1797 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1799 * mule-charset.c (Fmake_char): Update docstring.
1801 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
1803 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
1805 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
1807 * fns.c (base64_decode_1): Allow and ignore any non-base64
1808 characters in input.
1810 1999-05-27 Olivier Galibert <galibert@pobox.com>
1812 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
1813 of report_pure_usage().
1815 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
1817 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
1819 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
1821 * XEmacs 21.2.15 is released
1823 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
1825 * frame.c (Fset_mouse_position):
1826 (Fset_mouse_pixel_position):
1827 * window.c (Fsplit_window):
1828 (Fmove_to_window_line):
1829 Fix crash when invoking functions with an already-deleted window
1832 * indent.c (vertical_motion_1):
1834 (Fvertical_motion_pixels):
1835 * window.c (Fwindow_displayed_text_pixel_height):
1836 Fix error message when invoking functions with an already-deleted
1839 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
1841 * sysdep.c (request_sigio_on_device): Guard against glibc
1842 2.1's stub streams implementation.
1844 1999-06-03 SL Baur <steve@xemacs.org>
1847 * emacs.c: Implement x.y.z version numbers
1848 From Jan Vroonhof <vroonhof@math.ethz.ch>
1850 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1852 * mule-charset.c (complex_vars_of_mule_charset): Registry of
1853 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
1856 1999-06-03 SL Baur <steve@xemacs.org>
1859 * device-x.c: rename session option to wmcommand.
1860 From Oliver Graf <ograf@rhein-zeitung.de>
1862 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1864 * fns.c (Fsubstring): Don't traverse the same region twice with
1865 charcount_to_bytecount().
1867 1999-06-03 SL Baur <steve@steve1.m17n.org>
1869 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
1872 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
1873 doesn't really work as is implied by the commentary).
1874 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
1876 1999-06-02 SL Baur <steve@steve1.m17n.org>
1878 * symsinit.h: Declare vars_of_ntproc.
1879 * emacs.c (main_1): Call it.
1881 * ntproc.c (syms_of_ntproc): Move variable initializations from
1883 (vars_of_ntproc): ... to here [new function].
1885 * file-coding.c (syms_of_file_coding): Rename.
1886 (vars_of_file_coding): Ditto.
1887 (complex_vars_of_file_coding): Ditto.
1889 * symsinit.h: Rename *_mule_coding to *_file_coding.
1891 * emacs.c (main_1): Call them by the proper name.
1893 * device-msw.c (syms_of_device_mswindows): Move variable
1894 initializations from here ...
1895 (vars_of_device_mswindows): ... to here.
1897 * chartab.c (vars_of_chartab): New function.
1899 * symsinit.h: New function, vars_of_chartab.
1901 * emacs.c (main_1): Call it.
1903 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
1904 (vars_of_mule_canna): ... to here.
1906 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
1907 initializations out of syms_of_mule_ccl.
1909 * symsinit.h: Declare new function vars_of_mule_ccl.
1911 * emacs.c (main_1): Call it.
1913 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1915 * fns.c (base64_decode_1): Ignore whitespace.
1917 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
1919 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
1922 1999-05-21 Andy Piper <andy@xemacs.org>
1924 * xselect.c: deleted.
1926 * symsinit.h: declare select initialisation.
1928 * select.h: new file. declare commonly used select functions and
1931 * select.c: new file. generalised from xselect.c.
1932 (clean_local_selection_data): moved from xselect.c.
1933 (get_local_selection): ditto. device specific pieces called via a
1935 (handle_selection_clear): ditto.
1936 (Fown_selection_internal): renamed and generalised from
1937 Fx_own_selection_internal. moved from xselect.c.
1938 (Fdisown_selection_internal): ditto.
1939 (Fselection_owner_p): ditto.
1940 (Fselection_exists_p): ditto.
1941 (Fget_selection_internal): ditto.
1942 (syms_of_select): new function. QXXXX values moved from xselect.c
1943 (vars_of_select): new function. selection_converter_alist,
1944 lost_selection_hooks moved and renamed from xselect.c
1946 * select-x.c: renamed from xselect.c.
1947 (x_own_selection): converted to device specific. non-X-specific
1948 bits moved to select.c.
1949 (x_get_foreign_selection): ditto.
1950 (x_disown_selection): ditto.
1951 (x_selection_exists_p): ditto.
1952 (console_type_create_select_x): new function.
1954 * select-msw.c (mswindows_own_selection): new device method to set
1955 the clipboard when we 'own' the selection.
1956 (mswindows_get_foreign_selection): new device method to get the
1958 (mswindows_disown_selection): new device method to delete the
1959 selection when we 'disown' it.
1960 (console_type_create_select_mswindows): new function.
1962 * emacs.c (main_1): add select to things to initialise.
1964 * console.h (struct console_methods): new console methods for
1967 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
1969 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
1971 * print.c (long_to_string): Install a faster version.
1973 1999-05-16 Andy Piper <andy@xemacs.org>
1975 * ntproc.c (syms_of_ntproc): default
1976 win32-start-process-share-console to t.
1978 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
1980 * config.h.in: Do it here.
1982 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
1984 1999-05-14 Andy Piper <andy@xemacs.org>
1986 * toolbar-msw.c (mswindows_output_toolbar): hash on something
1989 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
1991 * XEmacs 21.2.14 is released
1993 1999-05-12 Andy Piper <andy@xemacs.org>
1995 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
1997 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
1999 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2000 run_temacs_argv array -- fixes random memory corruption crash
2002 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2004 * window.c (Fcurrent_window_configuration):
2005 Save minibuffer height;
2007 * window.c (set_window_configuration): use it.
2009 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2011 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2013 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2015 * redisplay.c (redisplay_window): Do not put data
2016 in the line start cache if it is not guaranteed to be correct
2018 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2020 * window.c (struct window_config): Removed frame
2022 (window_config_equal): No longer compare frame sizes.
2023 (Fset_window_configuration): Resize old top window to fit in the
2024 current frame directly, no longer use a fake frame resize.
2025 (Fcurrent_window_configuration): No longer save frame size
2027 1999-05-11 Andy Piper <andy@xemacs.org>
2029 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2032 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2034 * sysdep.c (init_system_name): If gethostname gives a proper
2035 domain name, don't look further for one.
2037 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2039 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2040 (Fintern_soft): Accept a symbol argument.
2042 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2044 * symbols.c (Fintern): ...do it here.
2046 * lread.c (read_atom): Don't handle keywords here.
2048 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2050 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2052 1999-05-03 Olivier Galibert <galibert@pobox.com>
2054 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2055 is interned in the main obarray.
2057 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2059 * menubar-x.c (pre_activate_callback): set accelerator field in
2060 "No menu" entries to nil. Avoid crash in
2061 command_builder_operate_menu_accelerator
2063 1999-05-03 Olivier Galibert <galibert@pobox.com>
2065 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2067 * lisp.h (DEFUN): Fix lrecord header initialisation.
2069 1999-05-02 Andy Piper <andy@xemacs.org>
2071 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2073 * ntproc.c (sys_kill): cast using MS mandated defines.
2075 1999-04-29 Andy Piper <andy@xemacs.org>
2077 * m/intel386.h: remove redundant definitions.
2079 * s/mingw32.h: new header for mingw32.
2081 * unexnt.c: (open_input_file): function moved to nt.c.
2082 (close_file_data): ditto.
2083 (rva_to_section): function moved to ntproc.
2085 * symsinit.h: declare syms_of_ntproc();
2087 * objects-msw.c (mswindows_font_instance_truename): new function.
2089 * ntproc.c: remove many warnings.
2090 (_sys_read_ahead): moved from nt.c and made static.
2091 (rva_to_section): moved from unexnt.c but not defined under
2093 (win32_executable_type): implement what we can for mingw32
2095 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2097 * ntheap.h: remove declarations of functions that are now static.
2099 * ntheap.c: support static heap.
2101 * nt.h: conditionalise X_OK definition.
2103 * nt.c: eliminate many warnings and support mingw32.
2104 (open_input_file): function moved from unexnt.c and made static
2105 (close_file_data): ditto.
2106 (_sys_read_ahead): moved to ntproc.c
2108 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2110 * console-msw.h: support mingw32.
2111 * getloadavg.c: ditto.
2118 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2119 some systems don't have all of the encapsulated system calls.
2121 * callproc.c: warning elimination.
2122 * dired-msw.c: ditto.
2123 * process-nt.c: ditto.
2124 * realpath.c: ditto.
2126 * Makefile.in.in: tweak : and ; for building under mswindows.
2128 1999-04-26 Michael Harnois <mharnois@willinet.net>
2130 * eldap.c (allocate_ldap): Adapt to the new semantics of
2131 alloc_lcrecord_type().
2133 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2135 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2137 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2139 * Delete mule-coding.c and mule-coding.h because they are not
2142 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2144 * objects.c (print_font_instance): Check for NILP(f->device),
2145 i.e. Vthe_null_font_instance.
2146 (font_instance_truename_internal): ditto.
2147 (Ffont_instance_properties): ditto.
2149 1999-04-22 Olivier Galibert <galibert@pobox.com>
2151 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2154 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2156 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2157 it easier to add new ones.
2159 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2161 * symbols.c (reject_constant_symbols): Ditto.
2162 (init_symbols_once_early): Ditto.
2164 * print.c (print_symbol): Don't use ->obarray.
2166 * symbols.c (Funintern): Ditto.
2168 * alloc.c (Fmake_symbol): Don't set ->obarray.
2170 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2172 * symbols.c (init_symbols_once_early): Removed
2173 Vpure_uninterned_symbol_table.
2174 (Fintern): Don't store to ->obarray field.
2176 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2178 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2179 (eq_with_ebola_notice): Remove abracadabra support.
2181 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2183 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2184 retrieve the distinguished names of entries
2186 1999-03-08 Martin Buchholz <martin@xemacs.org>
2188 * lread.c (read_escape): Make hex escapes read only two hex digits.
2190 1999-04-05 Olivier Galibert <galibert@pobox.com>
2192 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2193 * make-src-depend: Remove puresize-adjust.h.
2194 * src-headers: Remove puresize-adjust.h.
2195 * config.h.in: Kill everything purespace/gung-ho related.
2197 * dbxrc: Make gung-ho mandatory.
2200 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2201 c_readonly and lisp_readonly. Remove implementation arrays.
2202 (C_READONLY_RECORD_HEADER_P): Added.
2203 (LISP_READONLY_RECORD_HEADER_P): Added.
2204 (SET_C_READONLY_RECORD_HEADER): Added.
2205 (SET_LISP_READONLY_RECORD_HEADER): Added.
2207 * lisp.h: Kill everything purespace/non gung-ho related.
2208 (CHECK_C_WRITEABLE): Added.
2209 (CHECK_LISP_WRITEABLE): Added.
2210 (C_READONLY): Added.
2211 (LISP_READONLY): Added.
2213 * lisp-union.h: Make gung-ho mandatory.
2214 * lisp-disunion.h: Ditto.
2216 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2217 set_lheader_implementation calls.
2218 (c_readonly): Added.
2219 (lisp_readonly): Added.
2220 (make_string_nocopy): Added.
2221 (Fpurecopy): Changed to do nothing. Kept the old documentation
2222 for reference purposes for the next patches.
2223 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2224 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2225 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2227 * fns.c: Make gung-ho mandatory.
2228 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2230 (Ffillarray): Ditto.
2232 * data.c: Make gung-ho mandatory.
2233 (pure_write_error): Removed.
2234 (c_write_error): Added.
2235 (lisp_write_error): Added.
2236 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2240 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2241 make_string or make_string_nocopy. Fix various
2242 alloc_lcrecord_type.
2244 * lread.c: Remove everything purespace related.
2245 (Flocate_file_clear_hashing): purified -> c_readonly.
2246 (locate_file): Ditto.
2247 (read_atom): make_pure_pname -> make_string.
2249 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2251 (Fdump_emacs): Ditto.
2253 * print.c (print_internal): Make gung-ho mandatory.
2254 * ntheap.c (sbrk): Ditto.
2255 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2256 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2258 * sheap.c (more_static_core): Remove puresize-adjust.h from
2261 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2263 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2264 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2265 * events.c (deinitialize_event): Fix set_lheader_implementation.
2266 (zero_event): Ditto.
2267 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2268 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2269 * mule-charset.c (make_charset): Ditto.
2270 * console.c (allocate_console): Ditto.
2271 (complex_vars_of_console): Ditto.
2272 * file-coding.c (allocate_coding_system): Ditto.
2273 * device.c (allocate_device): Ditto
2274 * gui-x.c (gcpro_popup_callbacks): Ditto.
2275 * extents.c (allocate_extent_auxiliary): Ditto.
2276 (allocate_extent_info): Ditto.
2277 (copy_extent): Ditto.
2278 * glyphs.c (allocate_image_instance): Ditto.
2279 (allocate_glyph): Ditto.
2280 * frame.c (allocate_frame_core): Ditto.
2281 * database.c (allocate_database): Ditto.
2282 * tooltalk.c (make_tooltalk_message): Ditto.
2283 (make_tooltalk_pattern): Ditto.
2284 * rangetab.c (Fmake_range_table): Ditto.
2285 (Fcopy_range_table): Ditto.
2286 * process.c (make_process_internal): Ditto.
2287 * chartab.c (Fmake_char_table): Ditto.
2288 (make_char_table_entry): Ditto.
2289 (copy_char_table_entry): Ditto.
2290 (Fcopy_char_table): Ditto.
2291 * elhash.c (make_general_lisp_hash_table): Ditto.
2292 (Fcopy_hash_table): Ditto.
2293 * buffer.c (allocate_buffer): Ditto.
2294 (complex_vars_of_buffer): Ditto.
2295 * event-stream.c (allocate_command_builder): Ditto.
2296 * objects.c (Fmake_color_instance): Ditto.
2297 (Fmake_font_instance): Ditto.
2298 (vars_of_objects): Ditto.
2299 * toolbar.c (update_toolbar_button): Ditto.
2300 * window.c (allocate_window): Ditto.
2301 (make_dummy_parent): Ditto.
2302 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2303 (vars_of_window): Fix make_lcrecord_list.
2304 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2306 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2307 * opaque.c (make_opaque): Fix alloc_lrecord.
2308 (make_opaque_list): Fix alloc_lrecord_type.
2310 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2312 * process.c (Fstart_process_internal): Ditto.
2314 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2317 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2319 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2322 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2323 (emodules_load): Use it when calling locate_file().
2325 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2328 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2329 (vars_of_callproc): Initialize it.
2330 (Fcall_process_internal): Use it when calling locate_file().
2332 * alloc.c (disksave_object_finalization): Use
2333 Flocate_file_clear_hashing().
2335 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2336 given `t' as argument.
2338 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2340 * lread.c (locate_file): Expand `pathel' when appropriate.
2341 (Flocate_file_clear_hashing): Expand path elements.
2342 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2344 * dired.c (make_directory_hash_table): Create the hash-table only
2345 if the directory open is successful.
2347 * lread.c (decode_mode_1): New function.
2348 (decode_mode): Ditto.
2349 (Flocate_file): Use them.
2350 (Flocate_file): Expand FILENAME.
2351 (locate_file_map_suffixes): New function.
2352 (locate_file_in_directory_mapper): New function.
2353 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2354 and locate_file_map_suffixes().
2355 (locate_file_construct_suffixed_files): Use
2356 locate_file_map_suffixes().
2357 (locate_file_without_hash): Don't GCPRO path.
2358 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2359 (syms_of_lread): Remove Qlocate_file_hash_table.
2360 (locate_file_find_directory_hash_table): Use
2361 Vlocate_file_hash_table.
2362 (locate_file_refresh_hashing): Ditto.
2364 * lread.c: Renamed read_objects to Vread_objects.
2366 1999-04-16 Olivier Galibert <galibert@pobox.com>
2368 * mule-charset.c: Generally resync with fsf 20.3 charset
2370 (make_charset): Add long and short name. Use id instead of
2372 (Fmake_charset): Ditto.
2373 (Fmake_reverse_direction_charset): Ditto.
2374 (Fcharset_property): Ditto.
2375 (Fcharset_short_name): Added.
2376 (Fcharset_long_name): Added.
2377 (Fcharset_description): Renamed from charset-doc-string.
2378 (syms_of_mule_charset): Synced symbols.
2379 (complex_vars_of_mule_charset): Synced charsets.
2381 * mule-charset.h: Removed leading byte (uses id instead), added
2382 short and long name.
2384 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2386 * file-coding.c (Fdefine_coding_system_alias): New function.
2388 1999-04-08 Olivier Galibert <galibert@pobox.com>
2390 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2391 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2393 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2395 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2396 attach to the extent is valid.
2398 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2400 * dired.c (user_name_completion): Mule-ize.
2401 (user_name_completion): Use xmalloc/xrealloc/xfree.
2402 (user_name_completion): Use DO_REALLOC.
2403 (user_name_completion): Cut down the number of static variables;
2405 (user_name_completion): Username completion is always
2408 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2410 * fns.c (base64_decode_1): Remove COUNTER.
2411 (base64_decode_1): Accept CRLF in addition to CR.
2412 (base64_decode_1): Disallow a stray character after final EOF; the
2413 check was probably a remnant of buggy recode code.
2415 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2417 * fns.c (init_provide_once): Provide `base64'.
2419 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2421 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2422 (Fbase64_encode_region): If buffer is read-only, bail out early.
2423 (Fbase64_decode_region): Ditto.
2424 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2426 (Fbase64_encode_string): Ditto.
2427 (Fbase64_decode_region): Ditto.
2428 (Fbase64_decode_string): Ditto.
2430 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2432 * dired.c (Fdirectory_files): Remove redundant code.
2434 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2436 * frame-msw.c Make raise-frame restore minimised windows.
2438 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2440 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2443 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2445 * toolbar-msw.c Consider captions when deciding whether to rebuild
2446 toolbar. This fixes the initial toolbar display for those of us
2447 who don't like captions. These patches applied by Andy Piper.
2449 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2451 * XEmacs 21.2.13 is released
2453 1999-03-12 SL Baur <steve@xemacs.org>
2455 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2457 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2459 * file-coding.c: docstring and comment improvements.
2460 (decode_ucs4) flag possible data loss with comment.
2462 1999-03-10 Martin Buchholz <martin@xemacs.org>
2464 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2468 (decode_coding_ucs4):
2469 (encode_coding_ucs4):
2470 (detect_coding_utf8):
2471 (decode_coding_utf8):
2473 (encode_coding_utf8):
2474 Add CHECK_* macros where needed to avoid crashes.
2475 #ifdef out all composite character support using
2476 #ifdef ENABLE_COMPOSITE_CHARS
2477 Use normal XEmacs coding standards.
2479 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2481 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2483 * file-coding.c (make-coding-system): Add description about
2484 `ucs-4' and `utf-8'.
2485 (detection_state): Modify to implement ucs-4 and utf-8.
2486 (detect_coding_type): Likewise.
2487 (detect_coding_ucs4): New implementation.
2488 (detect_coding_utf8): New implementation.
2489 (encode_utf8): fixed.
2490 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2493 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2495 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2496 2022 registry to private area.
2498 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2500 * file-coding.c (encode_utf8): New function.
2501 (encode_coding_utf8): New implementation.
2503 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2505 * file-coding.c (ucs_to_mule_table): New variable; abolish
2506 `Vucs_to_mule_table'
2507 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2508 (set-ucs-char): New function.
2509 (ucs_to_char): New function.
2510 (ucs-char): New function.
2511 (set-char-ucs): New function.
2512 (char-ucs): New function.
2513 (decode_ucs4): Use `ucs_to_char'.
2514 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2515 `mule-to-ucs-table'.
2517 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2519 * chartab.h: EXFUN `Fget_char_table'.
2521 * file-coding.c (encode_ucs4): New function.
2522 (encode_coding_ucs4): Use `encode_ucs4'.
2524 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2526 * file-coding.c (decode_coding_ucs4): New implementation.
2528 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2530 * file-coding.c (decode_coding_ucs4): fixed.
2532 * file-coding.c (Vmule_to_ucs_table): New variable.
2533 (mule_char_to_ucs4): New function.
2534 (encode_coding_ucs4): New implementation.
2535 (complex_vars_of_mule_coding): Define variable
2536 `mule-to-ucs-table'.
2538 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2540 * file-coding.c (decode_coding_utf8): New implementation.
2542 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2544 * file-coding.c (decode_coding_utf8): fixed.
2546 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2548 * file-coding.c (Vucs_to_mule_table): New variable.
2549 (decode_ucs4): Refer `Vucs_to_mule_table'.
2550 (complex_vars_of_mule_coding): Define variable
2551 `ucs-to-mule-table'.
2553 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2555 * file-coding.c (detect_coding_ucs4): New function (not
2557 (decode_coding_ucs4): New function.
2558 (encode_coding_ucs4): New function (not implemented yet).
2559 (detect_coding_utf8): New function (not implemented yet).
2560 (decode_coding_utf8): New function.
2561 (encode_coding_utf8): New function (not implemented yet).
2562 (make-coding-system): New type `ucs4' and `utf8'.
2563 (coding-system-type): Likewise.
2564 (detection_state): Add `ucs4' and `utf8'.
2565 (detect_coding_type): Likewise.
2566 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2567 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2568 (decode_ucs4): New function (very incomplete).
2569 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2571 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2573 1999-03-08 Martin Buchholz <martin@xemacs.org>
2576 (non_ascii_valid_char_p):
2577 (lookup_composite_char):
2578 (composite_char_string):
2579 (make-composite-char):
2580 (composite-char-string):
2581 (syms_of_mule_charset):
2582 (complex_vars_of_mule_charset):
2583 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2584 (CHAR_LEADING_BYTE):
2586 * file-coding.h (CODING_STATE_COMPOSITE):
2587 (CODING_STATE_ISO2022_LOCK):
2589 (LEADING_BYTE_COMPOSITE):
2590 * file-coding.c (struct iso2022_decoder):
2593 (parse_iso2022_esc):
2594 (encode_coding_iso2022):
2595 #ifdef out all composite character support using
2596 #ifdef ENABLE_COMPOSITE_CHARS
2598 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2600 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2602 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2603 way of `Fbase64_encode_region'.
2605 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2607 * fns.c (base64_encode_1): Don't add a newline at the tail.
2609 1999-03-08 Andy Piper <andy@xemacs.org>
2611 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2614 1999-03-07 Martin Buchholz <martin@xemacs.org>
2616 * console-stream.h (struct stream_console):
2617 * event-unixoid.c (event_stream_unixoid_select_console):
2618 (event_stream_unixoid_unselect_console):
2619 * print.c (Fexternal_debugging_output):
2620 * sysdep.c (reset_one_device):
2621 * console-stream.c (stream_init_console):
2622 (stream_delete_console):
2623 (allocate_stream_console_struct): move into stream_init_console.
2624 (free_stream_console_struct): move into stream_delete_console.
2625 Use `fd' only for file descriptors.
2626 Therefore, rename members of struct stream_console.
2628 * systime.h: Unix98 says sys/time.h should define select(), but
2629 some systems define that in unistd.h. So include that file always.
2631 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2632 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2633 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2635 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2639 Add #include <stdio.h>.
2640 Some versions of assert.h use printf() without #include'ing stdio.h
2642 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2643 (log_gcpro): Remove unused variable FRAME.
2644 (show_gcprohist): Ansify.
2645 Comment the #endif's
2647 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2648 after it's just been XtDestroy'ed!
2650 1999-02-18 Martin Buchholz <martin@xemacs.org>
2652 * opaque.c (print_opaque):
2656 Egcs 1.1.1 seems to have a bug where
2657 INTP (p->size_or_chain)
2658 will crash XEmacs. Fix by introducing intermediate variable.
2660 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2662 * dired.c (Fdirectory_files):
2663 (Ffile_name_completion):
2664 (Ffile_name_all_completions):
2665 (file_name_completion):
2666 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2667 avoid compiler warnings.
2668 - Fix up docstrings so that C variables match documentation.
2670 1999-03-05 Martin Buchholz <martin@xemacs.org>
2672 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2673 variables as small as possible to help out the compiler and the maintainer.
2675 * alloc.c: (disksave_object_finalization):
2676 Set all the *-load-path variables to
2677 nil, not just load-path itself. This gets the locate-file hash
2678 tables garbage collected BEFORE dump, and has the side effect of
2679 preventing crashes on OSF4.0+egcs.
2684 - Clean up gdb/dbx debugging support.
2685 - Storing an EMACS_INT in an enum is not 64-bit clean!
2686 - So change the enum to a set of separate variables.
2687 - Add test cases to help debug the debugging support!
2688 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2689 - Both dbx and gdb have been tested now.
2691 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2693 * XEmacs 21.2.12 is released
2695 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2697 * device-x.c: Support to find best visual without flashing.
2699 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2701 * database.c (berkdb_map): Add flags argument to cursor call (must
2702 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
2704 1999-03-03 Martin Buchholz <martin@xemacs.org>
2708 General cleanup. Get free-hook.c working again.
2709 Remove unused functions:
2710 make_strings_hash_table, copy_hash, expand_hash_table.
2714 Always use new ANSI-style function prototypes.
2716 * unexalpha.c (unexec): Never use implicit int.
2718 * sgiplay.c (close_sound_file):
2720 (restore_audio_port):
2725 (write_mulaw_8_chunk):
2726 (write_linear_chunk):
2727 (write_linear_32_chunk):
2728 (initialize_audio_port):
2731 (set_output_format):
2732 (adjust_audio_volume):
2733 (get_current_volumes):
2735 Always use new ANSI-style function prototypes.
2736 Use unistd.h for missing prototypes.
2738 * unexelfsgi.c (round_up):
2740 (unexec): Always use new ANSI-style function prototypes
2742 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
2744 * console.h (struct console_methods): Always use full ANSI prototypes
2746 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
2748 1999-03-02 Andy Piper <andy@xemacs.org>
2750 * event-stream.c (init_event_stream): make sure native mswindows
2751 gets an appropriate event loop.
2753 1999-02-22 Andy Piper <andy@xemacs.org>
2755 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
2756 than SW_SHOWNORMAL to prevent resizing of maximised frames.
2757 (mswindows_raise_frame): remove comment.
2759 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
2761 * XEmacs 21.2.11 is released
2763 1999-02-25 SL Baur <steve@xemacs.org>
2765 * mule-charset.c (Qleading_byte): New variable to implement
2766 charset-leading-byte function.
2767 (Fcharset_property): Use it.
2768 (syms_of_mule_charset): Initialize it.
2769 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
2771 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
2773 * glyphs-x.c (cononvert_EImage_to_XImage): correct
2774 bytes per pixel counting.
2776 1999-02-15 Andy Piper <andy@xemacs.org>
2778 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
2781 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2783 * fns.c (Fbase64_encode_string): New optional argument
2786 1999-02-16 Martin Buchholz <martin@xemacs.org>
2788 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
2789 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
2791 1999-02-10 Martin Buchholz <martin@xemacs.org>
2793 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
2794 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
2796 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2798 * XEmacs 21.2.10 is released
2800 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
2802 * process-nt.c (nt_send_process):
2803 Fix for process-send-region/process-send-string breaking when size
2804 of the input > 128 chars: change maximum chunk size for process
2805 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
2808 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
2810 * XEmacs 21.2.9 is released
2812 1999-01-30 Martin Buchholz <martin@xemacs.org>
2814 * bytecode.c (funcall_compiled_function): Call
2815 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
2817 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
2818 #ifdef 0 out unused macro.
2820 1999-01-27 Martin Buchholz <martin@xemacs.org>
2822 * gui.c (gui_parse_item_keywords_internal): Make static.
2824 1999-01-21 Andy Piper <andy@xemacs.org>
2826 * glyphs-msw.c: add xface support.
2827 (mswindows_xface_instantiate): new function copied from glyphs-x.c
2828 (image_instantiator_format_create_glyphs_mswindows): do device
2829 specific initialisation for xfaces.
2830 (xbm_create_bitmap_from_data): line data must be padded to a word
2833 * glyphs-x.c (xface_validate): moved to glyphs.c
2834 (xface_normalize): ditto.
2835 (xface_possible_dest_types): ditto.
2836 (image_instantiator_format_create_glyphs_x): do device specific
2837 initialisation for xfaces.
2839 * glyphs.h: declare xface symbol.
2841 * glyphs.c: move generic xface support here.
2842 (xface_validate): moved from glyphs-x.c
2843 (xface_normalize): ditto.
2844 (xface_possible_dest_types): ditto.
2845 (image_instantiator_format_create): xface declarations moved from
2848 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
2850 * event-stream.c (vars_of_event_stream): Fixing documentation.
2852 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
2854 * glyphs-eimage.c (gif_instantiate): Correct handling of
2855 interlaced gifs to avoid writing past the end of the eimage
2858 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
2860 * search.c (Freplace_match): Handle single backslash at end of
2863 1999-01-12 William M. Perry <wmperry@aventail.com>
2865 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
2866 avoid connection errors.
2868 1999-01-12 Andy Piper <andy@xemacs.org>
2870 * redisplay-output.c (redisplay_update_line): backout change that
2871 shouldn't have gone ine.
2873 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2875 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
2876 collide with ldap.el
2878 1999-01-11 Andy Piper <andy@xemacs.org>
2880 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
2881 (DISPLAY_LINE_YPOS): new macro.
2883 * redisplay-msw.c (mswindows_output_string): use it.
2884 (mswindows_output_pixmap): ditto.
2885 (mswindows_output_display_block): ditto.
2887 * redisplay-output.c (redisplay_output_display_block): new
2888 function. just call the devmeth, maybe insert some generic code
2890 (compare_display_blocks): use it.
2891 (output_display_line): ditto.
2892 (redisplay_unmap_subwindows_maybe): new function. potentially
2893 unmap subwindows in the given area.
2895 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
2898 1999-01-10 J. Kean Johnston <jkj@sco.com>
2900 * Makefile.in.in: Set value of moduledir
2901 - Changed DUMPENV to include $(MODULEPATH)
2902 - Added install rule to install header files for use by ellcc.
2904 * config.h.in: Added INHIBIT_SITE_MODULES
2905 - Added HAVE__DLERROR
2906 - Added HAVE_DLFCN_H
2907 - Added DLSYM_NEEDS_UNDERSCORE
2911 * emodules.c: New file containing dynamic loading code.
2913 * emodules.h: New file.
2915 * emacs.c: Added variables Vmodule_directory,
2916 Vsite_module_directory, Vconfigure_module_directory and
2917 Vconfigure_site_module_directory.
2918 - (main_1): Added new variable inhibit_site_modules and command
2919 line options `-no-site-modules' and `--no-site-modules'.
2920 - (main_1): Call syms_of_module() instead of syms_of_dll().
2921 - (main_1): Call vars_of_module().
2922 - (vars_of_emacs): Introduce inhibit-site-modules,
2923 module-directory, configure-module-directory,
2924 site-module-directory, and configure-site-module-directory to the
2927 * lisp.h: Declare load_module and list_modules, as well as
2928 Vmodule_directory, Vsite_module_directory,
2929 Vconfigure_module_directory and Vconfigure_site_module_directory.
2931 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
2932 - Added correct support for site-lisp directory.
2934 * symbols.c (defsubr): Modified to allow modules to add new subrs
2936 - (defsubr_macro): Same.
2937 - (defvar_magick): Only use purespace when not initialized, so
2938 that loaded modules can still add symbols.
2940 * symsinit.h: Add definitions for syms_of_module(),
2941 vars_of_module(). Removed syms_of_dll().
2943 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
2944 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
2945 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
2947 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
2948 explicitly pass -belf for native cc.
2950 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
2951 hard-coding the library name.
2953 1999-01-01 <martin@xemacs.org>
2955 * device-x.c (Fx_set_font_path):
2956 Add proper cast to permit compilation under C++.
2958 * buffer.c (directory_is_current_directory):
2959 Add proper casts to permit compilation under C++.
2961 1998-12-30 Damon Lipparelli <lipp@primus.com>
2963 * event-msw.c (mswindows_wnd_proc):
2964 Fixed failure when building with MSVC 5.
2966 1998-12-29 Martin Buchholz <martin@xemacs.org>
2968 * file-coding.c (decode_coding_iso2022):
2969 - Prevent crash when decoding ISO7/Lock detected files
2970 - the usual martin fiddling
2972 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
2976 Fixed failures when building with MSVC.
2977 * unexnt.c (dump_bss_and_heap):
2978 Removed compiler warning by removing bss_data variable.
2980 1998-12-18 Jim Radford <radford@robby.caltech.edu>
2982 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
2983 so that packages that distribute their own fonts can access them.
2985 1998-12-28 Andy Piper <andy@xemacs.org>
2987 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
2988 that have an image provided.
2990 * glyphs.h: add Q_image decl.
2992 * glyphs-widget.c new functionality allowing images in
2994 (check_valid_glyph_or_image): new function to validate
2995 glyphs passed in through :image.
2996 (widget_normalize): new function. convert :image parameters into
2997 real glyphs if not already so.
2998 (widget_instantiate_1): mess with size parameters to be similar to
3000 (syms_of_glyphs_widget): new keyword :image.
3001 (image_instantiator_format_create_glyphs_widget): normalize
3002 buttons and allow :image.
3004 1998-12-27 Andy Piper <andy@xemacs.org>
3006 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3008 * glyphs-widget.c (check_valid_anything): no-op function.
3009 (check_valid_callback): check callbacks in gui_items.
3010 (check_valid_symbol): as it sounds.
3011 (check_valid_string_or_vector): ditto.
3012 (widget_validate): modified for descriptors that are vectors or
3013 sequences of keyword/val pairs.
3014 (widget_instantiate_1): ditto.
3015 (image_instantiator_format_create_glyphs_widget): allow gui_item
3016 keywords in the instantiator.
3018 * gui.c (gui_parse_item_keywords_internal): renamed from
3019 gui_parse_item_keywords but taking error behaviour.
3020 (gui_parse_item_keywords): use it.
3021 (gui_parse_item_keywords_no_errors): ditto.
3022 (gui_item_add_keyval_pair): add Error_behavior flag and only
3023 signal invalid keywords if required.
3025 * gui.h: new gui signatures.
3027 * menubar.c (menu_parse_submenu_keywords): use new
3028 gui_item_add_keyval_pair signature.
3030 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3032 1998-12-28 Martin Buchholz <martin@xemacs.org>
3034 * XEmacs 21.2.8 is released.
3036 1998-12-28 Martin Buchholz <martin@xemacs.org>
3038 * editfns.c (get_home_directory):
3039 (user-home-directory): Simplify.
3042 * callproc.c (child_setup):
3043 - Environment variables were being passed to inferior processes
3044 using internal encoding.
3045 - Convert to external encoding.
3046 - Rename local var `tem' to better name `tail'.
3047 - Use Flength instead of `manual' calculation.
3049 * buffer.c (kill-buffer):
3051 (set-buffer-major-mode):
3053 - Fix up parameter names to correspond to docstrings.
3054 - Don't use `bufname' when a buffer will do as well.
3055 - Remove one unneeded GCPRO.
3057 * buffer.h (initial_directory):
3058 * buffer.c (init_initial_directory):
3059 - use correct conversions between internal and external format.
3060 (directory_is_current_directory): new function
3061 (init_buffer): convert initial_directory to internal format.
3062 - solve crashes when current working directory is non-ASCII.
3064 * alloc.c (xmalloc):
3067 - remove stupid casts, since XEmacs requires an ANSI C system.
3068 (lrecord_type_index): replace abort() with more readable assert().
3070 (reset_lcrecord_stats): remove.
3071 (sweep_lcrecords_1):
3072 - replace call to reset_lcrecord_stats() with call to xzero().
3074 1998-12-27 Martin Buchholz <martin@xemacs.org>
3076 * process-unix.c (unix_create_process):
3077 - Fix crash invoking program with non-ASCII name.
3078 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3079 - Remove unused variable `env'.
3080 - Rename `temp' to better name `save_errno'.
3081 - Reorganize code for clarity. But still too chicken to nuke the
3084 1998-12-24 Martin Buchholz <martin@xemacs.org>
3086 * XEmacs 21.2.7 is released.
3088 1998-12-23 Martin Buchholz <martin@xemacs.org>
3090 * glyphs.c (decode_device_ii_format):
3092 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3094 * glyphs-x.c (x_subwindow_instantiate):
3095 - A image instance mask was being assigned to a image instance type!
3096 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3098 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3100 * glyphs-x.h: Make indentation consistent.
3102 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3104 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3106 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3110 Move declarations of decode_device_ii_format and
3111 decode_image_instantiator_format into glyphs.h where they belong.
3113 1998-12-22 Martin Buchholz <martin@xemacs.org>
3115 * frame-x.c (x_delete_frame): Revert part of my changes at the
3116 suggestion of Gunnar Evermann - unfortunately no one really
3117 understands this code.
3119 * callproc.c (init_callproc): code cleanup.
3121 * free-hook.c (malloc):
3126 (block_input_malloc):
3127 (block_input_realloc):
3128 * device-x.c (x_delete_device):
3129 * emacs.c (voodoo_free_hook):
3130 * events.c (print_event):
3132 (CHECK_EVENT_TYPE2):
3133 (CHECK_EVENT_TYPE3):
3134 Use proper prototypes.
3135 Make C_E_T macros a little faster.
3136 Pedantic fiddly little changes. You really don't care.
3138 1998-12-22 Andy Piper <andy@xemacs.org>
3140 * redisplay-output.c (redisplay_clear_region): make sure that
3141 fg/bg colors get set even when we are in the border area.
3143 1998-12-13 Martin Buchholz <martin@xemacs.org>
3145 * console-msw.c: Function definitions follow coding standards
3146 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3148 1998-12-11 Martin Buchholz <martin@xemacs.org>
3150 * events.h (struct timeout_data):
3151 * event-tty.c (tty_timeout_to_emacs_event):
3152 * event-msw.c (mswindows_wm_timer_callback):
3153 * event-Xt.c (Xt_timeout_to_emacs_event):
3154 * event-msw.c (mswindows_cancel_dispatch_event):
3155 Make sure Lisp_Objects inside events are initialized to Qnil, not
3156 Qnull_pointer, which is now illegal.
3158 1998-12-10 Martin Buchholz <martin@xemacs.org>
3160 * lisp.h: Fix up prototypes to match alloc.c
3162 1998-12-08 Martin Buchholz <martin@xemacs.org>
3164 * windowsnt.h: Remove `support' for using index and rindex
3166 * filelock.c (current_lock_owner):
3167 - Change uses of index -> strchr, rindex -> strrchr
3169 1998-12-07 Martin Buchholz <martin@xemacs.org>
3171 * sysdep.c (set_descriptor_non_blocking):
3172 Since O_NONBLOCK is now always #defined, make use of fcntl
3173 conditional on F_SETFL being defined.
3175 * console-msw.c (DHEADgER):
3184 - max_align_t should not be visible to the user of the
3186 - use Bufbyte instead of char
3187 - parens around (FOOP (obj)) are always redundant.
3188 If they were necessary, we should fix the macro instead.
3189 - Always use string_data(foo) instead of foo->data.
3192 1998-12-06 Martin Buchholz <martin@xemacs.org>
3194 * frame-msw.c (mswindows_init_frame_1):
3195 - use make_lisp_hash_table, not Fmake_hash_table
3199 * alloc.c (make_vector): remove travesty
3203 (make_bit_vector_internal):
3205 (make_bit_vector_from_byte_vector):
3207 - make vector_equal a little faster.
3208 - Don't use variable name `new'.
3209 - Use size_t instead of EMACS_INT.
3210 - usual Martin-style pointless bit-twiddling.
3216 Make mapcar faster. In particular, make
3217 (mapc #'identity long-string)
3218 MUCH faster under Mule.
3219 * tests/automated/lisp-tests.el: Test 'em!
3221 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3224 1998-12-01 Martin Buchholz <martin@xemacs.org>
3226 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3227 Qnil, not NULL, to initialize `null' Lisp_Objects.
3229 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3231 * specifier.c (display_table_validate): Update.
3233 * redisplay.c (create_text_block): Use them.
3235 * glyphs.c (display_table_entry): New function.
3236 (get_display_tables): Ditto.
3238 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3240 * eldap.c (toplevel): Mention that eldap.c compiles with
3242 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3243 (Fldap_search_internal): Ditto
3245 1998-12-11 Martin Buchholz <martin@xemacs.org>
3247 * event-msw.c (mswindows_cancel_dispatch_event):
3248 Gratuitous code prettification
3251 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3253 * fns.c (Fnconc): Fix use of wrong_type_argument().
3255 * floatfns.c (Ffloat): Fix docstring.
3256 (Ffloat): Fix use of wrong_type_argument().
3258 (extract_float): Ditto.
3263 1998-12-06 Martin Buchholz <martin@xemacs.org>
3265 * frame-msw.c (mswindows_init_frame_1):
3266 - use make_lisp_hash_table, not Fmake_hash_table
3270 * alloc.c (make_vector): remove travesty
3274 (make_bit_vector_internal):
3276 (make_bit_vector_from_byte_vector):
3278 - make vector_equal a little faster.
3279 - Don't use variable name `new'.
3280 - Use size_t instead of EMACS_INT.
3281 - usual Martin-style pointless bit-twiddling.
3287 Make mapcar faster. In particular, make
3288 (mapc #'identity long-string)
3289 MUCH faster under Mule.
3290 * tests/automated/lisp-tests.el: Test 'em!
3292 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3295 1998-12-02 Didier Verna <verna@inf.enst.fr>
3297 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3298 accelerator field to nil for labels.
3300 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3302 * menubar-msw.c (displayable_menu_item):
3303 Escape occurrences of '&' and support occurrences of the
3304 '%_' accelerator indicator in menus.
3306 1998-11-26 Didier Verna <verna@inf.enst.fr>
3308 * dired.c (Fdirectory_files): use make_string instead of
3309 make_ext_string on the filename. The conversion external->internal
3310 format is already done in sys_readdir.
3312 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3314 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3316 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3319 (Belatedly) added Kirill to list of file's authors.
3320 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3321 quit checking. WM_PAINT messages cause redisplay, but
3322 windows' states are not necessarily stable when this function
3325 1998-12-17 Andy Piper <andy@xemacs.org>
3327 * strftime.c (zone_name): CONSTify.
3329 1998-12-15 Andy Piper <andy@xemacs.org>
3331 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3332 (mswindows_widget_property): return Qunbound when no property available.
3333 (mswindows_button_property): ditto.
3334 (mswindows_combo_property): ditto.
3335 (mswindows_widget_set_property): ditto.
3337 * glyphs-widget.c (check_valid_item_list): use properties.
3339 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3341 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3342 (Fimage_instance_property): ditto.
3343 * glyphs-widget.c (widget_property): ditto.
3344 (widget_set_property): ditto.
3346 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3347 as setting the class cursor so that GC actually changes the
3350 * config.h: don't undef MAIL_USE_POP.
3352 1998-12-13 Andy Piper <andy@xemacs.org>
3355 (image_instantiator_format_create_glyphs_mswindows): line ->
3357 (mswindows_label_instantiate): ditto. Play with window flags.
3358 (image_instantiator_format_create_glyphs_mswindows): ditto.
3359 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3361 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3362 cope with lines and labels.
3363 (static_instantiate): use widget_instantiate_1.
3365 (image_instantiator_format_create_glyphs_widget): ditto.
3367 1998-12-10 Andy Piper <andy@xemacs.org>
3369 * Makefile.in.in (objs): add gui.o
3371 1998-12-10 Andy Piper <andy@xemacs.org>
3373 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3376 1998-12-09 Andy Piper <andy@xemacs.org>
3378 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3379 image instance is removed so that the subwindow cache gets reset
3380 and thus destroyed images get GC'd.
3382 1998-12-08 Andy Piper <andy@xemacs.org>
3384 * gui-msw.c (mswindows_handle_gui_wm_command): call
3385 MARK_SUBWINDOWS_CHANGED.
3387 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3388 subwindows really get deleted.
3390 * redisplay.c: new variable subwindows_changed[_set].
3391 (redisplay_window): use it.
3392 (redisplay_frame): ditto.
3393 (redisplay_device): ditto.
3394 (redisplay_without_hooks): ditto.
3396 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3397 subwindows redisplay as per glyphs equivalent.
3398 * redisplay.h: ditto.
3399 (MARK_SUBWINDOWS_CHANGED): ditto.
3400 (RESET_CHANGED_SET_FLAGS): ditto.
3401 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3403 1998-12-07 Andy Piper <andy@xemacs.org>
3405 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3408 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3410 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3411 messages and paint widget glyphs as appropriate with their face fg
3414 1998-12-06 Andy Piper <andy@xemacs.org>
3416 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3417 here rather than in glyphs-widget - do this because we only want
3418 to provide what is really available.
3420 * glyphs.c (Fimage_instance_property): new function to get the
3421 properties of image instances. wires through to console specific
3422 methods and then to widget specific methods.
3423 (Fset_image_instance_property): ditto but for setting widget properties.
3424 (check_valid_face): make extern so that it can be used elsewhere.
3426 * glyphs-widget.c (widget_property): new function. gets the
3427 properties of widgets in general and wires the function through to
3428 widget specific ones.
3429 (widget_set_property): ditto but for setting widget properties.
3431 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3432 add items to the list. Play with window styles a bit to get the
3434 (mswindows_widget_property): break out specific widget properties.
3435 (mswindows_button_property): new function. gets the checked state
3437 (mswindows_combo_property): new function. gets the current
3438 selection in the combo box.
3439 (mswindows_widget_set_property): new function. sets specific
3440 properties of specific widgets.
3442 * glyphs-widget.c (check_valid_item_list): new function. check
3443 that items for a combo-box are just a list of strings.
3444 (combo_validate): new function. check there is an item list.
3445 (widget_instantiate_1): new function. renamed from
3446 widget_instantiate so that we can do slightly different things for
3448 (widget_instantiate): call widget_instantiate_1.
3449 (combo_instantiate): new function to instantiate combo boxes,
3450 defaults height to the pixel height of the number of items in the
3452 (syms_of_glyphs_widget): move widget keywords here.
3453 (image_instantiator_format_create_glyphs_widget): use new combo
3456 1998-12-04 Andy Piper <andy@xemacs.org>
3458 * event-msw.c (mswindows_wnd_proc): mule-ize.
3460 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3462 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3463 (resource_name_to_resource): ditto.
3464 (mswindows_resource_instantiate): ditto.
3465 (mswindows_widget_instantiate): ditto.
3466 (mswindows_widget_set_property): ditto.
3468 * redisplay-output.c (redisplay_output_subwindow): don't show
3469 subwindows if they are obscured at the edge of the frame, emacs
3470 gets into some sort of redisplay loop otherwise.
3472 * gui.h: prototype gui_item_selected_p.
3474 * gui.c (gui_item_selected_p): new function to determine the
3475 selected state of a gui_item.
3477 * frame.h (struct frame): add subwindows_changed flag.
3479 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3481 * glyphs.c (update_subwindow): new function to update a
3483 (update_frame_subwindows): new function to update all the
3484 subwindows on a frame.
3486 * console.h (struct console_methods): add update_subwindow.
3488 * glyphs-msw.c (mswindows_widget_property): return selected state
3489 for selected property.
3490 (mswindows_update_subwindow): new function. updates widget glyphs
3491 in redisplay as per menubars or toolbars e.g. selected state.
3492 (console_type_create_glyphs_mswindows): add update_subwindow.
3494 1998-12-03 Andy Piper <andy@xemacs.org>
3496 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3497 tty coding system things are such.
3499 * glyphs-widget.c (widget_face_font_info): new function for
3500 pulling out height and width metrics for a widget's face.
3501 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3504 * event-msw.c (mswindows_drain_windows_queue): translate messages
3505 that are destined for subwindows. This makes edit fields interact
3506 with the keyboard correctly.
3507 nuke warnings by #ifndef'ing out stuff not required by msg select().
3509 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3510 macro defining the iiforma without the symbol required by widget.
3511 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3513 * general.c (syms_of_general): add Qwidget, Qselected.
3515 * faces.c (complex_vars_of_faces): add widget face inheriting from
3518 1998-11-09 Andy Piper <andy@xemacs.org>
3520 * window.h (struct window): add a cache of subwindows on a
3523 * window.c (mark_window): mark the subwindow_instance_cache.
3524 (allocate_window): initialise the subwindow instance_cache.
3526 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3527 instead of the devmeth.
3528 (x_clear_toolbar): ditto.
3530 * redisplay-x.c (x_output_display_block): call
3531 redisplay_output_subwindow for subwindows and widgets.
3533 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3534 types to do nothing for.
3536 * lisp.h: declare new widget/subwindow symbols.
3538 * glyphs.c (image_instantiate): cache subwindows on a per-window
3540 (subwindow_possible_dest_types): new function for subwindow dest
3542 (subwindow_instantiate): generic instantiation of a
3543 subwindow. specialised by device multi-methods.
3544 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3546 (Fimage_instance_subwindow_id): ditto.
3547 (Fresize_subwindow): ditto.
3548 (Fforce_subwindow_map): ditto.
3550 * glyphs-x.c (x_print_image_instance): remove subwindow
3551 stuff. Handled genrically in glyphs.c.
3552 (x_image_instance_equal): ditto.
3553 (x_image_instance_hash): ditto.
3554 (x_finalize_image_instance): delete subwindows when required.
3555 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3556 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3557 glyph-based, subwindow implementation.
3558 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3560 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3562 (x_unmap_subwindow): new function to unmap X subwindows.
3563 (x_map_subwindow): new function to map X subwindows.
3564 (x_subwindow_instantiate): new function to instantiate X
3566 (x_resize_subwindow): new function to resize X subwindows.
3567 (console_type_create_glyphs_x): add subwindow functions.
3568 (image_instantiator_format_create_glyphs_x): add device
3569 multi-methods for xpm, xbm and subwindow.
3571 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3572 (subwindow-width): ditto.
3573 (subwindow-height): ditto.
3575 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3576 generally instantiating ms subwindows. Used by
3577 mswindows_*_instantiate.
3578 (mswindows_edit_instantiate): instantiate an edit field on a
3581 1998-11-04 Andy Piper <andy@xemacs.org>
3583 * symsinit.h: declare new functions.
3585 * redisplay.h: declare new functions.
3587 * redisplay-x.c (x_output_display_block): call
3588 redisplay_clear_region rather than x_clear_region.
3589 (x_output_string): ditto.
3590 (x_output_pixmap): ditto.
3591 (x_clear_to_window_end): ditto.
3592 (x_output_eol_cursor): ditto.
3593 (x_clear_region): only do X specific things. other duties handled
3594 in redisplay_clear_region.
3596 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3597 duties moved to redisplay_clear_region.
3599 * redisplay-output.c (clear_left_border): use
3600 redisplay_clear_region instead of device method.
3601 (clear_right_border): ditto.
3602 (output_display_line): ditto.
3603 (redisplay_output_subwindow): ditto.
3604 (redisplay_clear_top_of_window): ditto.
3605 (redisplay_clear_region): perform duties previously handled by
3606 device methods. call the appropriate device method at the
3607 end. unmap subwindows if necessary.
3609 * redisplay-msw.c (mswindows_output_string): use
3610 redisplay_clear_region instead of mswindows_clear_region.
3611 (mswindows_clear_to_window_end): ditto.
3612 (mswindows_output_display_block): output subwindows when required.
3613 (mswindows_clear_region): only do mswindows specific things,
3614 everything else is now handled in redisplay_clear_region.
3616 * gui.h: add item id hash defines and declare function prototypes.
3618 * gui.c (mark_gui_item): new function for marking gui_items.
3619 (gui_item_hash): generic hash function for generating command ids
3622 * gui-msw.c: new file.
3623 (mswindows_handle_gui_wm_command): new function to handle widget
3626 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3628 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3629 (DEFINE_DEVICE_IIFORMAT): ditto.
3630 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3631 (struct Lisp_Image_Instance): add widget and subwindow data plus
3632 appropriate access functions.
3634 * glyphs.c (decode_device_ii_format): new function for decoding
3635 image instantiator functions based on a device type as well as an
3637 (decode_image_instantiator_format): just call
3638 decode_device_ii_format with nil device.
3639 (add_entry_to_device_ii_format_list): new function for per device
3641 (add_entry_to_image_instantiator_format_list): just call
3642 add_entry_to_device_ii_format_list with nil device.
3643 (check_valid_vector): new function.
3644 (instantiate_image_instantiator): instantiate using per-format
3645 method and then per-format-per-device method (device
3646 multi-methods). signal an error if neither is possible.
3647 (mark_image_instance): cope with subwindows and widgets.
3648 (print_image_instance): ditto.
3649 (image_instance_equal): ditto.
3650 (image_instance_hash): ditto.
3651 (allocate_glyph): ditto.
3652 (glyph_width): ditto.
3653 (glyph_height_internal): ditto.
3654 (xpm_instantiate): removed because of device multi-methods.
3655 (mark_subwindow_cachels): new cachel functions for caching
3656 instantiated subwindows on a per-frame basis. mostly copied from
3657 glyph cachel functions.
3658 (update_subwindow_cachel_data): ditto.
3659 (add_subwindow_cachel): ditto.
3660 (get_subwindow_cachel_index): ditto.
3661 (reset_subwindow_cachels): ditto.
3662 (mark_subwindow_cachels_as_not_updated): ditto.
3663 (unmap_subwindow): generic unmapping of subwindows based on cachel
3665 (map_subwindow): ditto.
3666 (initialize_subwindow_image_instance): generic initialisation of
3668 (syms_of_glyphs): add widget keywords.
3670 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3673 1998-11-04 Andy Piper <andy@xemacs.org>
3675 * glyphs-widget.c: new file for instantiating widget type glyphs.
3676 (widget_possible_dest_types): new general dest type function for
3678 (widget_validate): ditto.
3679 (initialize_widget_image_instance): ditto
3680 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3681 before handing on control to device multi-methods.
3682 (syms_of_glyphs_widget): new function.
3683 (image_instantiator_format_create_glyphs_widget): new function,
3684 added placeholders for button, edit, combo, scrollbar
3685 (vars_of_glyphs_widget): new function.
3687 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3688 storing window ids of widgets.
3690 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3691 deletion of widget and subwindow glyphs.
3692 (mswindows_unmap_subwindow): new device function for unmapping
3693 subwindows on a msw frame.
3694 (mswindows_map_subwindow): ditto.
3695 (mswindows_register_image_instance): register instantiated widgets
3696 with the widget hastable.
3697 (mswindows_button_instantiate): instantiate a button type widget
3699 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3701 (image_instantiator_format_create_glyphs_mswindows): add device
3702 multi-methods for xbm, xpm, subwindow, edit and button.
3704 * frame.h (struct frame): add subwindow_cachels dynarr for caching
3705 information about subwindows visible on the current frame. used by
3706 redisplay_clear_region to unmap subwindows as required.
3708 * frame.c (mark_frame): mark subwindow_cachels.
3709 (allocate_frame_core): instantiate subwindow_cachels.
3711 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
3714 * event-msw.c (mswindows_wnd_proc): add call to
3715 mswindows_handle_gui_wm_command to handle widget callbacks.
3717 * emacs.c (main_1): add calls to glyphs-widget initialisation
3720 * console.h (struct console_methods): add
3721 unmap/map_subwindow_method for use be redisplay_clear_region to
3722 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
3723 with by image instantiator multi-methods. Add
3724 resize_subwindow_method.
3726 * console-stream.c (stream_clear_region): change signature to
3727 match new generic clear region function.
3729 * Makefile.in.in: add glyphs-widget.o to list of objects.
3731 * console-msw.h (struct mswindows_frame): add widget hashtable for
3732 wiring command ids to callbacks.
3734 1998-12-16 Andy Piper <andy@xemacs.org>
3736 * XEmacs 21.2.6 is released
3738 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
3740 * md5.c (Fmd5): Correctly initiate string input stream.
3742 * Makefile.in.in (tests): Add md5-tests.el.
3744 1998-12-06 Martin Buchholz <martin@xemacs.org>
3747 * alloc.c (make_vector): remove travesty
3751 (make_bit_vector_internal):
3753 (make_bit_vector_from_byte_vector):
3755 - make vector_equal a little faster.
3756 - Don't use variable name `new'.
3757 - Use size_t instead of EMACS_INT.
3758 - usual Martin-style pointless bit-twiddling.
3764 Make mapcar faster. In particular, make
3765 (mapc #'identity long-string)
3766 MUCH faster under Mule.
3767 * tests/automated/lisp-tests.el: Test 'em!
3769 1998-12-06 Martin Buchholz <martin@xemacs.org>
3771 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3774 1998-12-13 Martin Buchholz <martin@xemacs.org>
3776 * console-msw.c: Function definitions follow coding standards
3777 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3779 1998-12-11 Martin Buchholz <martin@xemacs.org>
3781 * events.h (struct timeout_data):
3782 * event-tty.c (tty_timeout_to_emacs_event):
3783 * event-msw.c (mswindows_wm_timer_callback):
3784 * event-Xt.c (Xt_timeout_to_emacs_event):
3785 * event-msw.c (mswindows_cancel_dispatch_event):
3786 Make sure Lisp_Objects inside events are initialized to Qnil, not
3787 Qnull_pointer, which is now illegal.
3789 1998-12-10 Martin Buchholz <martin@xemacs.org>
3791 * lisp.h: Fix up prototypes to match alloc.c
3793 1998-12-09 Andy Piper <andy@xemacs.org>
3795 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
3796 XSETINT for assigning lisp objects.
3798 1998-12-07 Martin Buchholz <martin@xemacs.org>
3801 * console-msw.c (DHEADER):
3810 - max_align_t should not be visible to the user of the
3812 - use Bufbyte instead of char
3813 - parens around (FOOP (obj)) are always redundant.
3814 If they were necessary, we should fix the macro instead.
3815 - Always use string_data(foo) instead of foo->data.
3817 1998-12-07 Martin Buchholz <martin@xemacs.org>
3819 * sysdep.c (set_descriptor_non_blocking):
3820 Since O_NONBLOCK is now always #defined, make use of fcntl
3821 conditional on F_SETFL being defined.
3823 1998-12-09 Andy Piper <andy@xemacs.org>
3825 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
3826 that got removed in the merge
3828 1998-11-30 Greg Klanderman <greg@alphatech.com>
3830 * dired.c (vars_of_dired): bugfix for previous conditionalization
3831 of user-name-completion on non- Windows NT.
3833 1998-12-08 Martin Buchholz <martin@xemacs.org>
3835 * windowsnt.h: Remove `support' for using index and rindex
3837 * filelock.c (current_lock_owner):
3838 - Change uses of index -> strchr, rindex -> strrchr
3840 1998-12-06 Martin Buchholz <martin@xemacs.org>
3842 * frame-msw.c (mswindows_init_frame_1):
3843 - use make_lisp_hash_table, not Fmake_hash_table
3846 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3848 * XEmacs 21.2.5 is released
3850 1998-11-30 Martin Buchholz <martin@xemacs.org>
3852 * xselect.c (receive_incremental_selection):
3853 * xselect.c (x_get_window_property):
3854 * xmu.c (XmuReadBitmapDataFromFile):
3855 * xmu.c (XmuCursorNameToIndex):
3856 * xgccache.c (describe_gc_cache):
3857 * xgccache.c (gc_cache_lookup):
3858 * xgccache.c (free_gc_cache):
3859 * xgccache.c (make_gc_cache):
3861 * window.c (map_windows_1):
3862 * window.c (Fother_window_for_scrolling):
3863 * window.c (window_scroll):
3864 * window.c (change_window_height):
3865 * window.c (Fsplit_window):
3866 * window.c (window_left_gutter_width):
3867 * window.c (window_modeline_height):
3868 * window.c (invalidate_vertical_divider_cache_in_window):
3869 * window.c (window_needs_vertical_divider_1):
3870 * window.c (update_mirror_internal):
3871 * window.c (SET_LAST_FACECHANGE):
3872 * widget.c (Fwidget_plist_member):
3873 * unexec.c (copy_text_and_data):
3874 * unexcw.c (copy_executable_and_dump_data_section):
3876 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
3877 * tooltalk.c (struct Lisp_Tooltalk_Message):
3878 * toolbar.h (struct toolbar_button):
3879 * toolbar.c (default_toolbar_visible_p_changed_in_window):
3880 * toolbar.c (recompute_overlaying_specifier):
3881 * toolbar.c (toolbar_validate):
3882 * toolbar.c (toolbar_button_at_pixpos):
3883 * toolbar.c (get_toolbar_coords):
3884 * toolbar.c (update_frame_toolbars):
3886 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
3887 * toolbar-msw.c (mswindows_find_toolbar_pos):
3888 * toolbar-msw.c (mswindows_output_toolbar):
3889 * toolbar-msw.c (mswindows_clear_toolbar):
3898 * sysdep.c (sys_fopen):
3899 * sysdep.c (sys_open):
3900 * sysdep.c (tty_init_sys_modes_on_device):
3901 * sysdep.c (get_eof_char):
3902 * sysdep.c (child_setup_tty):
3903 * sysdep.c (set_descriptor_non_blocking):
3905 * syntax.c (scan_words):
3908 * symeval.h (struct symbol_value_varalias):
3909 * symeval.h (struct symbol_value_forward):
3910 * symbols.c (syms_of_symbols):
3911 * symbols.c (init_symbols_once_early):
3912 * symbols.c (Fbuilt_in_variable_type):
3913 * symbols.c (Fsymbol_value_in_buffer):
3914 * symbols.c (default_value):
3916 * symbols.c (find_symbol_value_quickly):
3917 * symbols.c (store_symval_forwarding):
3918 * symbols.c (set_default_console_slot_variable):
3919 * symbols.c (set_default_buffer_slot_variable):
3920 * symbols.c (verify_ok_for_buffer_local):
3921 * symbols.c (symbol_is_constant):
3922 * symbols.c (oblookup):
3923 * symbols.c (Funintern):
3924 * symbols.c (Fintern):
3925 * symbols.c (check_obarray):
3927 * specifier.h (struct specifier_methods):
3929 * specifier.c (specifier_instance):
3930 * specifier.c (specifier_instance_from_inst_list):
3931 * specifier.c (decode_locale_type):
3932 * specifier.c (specifier_equal):
3933 * specifier.c (finalize_specifier):
3934 * specifier.c (prune_specifiers):
3935 * specifier.c (kill_specifier_buffer_locals):
3936 * sound.c (init_native_sound):
3939 * search.c (Fmatch_data):
3940 * search.c (match_limit):
3941 * search.c (Freplace_match):
3942 * search.c (skip_chars):
3943 * search.c (scan_buffer):
3945 * scrollbar.c (specifier_vars_of_scrollbar):
3946 * scrollbar.c (Fscrollbar_set_hscroll):
3947 * scrollbar.c (vertical_scrollbar_changed_in_window):
3948 * scrollbar.c (release_window_mirror_scrollbars):
3949 * scrollbar.c (free_scrollbar_instance):
3952 * s/msdos.h (O_BINARY):
3954 * s/freebsd.h (LIBS_TERMCAP):
3955 * regex.c (re_match_2_internal):
3956 * regex.c (compile_extended_range):
3957 * regex.c (POP_FAILURE_POINT):
3958 * regex.c (PUSH_FAILURE_POINT):
3959 * redisplay.h (RESET_CHANGED_SET_FLAGS):
3961 * redisplay.h (struct display_line):
3962 * redisplay.h (struct rune):
3963 * redisplay.c (vars_of_redisplay):
3964 * redisplay.c (redisplay_variable_changed):
3965 * redisplay.c (UPDATE_CACHE_RETURN):
3966 * redisplay.c (validate_line_start_cache):
3967 * redisplay.c (mark_redisplay_structs):
3968 * redisplay.c (mark_glyph_block_dynarr):
3969 * redisplay.c (window_line_number):
3970 * redisplay.c (redisplay_frame):
3971 * redisplay.c (redisplay_window):
3972 * redisplay.c (generate_modeline):
3973 * redisplay.c (create_right_glyph_block):
3974 * redisplay.c (create_left_glyph_block):
3975 * redisplay.c (create_text_block):
3977 * redisplay-x.c (x_output_hline):
3978 * redisplay-x.c (x_output_vertical_divider):
3979 * redisplay-tty.c (tty_output_display_block):
3980 * redisplay-output.c (output_display_line):
3981 * redisplay-output.c:
3982 * redisplay-msw.c (mswindows_output_vertical_divider):
3983 * redisplay-msw.c (mswindows_ring_bell):
3984 * redisplay-msw.c (mswindows_output_cursor):
3988 * puresize.h (RAW_PURESIZE):
3989 * profile.c (syms_of_profile):
3990 * profile.c (Fstart_profiling):
3991 * profile.c (sigprof_handler):
3994 * process.c (vars_of_process):
3995 * process.c (read_process_output):
3996 * process.c (get_process):
3998 * process-unix.c (unix_open_multicast_group):
3999 * process-unix.c (unix_get_tty_name):
4000 * process-unix.c (unix_send_process):
4001 * process-unix.c (unix_reap_exited_processes):
4002 * process-unix.c (unix_create_process):
4003 * process-unix.c (unix_init_process_io_handles):
4004 * process-unix.c (allocate_pty):
4006 * process-nt.c (nt_open_network_stream):
4007 * process-nt.c (nt_update_status_if_terminated):
4008 * process-nt.c (nt_finalize_process_data):
4010 * print.c (debug_short_backtrace):
4011 * print.c (debug_backtrace):
4012 * print.c (print_symbol):
4013 * print.c (print_internal):
4014 * print.c (print_cons):
4015 * print.c (Fwrite_char):
4016 * print.c (print_prepare):
4017 * print.c (canonicalize_printcharfun):
4018 * print.c (output_string):
4021 * opaque.c (allocate_managed_opaque):
4023 * offix.c (DndSetData):
4024 * objects.c (face_boolean_create):
4025 * objects.c (font_instantiate):
4026 * objects.c (font_create):
4027 * objects.c (color_create):
4028 * objects.c (finalize_font_instance):
4029 * objects.c (finalize_color_instance):
4031 * objects-x.c (x_font_instance_truename):
4033 * objects-x.c (x_initialize_font_instance):
4034 * objects-x.c (allocate_nearest_color):
4035 * objects-tty.c (tty_initialize_font_instance):
4036 * objects-tty.c (tty_initialize_color_instance):
4037 * objects-msw.c (mswindows_initialize_color_instance):
4038 * ntproc.c (syms_of_ntproc):
4039 * ntproc.c (Fwin32_set_process_priority):
4040 * ntproc.c (sys_spawnve):
4042 * ntheap.c (get_data_end):
4046 * nt.c (generate_inode_val):
4047 * nt.c (sys_rename):
4049 * mule-wnnfns.c (Fwnn_hinsi_number):
4050 * mule-wnnfns.c (Fwnn_yuragi):
4051 * mule-wnnfns.c (Fwnn_common_learn):
4052 * mule-wnnfns.c (Fwnn_suffix_learn):
4053 * mule-wnnfns.c (Fwnn_prefix_learn):
4054 * mule-wnnfns.c (Fwnn_okuri_learn):
4055 * mule-wnnfns.c (Fwnn_complex_conv):
4056 * mule-wnnfns.c (Fwnn_last_is_first):
4057 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4058 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4059 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4060 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4061 * mule-wnnfns.c (Fwnn_hinsi_list):
4062 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4063 * mule-wnnfns.c (Fwnn_dict_search):
4064 * mule-wnnfns.c (Fwnn_word_toroku):
4065 * mule-wnnfns.c (Fwnn_hindo_update):
4066 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4067 * mule-wnnfns.c (Fwnn_kakutei):
4068 * mule-wnnfns.c (Fwnn_begin_henkan):
4069 * mule-wnnfns.c (Fwnn_dict_comment):
4070 * mule-wnnfns.c (Fwnn_dict_add):
4071 * mule-wnnfns.c (Fwnn_open):
4072 * mule-mcpath.c (mc_getcwd):
4073 * mule-coding.c (vars_of_mule_coding):
4074 * mule-coding.c (convert_to_external_format):
4075 * mule-coding.c (encoding_marker):
4076 * mule-coding.c (decoding_marker):
4077 * mule-coding.c (Fcopy_coding_system):
4078 * mule-coding.c (Fmake_coding_system):
4079 * mule-coding.c (Fcoding_system_list):
4080 * mule-coding.c (Ffind_coding_system):
4081 * mule-coding.c (symbol_to_eol_type):
4083 * mule-charset.c (complex_vars_of_mule_charset):
4084 * mule-charset.c (vars_of_mule_charset):
4085 * mule-charset.c (Fset_charset_ccl_program):
4086 * mule-charset.c (struct charset_list_closure):
4087 * mule-charset.c (Ffind_charset):
4088 * mule-charset.c (make_charset):
4089 * mule-charset.c (non_ascii_valid_char_p):
4091 * mule-ccl.c (ccl_driver):
4092 * mule-canna.c (c2mu):
4093 * mule-canna.c (Fcanna_henkan_begin):
4094 * mule-canna.c (Fcanna_parse):
4095 * mule-canna.c (Fcanna_store_yomi):
4096 * mule-canna.c (Fcanna_touroku_string):
4097 * mule-canna.c (Fcanna_initialize):
4099 * menubar.c (menu_parse_submenu_keywords):
4100 * menubar-x.c (make_dummy_xbutton_event):
4101 * menubar-x.c (set_frame_menubar):
4102 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4105 * menubar-msw.c (mswindows_popup_menu):
4106 * menubar-msw.c (mswindows_update_frame_menubars):
4107 * menubar-msw.c (mswindows_handle_wm_command):
4108 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4109 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4110 * menubar-msw.c (update_frame_menubar_maybe):
4111 * menubar-msw.c (populate_or_checksum_helper):
4112 * menubar-msw.c (empty_menu):
4115 * marker.c (set_marker_internal):
4116 * marker.c (print_marker):
4119 * lstream.c (lisp_buffer_rewinder):
4120 * lstream.c (mark_lstream):
4122 * lrecord.h (struct lrecord_header):
4123 * lread.c (readevalloop):
4124 * lread.c (locate_file):
4125 * lread.c (locate_file_in_directory):
4126 * lread.c (Flocate_file):
4127 * lread.c (load_force_doc_string_unwind):
4128 * lread.c (ebolify_bytecode_constants):
4133 * linuxplay.c (linux_play_data_or_file):
4134 * linuxplay.c (audio_init):
4137 * keymap.c (describe_map):
4138 * keymap.c (describe_map_mapper):
4139 * keymap.c (Fdescribe_bindings_internal):
4140 * keymap.c (Fsingle_key_description):
4141 * keymap.c (map_keymap_sorted):
4142 * keymap.c (get_relevant_keymaps):
4143 * keymap.c (Flookup_key):
4144 * keymap.c (raw_lookup_key_mapper):
4145 * keymap.c (Fdefine_key):
4146 * keymap.c (Fevent_matches_key_specifier_p):
4147 * keymap.c (key_desc_list_to_event):
4148 * keymap.c (define_key_parser):
4149 * keymap.c (define_key_check_and_coerce_keysym):
4150 * keymap.c (keymap_submaps):
4151 * keymap.c (keymap_store_internal):
4152 * keymap.c (keymap_delete_inverse_internal):
4153 * keymap.c (keymap_store_inverse_internal):
4154 * keymap.c (print_keymap):
4155 * keymap.c (Lisp_Keymap):
4158 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4159 * insdel.c (make_gap):
4160 * input-method-xlib.c (get_XIM_input):
4161 * input-method-xlib.c (XIM_init_frame):
4166 * gui-x.c (button_item_to_widget_value):
4167 * gui-x.c (popup_selection_callback):
4168 * glyphs.h (struct image_instantiator_methods):
4169 * glyphs.c (mark_glyph_cachels):
4170 * glyphs.c (Fglyph_type):
4171 * glyphs.c (image_instantiate):
4172 * glyphs.c (image_create):
4173 * glyphs.c (make_image_instance_1):
4174 * glyphs.c (finalize_image_instance):
4176 * glyphs-x.c (finalize_subwindow):
4177 * glyphs-x.c (xface_validate):
4178 * glyphs-x.c (x_locate_pixmap_file):
4179 * glyphs-x.c (convert_EImage_to_XImage):
4181 * glyphs-msw.c (mswindows_resource_instantiate):
4182 * glyphs-msw.c (xpm_to_eimage):
4183 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4184 * glyphs-eimage.c (tiff_instantiate):
4185 * glyphs-eimage.c (png_instantiate):
4186 * glyphs-eimage.c (struct png_error_struct):
4187 * glyphs-eimage.c (gif_memory_storage):
4190 * getloadavg.c (getloadavg):
4193 * free-hook.c (log_gcpro):
4194 * free-hook.c (check_malloc):
4195 * free-hook.c (check_free):
4196 * free-hook.c (ROUND_UP_TO_PAGE):
4198 * frame.h (struct frame):
4200 * frame.c (change_frame_size_1):
4201 * frame.c (allocate_frame_core):
4203 * frame-x.c (x_focus_on_frame):
4204 * frame-x.c (x_init_frame_2):
4205 * frame-x.c (x_popup_frame):
4206 * frame-x.c (xemacs_XtPopup):
4208 * frame-x.c (Foffix_start_drag_internal):
4209 * frame-x.c (x_cde_destroy_callback):
4210 * frame-x.c (x_wm_hack_wm_protocols):
4211 * frame-tty.c (tty_frame_visible_p):
4212 * frame-msw.c (mswindows_make_frame_invisible):
4213 * frame-msw.c (mswindows_after_init_frame):
4214 * frame-msw.c (mswindows_init_frame_1):
4215 * fns.c (syms_of_fns):
4216 * fns.c (Fbase64_decode_string):
4218 * fns.c (Ffillarray):
4219 * fns.c (Fobject_plist):
4221 * fns.c (Fcanonicalize_lax_plist):
4222 * fns.c (Fcanonicalize_plist):
4223 * fns.c (Fplist_remprop):
4224 * fns.c (Fplist_get):
4225 * fns.c (advance_plist_pointers):
4226 * fns.c (internal_plist_put):
4227 * fns.c (Fnreverse):
4230 * fns.c (Fsubstring):
4231 * fns.c (Fbvconcat):
4233 * fns.c (length_with_bytecode_hack):
4234 * fns.c (print_bit_vector):
4236 * floatfns.c (Ffloor):
4238 * floatfns.c (in_float_error):
4239 * fileio.c (Ffile_modes):
4240 * fileio.c (Fexpand_file_name):
4241 * fileio.c (Fmake_temp_name):
4242 * fileio.c (Ffile_name_nondirectory):
4243 * fileio.c (Ffile_name_directory):
4245 * file-coding.c (vars_of_mule_coding):
4246 * file-coding.c (convert_to_external_format):
4247 * file-coding.c (encoding_marker):
4248 * file-coding.c (decoding_marker):
4249 * file-coding.c (Fcopy_coding_system):
4250 * file-coding.c (Fmake_coding_system):
4251 * file-coding.c (struct coding_system_list_closure):
4252 * file-coding.c (Ffind_coding_system):
4253 * file-coding.c (symbol_to_eol_type):
4255 * faces.h (struct face_cachel):
4256 * faces.c (vars_of_faces):
4257 * faces.c (face_property_was_changed):
4258 * faces.c (mark_face_cachels):
4259 * faces.c (temporary_faces_list):
4260 * faces.c (struct face_list_closure):
4262 * extents.h (struct extent):
4263 * extents.c (vars_of_extents):
4264 * extents.c (struct copy_string_extents_1_arg):
4265 * extents.c (add_string_extents_mapper):
4266 * extents.c (Fextent_property):
4267 * extents.c (Fset_extent_property):
4268 * extents.c (symbol_to_glyph_layout):
4269 * extents.c (properties_equal):
4270 * extents.c (print_extent):
4271 * extents.c (print_extent_1):
4272 * extents.c (extent_in_region_p):
4273 * extents.c (gap_array_make_gap):
4275 * events.h (struct Lisp_Event):
4277 * events.c (Fevent_properties):
4278 * events.c (format_event_object):
4279 * events.c (Fmake_event):
4280 * events.c (event_equal):
4281 * events.c (print_event):
4282 * events.c (mark_event):
4283 * event-stream.c ((read-char)
4284 * event-stream.c (vars_of_event_stream):
4285 * event-stream.c (syms_of_event_stream):
4286 * event-stream.c (Fset_recent_keys_ring_size):
4287 * event-stream.c (Fsit_for):
4288 * event-stream.c (Fnext_event):
4289 * event-stream.c (execute_help_form):
4290 * event-stream.c (maybe_kbd_translate):
4292 * event-msw.c (vars_of_event_mswindows):
4293 * event-msw.c (mswindows_wnd_proc):
4294 * event-msw.c (mswindows_need_event):
4295 * event-msw.c (mswindows_drain_windows_queue):
4296 * event-msw.c (mswindows_pump_outstanding_events):
4298 * event-msw.c (slurp_thread):
4299 * event-msw.c (struct ntpipe_slurp_stream):
4300 * event-msw.c (HANDLE_TO_USID):
4301 * event-Xt.c (emacs_Xt_handle_magic_event):
4302 * event-Xt.c (x_event_to_emacs_event):
4303 * event-Xt.c (x_reset_modifier_mapping):
4304 * event-Xt.c (x_reset_key_mapping):
4306 * eval.c (syms_of_eval):
4307 * eval.c (warn_when_safe):
4308 * eval.c (warn_when_safe_lispobj):
4309 * eval.c (Fbacktrace_frame):
4310 * eval.c (Fbacktrace):
4311 * eval.c (top_level_set):
4312 * eval.c (unbind_to_hairy):
4313 * eval.c (specbind_magic):
4314 * eval.c (specbind_unwind_wasnt_local):
4315 * eval.c (call2_trapping_errors):
4316 * eval.c (call1_trapping_errors):
4317 * eval.c (catch_them_squirmers_call2):
4318 * eval.c (call0_trapping_errors):
4319 * eval.c (run_hook_trapping_errors):
4320 * eval.c (catch_them_squirmers_eval_in_buffer):
4321 * eval.c (call4_in_buffer):
4322 * eval.c (call3_in_buffer):
4323 * eval.c (call2_in_buffer):
4324 * eval.c (call1_in_buffer):
4325 * eval.c (call0_in_buffer):
4326 * eval.c (run_hook):
4327 * eval.c (run_hook_with_args_in_buffer):
4330 * eval.c (do_autoload):
4331 * eval.c (un_autoload):
4332 * eval.c (Fautoload):
4333 * eval.c (Finteractive_p):
4334 * eval.c (Fcommand_execute):
4335 * eval.c (signal_quit):
4336 * eval.c (call_with_suspended_errors):
4337 * eval.c (signal_error):
4338 * eval.c (return_from_signal):
4339 * eval.c (Fcall_with_condition_handler):
4340 * eval.c (run_condition_case_handlers):
4341 * eval.c (condition_case_1):
4342 * eval.c (Funwind_protect):
4343 * eval.c (unwind_to_catch):
4344 * eval.c (internal_catch):
4345 * eval.c (Fmacroexpand_internal):
4346 * eval.c (Fuser_variable_p):
4347 * eval.c (Fdefconst):
4349 * eval.c (Ffunction):
4350 * eval.c (signal_call_debugger):
4351 * eval.c (call_debugger):
4354 * emacs.c (sort_args):
4358 * editfns.c (Fencode_time):
4359 * editfns.c (Fdecode_time):
4360 * editfns.c (Fuser_full_name):
4362 * editfns.c (save_excursion_restore):
4365 * doprnt.c (emacs_doprnt_1):
4366 * doc.c (verify_doc_mapper):
4367 * doc.c (Fsnarf_documentation):
4368 * doc.c (Fdocumentation):
4370 * dired.c (user_name_completion):
4371 * dired.c (Fdirectory_files):
4374 * dgif_lib.c (FreeSavedImages):
4375 * dgif_lib.c (DGifGetImageDesc):
4377 * device.h (struct device):
4378 * device.c (Fselect_device):
4379 * device.c (allocate_device):
4381 * device-x.c (Fx_keysym_on_keyboard_p):
4382 * device-x.c (Fx_valid_keysym_name_p):
4383 * device-x.c (x_IO_error_handler):
4384 * device-x.c (x_delete_device):
4385 * device-x.c (x_finish_init_device):
4386 * device-x.c (x_init_device):
4388 * device-msw.c (mswindows_init_device):
4390 * database.c (vars_of_database):
4391 * database.c (Fput_database):
4392 * database.c (Fopen_database):
4393 * database.c (berkdb_remove):
4394 * database.c (berkdb_put):
4395 * database.c (Fdatabasep):
4396 * database.c (print_database):
4398 * data.c (vars_of_data):
4399 * data.c (syms_of_data):
4400 * data.c (init_errors_once_early):
4401 * data.c (prune_weak_lists):
4402 * data.c (finish_marking_weak_lists):
4403 * data.c (print_weak_list):
4405 * data.c (Fstring_to_number):
4406 * data.c (Fnumber_to_string):
4407 * data.c (Findirect_function):
4410 * data.c (Fsubr_interactive):
4412 * data.c (Fkeywordp):
4415 * console.h (CONSOLE_NAME):
4417 * console.c (vars_of_console):
4418 * console.c (Fselect_console):
4420 * console-x.h (DEVICE_X_COLORMAP):
4421 * console-x.h (struct x_device):
4422 * console-x.c (x_device_to_console_connection):
4423 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4424 * console-tty.c (tty_init_console):
4426 * console-msw.h (struct mswindows_frame):
4429 * cmds.c (internal_self_insert):
4430 * cmds.c (Fforward_line):
4431 * cmds.c (Fforward_char):
4434 * chartab.c (mark_char_table_entry):
4436 * casefiddle.c (casify_word):
4437 * callproc.c (child_setup):
4438 * callproc.c (Fcall_process_internal):
4440 * callint.c (Fcall_interactively):
4442 * bytecode.c (execute_rare_opcode):
4443 * bytecode.c (execute_optimized_program):
4446 * buffer.h (BUFFER_REALLOC):
4447 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4448 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4450 * buffer.h (MAP_INDIRECT_BUFFERS):
4451 * buffer.h (CHECK_LIVE_BUFFER):
4452 * buffer.c (init_initial_directory):
4453 * buffer.c (complex_vars_of_buffer):
4454 * buffer.c (vars_of_buffer):
4455 * buffer.c (finish_init_buffer):
4456 * buffer.c (Fget_file_buffer):
4457 * buffer.c (Fbuffer_list):
4458 * buffer.c (mark_buffer):
4459 * balloon_help.c (balloon_help_move_to_pointer):
4460 * balloon_help.c (show_help):
4463 * alloc.c (garbage_collect_1):
4464 * alloc.c (sweep_strings):
4465 * alloc.c (sweep_compiled_functions):
4466 * alloc.c (sweep_bit_vectors_1):
4467 * alloc.c (sweep_vectors_1):
4468 * alloc.c (sweep_lcrecords_1):
4469 * alloc.c (tick_lcrecord_stats):
4470 * alloc.c (pure_string_sizeof):
4471 * alloc.c (mark_conses_in_list):
4472 * alloc.c (mark_object):
4473 * alloc.c (report_pure_usage):
4474 * alloc.c (make_pure_float):
4475 * alloc.c (make_pure_string):
4476 * alloc.c (free_managed_lcrecord):
4477 * alloc.c (mark_string):
4478 * alloc.c (noseeum_make_marker):
4479 * alloc.c (allocate_event):
4480 * alloc.c (Fbit_vector):
4481 * alloc.c (Fvector):
4482 * alloc.c (make_float):
4483 * alloc.c (Fmake_list):
4485 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4486 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4487 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4488 * alloc.c (dbg_constants):
4489 * alloc.c (gc_record_type_p):
4490 * alloc.c (free_lcrecord):
4491 * alloc.c (xmalloc):
4492 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4494 * Makefile.in.in (mostlyclean):
4495 * Makefile.in.in (external_client_xlib_objs_nonshared):
4496 * Makefile.in.in (temacs_link_args):
4497 * Makefile.in.in (release):
4498 * Makefile.in.in (dnd_objs):
4499 * Makefile.in.in (objs):
4500 * Makefile.in.in (PROGNAME):
4501 * EmacsShell.c: cast strings to (XtPointer)
4502 * EmacsFrame.c: cast strings to (XtPointer)
4504 - rewrite basic lisp functions for speed
4505 - rewrite bytecode interpreter for speed
4506 - rewrite list looping constructs for speed and safety using
4508 - use size_t where appropriate.
4509 - new hashtable implementation
4510 - cleanup implementation of opaques
4511 - opaques can now be purecopy'ed
4512 - move some cl functionality into C for speed.
4513 - remove last remaining VMS support
4515 - improve gdb/dbx debugger support
4516 - move pure.c back into alloc.c for performance
4517 - enable report_pure_usage() if --memory-usage-stats
4518 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4519 - don't use symbols with leading `_' or embedded `__'
4520 - globally cleanup duplicated semicolons `;;'
4521 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4523 - globally replace O_NDELAY with O_NONBLOCK.
4524 - globally replace CDISABLE with _POSIX_VDISABLE.
4525 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4526 - define (and maybe use!) STDERR_FILENO and friends.
4527 - add support for macros defined in C
4528 - `when', `unless', `not' and `defalias' now defined in C,
4529 so that they are universally available.
4530 - rename defvar_mumble to defvar_magic
4531 - rename RETURN__ to RETURN_SANS_WARNINGS
4532 - use consistent style of initial caps in error messages
4533 - implement last, butlast, nbutlast, copy-list in C.
4534 - provide typedefs for all struct Lisp_foo types
4535 - Lisp_Objects must be initialized to Qnil rather than 0.
4536 - make sure XEmacs runs (slowly) with always_gc == 1;
4537 - fast and safe LOOP_* macros
4538 - change calls to XSETOBJ to XSETFOO
4539 - replace calls to XSETINT by make_int()
4540 - plug up memory leaks
4541 - use style markobj (foo), not silly ((markobj) (foo))
4542 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4544 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4546 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4548 1998-11-28 SL Baur <steve@altair.xemacs.org>
4550 * XEmacs 21.2-beta4 is released.
4552 1998-11-27 SL Baur <steve@altair.xemacs.org>
4554 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4555 property in control-1 charset.
4556 From Julian Bradfield <jcb@daimi.au.dk>
4558 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4560 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4562 Add stub for :label.
4564 * gui.c (gui_item_add_keyval_pair): ditto.
4566 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4567 :key-sequence keyword.
4569 Support :active for submenus like the Windows code and FSF Emacs.
4571 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4573 * dired.c (make_directory_hash_table): make_string() is OK because
4574 readdir() Mule-encapsulates.
4576 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4578 * fns.c (Fbase64_encode_string): Fix docstring.
4579 (Fbase64_decode_string): Ditto.
4581 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4583 * editfns.c (Ftranslate_region): Use
4584 convert_bufbyte_string_into_emchar_string().
4586 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4588 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4590 (Ftranslate_region): Turn table into an array of Emchars for
4593 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4595 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4597 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4599 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4600 type `char' with nils.
4602 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4603 for tables of type `char'.
4605 1998-11-26 Didier Verna <verna@inf.enst.fr>
4607 * input-method-xlib.c (Initialize_Locale): don't call
4608 XtSetLanguageProc. We've done the whole work here.
4609 * input-method-xfs.c (Initialize_Locale): ditto.
4610 * input-method-motif.c (Initialize_Locale): ditto.
4612 1998-11-26 Didier Verna <verna@inf.enst.fr>
4614 * process-unix.c (unix_create_process): handle properly
4615 Vfile_name_coding_system for converting the program and directory
4618 1998-11-27 SL Baur <steve@altair.xemacs.org>
4620 * m/arm.h: New file.
4621 From James LewisMoss <dres@ioa.com>
4623 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4626 Fix the realpath() problem of UnixWare2.1.3.
4627 Patches for NEC's sysv4.2 machine.
4629 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4631 * dired.c (Fdirectory_files): Remove redundant code.
4633 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4635 * fns.c (free_malloced_ptr): New function.
4636 (XMALLOC_OR_ALLOCA): New macro.
4637 (XMALLOC_UNBIND): Ditto.
4638 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4639 to be freed in case of non-local exit.
4640 (Fbase64_encode_string): Ditto.
4641 (Fbase64_decode_region): Ditto.
4642 (Fbase64_decode_string): Ditto.
4643 (STORE_BYTE): New macro.
4644 (base64_decode_1): Use it.
4646 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4648 * fns.c (base64_value_to_char): Base64 stuff.
4650 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4652 * editfns.c (Fbuffer_substring): New function.
4654 * lisp.h: Declare make_string_from_buffer_no_extents().
4656 * insdel.c (make_string_from_buffer_1): New function.
4657 (make_string_from_buffer_no_extents): Ditto.
4659 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4661 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4662 sound work on AIX with OSS installed. Linux should still work.
4664 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4666 * config.h.in: name change for cygwin/version.h
4668 * configure.in: check for cygwin/version.h now.
4670 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4671 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4672 move cygwin32/version.h to cygwin/version.h
4674 1998-11-03 Olivier Galibert <galibert@pobox.com>
4676 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4679 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4681 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4682 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4683 enable BROKEN_SIGIO under b20 to make QUIT work.
4685 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4687 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4688 to fit within the constraints of the screen size. I.e. make the
4689 frame small enough to fit and move it if some of it will be
4692 1998-10-19 Greg Klanderman <greg@alphatech.com>
4694 * dired.c: conditionalize inclusion of user-name-completion
4695 primitives on non-Windows NT. The needed functions don't exist on NT.
4697 1998-11-24 SL Baur <steve@altair.xemacs.org>
4699 * gifrlib.h: Clean up types for 64 bit compile.
4700 * dgif_lib.c (DGifInitRead): Ditto.
4701 (MakeSavedImage): Ditto.
4702 * emacs.c (decode_path): Ditto.
4703 From Steve Carney <carney@pa.dec.com>
4705 1998-10-16 William M. Perry <wmperry@aventail.com>
4707 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
4708 (cehckboxes instead of checkboxes).
4710 1998-10-15 SL Baur <steve@altair.xemacs.org>
4712 * XEmacs 21.2-beta3 is released.
4714 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
4716 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
4717 gnuclient. Otherwise, we run xemacs as we always did. This gets
4718 rid of the annoying DOS window when running gnuclient.
4720 1998-10-13 Andy Piper <andyp@parallax.co.uk>
4722 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
4723 HAVE_MS_WINDOWS typo.
4725 1998-10-13 SL Baur <steve@altair.xemacs.org>
4727 * process-unix.c (unix_send_process): Set closed flag on writable
4728 pipe after SIGPIPE is received and before we call deactivate_process.
4730 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4732 * window.c (Fset_window_start): respect narrowing when
4733 checking wheter start is at the beginning of a line.
4734 (Fset_window_buffer): Ditto
4735 Fixes repeatable crash in VM.
4737 1998-10-09 SL Baur <steve@altair.xemacs.org>
4739 * window.c (specifier_vars_of_window): Set default vertical
4740 divider width to 1 on ttys.
4742 1998-10-08 Martin Buchholz <martin@xemacs.org>
4747 Add <stddef.h> to get ptrdiff_t declaration
4749 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4751 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
4752 is used for Motif or Lucid scrollbars under X.
4754 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
4756 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
4759 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4761 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
4763 1998-10-05 Andy Piper <andyp@parallax.co.uk>
4765 * s/cygwin32.h: more cygwin b20 reorganisation.
4767 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
4769 * nas.c: Added necessary support functions to be able to handle
4770 WAVE files in memory, just like the support for SND files in
4773 1998-09-30 SL Baur <steve@altair.xemacs.org>
4775 * callproc.c (child_setup): Fix spelling typo.
4777 1998-09-29 SL Baur <steve@altair.xemacs.org>
4779 * XEmacs 21.2-beta2 is released.
4781 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
4783 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
4784 to prevent memory corruption in the case of jumping out of a series of
4785 nested match patterns. This is a rather brute force approach, though.
4787 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4789 * config.h.in: ditto.
4791 * s/cygwin32.h: rearrange declarations to cope with cygwin
4792 b20. Include cygwin32/version.h if it exists.
4794 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4796 * device-msw.c (mswindows_init_device): Call new
4797 mswindows_enumerate_fonts() function in objects-msw.c instead
4798 of font_enum_callback_1() to enumerate fonts.
4800 font_enum_callback_1() and _2() moved to objects-msw.c.
4802 * faces.c (complex_vars_of_faces): Make the mswindows default
4803 face font fully specified and provide some fallbacks.
4805 * objects-msw.c: font_enum_callback_1() and _2() moved here
4806 from objects-msw.c. Obtain the enumerated font's character
4807 sets by table lookup instead of using the locale-specific
4808 string provided by Windows.
4810 New public non-method mswindows_enumerate_fonts() that fills
4811 in the supplied mswindows device's font list.
4813 mswindows_initialize_font_instance: Use the supplied name
4814 variable instead of f->name when signalling errors. Match font
4815 weights and character sets using lookup tables which handle
4816 spaces instead of by frobbing.
4818 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
4820 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
4821 on the size of code fragments passed to run_in_other_process.
4823 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
4824 the amount of memory to allocate in the other process.
4826 Removed sigkill_code_end(), sigint_code_end() and
4827 sig_enable_code_end() since they are now redundant.
4829 send_signal() and enable_child_signals(): Don't try to work
4830 out the end of the code fragments passed to
4831 run_in_other_process()
4833 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
4835 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
4838 * src/unexelf.c: Partially synched with FSF's 20.3.
4840 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
4842 * insdel.c (signal_after_change): Map across indirect buffers
4843 here, and not in the upper-level functions.
4844 (signal_first_change): Don't check for Armageddon.
4845 (signal_before_change): Map across indirect buffers here.
4846 (prepare_to_modify_buffer): ...and here.
4848 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
4850 * insdel.c (signal_after_change): Add return value.
4851 (buffer_insert_string_1): Use it.
4852 (buffer_delete_range): Ditto.
4853 (buffer_replace_char): Ditto.
4854 (cancel_multiple_change): Map the indirect buffers.
4856 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4858 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4859 (uninit_buffer_text): Ditto.
4861 * buffer.c (Fmake_indirect_buffer): Implement stricter
4864 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
4866 * insdel.c (change_function_restore): Reverse order of
4867 function-call and assignment.
4868 (first_change_hook_restore): Ditto.
4870 * extents.c (mark_extent_auxiliary): Mark them.
4871 (Fset_extent_property): Set them.
4872 (Fextent_property): Get them.
4873 (Fextent_properties): Ditto.
4874 (vars_of_extents): Set their default.
4876 * extents.h (struct extent_auxiliary): Add before_change_functions
4877 and after_change_functions.
4879 * insdel.c (signal_before_change): Use it.
4880 (signal_after_change): Ditto.
4882 * extents.c (report_extent_modification): New function.
4884 * insdel.c (signal_before_change): Don't check for Armageddon.
4885 (signal_after_change): Ditto.
4887 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4889 * redisplay.c (redisplay_window): make sure a new starting point
4890 is chosen if it somehow got moved from the beginning of the line
4891 -- this can happen because Fwiden was called recently.
4893 * window.c (Fset_window_start): set start_at_line_beg correctly
4894 (Fset_window_buffer): Ditto
4896 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
4898 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
4899 (uninit_buffer_text): Ditto.
4901 * buffer.c (Fmake_indirect_buffer): Implement stricter
4904 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
4906 * emacs.c (main_1): Removed references to *vars_of_filelock.
4908 * lisp.h: Added Fsystem_name.
4910 * filelock.c: Replaced by version from FSF 20.2. Now implements
4911 locking by using symlinks which is NFS safe. However keep the
4912 GCPRO's in lock_file and the calls to callx_in_buffer like our old
4913 version (and of course use ansi C, acessor macros, etc).
4915 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
4917 * process-unix.c (unix_create_process): Reset SIGHUP handler to
4918 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
4919 in init_signals_very_early. However these should not be passed
4920 on to children attached to the new pty.
4922 1998-08-28 Andy Piper <andyp@parallax.co.uk>
4924 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
4926 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
4928 * fileio.c (file-name-directory, file_name_as_directory):
4929 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
4931 1998-09-02 Andy Piper <andyp@parallax.co.uk>
4933 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
4935 * ralloc.c: uncomment __morecore.
4937 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
4939 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
4940 WriteFile() to fix a winsock 1.x bug on Win95.
4942 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
4944 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
4946 (x_event_to_emacs_event): Ditto.
4947 (emacs_Xt_handle_focus_event): Ditto.
4948 (emacs_Xt_handle_magic_event): Ditto.
4950 * console-x.h (struct x_device): New flag being_deleted.
4951 (DEVICE_X_BEING_DELETED): New macro.
4953 * device-x.c (x_IO_error_handler): Throw to top-level instead of
4954 returning. Before doing that, set the being_deleted flag on the
4957 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
4959 * device-x.c (x-seppuku-on-epipe): Removed.
4961 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
4963 * frame-x.c (x_delete_frame): Flush the X output buffer after
4964 calling XtDestroyWidget to ensure that the windows are really
4967 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
4969 * menubar-x.c (my_run_hook): New unused function.
4970 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
4971 since we ignore the results of the contained functions anyway.
4973 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
4975 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
4976 interlaced GIF files that are smaller than 4 lines high...
4978 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4980 * buffer.c (map_over_sharing_buffers): Deleted.
4982 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
4984 * buffer.c (Fkill_buffer): Keep indirect_children updated while
4987 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
4989 * insdel.c (buffer_insert_string_1): Advance the point bytind in
4991 (buffer_delete_range): Ditto.
4993 * marker.c (init_buffer_markers): Set point-marker to the value of
4994 point in an indirect buffer.
4996 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
4998 * undo.c (undo_prelude): Test last-undo-buffer against base
5001 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5003 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5005 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5007 * insdel.c (init_buffer_text): Initialize it here.
5009 * line-number.c: Address line_number_cache through buffer->text.
5011 * buffer.c (mark_buffer): Mark line number cache.
5013 * bufslots.h (line_number_cache): Move to struct buffer_text.
5015 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5016 across the children buffers.
5017 (buffer_delete_range): Ditto.
5018 (buffer_replace_char): Ditto.
5022 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5024 * buffer.c (Fmake_indirect_buffer): Uncomment.
5026 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5028 * macros.c (Fend_kbd_macro): Remove trailing period from error
5030 (Fexecute_kbd_macro): Ditto.
5032 1998-08-21 Greg Klanderman <greg@alphatech.com>
5034 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5035 (Fuser_name_completion_1): new function to return uniqueness
5036 indication in addition to the user name completion.
5037 (user_name_completion): change type of `uniq' argument.
5039 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5041 * lread.c (vars_of_lread): Removed `source-directory' variable.
5043 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5045 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5048 1998-08-19 SL Baur <steve@altair.xemacs.org>
5050 * dired.c (vars_of_dired): Fix misapplied patch.
5052 1998-08-16 Martin Buchholz <martin@xemacs.org>
5054 * fns.c (Fremrassq, remrassq_no_quit):
5055 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5057 1998-07-17 Didier Verna <verna@inf.enst.fr>
5059 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5060 style as foreground GC for faces that have the `dim' property.
5061 (x_output_string): when the `dim' face property is set,
5062 ensure the gray pixmap has been created, and get a proper
5063 foreground GC to draw the text.
5065 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5067 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5068 Manually track the state of the left and right Ctrl and Alt
5071 1998-08-07 Matt Stupple <matts@tibco.com>
5073 * ntproc.c: don't wait on char_consumed at thread entry.
5074 Additionally, to get the 'process' marked as finished, ensure
5075 that the CHILD_ACTIVE macro returns false, so before exiting
5076 close char_avail and set it to NULL, and close other handles
5077 to reduce handle leak problems.
5079 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5081 * menubar-msw.c (displayable_menu_item): take account of menu
5082 depth when deciding whether to try to display accelerators.
5084 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5086 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5089 * glyphs-msw.c: fix a couple of potential handle leaks.
5091 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5093 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5094 *decoding ONLY* back into the core.
5095 * glyphs-eimage.c: Change referenced header file for GIF
5096 reading to point to the incore version.
5098 1998-07-20 Martin Buchholz <martin@xemacs.org>
5100 * casefiddle.c (casify_object):
5101 Change algorithm from O(N**2) to O(N).
5105 1998-07-22 Greg Klanderman <greg@alphatech.com>
5107 * dired.c (file_name_completion_unwind): don't leak the cons.
5109 1998-07-20 Greg Klanderman <greg@alphatech.com>
5111 * dired.c (Fuser_name_completion): new function.
5112 (Fuser_name_all_completions): new function.
5113 (user_name_completion): new function.
5114 (syms_of_dired): 2 new DEFSUBRs.
5115 (vars_of_dired): initialize user name cache vars.
5117 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5119 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5120 colors taken from the default face. Also correct a thinko in
5121 transparency (not alpha) handling.
5123 1998-07-23 Martin Buchholz <martin@xemacs.org>
5125 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5126 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5127 * lread.c (Fload_internal): Be very careful with printfs of
5129 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5132 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5134 * callint.c (Fcall_interactively): GCPRO prompt string before
5135 passing it to Fread_key_sequence
5137 1998-07-27 SL Baur <steve@altair.xemacs.org>
5139 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5140 Vvertical_divider_map.
5142 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5143 Qnil or 0, none were initialized prior to this change.
5145 Rename misnamed `V' prefixed integer variables:
5146 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5147 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5148 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5149 Vcanna_ichiran_revLen.
5151 Rename misnamed `V' prefixed integer variables and initialize
5152 properly in the vars_of routine.
5153 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5154 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5155 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5156 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5157 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5158 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5159 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5160 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5161 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5162 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5163 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5164 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5165 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5166 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5167 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5168 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5169 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5170 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5171 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5172 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5173 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5174 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5175 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5176 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5177 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5178 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5179 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5180 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5181 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5182 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5183 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5184 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5185 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5186 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5187 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5188 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5189 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5190 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5191 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5192 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5193 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5194 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5195 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5196 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5197 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5198 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5200 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5202 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5203 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5204 keys thus no longer considering all keysyms on a key.
5206 1998-07-19 SL Baur <steve@altair.xemacs.org>
5208 * XEmacs 21.2-beta1 is released.
5210 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5212 * eldap.c (Fldap_search_internal): When converting the list of
5213 attributes to search Copy the final 0 from Lisp strings to C
5215 Check base, not Vldap_default_base as a a string
5217 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5219 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5221 * unexnt.c: Unconditionally define bss_start and bss_size, and
5222 ensure that they don't go in the .bss section.
5224 1998-07-17 Olivier Galibert <galibert@pobox.com>
5226 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5227 byte order is dependant of the local byte order).
5228 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5230 1998-07-18 SL Baur <steve@altair.xemacs.org>
5232 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5233 Qmswindows_resource.
5234 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5236 1998-07-12 SL Baur <steve@altair.xemacs.org>
5238 * general.c (syms_of_general): Add defsymbol for Qresource.
5240 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5241 Qmswindows_resource.
5242 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5243 (mswindows_resource_validate): Rename.
5244 (mswindows_resource_normalize): Rename.
5245 (mswindows_resource_possible_dest_types): Rename.
5246 (mswindows_resource_instantiate): Rename.
5247 (image_instantiator_format_create_glyphs_mswindows): Replace
5248 `resource' with `mswindows.resource'.
5250 * XEmacs 21.0-pre5 is released.
5252 1998-07-10 SL Baur <steve@altair.xemacs.org>
5254 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5255 server type in environment.
5256 Use alloca-ed strings instead of tiny fixed size ones.
5258 1998-07-09 SL Baur <steve@altair.xemacs.org>
5260 * XEmacs 21.0-pre4 is released.
5262 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5264 * fileio.c: (expand_file_name): under win32: Don't treat names
5265 as UNC names if a drive letter has been specified. If a drive
5266 has been specified, strip out extra directory-seperators that
5267 reportedly cause problems under Win95.
5269 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5271 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5272 MSVC >= 5.0. Put emacs init and zero-init data in a special
5273 section of the executable when this is defined.
5275 * unexnt.c, ntheap.h:
5276 Removed unused find_section() and get_section_size().
5279 Fix up the executable's checksum after dumping otherwise the
5281 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5282 zero-init data separately from init data. Dump emacs data
5283 into a special section of the executable.
5284 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5285 my_ebss instead of up to the end of bss.
5287 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5289 * filelock.c: Removed Vconfigure_lock_directory - already
5292 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5293 defined in frame.c and general.c respectively.
5295 * glyphs-msw.c: Removed Qresource - already defined in
5298 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5300 * eldap.c (Fldap_search_internal): Docstring fixes
5302 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5304 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5305 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5306 EMACSPACKAGEPATH and INFOPATH variables.
5307 Removed unused get_emacs_configuration function.
5309 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5310 it is now defined at build-time by the makefile.
5312 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5314 * fileio.c: (expand_file_name): under win32: Don't treat names as
5315 UNC names if a drive letter has been specified. If a drive has
5316 been specified, strip out extra directory-seperators that
5317 reportedly cause problems under Win95.
5319 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5321 * faces.c (complex_vars_of_faces): for the gui-element face don't
5322 fallback to the default face, instead provide reasonable default
5323 fallbacks that were previously hardcoded elsewhere.
5325 1998-07-06 Olivier Galibert <galibert@pobox.com>
5327 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5328 when the X server endianness is different than the client's one.
5330 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5332 * eval.c (run_hook_with_args_in_buffer): Check
5333 default (non-buffer-local) value of hook for
5334 nil before treating it as a function. Don't initialize
5335 the `globals' variable twice.
5337 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5339 * fileio.c: Don't do directory seperator canonicalisation in
5340 substitute-in-file-name because we don't know that the
5341 filename refers to a local file.
5343 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5345 * process-nt.c (nt_create_process): Try appending the standard
5346 executable file extensions to the filename if none supplied.
5348 1998-06-29 SL Baur <steve@altair.xemacs.org>
5350 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5352 From Keisuke Mori <ksk@ntts.com>
5354 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5356 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5357 images if we have masks. This handles the xbm case (have masks)
5358 and avoids overuse of resources in the xpm case (generally no masks).
5359 Don't output small toolbars.
5361 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5363 * eval.c (run_hook_with_args_in_buffer): Don't treat
5364 the default value of a buffer local hook as a list of
5365 hooks unless it is both a cons and the car of that cons
5368 1998-06-29 SL Baur <steve@altair.xemacs.org>
5370 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5371 * process-unix.c: Ditto.
5372 * mule-coding.h: Ditto.
5373 * mule-coding.c: Ditto.
5374 * mule-charset.c: Ditto.
5375 * mule-charset.h: Ditto.
5376 * file-coding.c: Ditto.
5377 * file-coding.h: Ditto.
5379 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5381 * event-msw.c: Guard against recursion when freeing
5382 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5384 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5385 Call ShowWindow twice in init_frame_3 to get round runemacs
5388 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5390 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5392 * winslots.h: Rename.
5394 * window.c (specifier_vars_of_window): Renamed
5395 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5396 as suggested by Ben Wing.
5397 (specifier_vars_of_window): Fix docstrings.
5399 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5401 * unexaix.c: Line number information works correctly again.
5403 1998-06-22 Olivier Galibert <galibert@pobox.com>
5405 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5407 1998-06-21 Martin Buchholz <martin@xemacs.org>
5409 * editfns.c (get_home_directory): ANSIfy.
5410 XEmacs is compilable under C *and* C++.
5411 It's XEmacs, not Xemacs!
5413 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5415 * console-msw.h: added a list of fonts to device data.
5417 * device-msw.c: enumerate list of available fonts in
5418 mswindows_init_device. Free list in mswindows_delete_device.
5420 * objects-msw.c: Added helper function match_font used by
5421 mswindows_initialize_font_instance and mswindows_list_fonts.
5422 Allow a charset to be specified in a font string, even if
5423 previous fields havn't been specified.
5425 1998-06-23 Greg Klanderman <greg@alphatech.com>
5427 * indent.c (column_at_point): column cache bugfix.
5428 Set last_known_column_point to the buffer position for
5429 which the column was requested, not buffer's point.
5431 * redisplay.c (decode_mode_spec): for current-column, show
5432 window's point's column, not buffer's point's column.
5434 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5436 * menubar-msw.c (mswindows_handle_wm_command): use
5437 enqueue_misc_user event rather than
5438 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5441 * console-msw.h: declare mswindows_enqueue_magic_event.
5443 * event-msw.c (mswindows_enqueue_magic_event): make global.
5445 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5447 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5448 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5449 (add_position_to_cache): Use EMACS_INT instead of int.
5451 1998-06-21 Olivier Galibert <galibert@pobox.com>
5453 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5454 suitable for an int used as a boolean (btw, C sucks.).
5456 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5458 * object-msw.c: remove warnings.
5460 * device-msw.c: #define wrongly named cygwin structure elements.
5462 * s/cygwin32.h: define DEMI_BOLD
5464 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5466 * redisplay-msw.c: new function mswindows_apply_face_effects.
5467 This is called by output_string and output_cursor to display
5468 underline and strikeout on faces.
5470 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5472 * console-msw.h: added a list of fonts to device data.
5474 * device-msw.c: enumerate list of available fonts in
5475 mswindows_init_device. Free list in mswindows_delete_device.
5477 * objects-msw.c: Added helper function match_font used by
5478 mswindows_initialize_font_instance and mswindows_list_fonts.
5479 Allow a charset to be specified in a font string, even if
5480 previous fields havn't been specified.
5482 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5485 Removed compilation warnings from mswindows_string_to_color.
5486 mswindows_list_fonts returns a more general bogus font.
5487 New lisp-visible function mswindows-color-list.
5489 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5491 * editfns.c (Fuser_login_name): Modify to user new function
5493 (user_login_name): C only function to avoid Lisp object overhead
5494 Returns "unknown" instead of nil in Cygwin environment
5496 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5497 equivalent for current user in Cygwin environment. Use new
5498 function user_login_name to get username.
5500 * lisp.h: Declare user_login_name
5502 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5504 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5506 Some other insignificant nitpicks.
5508 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5510 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5511 creating the image list and make sure he bk color is transparent.
5513 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5515 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5516 completed_timeouts. The timer could have expired.
5518 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5520 * console-msw.h: move XEMACS_RECT_WH inside frame
5521 parameters. define macors to access it.
5523 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5524 parameter to intialise desired sizing. (mswindows_init_frame_2):
5525 enable and size the frame to something sensible when we get
5526 here. (mswindows_set_frame_properites): use new
5527 mswindows_size_frame_internal function and size frame if frame
5528 parameters not just if init is finished - WM_SIZE happens too
5529 early for some specs. (mswindows_size_frame_internal): new
5530 function abstracted from mswindows_set_frame_properties.
5531 (Vmswindows_use_system_frame_size_defaults):
5532 new variable controls whether to allow the system to pick frame
5533 size defaults, defaults to nil.
5535 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5536 than duplicated code.
5538 1998-06-15 Colin Rafferty <colin@xemacs.org>
5540 * Makefile.in.in: Made EXTW_LINK expand properly.
5542 1998-06-12 Martin Buchholz <martin@xemacs.org>
5544 * redisplay.c (vars_of_redisplay): default value of
5545 column-number-start-at-one should be NIL!
5547 1998-06-11 Martin Buchholz <martin@xemacs.org>
5550 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5552 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5554 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5555 build_string to avoid crashes under Mule.
5557 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5559 * ntplay.c (play_sound_data_1): don't delete the sound data until
5560 the next sound is played and the previous one finished.
5562 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5564 * fileio.c (directory-sep-char): Escape backslashes.
5566 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5568 * event-stream.c: Fix docstring reference.
5570 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5572 * alloc.c (make_float): Remove useless initialization of `next'
5574 (make_pure_float): Ditto.
5576 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5578 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5580 * fileio.c (Fmake_directory_internal): Remove conditionals
5581 on WINDOWSNT when calling mkdir.
5583 * ntproc.c: Deleted the following unused functions:
5584 register_child, reap_subprocess, sys_wait.
5586 * nt.c (sys_rename): Ifzeroed this implementation.
5587 Deleted the following unused functions:
5588 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5589 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5590 sys_read, sys_write.
5591 Merger sys_fopen and sys_open with sysdep.c implementation.
5593 * sysdep.c: Removed MS-DOS code.
5594 (sys_rename): Deal with Microsoft rename weirdness.
5595 (sys_open): Implemented for Windows.
5599 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5601 * buffer.c (complex_vars_of_buffer): Removed %t description from
5604 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5606 * scrollbar-msw.c: initialize the cbSize element of the
5607 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5608 to ignore the value of cbSize, but Win95 (and I presume Win98)
5609 appear to want it set to sizeof(SCROLLINFO).
5611 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5613 * event-stream.c: Defined Qcancel_mode_internal.
5614 (syms_of_event_stream): defsymbol'ed it.
5616 * events.h: Externed it.
5618 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5620 1998-06-04 Oliver Graf <ograf@fga.de>
5622 * frame-x.c (x_cde_destroy_callback): free the data
5623 (cde-start-drag-internal) corrected root position, 21.1 needs this
5624 hardcoded in Button events
5625 (offix-start-drag-internal) corrected root position
5627 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5629 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5632 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5634 * dialog-msw.c (button_width): Removed `inline' from the function
5637 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5639 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5640 Note that adding this flag to subsequent frames causes problems.
5642 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5644 * glyphs-eimage.c (png_instantiate) move 'struct
5645 png_memory_storage tbr' out of nested block to avoid dangling
5648 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5651 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5652 inherits from gui-element.
5654 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5655 with existing code, generate masks correctly.
5657 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5659 * glyphs-eimage.c: Changed included header for gifs to use
5660 Gifreader instead of giflib.
5662 * glyphs-x.c: removed the image-related functions that were
5663 moved into glyphs-eimage.
5665 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5667 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5668 if built without X Windows support.
5670 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5672 * fns.c (Fconcat): Synch docstring with new reality.
5674 1998-06-03 SL Baur <steve@altair.xemacs.org>
5676 * frame.c: Remove reference to msdos.h (which is going away).
5677 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5679 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5681 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5685 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5687 * events.h: Fixed commentary about misc-user scrollbar events.
5689 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5690 object as an event channel, instead of window object.
5691 (x_update_horizontal_scrollbar_callback): Ditto.
5693 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5695 * ntplay.c (play_sound_data_1) new function. convert alloca data
5696 to malloc if necessary.
5697 (play_sound_file): if the file is not in our path then convert to
5700 1998-06-01 SL Baur <steve@altair.xemacs.org>
5702 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
5703 * msdos.c (Frecent_doskeys): Ditto.
5705 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
5706 Suggested by Reggie Perry <perry@zso.dec.com>
5708 * buffer.h: Eliminate size in declaration.
5710 1998-06-01 Olivier Galibert <galibert@pobox.com>
5712 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
5714 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
5716 * gui.c (gui_item_init): Changed the default value for config member
5717 from Qunbound to Qnil.
5719 1998-06-01 Greg Klanderman <greg@alphatech.com>
5721 * indent.c (vmotion_pixels): Don't #define abs().
5723 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5725 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
5728 1998-05-30 Andy Piper <andyp@parallax.co.uk>
5730 * glyphs.h: add xbm declarations.
5732 * console.h: add xbm_instantiate_method device method.
5734 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
5735 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
5736 (xbm_possible_dest_types): moved here from glyphs-x.c. use
5737 locate_pixmap_file device method and read_bitmap_data_from_file
5738 instead of XmuReadBitmapDataFromFile.
5739 (xbm_instatntiate): make a device method.
5741 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
5742 new function that just calls XmuReadBitmapDataFromFile.
5743 (x_xbm_instatntiate): device method from xbm_instantiate.
5745 * glyphs-msw.c (read_bitmap_data) (NextInt)
5746 (read_bitmap_data_from_file): new functions copied from Xmu
5748 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
5749 inline data to an mswindows bitmap.
5750 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
5751 (mswindows_xbm_instantiate): mswindows-ized versions of the X
5754 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5756 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
5757 `modeline-visible-p'.
5758 Declared specifier lisp variables at the beginning oh the file
5761 * procimpl.h (struct process_methods): Changed semantics of
5762 create_process method so it accepts lisp strings instead of
5765 * process.c (Fstart_process_internal): Moved building of
5766 unix style argv from here to process-unix.c, ...
5768 * process-unix.c (unix_create_process): ... right here.
5770 * process-nt.c (nt_create_process): Changed this function to
5771 support new semantics, so avoided a GC problem.
5773 * events.c (Fmake_event): Document misc-user events properties.
5774 (Fmake_event): Do not allow arbitrary objects for channel property
5775 of misc-user events.
5776 (Fmake_event): Change misc-user event validation: it is function
5777 which is required, not button.
5779 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
5781 (mswindows_enqueue_misc_user_event): Added function.
5782 (mswindows_bump_queue): Removed function.
5783 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
5784 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
5785 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
5786 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
5787 really nothing, which is my personal favorite thing.
5789 * console-msw.h: Removed prototype for mswindows_bump_queue().
5790 Added prototype for mswindows_enqueue_misc_user_event().
5792 * menubar-msw.c (mswindows_handle_wm_command): Use
5793 mswindows_enqueue_misc_user_event().
5795 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5797 * dialog-msw.c (dialog_proc): Ditto.
5799 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
5800 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
5801 user events channel.
5803 1998-05-29 Greg Klanderman <greg@alphatech.com>
5805 * window.c (Fwindow_displayed_text_pixel_height): was relying on
5806 incorrect semantics of vmotion_pixels which has been fixed. don't
5807 use it anymore as it can't easily be used.
5809 * indent.c (vmotion_pixels): fix off by one bug moving up. also
5810 the motion was reported incorrectly if you tried to go past end of
5813 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5815 * toolbar.h: Removed misleading commentary, as Martin suggested.
5817 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5819 * lisp.h: Extern Qactivate_menubar_hook.
5821 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
5824 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5826 * glyphs-msw.c: use BPLINE macro.
5828 * select-msw.c (mswindows-selection-exists-p)
5829 (mswindows-delete-selection): doc string fixes.
5831 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
5832 unpressable. warning elimination.
5834 1998-05-28 Martin Buchholz <martin@xemacs.org>
5836 * alloc.c (dbg_constants):
5839 Remove toolbar_data debugging code, since that lrecord has
5842 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
5844 * alloc.c: zap cached value of (user-home-directory), so that
5847 * buffer.c: From init_buffer(), separated out code that
5848 determined the initial directory for the *scratch* buffer, and
5849 put them into a function called "init_initial_directory()".
5850 The initial directory is now available as a global "char *"
5851 called initial_directory.
5853 * buffer.h: Added extern entries for initial_directory[] and
5854 init_initial_directory().
5856 * editfns.c: added new elisp function "user-home-directory",
5857 which basically returns getenv("HOME"), but attempts to use
5858 other values if $HOME isn't set.This may have to be tweaked in
5859 the future as, under Unix, "/" is used if $HOME isn't set (this
5860 probably should be set to the current directory). To support
5861 this, a new C function, "get_home_directory()", now exists,
5862 which returns the "home directory", as a "char *" string.
5864 * emacs.c: Rearrange NT initialization order so that
5865 environment/registry variables will be properly entered into
5866 Vprocess_enviroment.
5868 * fileio.c: replaced egetenv("HOME") with calls to the new
5869 get_home_directory().
5871 * lisp.h: Added function prototypes for uncache_home_directory()
5872 and get_home_directory(), along with lisp prototypes for
5873 Fuser_home_directory() and friends.
5875 * nt.c: replaced getenv("HOME") with calls to the new
5876 get_home_directory().
5878 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
5879 warnings about getcwd(), etc. not having prototypes.
5881 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
5883 * process-nt.c (send_signal): Emulate SIGHUP.
5884 (validate_signal_number): Ditto.
5886 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
5887 remove MOD_SHIFT from ASCII characters.
5888 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
5891 1998-05-24 Oliver Graf <ograf@fga.de>
5893 * frame-x.c (cde-start-drag-internal): added filename and multi-
5895 (x_cde_convert_callback) dito
5897 1998-05-26 Oliver Graf <ograf@fga.de>
5899 * frame-x.c: include event-mod.h also with CDE
5900 (x_cde_convert_callback) made the thing working
5901 (cde-start-drag-internal) also debugging
5903 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
5910 - add __OpenBSD__ where __NetBSD__ was found.
5911 - TODO: replace platform-specific conditional compilation by
5912 feature tests in configure.in.
5914 1998-05-15 Greg Klanderman <greg@alphatech.com>
5916 * window.c (Fwindow_displayed_text_pixel_height): New function.
5917 (syms_of_window): DEFSUBR it.
5919 * indent.c (Fvertical_motion_pixels): New function - request
5921 (vmotion_pixels): helper.
5922 (syms_of_indent): DEFSUBR.
5923 * lisp.h: declaration for vmotion_pixels().
5925 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
5926 to request returning motion in pixels.
5927 (Fvertical_motion_pixels): Remove, functionality merged into
5929 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
5930 (Fmove_to_window_line): ditto.
5931 * lisp.h: Change declaration for Fvertical_motion.
5933 * window.c: rename window-text-pixel-{height,width,edges} to
5934 window-text-area-pixel-*.
5936 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5938 * tooltalk.c (vars_of_tooltalk) added staticpro for
5939 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
5941 1998-05-27 Andy Piper <andyp@parallax.co.uk>
5943 * faces.c: create a new 3d_object_face, make modeline and
5944 vertical_divider faces fallback to this rather than the default.
5946 1998-05-21 Andy Piper <andyp@parallax.co.uk>
5948 * s/cygwin32.h: define charsets for cygwin.
5950 1998-05-25 Andy Piper <andyp@parallax.co.uk>
5952 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
5953 and coordinates. resize bitmaps if we have already settled on a
5956 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
5958 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
5960 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
5962 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
5966 * gui-x.c (popup_selection_callback): Ditto.
5968 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
5970 * gui.c (get_callback): Renamed to get_gui_callback.
5972 1998-05-17 Martin Buchholz <martin@xemacs.org>
5974 * glyphs.h: order rearrangement.
5976 * device-tty.c (tty_asynch_device_change): Warning suppression.
5977 * device-x.c (x_device_system_metrics): Warning suppression.
5978 Make Doc strings consistent with coding standards.
5980 1998-05-24 Martin Buchholz <martin@xemacs.org>
5982 * general.c: multiple definition of `Qicon'. general.c seems
5983 like a good home for Qicon.
5985 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
5987 * This patch is to fix compilation warnings under Windows.
5989 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
5990 Added prototypes for FSF inherited functions, with which XEmacs is
5991 sprinkled thoroughly.
5992 Removed some #if 0 code. Bracketed some more definitions, probably
5993 related to Visual C versions prior to 4 (we do not support them).
5995 * sysfloat.h (logb): Finally, get logb() prototyped.
5997 * sysfile.h: Added Windows specific includes.
5998 Removed old Windows specific code bracketed with #if 0.
6000 * sysdep.h: Added prototype for xrealpath().
6002 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6004 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6005 vars_of_dired_mswindows and init_ntproc (Grrr).
6007 * realpath.c: Added Windows specific include files.
6008 (xrealpath): Conditionalized declaration of some auto variables on
6009 S_IFLNK, to avoid warnings.
6011 * ntproc.c: Disabled some compiler warnings. This file is going to
6012 die, so I have not cleaned it up much.
6013 (set_process_dir): Const parameter.
6014 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6015 (Fwin32_long_file_name): Ditto.
6016 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6019 * nt.h: Added prototypes for set_process_dir and convert_time.
6021 * nt.c: More include files.
6022 (getpwnam): Consted char* argument.
6023 (get_emacs_configuration): Const return value.
6024 (opendir): Const argument.
6025 (stat): Casted converstion long->short.
6026 (stat): Removed ad hoc and questionable support for non-MSC compile.
6027 (sys_pipe): Removed unused auto variable.
6028 (_sys_read_ahead): Removed calls to DebPrint.
6029 (sys_read): Ditto, in 2 places.
6030 (term_ntproc): Added unused int parameter to signal handler, to
6031 avoid a warning when compiling a call to signal().
6032 (msw_sigset): Properly return old signandler or NULL instead of void.
6034 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6036 * gmalloc.c (morecore): Ditto.
6037 (_free_internal): Ditto.
6039 * lread.c (parse_integer): Ditto.
6041 * dired-msw.c: Added several include files.
6043 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6044 of Compilers to Shut Up.
6046 * callproc.c: Added #includes to suppress warnings under Windows.
6047 (init_callproc): Removed #if0'ed code and unused variables.
6049 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6051 * device-msw.c (mswindows_device_system_metrics): do planes in a
6052 way consistent with X.
6054 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6055 use SetPixel, use DIBits functions.
6056 (xpm_to_eimage): frob colors more closely like xpm deos.
6058 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6059 to be closer to X version.
6061 * event-msw.c: use tooltip string directly.
6063 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6065 * objects-msw.c: frob rgb colors that only Kyle uses.
6067 * dialog-msw.c (button_width): INLINE -> inline.
6069 1998-05-23 SL Baur <steve@altair.xemacs.org>
6071 * getloadavg.c (getloadavg): Fix typo.
6073 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6075 * objects-msw.c (mswindows_initialize_font_instance): Added support
6076 for font character sets.
6077 Replaced 'XXX' with '####' in comments throughout the file.
6079 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6081 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6082 console_type_create_dialog_mswindows(), to initialize Windows dialog
6085 * symsinit.h: Prototyped the above functions.
6087 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6088 checks to dialog.c...
6090 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6091 device must support dialog boxes, and the descriptor must supply at
6094 * dialog-msw.c: New file, dialogs for Windows.
6096 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6098 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6099 (Fldap_search_internal): Removed unused variable `err'
6101 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6104 1998-05-17 Martin Buchholz <martin@xemacs.org>
6106 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6107 defined. Therefore there is no need to handle the case when
6108 HAVE_LDAP is undefined. Similarily, there is no reason to have
6109 any code wrapped within `#ifdef emacs', since this code is only
6110 useful within an emacs. This simplifies the code significantly.
6112 * inline.c: Include eldap.h only if HAVE_LDAP.
6113 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6116 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6118 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6119 printing dump stats when building without DEBUG_XEMACS.
6120 (dump_bss_and_heap): Ditto.
6122 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6124 * gnuclient.c: don't suppress window system if there is no display
6125 and we are running under mswindows. send 'mswindows device type if
6126 we are in this situation.
6128 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6131 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6133 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6136 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6138 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6139 {top,bottom}-{left,right} values in addition to
6140 {top,bottom}_{left,right}.
6142 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6144 * fileio.c (Fmake_temp_name): Remove unreached code.
6146 * process-nt.c (validate_signal_number): Use
6147 signal_simple_error().
6149 1998-05-19 Martin Buchholz <martin@xemacs.org>
6152 * sound.c (vars_of_sound):
6153 * sysdep.c (reset_sigio_on_device):
6154 * window.c (window_bottom_gutter_height):
6155 unexhp9k800.c:258: warning: implicit declaration of function
6156 `calculate_checksum'
6157 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6158 sysdep.c:1012: warning: unused variable `owner'
6159 window.c:993: warning: `window_right_toolbar_width' defined but not used
6161 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6163 * glyphs-msw.c (mswindows_create_resized_mask)
6164 (mswindows_create_resized_bitmap): new funnctions split out from
6165 mswindows_resize_dibitmap_instance.
6167 * glyphs-msw.h: declare new resize functions.
6169 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6170 functions so that the original bitmaps are preserved.
6172 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6174 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6175 color if we are trying to output 0 depth bg pixmap.
6177 * scrollbar-msw.c: warning elimination.
6179 1998-05-18 Martin Buchholz <martin@xemacs.org>
6181 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6182 directives in column 1.
6184 * search.c (skip_chars): Avoid using xzero with arrays, since some
6185 compilers get confused by the construct &array.
6187 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6190 * objects-msw.c: Changed the charset value for a new font from
6191 "don't care" to "ansi".
6193 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6195 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6197 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6198 modifier on control chars.
6199 Use IsCharAlpha() instead of isaplha().
6201 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6203 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6205 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6207 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6208 charset when creating font.
6209 (mswindows_initialize_color_instance): Do not create brush along
6211 (mswindows_finalize_color_instance): Do not delete it then.
6213 * objects-msw.h (struct mswindows_color_instance_data): Removed
6214 brush slot, and corresponding accessor macro.
6216 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6218 * toolbar.c: Removed toolbar_data lrecord implementation.
6219 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6220 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6221 (compute_frame_toolbar_buttons): Ditto.
6222 (CHECK_TOOLBAR): Ditto.
6223 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6224 (update_frame_toolbars): Do not check for changed buffer
6225 here. Toolbar information is provided by cached specs in
6226 windows. The check for buffer is eliminated becuase toolbars are
6227 marked changed in set_frame_selected_window() in frame.c
6228 Added check for changed toolbars geometry.
6229 (compute_frame_toolbars_data): Removed unused second parameter;
6230 Adjusted callers of this static function throughout the file.
6231 (init_frame_toolbars): Initialize current_toolbar_size.
6232 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6233 what is its current expansion, for clarity.
6234 (init_frame_toolbars): Ditto.
6235 (init_device_toolbars): Ditto.
6236 (init_global_toolbars): Ditto.
6238 * toolbar.h: Removed definition of toolbar_data lrecord.
6239 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6240 FRAME_CURRENT_TOOLBAR_SIZE.
6241 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6243 * toolbar-x.c (x_output_toolbar): The same change as in
6245 (x_output_toolbar): Ditto.
6246 (x_redraw_exposed_toolbar): Ditto.
6248 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6249 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6250 (mswindows_output_toolbar): Ditto.
6251 (mswindows_output_toolbar): Ditto.
6253 * frame.c (mark_frame): Removed marking of arrays, according to
6254 frameslots.h change.
6255 (nuke_all_frame_slots): Ditto.
6256 (set_frame_selected_window): Mark toolbars changed when
6257 last_nonminibuf_window changes.
6259 * frame.h (struct frame): Moved some slots to frameslots.h.
6260 Added current_toolbar_size array.
6261 Changed references from toolbar_data to toolbar_buttons in macros
6262 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6263 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6264 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6266 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6267 Moved arrays of lisp objects here from frame.h: toolbar_size,
6268 toolbar_visible_p, toolbar_border_width.
6269 Removed toolbar_data slot and added toolbar_buttons.
6271 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6273 * symsinit.h: Externed syms_of_process_nt()
6275 * emacs.c (main_1): Call syms_of_process_nt()
6277 * process-nt.c: Quote process arguments by a call to Lisp function
6278 `nt-quote-process-args'.
6279 (syms_of_process_nt): New function.
6280 (nt_send_process): Flush data stream after each write, to avoid
6281 leaving buffered data.
6282 (nt_send_process): When blocked on process output, wait for
6283 process to slurp more for progressively increasing time intervals.
6285 1998-05-17 Martin Buchholz <martin@xemacs.org>
6287 * window.c (have_undivided_common_edge): Make file-local function
6289 (map_windows): Return 0 if all map functions successful.
6292 * winslots.h: Use unlikely names for local variables in macros to
6293 avoid shadowing warnings.
6295 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6297 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6298 so that we re-output if the toolbar size has changed.
6300 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6302 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6304 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6306 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6309 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6311 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6312 get bitmap manifest constants defined.
6314 * console-msw.h: Include system files in angle brackets, not in
6317 * window.c (specifier_vars_of_window): Fixed a typo in
6318 `vertical-divider-line-width' docstirng.
6320 1998-05-16 Olivier Galibert <galibert@pobox.com>
6322 * line-number.c (delete_invalidate_line_number_cache): Use an
6324 (buffer_line_number): Remove dangerous, plain wrong when using
6325 64bits emacs ints, cast.
6327 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6329 * cmds.c (Fforward_line): Use EMACS_INTs.
6331 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6332 (scan_buffer): Ditto.
6333 (bi_find_next_newline_no_quit): Remove useless cast.
6334 (find_next_newline_no_quit): Ditto.
6335 (find_next_newline): Ditto.
6336 (find_before_next_newline): Use an EMACS_INT.
6338 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6340 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6342 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6344 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6346 * gui-x.c (popup_selection_callback): Use it.
6348 * gui.h (get_callback): Declare it.
6350 * gui.c (get_callback): New function.
6352 1998-05-15 SL Baur <steve@altair.xemacs.org>
6354 * window.c (have_undivided_common_edge): Guard scrollbar specific
6356 (window_needs_vertical_divider_1): Ditto.
6358 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6360 * emacs.c (decode_path): Eliminate compiler warning.
6361 (Fdecode_path): Renamed to Fsplit_path.
6362 (Fsplit_string_by_char): New function.
6364 1998-05-14 Damon Lipparelli <lipp@primus.com>
6366 * winslots.h: close comment
6368 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6370 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6372 * bufslots.h: Removed buffer_file_type slot.
6374 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6376 (complex_vars_of_buffer): Removed buffer-file-type variable and
6377 its default reference.
6379 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6381 * faces.c (complex_vars_of_faces): Defined
6382 Vvertical_divider_face.
6383 (vars_of_faces): Staticpro it.
6385 * faces.h: Externed Vvertical_divider_face.
6387 * redisplay-x.c (x_output_vertical_divider): Use
6388 Vvertical_divider_face to draw the divider instead of modeline
6391 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6392 divider face using Vvertical_divider_face background.
6393 Fix drawing spacing gaps around the divider.
6395 1998-05-14 Didier Verna <verna@inf.enst.fr>
6397 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6398 values for the vertical divider line width and spacing. Use the
6399 cached values from the window structure instead.
6400 (x_divider_width): ditto.
6402 * window.c (specifier_vars_of_window): new specifiers:
6403 vertical-divier -line-width and -spacing.
6404 (vertical_divider_global_width_changed): formerly known as
6405 vertical_divider_shadow_thickness_changed.
6407 * winslots.h: new slots: vertical_specifier _line_width and
6408 _spacing. Plus corrected a comment typo.
6410 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6412 * window.h: Declared window_divider_width().
6414 * console-stream.c (stream_divider_width): Removed method.
6415 (console_type_create_stream): And declaration for it.
6417 * redisplay.c (pixel_to_glyph_translation): Use
6418 window_divider_width() instead of divider_width redisplay method.
6419 (pixel_to_glyph_translation): Fix top divider edge calculation
6420 when scrollbar is on top.
6422 * window.c (window_divider_width): New function, an outphaser for
6423 divider_width redisplay method.
6424 (window_right_gutter_width): Use it.
6425 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6426 specifiers, set fallback values differently on TTYs, and document
6427 the behavior of these on TTYs in the docstrings.
6429 * scrollbar.c (update_scrollbar_instance): Use
6430 window_divider_width() instead of divider_width redisplay method.
6432 * console.h (struct console_methods): Removed divider_width_method.
6434 * redisplay-tty.c (tty_divider_width): Removed device method.
6435 (console_type_create_redisplay_tty): Removed definition for it.
6436 (tty_output_vertical_divider): Respect the value returned by
6437 window_divider_width thus divider line width specification.
6439 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6440 (console_type_create_redisplay_mswindows): Removed definition for it.
6441 (mswinodws_output_vertical_divider): Respect the value returned by
6442 window_divider_width thus divider line width specification.
6444 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6446 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6448 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6450 * glyphs-msw.c: resource loading implementation.
6451 (cursor_normalize): new function.
6452 (cursor_validate): ditto.
6453 (cursor_instantiate): ditto.
6454 (cursor_name_to_resource): ditto.
6455 (cursor_possible_dest_types): ditto.
6456 (check_valid_symbol): ditto.
6457 (check_valid_string_or_int): ditto.
6459 1998-05-14 Martin Buchholz <martin@xemacs.org>
6461 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6464 * process-unix.c (process_signal_char): Use VSUSP instead of
6465 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6467 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6469 * specifier.c (specifier_instance): Change locale precedence of
6470 instantiation so window locale has higher priority than buffer
6472 (Fspecifier_instance): Reflect this in docstring.
6473 (Fadd_spec_list_to_specifier): Ditto.
6474 (Fadd_spec_to_specifier): Ditto.
6475 (Fremove_specifier): Ditto.
6477 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6479 ** Dialog separation into a device method from Andy Piper
6481 * emacs.c (main_1): Call console_type_create_dialog_x().
6483 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6484 into this device method.
6485 (console_type_create_dialog_x): New function.
6487 * dialog.c (Fpopup_dialog_box): New function.
6488 (syms_of_dialog): Defsubr it.
6490 * console.h (struct console_methods): Declared
6491 popup_dialog_box_method().
6493 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6495 1998-05-14 Oliver Graf <ograf@fga.de>
6497 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6498 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6500 1998-05-13 Oliver Graf <ograf@fga.de>
6502 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6504 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6506 * console.h (device_metrics): Removed dbcs, input-method-editor
6507 and right-to-left metrics.
6509 * device.c (Fdevice_system_metric): Ditto.
6510 (Fdevice_system_metrics): Ditto.
6511 (syms_of_device): Ditto.
6512 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6515 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6517 * line-number.h (mark_line_number_cache): Remove unused
6520 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6521 (get_nearest_line_number): Simplify.
6522 (add_position_to_cache): Make the old marker point nowhere.
6524 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6526 ** Renamed window-divider-map => vertical-divider-map
6527 and event-over-divider-p => event-over-vertical-divider-p,
6528 in the following files/functions:
6530 * events.c (Fevent_over_divider_p):
6531 * keymap.c (get_relevant_keymaps):
6534 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6536 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6538 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6540 * window.c (vertical_divider_changed_in_window): Renamed so.
6541 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6542 (window_needs_vertical_divider_1): Decide whether we need it based
6543 on the value of the above specifier. If separators are unwanted,
6544 put them only if there's no scrollbar between this window and its
6546 (have_undivided_common_edge): New function, helper for the above.
6547 (window_needs_vertical_divider): Return either a cached value,
6548 or clauclate and cache one.
6549 (invalidate_vertical_divider_cache_in_window): Implemented.
6550 (map_windows): Changed return type to int, return the value from
6553 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6554 (struct window): Added need_vertical_divider_p and
6555 need_vertical_divider_valid_p.
6557 * winslots.h: Added vertical_divider_draggable_p slot.
6559 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6560 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6562 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6564 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6565 invalidate_vertical_divider_cache_in_frame().
6568 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6570 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6572 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6573 masks correctly and don't select 0.
6575 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6577 * winslots.h: New file, declaration of some struct window and
6578 struct saved_window members.
6580 * window.h (struct window): Include it, with required preprocessor
6583 * window.c (mark_window): Ditto.
6584 (allocate_window): Ditto.
6585 (struct saved_window): Ditto.
6586 (mark_window_config): Ditto.
6587 (saved_window_equal): Ditto.
6588 (Fset_window_configuration): Ditto.
6590 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6592 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6594 1998-05-12 Didier Verna <verna@inf.enst.fr>
6596 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6597 the divider line. The shadow thickness is currently
6598 hard-wired. This will probably be turned into a specifier soon.
6600 1998-05-12 Didier Verna <verna@inf.enst.fr>
6602 * console.h (struct console_methods): the divider_width console
6603 method now requires a struct window * argument.
6605 * redisplay-x.c (x_divider_width): ditto. Plus remove
6606 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6607 (x_output_vertical_divider): give a depressed look when the shadow
6608 thickness is negative.
6610 * console-stream.c (stream_divider_width): pass a struct window *
6613 * redisplay-tty.c (tty_divider_width): ditto.
6615 * window.c (window_right_gutter_width): totdi.
6617 * redisplay.c (generate_modeline): ittod.
6619 * scrollbar.c (update_scrollbar_instance): ttido.
6621 * redisplay-msw.c (mswindows_divider_width): ottid.
6622 WARNING: this enables to compile, but the feature is not functional.
6624 * window.h (struct window): new field
6625 vertical_divider_shadow_thickness.
6627 * window.c (specifier_vars_of_window): new specifier
6628 vertical-divider-shadow-thickness.
6629 (vertical_divider_shadow_thickness_changed): new function to
6630 inform redisplay that the window has changed.
6631 (mark_window): handle new field vertical_divider_shadow_thickness
6633 (allocate_window): ditto.
6634 (saved_window_equal): toddi.
6635 (Fset_window_configuration): totid.
6636 (save_window_save): ttdio.
6637 (struct saved_window): new field vertical_divider_shadow_thickness.
6639 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6641 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6644 1998-05-12 Oliver Graf <ograf@fga.de>
6646 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6647 * event-Xt.c (x_event_to_emacs_event): C++ compability
6649 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6651 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6654 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6656 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6659 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6661 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6663 * emacs.c (decode_path_1): New function.
6664 (decode_path): Use it.
6665 (Fdecode_path): Renamed from Fdecode_path_internal; use
6668 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6670 * macros.c (Fzap_last_kbd_macro_event): New function.
6671 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6673 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6675 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6676 multiple bitmaps are output vertically as well as horizontally.
6677 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6678 crossing lines this is handled by
6679 mswindows_output_dibitmap_region.
6681 1998-05-12 Martin Buchholz <martin@xemacs.org>
6683 * inline.c: Include eldap.h
6685 * menubar-x.c (x_update_frame_menubar_internal):
6686 Remove: unused variable `container'
6688 1998-05-11 Martin Buchholz <martin@xemacs.org>
6690 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6691 Unfortunately, the resulting temacs still cannot dump.
6693 * symbols.c (symbol_is_constant):
6694 (verify_ok_for_buffer_local):
6695 -Wswitch Warning suppression - add default case to switches.
6697 * redisplay.c (decode_mode_spec): Remove unused variables,
6698 Replace Fcoding_system_property (codesys, Qmnemonic) with
6699 XCODING_SYSTEM_MNEMONIC (codesys);
6700 Fcoding_system_property is for users.
6706 Change empty docstrings into no doc strings at all.
6707 Fix bogus FSF-format docstrings.
6710 Standardize docstrings.
6713 Explain problems with matherr.
6715 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
6718 if BROKEN_SIGIO, then SIGIO wants to be undefined.
6719 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
6720 Fix the weird resultant interaction (causes windows problems)
6724 Take new EMACSBOOTSTRAPLOADPATH into account.
6725 Update documentation strings
6728 - Adjust for luser's CDPATH being set to something weird.
6729 - Take into account bash 2.02's tendency to print the cwd when
6730 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
6731 - fix the run-temacs target to use $(DUMPENV)
6732 - fix the run-puremacs target to use $(DUMPENV)
6733 - fix the `depend' target to properly $(RM) the right files
6734 - Generate a better TAGS file for XEmacs' lisp code using
6735 hand-crafted regexps.
6736 - Use standard coding conventions for modules/Makefile.in
6738 1998-05-12 Didier Verna <verna@inf.enst.fr>
6740 * redisplay.c: removed the scrolling modeline code that didn't
6741 make it for 21.0. To be continued ...
6743 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6745 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
6746 and empty string inputs.
6748 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6750 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
6752 1998-05-10 Oliver Graf <ograf@fga.de>
6754 * event-stream.c (enqueue_misc_user_event_pos): created
6755 * lisp.h (enqueue_misc_user_event_pos): prototype added
6756 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
6757 * emacs.c: call vars_of_dragdrop
6758 * dragdrop.c (vars_of_dragdrop): provide dragdrop
6760 1998-05-11 Oliver Graf <ograf@fga.de>
6762 * frame-x.c (x_cde_transfer_callback): return at correct pos
6763 * event-Xt.c (x_event_to_emacs_event): changed format of drop
6764 object for MIME (see comment in dragdrop.c)
6765 * dragdrop.c: API change documented in comment
6766 removed provide of dragdrop [is provided by dragdrop.el]
6768 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6770 * window.c (window_needs_vertical_divider): Enable vertical
6771 dividers for every non-rightmost window.
6772 (window_left_gutter_width): Left gutter consists of mythical
6773 toolbar and a virtual scrollbar.
6774 (window_right_gutter_width): The right one may have a divider
6777 * scrollbar.c (update_scrollbar_instance): Position vertical
6778 scrollbar left to divider if the latter present.
6780 * redisplay.h: Declared OVER_DIVIER constant.
6782 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
6785 * redisplay-x.c (x_output_vertical_divider): Output divider along
6786 the right side of the window, down to window bottom. Swapped
6787 foreground and background colors so it is visible by default.
6789 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
6790 stick the divider to the right window side.
6792 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
6794 (mswindows_divider_width): Ask system for user preferred value.
6795 (mswindows_output_vertical_divider): Always output the divider on
6796 the right side of a window, down to bottom.
6798 * keymap.c (get_relevant_keymaps): Route mouse button events which
6799 happened over a window divider through window-divider-map.
6800 (Fkey_binding): Documented that in the docstring.
6801 Defined the variable Vwindow_divider_map.
6803 * events.c (Fevent_over_divider_p): Added this function.
6805 * events.h: EXFUNed it.
6807 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
6809 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
6810 toolbar geometry is suspected to change.
6812 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
6816 Condition dnd and dde code on HAVE_DRAGNDROP.
6818 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6820 * events.c (format_event_object): Print space as SPC etc.
6822 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6824 * print.c (print_internal): In the default case, abort() if
6825 ERROR_CHECK_TYPECHECK.
6827 * fileio.c (Fmake_temp_name): Doc fix.
6829 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6831 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
6833 * undo.c (Fprimitive_undo): Fixed typo.
6835 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
6837 * fns.c (concat): Signal error on integer argument.
6839 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
6841 * console.h (device_metrics): Prefixed each constatnt with DM_
6843 * device.c: (Fdevice_system_metric): Renamed so from plural form
6844 (metrics); Changed parameters order and added DEFAULT parameter;
6845 Unabbreviated some metric constants; Fixed and untabified doc string.
6846 (Fdevice_system_metrics): Added. Returns a plist of all provided
6849 * device-msw.c (mswindows_device_system_metrics): Renamed
6850 device_metrics enum constants.
6851 Return Qunbound instead of Qnil.
6853 * device-tty.c (tty_device_system_metrics): Ditto.
6855 * device-x.c (x_device_system_metrics): Ditto.
6857 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6859 * redisplay-msw.c: implement background pixmaps (really!). Make
6860 sure bg color is transparent if we have bg pmaps.
6861 * (mswindows_output_string) (mswindows_clear_region): output bg
6863 * (mswindows_output_dibitmap_region): new function.
6864 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
6865 the bg color rather than transparently.
6867 * toolbar-msw.c: use masks if they exist.
6869 * glyphs-msw.c: set up masks correctly.
6871 * event-msw.c: typedef SOCKET if cygwin and not msg select().
6873 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6875 * regex.c (re_match_2_internal): Check for quit.
6877 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
6879 * frame.c (Ffocus_frame): New function.