1 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (Vcharacter_attribute_table): New variable.
4 (Fchar_attribute_alist): New function.
5 (Fget_char_attribute): New function.
6 (Fput_char_attribute): New function.
7 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
9 (syms_of_mule_charset): Add new function `char-attribute-alist',
10 `get-char-attribute' and `put-char-attribute'.
11 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
13 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
15 * mule-charset.c (Fmake_charset): Just use
16 `get_unallocated_leading_byte'.
18 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
19 sets; don't use final-byte based number for private sets.
21 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
23 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
26 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
28 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
31 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
33 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
34 of `CHAR_LEADING_BYTE' in UTF-2000.
36 * insdel.c (find_charsets_in_bufbyte_string): Use
37 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
38 (find_charsets_in_emchar_string): Likewise.
40 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
41 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
43 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
44 (CHAR_CHARSET_ID): New macro.
46 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
48 * chartab.c (get_char_table): Don't use type `Charset_ID' for
49 charset-id - MIN_LEADING_BYTE.
50 (put_char_table): Likewise.
52 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
54 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
55 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
56 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
57 (CHARSET_ID_OFFSET): New macro.
58 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
59 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
60 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
61 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
63 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
65 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
66 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
67 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
68 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
69 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
71 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
73 * mule-charset.c (next_allocated_leading_byte): New variable in
75 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
76 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
77 (get_unallocated_leading_byte): Simply use
78 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
79 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
82 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
83 (MAX_LEADING_BYTE_PRIVATE): New macro.
84 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
85 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
87 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
89 * mule-charset.c (Fmake_charset): Allocate final-byte based
90 charset-id for 94-set, 96-set and 94x94-set.
92 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
94 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
96 (Fmake_charset): Likewise.
97 (complex_vars_of_mule_charset): Modify the font registry of
98 `ucs-bmp' not to match `Ethiopic-Unicode'.
100 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
102 * mule-charset.c (complex_vars_of_mule_charset): Add font
103 registory of `ucs-bmp'.
105 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
107 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
108 coded-charsets in `default-coded-charset-priority-list' when
109 breaking up a character.
111 * mule-charset.c (Vcharset_latin_viscii): New variable.
112 (Qlatin_viscii): New variable.
113 (make_charset): Don't use `decoding_table'.
114 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
116 (Fset_charset_mapping_table): New implementation.
117 (syms_of_mule_charset): Add new symbol `latin-viscii'.
118 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
119 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
120 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
121 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
122 charset `latin_viscii'.
124 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
125 (CHARSET_TYPE_94X94): Change to 1 from 2.
126 (CHARSET_TYPE_96): Change to 2 from 1.
127 (CHARSET_TYPE_128): New macro.
128 (CHARSET_TYPE_128X128): Change to 5 from 4.
129 (CHARSET_TYPE_256): New macro.
130 (CHARSET_TYPE_256X256): Change to 7 from 5.
131 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
133 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
135 * text-coding.c (char_encode_shift_jis): Refer
136 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
137 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
139 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
140 (char_byte_table_equal): New function in UTF-2000.
141 (char_byte_table_hash): New function in UTF-2000.
142 (char_byte_table_description): New constant in UTF-2000.
143 (char_byte_table): New type in UTF-2000.
144 (make_char_byte_table): New function in UTF-2000.
145 (copy_char_byte_table): New function in UTF-2000.
146 (make_char_code_table): New macro in UTF-2000.
147 (get_char_code_table): New function in UTF-2000.
148 (put_char_code_table): New function in UTF-2000.
149 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
150 (charset_description): Add setting in UTF-2000.
151 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
152 `CHARSET_TO_BYTE1_TABLE(cs)'.
153 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
154 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
155 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
156 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
157 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
158 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
159 `CHARSET_TO_BYTE2_TABLE(cs)'.
161 * char-ucs.h (char_byte_table): New type.
162 (XCHAR_BYTE_TABLE): New macro.
163 (XSETCHAR_BYTE_TABLE): New macro.
164 (CHAR_BYTE_TABLE_P): New macro.
165 (GC_CHAR_BYTE_TABLE_P): New macro.
166 (struct Lisp_Char_Byte_Table): New structure.
167 (get_char_code_table): New interface.
168 (Emchar_to_byte_table): Deleted.
169 (get_byte_from_character_table): Deleted.
170 (struct Lisp_Charset): Add `encoding_table'; delete
171 `to_byte1_table' and `to_byte2_table'.
172 (CHARSET_ENCODING_TABLE): New macro.
173 (CHARSET_TO_BYTE1_TABLE): Deleted.
174 (CHARSET_TO_BYTE2_TABLE): Deleted.
175 (XCHARSET_ENCODING_TABLE): New macro.
176 (XCHARSET_TO_BYTE1_TABLE): Deleted.
177 (XCHARSET_TO_BYTE2_TABLE): Deleted.
179 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
181 * mule-charset.c (syms_of_mule_charset): Delete charset alias
182 `vietnamese-viscii-*'.
184 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
186 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
187 (Qvietnamese_viscii_upper): New variable.
188 (Fdefine_charset_alias): New function.
189 (syms_of_mule_charset): Add new function `define-charset-alias'.
190 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
191 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
194 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
196 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
197 (MAX_CHAR_OBS_94x94): New macro.
198 (breakup_char_1): Support obsolete XEmacs-UCS private code space
201 * mule-charset.c (put_byte_from_character_table): Change unit size
203 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
205 (Fmake_reverse_direction_charset): Modify dummy argument of
206 `make_charset' for non-UTF-2000 environment.
208 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
210 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
212 * mule-charset.c (destroy_byte_from_character_table): New macro.
213 (latin_jisx0201_to_ucs): Deleted.
214 (latin_iso8859_2_to_ucs): Deleted.
215 (latin_iso8859_3_to_ucs): Deleted.
216 (latin_iso8859_4_to_ucs): Deleted.
217 (latin_iso8859_9_to_ucs): Deleted.
218 (latin_viscii_lower_to_ucs): Deleted.
219 (latin_viscii_upper_to_ucs): Deleted.
220 (mark_charset): Mark `cs->decoding_table'.
221 (Fcharset_mapping_table): Fix DOC-string.
222 (Fset_charset_mapping_table): New function.
223 (syms_of_mule_charset): Add nwe function
224 `set-charset-mapping-table'.
225 (complex_vars_of_mule_charset): Don't setup and use
228 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
230 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
233 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
235 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
236 (Vcharset_katakana_jisx0208): New variable.
237 (Qhiragana_jisx0208): New variable.
238 (Qkatakana_jisx0208): New variable.
239 (make_charset): Add new argument `byte_offset'.
240 (charset_get_byte1): Modify for new coded-charset definition; use
241 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
242 `XCHARSET_BYTE_OFFSET'.
243 (Fmake_charset): Modify for `make_charset'.
244 (Fmake_reverse_direction_charset): Likewise.
245 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
247 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
248 `.' in font registry of charset `katakana-jisx0201',
249 `latin-jisx0201', `vietnamese-viscii-lower' and
250 `vietnamese-viscii-upper'; modify DOC-string of charset
251 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
252 registry of charset `japanese-jisx0208' not to use font for JIS
253 X0208:1990; add new charset `hiragana-jisx0208' and
256 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
257 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
258 (struct Lisp_Charset): Add `byte_offset'.
259 (CHARSET_BYTE_OFFSET): New macro.
260 (XCHARSET_UCS_MIN): New macro.
261 (XCHARSET_UCS_MAX): New macro.
262 (XCHARSET_CODE_OFFSET): New macro.
263 (XCHARSET_BYTE_OFFSET): New macro.
264 (MIN_CHAR_HIRAGANA): New macro.
265 (MAX_CHAR_HIRAGANA): New macro.
266 (MIN_CHAR_KATAKANA): New macro.
267 (MAX_CHAR_KATAKANA): New macro.
268 (MAKE_CHAR): Modify for new coded-charset definition; use
269 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
270 `XCHARSET_BYTE_OFFSET'.
272 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
274 * mule-charset.c (CHAR96): Deleted.
275 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
277 (latin_iso8859_2_to_ucs): Likewise.
278 (latin_iso8859_3_to_ucs): Likewise.
279 (latin_iso8859_4_to_ucs): Likewise.
280 (latin_iso8859_9_to_ucs): Likewise.
281 (latin_viscii_lower_to_ucs): Likewise.
282 (latin_viscii_upper_to_ucs): Likewise.
283 (latin_tcvn5712_to_ucs): Commented out.
284 (make_charset): Change type of argument `decoding_table' from
285 <Emchar*> to <Lisp_Object> [vector of characters].
286 (Fmake_charset): Modify for `make_charset'.
287 (Fmake_reverse_direction_charset): Likewise.
288 (Fcharset_mapping_table): New function in UTF-2000.
289 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
291 (complex_vars_of_mule_charset): Modify for type change of
292 `*_to_ucs'; modify for `make_charset'.
294 * char-ucs.h (struct Lisp_Charset): Change type of
295 `decoding_table' from <Emchar*> to <Lisp_Object>.
296 (MAKE_CHAR): Modify for new specification of `decoding_table'.
298 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
300 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
301 error with non-UTF-2000-Mule.
303 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
305 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
307 (Vcharset_chinese_cns11643_4): Likewise.
308 (Vcharset_chinese_cns11643_5): Likewise.
309 (Vcharset_chinese_cns11643_6): Likewise.
310 (Vcharset_chinese_cns11643_7): Likewise.
311 (Qchinese_cns11643_3): Likewise.
312 (Qchinese_cns11643_4): Likewise.
313 (Qchinese_cns11643_5): Likewise.
314 (Qchinese_cns11643_6): Likewise.
315 (Qchinese_cns11643_7): Likewise.
316 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
317 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
318 and `chinese-cns11643-7' to lisp/mule/chinese.el.
319 (complex_vars_of_mule_charset): Likewise.
321 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
323 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
325 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
326 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
328 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
330 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
332 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
333 (breakup_char_1): Likewise.
335 * text-coding.c (char_encode_iso2022): Keep designated charsets if
336 one of them includes the specified character.
338 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
340 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
342 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
344 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
346 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
348 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
349 definition for non-UTF-2000 Mule.
350 (latin_iso8859_3_to_ucs): Likewise.
351 (latin_iso8859_4_to_ucs): Likewise.
352 (latin_iso8859_9_to_ucs): Likewise.
353 (latin_jisx0201_to_ucs): Likewise.
354 (MIN_CHAR_THAI): Likewise.
355 (MAX_CHAR_THAI): Likewise.
356 (MIN_CHAR_GREEK): Likewise.
357 (MAX_CHAR_GREEK): Likewise.
358 (MIN_CHAR_HEBREW): Likewise.
359 (MAX_CHAR_HEBREW): Likewise.
360 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
361 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
362 (MIN_CHAR_CYRILLIC): Likewise.
363 (MAX_CHAR_CYRILLIC): Likewise.
365 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
367 * char-ucs.h (breakup_char_1): Use
368 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
369 thai-tis620 and katakana-jisx0201 area.
371 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
373 * char-ucs.h (breakup_char_1): Use
374 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
377 * text-coding.c (reset_encoding_stream): Fixed.
378 (char_encode_ucs4): Delete `& 255'.
380 * char-ucs.h (breakup_char_1): Use
381 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
383 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
385 * file-coding.c (Fmake_coding_system): Don't set up
386 `codesys->fixed.size'.
387 (encode_coding_no_conversion): Don't refer
388 `str->codesys->fixed.size'.
390 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
392 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
393 (latin_a_char_to_byte1): Deleted.
394 (latin_a_char_to_byte2): Deleted.
396 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
398 * mule-charset.c (make_charset): Add new argument `ucs_min',
399 `ucs_max' and `code_offset'.
400 (charset_get_byte1): New implementation [delete specific charset
401 depended implementations].
402 (Fmake_charset): Modify for `make_charset'.
403 (Fmake_reverse_direction_charset): Likewise.
404 (complex_vars_of_mule_charset): Likewise.
406 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
408 (CHARSET_UCS_MIN): New macro.
409 (CHARSET_UCS_MAX): New macro.
410 (CHARSET_CODE_OFFSET): New macro.
411 (MAKE_CHAR): Delete charset depended definitions [except
414 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
416 * char-ucs.h (breakup_char_1): Use
417 `Vdefault_coded_charset_priority_list' for C0-Controls,
418 Basic-Latin, C1-Controls and Latin-1-Supplement area.
420 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
422 * char-ucs.h (charset_get_byte1): New function.
423 (XCHARSET_GET_BYTE1): Deleted.
424 (charset_get_byte2): New function.
425 (XCHARSET_GET_BYTE2): Deleted.
426 (Vdefault_coded_charset_priority_list): New external variable.
427 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
428 `Vdefault_preferred_coded_charset_list'.
430 * mule-charset.c (charset_get_byte1): New function.
431 (charset_get_byte2): New function.
432 (Vdefault_coded_charset_priority_list): New variable.
433 (vars_of_mule_charset): Add new variable
434 `default-coded-charset-priority-list'.
436 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
438 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
439 (XCHARSET_GET_BYTE2): New inline function.
440 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
441 `XCHARSET_GET_BYTE2'.
443 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
445 * mule-charset.c (make_charset): Initialize
446 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
447 NULL if table is not defined.
449 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
451 * text-coding.c (char_encode_shift_jis): Use
452 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
453 `ucs_to_latin_jisx0201'.
455 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
456 (ucs_to_latin_iso8859_2): Deleted.
457 (ucs_to_latin_iso8859_3): Deleted.
458 (ucs_to_latin_iso8859_4): Deleted.
459 (ucs_to_latin_iso8859_9): Deleted.
460 (ucs_to_latin_viscii_lower): Deleted.
461 (ucs_to_latin_viscii_upper): Deleted.
462 (ucs_to_latin_tcvn5712): Deleted.
463 (make_charset): Add new argument `decoding_table'; set up
464 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
465 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
466 `decoding_table' is defined in UTF-2000.
467 (Fmake_charset): Modify for `make_charset'.
468 (Fmake_reverse_direction_charset): Likewise.
469 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
470 and `GENERATE_96_SET'.
472 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
473 (ucs_to_latin_jisx0201): Deleted.
474 (latin_iso8859_2_to_ucs): Deleted.
475 (ucs_to_latin_iso8859_2): Deleted.
476 (latin_iso8859_3_to_ucs): Deleted.
477 (ucs_to_latin_iso8859_3): Deleted.
478 (latin_iso8859_4_to_ucs): Deleted.
479 (ucs_to_latin_iso8859_4): Deleted.
480 (latin_iso8859_9_to_ucs): Deleted.
481 (ucs_to_latin_iso8859_9): Deleted.
482 (latin_viscii_lower_to_ucs): Deleted.
483 (ucs_to_latin_viscii_lower): Deleted.
484 (latin_viscii_upper_to_ucs): Deleted.
485 (ucs_to_latin_viscii_upper): Deleted.
486 (struct Lisp_Charset): Renamed `encoding_table' to
487 `to_byte1_table'; add `to_byte2_table'.
488 (CHARSET_DECODING_TABLE): New macro.
489 (CHARSET_TO_BYTE1_TABLE): New macro.
490 (CHARSET_TO_BYTE2_TABLE): New macro.
491 (XCHARSET_DECODING_TABLE): New macro.
492 (XCHARSET_TO_BYTE1_TABLE): New macro.
493 (XCHARSET_TO_BYTE2_TABLE): New macro.
494 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
496 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
497 don't use `ucs_to_*' tables.
499 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
501 * text-coding.c (Fmake_coding_system): Don't set up
502 `codesys->fixed.size'.
503 (encode_coding_no_conversion): Use `if' instead of `switch'.
505 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
507 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
509 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
510 (Fmake_charset): Modify for `make_charset'.
511 (Fmake_reverse_direction_charset): Likewise.
512 (complex_vars_of_mule_charset): Likewise.
514 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
516 * text-coding.c (char_encode_shift_jis): Use table
517 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
519 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
521 * text-coding.c (text_encode_generic): Use `if' instead of
523 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
526 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
528 * text-coding.c (encode_coding_sjis): Deleted.
529 (char_encode_shift_jis): New function.
530 (char_finish_shift_jis): New function.
531 (reset_encoding_stream): Set up `encode_char' and `finish' for
532 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
533 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
534 (char_encode_utf8): Treat `eol_type'.
536 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
538 * file-coding.c (decode_coding_iso2022): Use
539 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
541 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
543 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
546 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
548 * char-lb.h (CHAR_COLUMNS): New macro.
550 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
552 * text-coding.c (char_encode_ucs4): New function.
553 (char_finish_ucs4): New function.
554 (encode_coding_ucs4): Deleted.
555 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
556 (text_encode_generic): Delete local variable `charset' and `half'.
557 (ucs_to_mule_table): Deleted.
558 (mule_to_ucs_table): Deleted.
559 (Fset_ucs_char): Deleted.
560 (ucs_to_char): Deleted.
561 (Fucs_char): Deleted.
562 (Fset_char_ucs): Deleted.
563 (Fchar_ucs): Deleted.
564 (decode_ucs4): Deleted.
565 (mule_char_to_ucs4): Deleted.
566 (encode_ucs4): Deleted.
567 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
568 (decode_coding_utf8): Likewise.
569 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
570 (char_encode_iso2022): Fixed.
571 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
572 `Fset_char_ucs' and `Fchar_ucs'.
573 (complex_vars_of_file_coding): Don't initialize
576 * objects-tty.c (tty_initialize_font_instance): Don't use
579 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
582 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
583 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
585 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
586 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
587 (emchar_string_displayed_columns): Likewise.
589 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
590 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
591 (string_column_at_point): Likewise.
592 (Fmove_to_column): Likewise.
594 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
595 `encoding_table' and `decoding_table'.
596 (CHARSET_REP_BYTES): Deleted.
597 (XCHARSET_REP_BYTES): Deleted.
598 (XCHARSET_COLUMNS): Deleted.
599 (CHAR_COLUMNS): New macro.
600 (lookup_composite_char): Deleted unconditionally.
601 (composite_char_string): Likewise.
603 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
605 * char-ucs.h (Emchar_to_byte_table): New type.
606 (get_byte_from_character_table): New function interface.
607 (Vcharset_latin_jisx0201): New variable.
608 (latin_jisx0201_to_ucs): New variable.
609 (ucs_to_latin_jisx0201): New variable.
610 (Vcharset_latin_iso8859_2): New variable.
611 (latin_iso8859_2_to_ucs): New variable.
612 (ucs_to_latin_iso8859_2): New variable.
613 (Vcharset_latin_iso8859_3): New variable.
614 (latin_iso8859_3_to_ucs): New variable.
615 (ucs_to_latin_iso8859_3): New variable.
616 (Vcharset_latin_iso8859_4): New variable.
617 (latin_iso8859_4_to_ucs): New variable.
618 (ucs_to_latin_iso8859_4): New variable.
619 (Vcharset_latin_iso8859_9): New variable.
620 (latin_iso8859_9_to_ucs): New variable.
621 (ucs_to_latin_iso8859_9): New variable.
622 (Vcharset_latin_viscii_lower): New variable.
623 (latin_viscii_lower_to_ucs): New variable.
624 (ucs_to_latin_viscii_lower): New variable.
625 (Vcharset_latin_viscii_upper): New variable.
626 (latin_viscii_upper_to_ucs): New variable.
627 (ucs_to_latin_viscii_upper): New variable.
628 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
629 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
630 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
631 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
632 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
633 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
634 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
635 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
636 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
637 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
639 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
640 (Vcharset_latin_viscii_upper): New variable.
641 (make_byte_from_character_table): New function.
642 (put_byte_from_character_table): New function.
643 (get_byte_from_character_table): New function.
645 (ucs_to_latin_jisx0201): New variable.
646 (latin_jisx0201_to_ucs): New variable.
647 (ucs_to_latin_iso8859_2): New variable.
648 (latin_iso8859_2_to_ucs): New variable.
649 (ucs_to_latin_iso8859_3): New variable.
650 (latin_iso8859_3_to_ucs): New variable.
651 (ucs_to_latin_iso8859_4): New variable.
652 (latin_iso8859_4_to_ucs): New variable.
653 (ucs_to_latin_iso8859_9): New variable.
654 (latin_iso8859_9_to_ucs): New variable.
655 (ucs_to_latin_viscii_lower): New variable.
656 (latin_viscii_lower_to_ucs): New variable.
657 (ucs_to_latin_viscii_upper): New variable.
658 (latin_viscii_upper_to_ucs): New variable.
659 (ucs_to_latin_tcvn5712): New variable.
660 (latin_tcvn5712_to_ucs): New variable.
661 (Qlatin_viscii_lower): New variable.
662 (Qlatin_viscii_upper): New variable.
663 (syms_of_mule_charset): Set up new symbol
664 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
665 (complex_vars_of_mule_charset): Set up new charset
666 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
667 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
668 `ucs_to_<CHARSET>' tables.
670 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
672 * text-coding.c: New file.
674 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
676 * mule-charset.c (Fmake_char): Fix problem of 256-set.
678 * char-ucs.h (Vcharset_ucs_bmp): New variable.
679 (MAKE_CHAR): Modify for `ucs-bmp'.
680 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
681 non-MULE characters of BMP.
683 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
685 * mule-charset.c (vars_of_mule_charset):
686 Update `utf-2000-version' to 0.6.
688 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
691 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
692 - Include character.h for `CHAR_ASCII_P'.
694 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
696 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
697 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
699 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
700 (BYTE_C0_P): Likewise.
701 (BYTE_C1_P): Likewise.
702 (Lstream_get_emchar_1): Likewise.
703 (Lstream_fput_emchar): Likewise.
704 (Lstream_funget_emchar): Likewise.
705 (copy_internal_to_external): Likewise.
706 (copy_external_to_internal): Likewise.
708 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
709 (BYTE_C0_P): Likewise.
710 (BYTE_C1_P): Likewise.
711 (Lstream_get_emchar_1): Likewise.
712 (Lstream_fput_emchar): Likewise.
713 (Lstream_funget_emchar): Likewise.
714 (copy_internal_to_external): Likewise.
715 (copy_external_to_internal): Likewise.
717 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
718 (REP_BYTES_BY_FIRST_BYTE): Likewise.
720 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
721 (BYTE_ASCII_P): Moved to mb-1byte.h.
723 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
725 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
727 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
728 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
729 (VALID_CHARPTR_P): Moved to mb-*byte.h.
730 (VALIDATE_CHARPTR_BACKWARD): Likewise.
731 (VALIDATE_CHARPTR_FORWARD): Likewise.
732 (simple_charptr_emchar): Moved to mb-multibyte.h.
733 (simple_set_charptr_emchar): Likewise.
734 (simple_charptr_copy_char): Likewise.
735 (non_ascii_charptr_emchar): Likewise.
736 (non_ascii_set_charptr_emchar): Likewise.
737 (non_ascii_charptr_copy_char): Likewise.
738 (charptr_emchar): Moved to mb-*byte.h.
739 (set_charptr_emchar): Likewise.
740 (charptr_copy_char): Likewise.
742 * mb-1byte.h, mb-multibyte.h: New files.
744 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
746 * mb-utf-8.h (MULTIBYTE): New macro.
747 (MAX_EMCHAR_LEN): Moved from buffer.h.
748 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
750 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
752 * mb-lb.h, multibyte.h: New files.
754 * char-1byte.h (Charset_ID): Moved from buffer.h.
755 (MIN_LEADING_BYTE): Likewise.
756 (LEADING_BYTE_ASCII): Likewise.
757 (NUM_LEADING_BYTES): Likewise.
758 (CHARSETP): Likewise.
759 (CHARSET_BY_LEADING_BYTE): Likewise.
760 (XCHARSET_LEADING_BYTE): Likewise.
761 (XCHARSET_GRAPHIC): Likewise.
762 (XCHARSET_COLUMNS): Likewise.
763 (XCHARSET_DIMENSION): Likewise.
764 (CHAR_CHARSET): Likewise.
765 (CHAR_LEADING_BYTE): Likewise.
766 (BREAKUP_CHAR): Likewise.
767 (Vcharset_ascii): Likewise.
769 * buffer.h: Include multibyte.h unconditionally.
770 (VALID_CHARPTR_P): Moved to multibyte.h.
771 (ASSERT_VALID_CHARPTR): Likewise.
772 (REAL_INC_CHARPTR): Likewise.
773 (REAL_INC_CHARBYTIND): Likewise.
774 (REAL_DEC_CHARPTR): Likewise.
775 (INC_CHARPTR): Likewise.
776 (INC_CHARBYTIND): Likewise.
777 (DEC_CHARPTR): Likewise.
778 (VALIDATE_CHARPTR_BACKWARD): Likewise.
779 (VALIDATE_CHARPTR_FORWARD): Likewise.
780 (charptr_n_addr): Likewise.
781 (MAX_EMCHAR_LEN): Moved to mb-*.h.
782 (simple_charptr_emchar): Moved to multibyte.h.
783 (simple_set_charptr_emchar): Likewise.
784 (simple_charptr_copy_char): Likewise.
785 (non_ascii_charptr_emchar): Likewise.
786 (non_ascii_set_charptr_emchar): Likewise.
787 (non_ascii_charptr_copy_char): Likewise.
788 (charptr_emchar): Likewise.
789 (set_charptr_emchar): Likewise.
790 (charptr_copy_char): Likewise.
791 (charptr_emchar_n): Likewise.
792 (Charset_ID): Moved to char-1byte.h.
793 (Vcharset_ascii): Likewise.
794 (CHAR_CHARSET): Likewise.
795 (CHAR_LEADING_BYTE): Likewise.
796 (LEADING_BYTE_ASCII): Likewise.
797 (NUM_LEADING_BYTES): Likewise.
798 (MIN_LEADING_BYTE): Likewise.
799 (CHARSETP): Likewise.
800 (CHARSET_BY_LEADING_BYTE): Likewise.
801 (XCHARSET_LEADING_BYTE): Likewise.
802 (XCHARSET_GRAPHIC): Likewise.
803 (XCHARSET_COLUMNS): Likewise.
804 (XCHARSET_DIMENSION): Likewise.
805 (BREAKUP_CHAR): Likewise.
807 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
809 * character.h: Add document about interface for characters.
811 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
812 (MAKE_CHAR): Delete comment about
813 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
814 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
815 (BREAKUP_CHAR): Modify name of arguments.
816 (CHAR_CHARSET): Modify name of argument.
818 * buffer.h: Delete document about Emchar accessors.
820 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
822 * character.h (CHAR_INTP): Moved from buffer.h
823 (CHAR_OR_CHAR_INTP): Likewise.
824 (XCHAR_OR_CHAR_INT): Likewise.
825 (CHECK_CHAR_COERCE_INT): Likewise.
827 * buffer.h (CHAR_INTP): Moved to character.h
828 (CHAR_OR_CHAR_INTP): Likewise.
829 (XCHAR_OR_CHAR_INT): Likewise.
830 (CHECK_CHAR_COERCE_INT): Likewise.
832 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
835 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
836 - Include char-1byte.h, char-lb.h or char-ucs.h.
838 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
840 * buffer.h: Include character unconditionally.
841 (valid_char_p): Moved to char-*.h.
842 (non_ascii_valid_char_p): Moved to char-lb.h.
844 * char-1byte.h, char-lb.h, char-ucs.h: New files.
846 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
848 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
849 in UTF-2000 because it is not ported yet and not to use
850 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
851 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
852 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
854 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
855 (CHAR_ASCII_P): Moved from character.h.
857 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
858 (CHAR_ASCII_P): Likewise.
859 (CHAR_FIELD1_MASK): Deleted.
860 (CHAR_FIELD2_MASK): Deleted.
861 (CHAR_FIELD3_MASK): Deleted.
862 (MAX_CHAR_BASIC_LATIN): New macro.
863 (CHAR_FIELD1): Deleted.
864 (CHAR_FIELD2_INTERNAL): Deleted.
865 (CHAR_FIELD3_INTERNAL): Deleted.
866 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
867 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
868 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
869 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
870 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
871 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
872 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
873 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
874 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
875 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
876 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
877 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
878 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
879 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
880 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
881 (MIN_CHAR_COMPOSITION): Deleted.
882 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
883 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
885 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
887 * buffer.h: Include mb-utf-8.h in UTF-2000.
889 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
891 * mb-utf-8.h: New file.
893 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
895 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
898 * mule-charset.h, buffer.h (Charset_ID): New type.
900 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
902 * mule-canna.c (c2mu): Use `MAKE_CHAR',
903 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
904 instead of `MULE_CHAR_PRIVATE_OFFSET',
905 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
906 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
907 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
909 * character.h (Vcharset_japanese_jisx0212): New variable
912 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
914 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
915 (charset_by_attributes): Delete array about direction.
916 (latin_a_char_to_charset): New variable in UTF-2000.
917 (latin_a_char_to_byte1): New variable in UTF-2000.
918 (latin_a_char_to_byte2): New variable in UTF-2000.
919 (Qucs_bmp): New variable.
920 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
922 (next_allocated_2_byte_leading_byte): Likewise.
923 (non_ascii_set_charptr_emchar): Likewise.
924 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
925 `CHARSET_TYPE_256X256' in UTF-2000; modify for
926 `charset_by_attributes'.
927 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
928 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
929 and `CHARSET_BY_LEADING_BYTE'.
930 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
931 `utf-2000-version' to `vars_of_mule_charset'.
932 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
933 define `leading-code-private-11' in UTF-2000; move setting of
934 `utf-2000-version' from `syms_of_mule_charset'.
935 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
938 * character.h (Charset_ID): New type.
939 (LEADING_BYTE_UCS_BMP): New macro.
940 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
941 (CHARSET_ID_OFFSET_94): New macro.
942 (MIN_CHARSET_ID_PRIVATE_94): New macro.
943 (MAX_CHARSET_ID_PRIVATE_94): New macro.
944 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
946 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
947 (LEADING_BYTE_LATIN_JISX0201): Likewise.
948 (CHARSET_ID_OFFSET_96): New macro.
949 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
950 CHARSET_ID_OFFSET_96 and final-byte.
951 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
952 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
953 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
954 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
955 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
956 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
957 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
958 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
959 (LEADING_BYTE_THAI_TIS620): Likewise.
960 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
961 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
962 (CHARSET_ID_OFFSET_94x94): New macro.
963 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
964 CHARSET_ID_OFFSET_94x94 and final-byte.
965 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
966 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
967 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
968 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
969 (LEADING_BYTE_CHINESE_GB2312): Likewise.
970 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
971 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
972 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
973 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
974 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
975 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
976 (CHARSET_TYPE_128X128): New macro.
977 (CHARSET_TYPE_256X256): New macro.
978 (XCHARSET_PRIVATE_P): Delete unconditionally.
979 (charset_by_attributes): Delete array about direction.
980 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
981 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
982 (MIN_CHAR_94): New macro.
983 (MAX_CHAR_94): New macro.
984 (MIN_CHAR_96): New macro.
985 (MAX_CHAR_96): New macro.
986 (MIN_CHAR_94x94): New macro.
987 (MAX_CHAR_94x94): New macro.
988 (MIN_CHAR_96x96): New macro.
989 (MAX_CHAR_96x96): New macro.
990 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
991 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
992 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
994 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
995 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
996 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
997 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
998 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
999 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
1000 `XCHARSET_LEADING_BYTE' to make code-point.
1001 (latin_a_char_to_charset): New variable.
1002 (latin_a_char_to_byte1): New variable.
1003 (latin_a_char_to_byte2): New variable.
1004 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
1005 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
1006 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
1008 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
1009 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
1010 (find_charsets_in_emchar_string): Likewise.
1011 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
1013 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
1015 (decode_coding_iso2022): Likewise.
1017 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
1020 * redisplay.c (redisplay_text_width_emchar_string): Use
1021 `Charset_ID' instead of `unsigned char'.
1022 (redisplay_frame_text_width_string): Likewise.
1024 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
1027 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
1028 instead of `unsigned char'.
1029 (face_cachel_charset_font_metric_info): Likewise.
1031 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
1032 (get_non_ascii_char_table_value): Likewise.
1033 (get_char_table): Likewise.
1034 (put_char_table): Likewise.
1035 (map_over_other_charset): Likewise.
1036 (map_char_table): Likewise.
1038 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
1039 instead of `unsigned char'.
1041 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
1043 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
1044 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
1046 * mule-charset.c (leading_code_private_11): Don't define in
1049 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
1050 in UTF-2000 because it is not ported yet and not to use
1051 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
1053 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
1055 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
1057 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1059 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
1062 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
1063 of unsigned char to store leading-byte.
1065 * chartab.c (get_non_ascii_char_table_value): Don't use
1066 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
1068 * file-coding.c (encode_coding_big5): Delete bogus implementation
1071 * character.h (LEADING_BYTE_*): Delete definition for
1073 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
1074 (LEADING_BYTE_PREFIX_P): Deleted.
1075 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
1076 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
1077 (BUFBYTE_LEADING_BYTE_P): Deleted.
1078 (CHARSET_PRIVATE_P): Deleted unconditionally.
1079 (rep_bytes_by_first_byte): Deleted unconditionally.
1080 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
1081 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
1082 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1083 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
1084 (CHAR_FIELD2): Deleted.
1085 (CHAR_FIELD3): Deleted.
1086 (MAKE_CHAR): Delete definition for non-UTF-2000.
1087 (BREAKUP_CHAR_1_UNSAFE): Deleted.
1088 (breakup_char_1): New implementation.
1089 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
1090 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1092 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1094 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1097 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1099 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1100 (CHARSET_PRIVATE_P): Likewise.
1101 (XCHARSET_PRIVATE_P): Likewise.
1102 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1104 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1106 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1108 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1110 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1111 (NUM_LEADING_BYTES): Changed from 128 to 256.
1112 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1113 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1115 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1117 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1119 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1120 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1121 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1122 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1123 (Qchinese_cns11643_3): New variable in UTF2000.
1124 (Qchinese_cns11643_4): New variable in UTF2000.
1125 (Qchinese_cns11643_5): New variable in UTF2000.
1126 (Qchinese_cns11643_6): New variable in UTF2000.
1127 (Qchinese_cns11643_7): New variable in UTF2000.
1128 (syms_of_mule_charset): Define `chinese-cns11643-3',
1129 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1130 and `chinese-cns11643-7' in UTF2000.
1131 (vars_of_mule_charset): Initialize
1132 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1134 (complex_vars_of_mule_charset): Setup charset
1135 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1136 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1138 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1140 * mule-charset.c: Move setting for `leading-code-private-11' from
1141 `syms_of_mule_charset' to `vars_of_mule_charset'.
1143 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1145 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1146 and `NUM_LEADING_BYTES' in assert.
1148 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1150 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1152 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1153 `NUM_LEADING_BYTES' instead of 128.
1155 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1157 * mule-charset.h (charset_by_leading_byte): Use
1158 `NUM_LEADING_BYTES' instead of 128.
1159 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1161 * mule-charset.c (charset_by_leading_byte): Use
1162 `NUM_LEADING_BYTES' instead of 128.
1163 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1165 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1168 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1170 * mule-charset.c (syms_of_mule_charset): Update to
1173 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1175 * file-coding.c (encode_coding_sjis): New implementation for
1176 UTF2000. (decode_coding_sjis): Ditto.
1178 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1180 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1181 Don't define in UTF2000.
1183 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1186 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1187 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1190 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1192 * config.h.in (CHAR_IS_UCS4): New macro.
1194 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1195 conventional MULE representation.
1196 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1198 * mule-charset.h: Reverted to original.
1200 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1201 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1202 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1204 * character.h: New file.
1206 * file-coding.c (Fmake_coding_system): Set 1 to
1207 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1209 (encode_coding_no_conversion): New implementation for UTF2000.
1211 * file-coding.h (struct Lisp_Coding_System): Add new member
1214 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1216 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1217 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1218 (encode_coding_iso2022): New implementation for UTF2000.
1220 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1222 * mule-canna.c (c2mu): New implementation for UTF2000.
1225 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1227 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1229 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1231 * file-coding.c (reset_encoding_stream): Set 0 to
1232 `str->iso2022.current_char_boundary' in UTF2000.
1233 (encode_utf8): Don't define in UTF2000.
1234 (encode_coding_utf8): New implementation for UTF-8 representation
1236 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1238 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1240 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1242 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1244 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1246 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1248 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1249 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1250 as UTF-8 in UTF2000.
1251 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1252 (non_ascii_valid_char_p): Don't define in UTF2000.
1253 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1254 (Lstream_get_emchar_1): Likewise.
1255 (utf-2000-version): New variable in UTF2000.
1257 * lread.c (read_escape): Add new reader `u'.
1259 * insdel.c (three_to_one_table): Don't define in UTF2000.
1260 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1261 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1263 (bytind_to_bufpos_func): Likewise.
1264 (buffer_mule_signal_inserted_region): Likewise.
1265 (vars_of_insdel): Don't initialize `three_to_one_table'.
1266 (init_buffer_text): Use `buf->text->mule_size' instead of
1267 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1270 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1271 UTF-8 representation in UTF2000.
1272 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1273 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1274 (decode_coding_iso2022): Don't define local variable `lb' in
1275 UTF2000; don't use LEADING_BYTE in UTF2000; use
1276 `DECODE_ADD_UCS_CHAR' in UTF2000.
1277 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1279 * config.h.in (UTF2000): New macro.
1281 * buffer.h (struct buffer_text): Add new member `mule_size' and
1282 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1283 (valid_char_p): Return always 1 in UTF2000.
1284 (MAX_EMCHAR_LEN): 6 in UTF2000.
1285 (three_to_one_table): Don't define in UTF2000.
1286 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1288 (real_bytind_to_bufpos): Likewise.
1290 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1292 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1294 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1295 representation change.
1296 (Vutf_2000_version): New variable.
1297 (leading_code_private_11): New variable.
1298 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1299 `leading-code-private-11'.
1301 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1302 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1303 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1304 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1305 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1306 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1307 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1308 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1309 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1310 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1311 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1312 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1313 (MIN_CHAR_GREEK): New macro.
1314 (MAX_CHAR_GREEK): New macro.
1315 (MIN_CHAR_CYRILLIC): New macro.
1316 (MAX_CHAR_CYRILLIC): New macro.
1317 (MIN_CHAR_HEBREW): New macro.
1318 (MAX_CHAR_HEBREW): New macro.
1319 (MIN_CHAR_THAI): New macro.
1320 (MAX_CHAR_THAI): New macro.
1321 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1322 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1323 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1324 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1325 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1326 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1327 (CHAR_FIELD2): New inline function.
1328 (CHAR_FIELD3): New inline function.
1329 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1330 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1331 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1332 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1333 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1334 (MIN_CHAR_COMPOSITION): Likewise.
1335 (CHAR_LEADING_BYTE): Modified for character representation change.
1336 (MAKE_CHAR): Likewise.
1338 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1339 (Vcharset_greek_iso8859_7): Likewise.
1340 (Vcharset_cyrillic_iso8859_5): Likewise.
1341 (Vcharset_hebrew_iso8859_8): Likewise.
1342 (Vcharset_thai_tis620): Likewise.
1343 (Vcharset_katakana_jisx0201): Likewise.
1345 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1347 * file-coding.c (determine_real_coding_system): Treat `coding:'
1350 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1352 * file-coding.c (struct decoding_stream): New member `counter'.
1353 (reset_decoding_stream): Initialize `counter'.
1354 (decode_coding_ucs4): Use `counter'.
1355 (decode_coding_utf8): Likewise.
1357 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1359 * XEmacs 21.2.19 is released
1361 1999-07-27 Jeff Miller <jmiller@smart.net>
1363 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1364 menubar_show_keybindings.
1366 1999-07-23 SL Baur <steve@miho>
1368 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1369 definition of Qccl_program.
1371 * mule-ccl.h: Make a global declaration of it here.
1373 1999-07-20 Bob Weiner <weiner@beopen.com>
1375 * s/sco7.h: Added from rr@sco.com.
1377 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1379 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1381 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1383 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1384 (mule_encode): Likewise.
1386 * mule-ccl.c (Qccl_program): New variable.
1387 (CCL_SUSPEND): New macro.
1388 (CCL_INVALID_CMD): New macro.
1389 (CCL_READ_CHAR): Don't regard as invalid command while processing
1390 the last block even if input is empty; use
1391 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1392 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1394 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1395 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1396 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1397 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1398 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1400 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1402 * mule-ccl.h (struct ccl_program): New member stack_idx.
1404 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1405 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1407 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1409 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1411 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1414 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1416 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1417 processing the last block, don't just finish but processes eol
1418 block of the current CCL program.
1419 (ccl_driver): Add a new jump label ccl_repeat for the above
1422 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1424 * mule-ccl.c: Typo in comments fixed.
1425 (Qccl_program_idx): New variables.
1426 (CCL_ReadMultibyteChar2): Macro name changed from
1427 CCL_ReadMultibyteCharacter.
1428 (CCL_WriteMultibyteChar2): Macro name changed from
1429 CCL_WriteMultibyteChar2.
1430 (ccl_driver): Adjusted for the above changes.
1431 (resolve_symbol_ccl_program): New function.
1432 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1433 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1434 numbers by resolve_symbol_ccl_program.
1435 (Fccl_execute_on_string): Likewise.
1436 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1437 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1439 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1441 * mule-ccl.h: (struct ccl_program): New member private_state.
1444 (CCL_Call): Fix the comment.
1445 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1446 macros for CCL Commands.
1448 (ccl_driver): New case lable `CCL_Extention'.
1449 (setup_ccl_program): Initialize the member `private_state' of CCL.
1451 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1453 * keymap.c (copy_keymap_internal): Inherit the default binding.
1455 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1457 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1458 focus the event (XIM_focus_event).
1459 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1460 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1461 the interface for future use (XIM_SetGeometry).
1462 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1463 location (XIM_SetSpotLocation).
1464 (x_output_eol_cursor): Ditto.
1466 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1468 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1469 Olivier's change to lrecord.h of 1999-04-22
1471 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1473 * gutter.c (redraw_exposed_gutter): Change type of pos from
1474 enum toolbar_pos -> enum gutter_pos, since former is only defined
1475 if toolbar support is.
1477 1999-07-19 Andy Piper <andy@xemacs.org>
1479 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1482 * gutter.c (gutter_validate): new function for the gutter specifier.
1483 (specifier_type_create_gutter): declare specifier validator.
1485 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1487 1999-07-18 Andy Piper <andy@xemacs.org>
1489 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1491 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1493 (mswindows_resize_subwindow): new function.
1495 * gutter.c (redraw_exposed_gutter): only reset the
1496 current_display_lines if non-zero.
1497 (Fgutter_pixel_height): new function.
1498 (Fgutter_pixel_width): new function.
1500 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1501 we want to retrive from the tab control.
1503 1999-07-17 Andy Piper <andy@xemacs.org>
1505 * window.c (change_window_height): mark gutters changed when we're
1508 * gutter.c (specifier_vars_of_gutter): make defaults more
1511 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1513 (DEFAULT_GUTTER_WIDTH): change.
1514 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1516 1999-07-18 Andy Piper <andy@xemacs.org>
1518 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1520 1999-07-16 Andy Piper <andy@xemacs.org>
1522 * frame.c (Fmake_frame): call init_frame_gutters().
1524 * redisplay.c (add_emchar_rune): use string functions if we are
1525 working with a string.
1526 (position_redisplay_data_type): add string element.
1528 1999-07-15 Andy Piper <andy@xemacs.org>
1530 * winslots.h: add real_gutter_size slots to hold the actual gutter
1531 size. This is important for autodetected sizes.
1533 * gutter.c (calculate_gutter_size): calculate size for gutters
1534 that have 'autodetect size.
1536 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1537 extent of divider for gutters.
1539 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1540 divider for gutters.
1542 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1543 position to take into account the gutters.
1545 * redisplay.c (generate_modeline): adjust modeline position to
1546 take into account the gutters.
1548 1999-07-14 Andy Piper <andy@xemacs.org>
1550 * gutter.c (frame_topmost_window): new function.
1551 (frame_bottommost_window): ditto.
1552 (frame_leftmost_window): ditto.
1553 (frame_rightmost_window): ditto.
1555 1999-07-13 Andy Piper <andy@xemacs.org>
1557 * redisplay.c (calculate_display_line_boundaries): use text
1558 boundaries so that gutters get handled properly.
1560 1999-07-12 Andy Piper <andy@xemacs.org>
1562 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1565 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1568 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1571 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1573 * gutter.c: new file - implements gutters. All new functions are
1574 semantically equivalent to the toolbar functions.
1575 (gutter_was_visible): new function.
1576 (get_gutter_coords): ditto.
1577 (output_gutter): ditto.
1578 (clear_gutter): ditto.
1579 (update_frame_gutters): ditto.
1580 (redraw_exposed_gutter): ditto.
1581 (redraw_exposed_gutters): ditto.
1582 (free_frame_gutters): ditto.
1583 (init_frame_gutters): ditto.
1584 (decode_gutter_position): ditto.
1585 (Fset_default_gutter_position): ditto.
1586 (Fset_default_gutter_position): ditto.
1587 (Fdefault_gutter_position): ditto.
1588 (gutter_after_change): ditto.
1589 (Fgutter_specifier_p): ditto.
1590 (recompute_overlaying_specifier): ditto.
1591 (gutter_specs_changed): ditto.
1592 (default_gutter_specs_changed): ditto.
1593 (gutter_geometry_changed_in_window): ditto.
1594 (default_gutter_size_changed_in_window): ditto.
1595 (default_gutter_border_width_changed_in_window): ditto.
1596 (default_gutter_visible_p_changed_in_window): ditto.
1597 (syms_of_gutter): ditto.
1598 (vars_of_gutter): ditto.
1599 (specifier_type_create_gutter): ditto.
1600 (specifier_vars_of_gutter): ditto.
1602 * gutter.h: new file. Contains gutter constants and sizing macros
1603 similar to those for the toolbar.
1605 * winslots.h: add gutter variables.
1607 * window.h: declare window_is_* functions.
1609 * window.c (window_is_lowest): make non-static.
1610 (window_is_highest): ditto.
1611 (window_top_toolbar_height): deleted.
1612 (window_bottom_toolbar_height): deleted.
1613 (window_left_toolbar_width): deleted.
1614 (window_right_toolbar_width): deleted.
1615 (window_top_gutter_height): add gutter sizing.
1616 (window_bottom_gutter_height): ditto.
1617 (window_left_gutter_width): ditto.
1618 (window_right_gutter_width): ditto.
1620 * symsinit.h: declarations for gutters vars etc.
1622 * search.c (bi_find_next_emchar_in_string): new function.
1624 * scrollbar.c (update_scrollbar_instance): remove reference to
1625 window_bottom_toolbar_height which did nothing.
1627 * redisplay.h (struct display_line): add face indices for
1628 overriding defaults in output_display_line.
1629 Add gutter_changed flags and declarations.
1631 * redisplay.c (create_string_text_block): new function, similar to
1632 create_text_block but for strings. Display tables etc are used
1633 from the currently selected window.
1634 (generate_string_display_line): ditto. Similar to
1635 generate_display_line.
1636 (generate_displayable_area): generate display lines for a given
1637 area on a frame. Input is the string, with associated extents, to
1639 (redisplay_frame): add gutter_changed check.
1640 (redisplay_device): ditto.
1641 (redisplay_without_hooks): ditto.
1643 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1644 (x_redraw_exposed_area): redraw exposed gutters.
1645 (x_bevel_area): new redisplay device method.
1646 (x_type_create_redisplay_mswindows): add bevel_area device method.
1647 (x_output_display_block): fiddly Martin-style cleanup.
1648 (x_output_vertical_divider): use bevel_area.
1650 * redisplay-output.c (output_display_line): check display_lines
1651 for face information before using defaults.
1652 (bevel_modeline): new function, calls bevel_area with appropriate
1655 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1656 (mswindows_redraw_exposed_area): redraw exposed gutters.
1657 (mswindows_bevel_area): new redisplay device method.
1658 (console_type_create_redisplay_mswindows): add bevel_area device
1661 * indent.c (string_column_at_point): add column_at_point but for
1664 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1665 instantiate widgets that we have a toolkit for.
1667 * general.c: add Qgutter.
1669 * frame.h (struct frame): add display lines for gutters and
1672 * frame.c (set_frame_selected_window): mark gutters changed.
1674 * emacs.c (main_1): add gutter initialisation.
1676 * device.h (struct device): add gutter_changed flag and macros to
1679 * console.h (struct console_methods): new bevel area redisplay
1682 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1683 REAL_INC_BYTIND is for buffers.
1684 (INC_CHARPTR): ditto.
1686 * Makefile.in.in (objs): add gutter.o
1688 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1690 * XEmacs 21.2.18 is released
1692 1999-07-08 SL Baur <steve@mule.m17n.org>
1694 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1696 (emacs_Xt_handle_magic_event): Ditto.
1697 * redisplay-x.c (x_output_string): Ditto.
1698 (x_output_eol_cursor): Ditto.
1700 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1702 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1703 problem that when XIM is destroyed or missed with some reason,
1704 xemacs will die. Now xim=xlib waits the XIM will be ready and
1705 endures the case of XIM end up.
1707 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1709 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1710 SIGINT and SIGCHLD before calling tt_open and restore the
1711 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1713 1999-07-06 SL Baur <steve@xemacs.org>
1715 * s/linux.h: gcc-2.8 changes for powerpc
1716 From Justin Vallon <vallon@mindspring.com>
1718 1999-07-05 Didier Verna <verna@inf.enst.fr>
1720 * indent.c: new symbol Qcoerce.
1721 (Fmove_to_column): use it + doc string update.
1723 1999-07-04 Andy Piper <andy@xemacs.org>
1725 * console.c: undo earlier Fprovide changes.
1729 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1730 function. validate appropriate image formats for tty.
1732 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1733 initialize consoles parameter.
1734 (struct image_instantiator_methods): add consoles parameter.
1735 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1737 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1740 * glyphs-msw.c: declare instantiators for later use.
1741 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1742 and friends on the mswindows console.
1743 * glyphs-x.c: ditto.
1745 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1746 that have not been registered on the supplied device.
1747 (Fvalid_image_instantiator_format_p): add locale argument.
1748 (instantiate_image_instantiator): valid image instantiator on the
1751 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1754 * emacs.c (main_1): add call to
1755 image_instantiator_format_create_glyphs_tty().
1757 1999-06-29 Olivier Galibert <galibert@pobox.com>
1759 * lisp.h: Add #include <stddef.h>.
1761 * sysdep.c: Remove #include <stddef.h>.
1762 * symbols.c: Remove #include <stddef.h>.
1763 * sheap.c: Remove #include <stddef.h>.
1764 * opaque.c: Remove #include <stddef.h>.
1765 * nt.c: Remove #include <stddef.h>.
1766 * mule-charset.c: Remove #include <stddef.h>.
1767 * marker.c: Remove #include <stddef.h>.
1768 * file-coding.c: Remove #include <stddef.h>.
1769 * extents.c: Remove #include <stddef.h>.
1770 * elhash.c: Remove #include <stddef.h>.
1771 * data.c: Remove #include <stddef.h>.
1772 * chartab.c: Remove #include <stddef.h>.
1773 * bytecode.c: Remove #include <stddef.h>.
1774 * alloc.c: Remove #include <stddef.h>. Fix vector description
1776 1999-06-30 SL Baur <steve@miho.m17n.org>
1778 * editfns.c: Document "%s" format spec.
1779 Suggested by Bob Weiner <weiner@altrasoft.com>
1781 1999-06-29 Andy Piper <andy@xemacs.org>
1783 * event-msw.c: fix definition booboo.
1785 1999-06-28 Andy Piper <andy@xemacs.org>
1787 * glyphs-x.c: change tree -> tree-view, progress ->
1788 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1790 (complex_vars_of_glyphs_x): provide-on-console the implemented
1793 * glyphs-msw.c: ditto.
1794 (complex_vars_of_glyphs_mswindows): ditto.
1796 * lisp.h: add Fprovide_on_console.
1798 * fns.c (Ffeaturep): add extra optional console argument.
1799 (Fprovide_on_console): like Fprovide but provides only on the
1800 specified console-type.
1801 (Frequire): check console-features as well as global features.
1803 * console.c (Fconsole_features): new function. return features for
1805 (syms_of_console): add Fconsole_features.
1807 * console.h (CONMETH_FEATURES): new function for accessing features.
1808 (CONSOLE_FEATURES): ditto.
1809 (struct console_methods): add features slot.
1810 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1812 1999-06-28 Andy Piper <andy@xemacs.org>
1814 * event-Xt.c (handle_focus_event_1): conditionally compile for
1817 * s/cygwin32.h: fix me website address.
1819 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1821 * gui-x.c (button_item_to_widget_value): only add callback if it
1824 * glyphs-x.c: add progress, edit and combo instantiators.
1825 (x_widget_set_property): new function. uses lwlib to set widget
1827 (x_widget_property): new function. uses lwlib to get widget
1829 (x_button_instantiate): support images in buttons.
1830 (x_button_property): new function. use lwlib to get the selected
1832 (x_progress_instantiate): new function for instantiating progress
1834 (x_progress_set_property): new function. sets the progress gauge
1836 (x_edit_instantiate): new function. for instantiating edit fields.
1837 (x_combo_instantiate): new function. for instantiating combo
1839 (image_instantiator_format_create_glyphs_x): add new device ii
1842 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1844 * console.h (CONSOLE_FEATURES): new features accesor.
1846 * conslots.h (MARKED_SLOT): add features entry.
1848 1999-06-25 Andy Piper <andy@xemacs.org>
1850 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1853 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1855 * gui.h (struct Lisp_Gui_Item): add accelerator.
1857 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1858 (gui_item_init): ditto.
1859 (gui_add_item_keywords_to_plist): ditto.
1860 (mark_gui_item): ditto.
1861 (gui_item_hash): ditto.
1862 (gui_item_accelerator): new function.
1863 (gui_name_accelerator): new function stolen from gui-x.c
1865 * gui-x.c (popup_selection_callback): always define. mark
1866 subwindows changed after calling a callback.
1867 (menu_name_to_accelerator): deleted.
1868 (button_item_to_widget_value): forward gui_item things to gui_item
1871 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1872 appropriate accesors.
1874 * glyphs-x.c: declare new glyph formats.
1875 (x_finalize_image_instance): unmanage and destroy widgets if they
1877 (x_unmap_subwindow): handle widgets specially.
1878 (x_map_subwindow): ditto. offset display of widgets by offset of
1879 text widget within container.
1880 (x_update_subwindow): new function. call lw_modify_all_widgets
1881 when we are a widget.
1882 (x_widget_instantiate): new function for generically creating
1883 widgets-glyphs. toolkit specifics forwarded to lwlib.
1884 (x_button_instantiate): new function for instantiating
1885 widgets-glyph buttons.
1886 (console_type_create_glyphs_x): register update_subwindow.
1887 (image_instantiator_format_create_glyphs_x): register widget and
1890 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1892 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1893 when we get a button press in case we do not have the focus.
1894 (handle_focus_event_1): set the keyboard focus to the text widget
1895 if we do not have it.
1897 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1900 1999-06-24 SL Baur <steve@miho.m17n.org>
1902 * syntax.c (scan_words): Restore non-Mule code.
1903 (word_constituent_p): Restore.
1905 1999-06-23 Olivier Galibert <galibert@pobox.com>
1907 * config.h.in: Add missing #undef *_USER_DEFINED.
1909 1999-06-23 SL Baur <steve@miho.m17n.org>
1911 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1912 int (fixes a 64-bit problem).
1914 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1917 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1919 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1921 1999-06-22 Olivier Galibert <galibert@pobox.com>
1923 * lrecord.h: Added basic external description system.
1925 * symbols.c: Added symbol, symbol-value-buffer-local,
1926 symbol-value-lisp-magic and symbol-value-varalias description.
1927 * mule-charset.c: Added charset description.
1928 * marker.c: Added marker description.
1929 * keymap.c: Added keymap description.
1930 * glyphs.c: Added glyph description.
1931 * floatfns.c: Added float description.
1932 * file-coding.c: Added coding-system description.
1933 * extents.c: Added extent description.
1934 * elhash.c: Added hash-table description.
1935 * data.c: Added weak-list desciption.
1936 * chartab.c: Added char-table-entry and char-table description.
1937 * bytecode.c: Added compiled-function description.
1938 * alloc.c: Added cons, vector and string description.
1940 1999-06-22 Olivier Galibert <galibert@pobox.com>
1942 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1943 Updated everything to the removal of the "flags" substructure.
1945 * lisp.h (subr_lheader_initializer): Updated.
1946 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1948 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1950 * syntax.c (word_constituent_p): Deleted.
1951 (scan_words): Use `WORD_BOUNDARY_P'.
1953 * chartab.c (Vword_combining_categories): New variable.
1954 (Vword_separating_categories): Likewise.
1955 (CATEGORYP): New macro.
1956 (CATEGORY_SET): Likewise.
1957 (CATEGORY_MEMBER): Likewise.
1958 (word_boundary_p): New function.
1959 (complex_vars_of_chartab): Set up new variable
1960 `word-combining-categories' and `word-separating-categories'.
1962 1999-06-18 Olivier Galibert <galibert@pobox.com>
1964 * lrecord.h: Added description as a placehold in the lrecord
1965 implementation structures. Added the parameter to all constructor
1968 * alloc.c: Added placeholders.
1970 * bytecode.c: Ditto.
1974 * database.c: Ditto.
1979 * event-stream.c: Ditto.
1983 * file-coding.c: Ditto.
1984 * floatfns.c: Ditto.
1992 * mule-charset.c: Ditto.
1996 * rangetab.c: Ditto.
1997 * specifier.c: Ditto.
2000 * tooltalk.c: Ditto.
2003 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
2005 * XEmacs 21.2.17 is released
2007 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
2009 * config.h.in (HAVE_LDAP_SET_OPTION): New define
2010 (HAVE_LDAP_GET_LDERRNO): Ditto
2011 (HAVE_LDAP_RESULT2ERROR): Ditto
2012 (HAVE_LDAP_PARSE_RESULT): Ditto
2013 (HAVE_UMICH_LDAP): Removed
2014 (HAVE_NS_LDAP): Removed
2016 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
2017 suggested by Olivier Galibert
2018 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
2020 * eldap.c: Take the removal of `livep' into account in all the
2022 (signal_ldap_error): Take two additional parameters
2023 Added new finer compilation conditions in order to use
2024 ldap_parse_result or ldap_result2error if available
2025 (Fldap_open): Conform to this new API
2026 (Fldap_search_internal): Ditto
2028 1999-06-17 SL Baur <steve@miho.m17n.org>
2030 * data.c (struct int_or_double): Should use EMACS_INT not int.
2032 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
2034 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
2037 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2039 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
2040 `CCL_MODE_ENCODING'.
2042 * file-coding.c (mule_decode): Run `ccl_driver' with
2043 `CCL_MODE_DECODING'.
2044 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2046 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
2047 (ccl_driver): Add new argument `conversion_mode'.
2048 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2049 (Fccl_execute_on_string): Likewise [perhaps it is better to add
2050 new optional argument].
2052 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
2053 (CCL_MODE_DECODING): New macro.
2054 (ccl_driver): Add new argument `conversion_mode'.
2056 1999-06-15 SL Baur <steve@miho.m17n.org>
2058 * mule-charset.c (Fsplit_char): New subr.
2059 (Fchar_octet): delete.
2060 (syms_of_mule_charset): DEFSUBR it.
2062 1999-06-13 Andy Piper <andy@xemacs.org>
2064 * menubar.h: update declarations involving gui_items.
2066 * lisp.h: declare Lisp_Gui_Item.
2068 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
2070 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
2071 (print_image_instance): ditto.
2072 (image_instance_equal): ditto.
2073 (image_instance_hash): ditto.
2075 * event-msw.c (mswindows_need_event): assert badly_p status.
2076 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
2077 callbacks in tree-view and tab-control widgets.
2078 (emacs_mswindows_next_event): modify use of
2079 mswindows_dequeue_dispatch_event.
2081 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
2082 lisp-based gui_items.
2084 * glyphs-msw.c (mswindows_update_subwindow): update use of
2086 (mswindows_register_gui_item): new function.
2087 (mswindows_register_gui_item): fix to use lisp gui_items.
2088 (mswindows_widget_instantiate): ditto.
2089 (mswindows_button_instantiate): ditto.
2090 (add_tree_item): new function to recursively add tree view
2092 (add_tree_item_list): ditto.
2093 (mswindows_tree_instantiate): new function. instantiate tree view
2095 (add_tab_item): new function to add tabs to a tab control.
2096 (mswindows_tab_instantiate): new function. instantiate tab
2098 (image_instantiator_format_create_glyphs_mswindows): add tree view
2100 (vars_of_glyphs_mswindows): ditto.
2102 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
2104 (check_valid_item_list): ditto.
2105 (initialize_widget_image_instance): fix to use new lisp gui_item.
2106 (widget_instantiate_1): allow the setting of default textwidth in
2108 (widget_instantiate): change to use new widget_instantiate_1
2110 (combo_instantiate): ditto.
2111 (static_instantiate): ditto.
2112 (tab_instantiate): new function for tab widgets.
2113 (image_instantiator_format_create_glyphs_widget): add tab and tree
2116 * menubar-msw.c (displayable_menu_item): convert to use lisp
2118 (populate_menu_add_item): ditto.
2119 (populate_or_checksum_helper): ditto.
2121 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
2123 (Fmenu_find_real_submenu): ditto.
2125 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
2127 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
2128 objects, convert functions that use them accordingly.
2129 (gui_item_init): ditto.
2130 (gui_item_active_p): ditto.
2131 (gui_item_selected_p): ditto.
2132 (gui_item_included_p): ditto.
2133 (gui_item_display_flush_left): ditto.
2134 (gui_item_display_flush_right): ditto.
2135 (mark_gui_item): ditto.
2136 (allocate_gui_item): new function to create a gui_item.
2137 (make_gui_item_from_keywords_internal): ditto. create and return a
2138 gui_item as well as setting keywords.
2139 (gui_parse_item_keywords): ditto.
2140 (gui_parse_item_keywords_no_errors): ditto.
2141 (gui_add_item_keywords_to_plist): new function, not yet used.
2142 (gui_item_hash): new function.
2143 (gui_item_id_hash): use gui_item_hash.
2144 (gui_item_equal): new function.
2145 (print_gui_item): new function.
2147 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
2149 * XEmacs 21.2.16 is released
2151 1999-06-10 Andy Piper <andy@xemacs.org>
2153 * select-msw.c (mswindows_own_selection): only set the clipboard
2155 (mswindows_get_foreign_selection): only get the clipboard if
2157 (mswindows_disown_selection): only disown the clipboard if asked.
2159 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2161 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
2163 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
2164 of coding-category `no-conversion'.
2166 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2168 * file-coding.c (Qraw_text): New variable.
2169 (syms_of_mule_coding): Add new symbol `raw-text'.
2170 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
2171 define coding-system `binary' independently; define coding-system
2172 `no-conversion' as an alias for `raw-text'.
2174 * file-coding.h (Qraw_text): New variable.
2176 1999-06-08 SL Baur <steve@xemacs.org>
2178 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2180 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2182 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2184 (base64_decode_1): Signal errors instead of returning -1.
2186 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2188 * mule-charset.c (Fmake_char): Update docstring.
2190 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2192 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2194 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2196 * fns.c (base64_decode_1): Allow and ignore any non-base64
2197 characters in input.
2199 1999-05-27 Olivier Galibert <galibert@pobox.com>
2201 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2202 of report_pure_usage().
2204 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2206 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2208 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2210 * XEmacs 21.2.15 is released
2212 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2214 * frame.c (Fset_mouse_position):
2215 (Fset_mouse_pixel_position):
2216 * window.c (Fsplit_window):
2217 (Fmove_to_window_line):
2218 Fix crash when invoking functions with an already-deleted window
2221 * indent.c (vertical_motion_1):
2223 (Fvertical_motion_pixels):
2224 * window.c (Fwindow_displayed_text_pixel_height):
2225 Fix error message when invoking functions with an already-deleted
2228 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2230 * sysdep.c (request_sigio_on_device): Guard against glibc
2231 2.1's stub streams implementation.
2233 1999-06-03 SL Baur <steve@xemacs.org>
2236 * emacs.c: Implement x.y.z version numbers
2237 From Jan Vroonhof <vroonhof@math.ethz.ch>
2239 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2241 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2242 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2245 1999-06-03 SL Baur <steve@xemacs.org>
2248 * device-x.c: rename session option to wmcommand.
2249 From Oliver Graf <ograf@rhein-zeitung.de>
2251 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2253 * fns.c (Fsubstring): Don't traverse the same region twice with
2254 charcount_to_bytecount().
2256 1999-06-03 SL Baur <steve@steve1.m17n.org>
2258 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2261 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2262 doesn't really work as is implied by the commentary).
2263 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2265 1999-06-02 SL Baur <steve@steve1.m17n.org>
2267 * symsinit.h: Declare vars_of_ntproc.
2268 * emacs.c (main_1): Call it.
2270 * ntproc.c (syms_of_ntproc): Move variable initializations from
2272 (vars_of_ntproc): ... to here [new function].
2274 * file-coding.c (syms_of_file_coding): Rename.
2275 (vars_of_file_coding): Ditto.
2276 (complex_vars_of_file_coding): Ditto.
2278 * symsinit.h: Rename *_mule_coding to *_file_coding.
2280 * emacs.c (main_1): Call them by the proper name.
2282 * device-msw.c (syms_of_device_mswindows): Move variable
2283 initializations from here ...
2284 (vars_of_device_mswindows): ... to here.
2286 * chartab.c (vars_of_chartab): New function.
2288 * symsinit.h: New function, vars_of_chartab.
2290 * emacs.c (main_1): Call it.
2292 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2293 (vars_of_mule_canna): ... to here.
2295 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2296 initializations out of syms_of_mule_ccl.
2298 * symsinit.h: Declare new function vars_of_mule_ccl.
2300 * emacs.c (main_1): Call it.
2302 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2304 * fns.c (base64_decode_1): Ignore whitespace.
2306 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2308 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2311 1999-05-21 Andy Piper <andy@xemacs.org>
2313 * xselect.c: deleted.
2315 * symsinit.h: declare select initialisation.
2317 * select.h: new file. declare commonly used select functions and
2320 * select.c: new file. generalised from xselect.c.
2321 (clean_local_selection_data): moved from xselect.c.
2322 (get_local_selection): ditto. device specific pieces called via a
2324 (handle_selection_clear): ditto.
2325 (Fown_selection_internal): renamed and generalised from
2326 Fx_own_selection_internal. moved from xselect.c.
2327 (Fdisown_selection_internal): ditto.
2328 (Fselection_owner_p): ditto.
2329 (Fselection_exists_p): ditto.
2330 (Fget_selection_internal): ditto.
2331 (syms_of_select): new function. QXXXX values moved from xselect.c
2332 (vars_of_select): new function. selection_converter_alist,
2333 lost_selection_hooks moved and renamed from xselect.c
2335 * select-x.c: renamed from xselect.c.
2336 (x_own_selection): converted to device specific. non-X-specific
2337 bits moved to select.c.
2338 (x_get_foreign_selection): ditto.
2339 (x_disown_selection): ditto.
2340 (x_selection_exists_p): ditto.
2341 (console_type_create_select_x): new function.
2343 * select-msw.c (mswindows_own_selection): new device method to set
2344 the clipboard when we 'own' the selection.
2345 (mswindows_get_foreign_selection): new device method to get the
2347 (mswindows_disown_selection): new device method to delete the
2348 selection when we 'disown' it.
2349 (console_type_create_select_mswindows): new function.
2351 * emacs.c (main_1): add select to things to initialise.
2353 * console.h (struct console_methods): new console methods for
2356 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2358 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2360 * print.c (long_to_string): Install a faster version.
2362 1999-05-16 Andy Piper <andy@xemacs.org>
2364 * ntproc.c (syms_of_ntproc): default
2365 win32-start-process-share-console to t.
2367 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2369 * config.h.in: Do it here.
2371 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2373 1999-05-14 Andy Piper <andy@xemacs.org>
2375 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2378 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2380 * XEmacs 21.2.14 is released
2382 1999-05-12 Andy Piper <andy@xemacs.org>
2384 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2386 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2388 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2389 run_temacs_argv array -- fixes random memory corruption crash
2391 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2393 * window.c (Fcurrent_window_configuration):
2394 Save minibuffer height;
2396 * window.c (set_window_configuration): use it.
2398 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2400 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2402 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2404 * redisplay.c (redisplay_window): Do not put data
2405 in the line start cache if it is not guaranteed to be correct
2407 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2409 * window.c (struct window_config): Removed frame
2411 (window_config_equal): No longer compare frame sizes.
2412 (Fset_window_configuration): Resize old top window to fit in the
2413 current frame directly, no longer use a fake frame resize.
2414 (Fcurrent_window_configuration): No longer save frame size
2416 1999-05-11 Andy Piper <andy@xemacs.org>
2418 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2421 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2423 * sysdep.c (init_system_name): If gethostname gives a proper
2424 domain name, don't look further for one.
2426 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2428 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2429 (Fintern_soft): Accept a symbol argument.
2431 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2433 * symbols.c (Fintern): ...do it here.
2435 * lread.c (read_atom): Don't handle keywords here.
2437 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2439 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2441 1999-05-03 Olivier Galibert <galibert@pobox.com>
2443 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2444 is interned in the main obarray.
2446 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2448 * menubar-x.c (pre_activate_callback): set accelerator field in
2449 "No menu" entries to nil. Avoid crash in
2450 command_builder_operate_menu_accelerator
2452 1999-05-03 Olivier Galibert <galibert@pobox.com>
2454 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2456 * lisp.h (DEFUN): Fix lrecord header initialisation.
2458 1999-05-02 Andy Piper <andy@xemacs.org>
2460 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2462 * ntproc.c (sys_kill): cast using MS mandated defines.
2464 1999-04-29 Andy Piper <andy@xemacs.org>
2466 * m/intel386.h: remove redundant definitions.
2468 * s/mingw32.h: new header for mingw32.
2470 * unexnt.c: (open_input_file): function moved to nt.c.
2471 (close_file_data): ditto.
2472 (rva_to_section): function moved to ntproc.
2474 * symsinit.h: declare syms_of_ntproc();
2476 * objects-msw.c (mswindows_font_instance_truename): new function.
2478 * ntproc.c: remove many warnings.
2479 (_sys_read_ahead): moved from nt.c and made static.
2480 (rva_to_section): moved from unexnt.c but not defined under
2482 (win32_executable_type): implement what we can for mingw32
2484 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2486 * ntheap.h: remove declarations of functions that are now static.
2488 * ntheap.c: support static heap.
2490 * nt.h: conditionalise X_OK definition.
2492 * nt.c: eliminate many warnings and support mingw32.
2493 (open_input_file): function moved from unexnt.c and made static
2494 (close_file_data): ditto.
2495 (_sys_read_ahead): moved to ntproc.c
2497 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2499 * console-msw.h: support mingw32.
2500 * getloadavg.c: ditto.
2507 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2508 some systems don't have all of the encapsulated system calls.
2510 * callproc.c: warning elimination.
2511 * dired-msw.c: ditto.
2512 * process-nt.c: ditto.
2513 * realpath.c: ditto.
2515 * Makefile.in.in: tweak : and ; for building under mswindows.
2517 1999-04-26 Michael Harnois <mharnois@willinet.net>
2519 * eldap.c (allocate_ldap): Adapt to the new semantics of
2520 alloc_lcrecord_type().
2522 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2524 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2526 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2528 * Delete mule-coding.c and mule-coding.h because they are not
2531 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2533 * objects.c (print_font_instance): Check for NILP(f->device),
2534 i.e. Vthe_null_font_instance.
2535 (font_instance_truename_internal): ditto.
2536 (Ffont_instance_properties): ditto.
2538 1999-04-22 Olivier Galibert <galibert@pobox.com>
2540 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2543 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2545 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2546 it easier to add new ones.
2548 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2550 * symbols.c (reject_constant_symbols): Ditto.
2551 (init_symbols_once_early): Ditto.
2553 * print.c (print_symbol): Don't use ->obarray.
2555 * symbols.c (Funintern): Ditto.
2557 * alloc.c (Fmake_symbol): Don't set ->obarray.
2559 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2561 * symbols.c (init_symbols_once_early): Removed
2562 Vpure_uninterned_symbol_table.
2563 (Fintern): Don't store to ->obarray field.
2565 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2567 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2568 (eq_with_ebola_notice): Remove abracadabra support.
2570 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2572 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2573 retrieve the distinguished names of entries
2575 1999-03-08 Martin Buchholz <martin@xemacs.org>
2577 * lread.c (read_escape): Make hex escapes read only two hex digits.
2579 1999-04-05 Olivier Galibert <galibert@pobox.com>
2581 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2582 * make-src-depend: Remove puresize-adjust.h.
2583 * src-headers: Remove puresize-adjust.h.
2584 * config.h.in: Kill everything purespace/gung-ho related.
2586 * dbxrc: Make gung-ho mandatory.
2589 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2590 c_readonly and lisp_readonly. Remove implementation arrays.
2591 (C_READONLY_RECORD_HEADER_P): Added.
2592 (LISP_READONLY_RECORD_HEADER_P): Added.
2593 (SET_C_READONLY_RECORD_HEADER): Added.
2594 (SET_LISP_READONLY_RECORD_HEADER): Added.
2596 * lisp.h: Kill everything purespace/non gung-ho related.
2597 (CHECK_C_WRITEABLE): Added.
2598 (CHECK_LISP_WRITEABLE): Added.
2599 (C_READONLY): Added.
2600 (LISP_READONLY): Added.
2602 * lisp-union.h: Make gung-ho mandatory.
2603 * lisp-disunion.h: Ditto.
2605 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2606 set_lheader_implementation calls.
2607 (c_readonly): Added.
2608 (lisp_readonly): Added.
2609 (make_string_nocopy): Added.
2610 (Fpurecopy): Changed to do nothing. Kept the old documentation
2611 for reference purposes for the next patches.
2612 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2613 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2614 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2616 * fns.c: Make gung-ho mandatory.
2617 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2619 (Ffillarray): Ditto.
2621 * data.c: Make gung-ho mandatory.
2622 (pure_write_error): Removed.
2623 (c_write_error): Added.
2624 (lisp_write_error): Added.
2625 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2629 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2630 make_string or make_string_nocopy. Fix various
2631 alloc_lcrecord_type.
2633 * lread.c: Remove everything purespace related.
2634 (Flocate_file_clear_hashing): purified -> c_readonly.
2635 (locate_file): Ditto.
2636 (read_atom): make_pure_pname -> make_string.
2638 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2640 (Fdump_emacs): Ditto.
2642 * print.c (print_internal): Make gung-ho mandatory.
2643 * ntheap.c (sbrk): Ditto.
2644 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2645 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2647 * sheap.c (more_static_core): Remove puresize-adjust.h from
2650 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2652 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2653 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2654 * events.c (deinitialize_event): Fix set_lheader_implementation.
2655 (zero_event): Ditto.
2656 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2657 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2658 * mule-charset.c (make_charset): Ditto.
2659 * console.c (allocate_console): Ditto.
2660 (complex_vars_of_console): Ditto.
2661 * file-coding.c (allocate_coding_system): Ditto.
2662 * device.c (allocate_device): Ditto
2663 * gui-x.c (gcpro_popup_callbacks): Ditto.
2664 * extents.c (allocate_extent_auxiliary): Ditto.
2665 (allocate_extent_info): Ditto.
2666 (copy_extent): Ditto.
2667 * glyphs.c (allocate_image_instance): Ditto.
2668 (allocate_glyph): Ditto.
2669 * frame.c (allocate_frame_core): Ditto.
2670 * database.c (allocate_database): Ditto.
2671 * tooltalk.c (make_tooltalk_message): Ditto.
2672 (make_tooltalk_pattern): Ditto.
2673 * rangetab.c (Fmake_range_table): Ditto.
2674 (Fcopy_range_table): Ditto.
2675 * process.c (make_process_internal): Ditto.
2676 * chartab.c (Fmake_char_table): Ditto.
2677 (make_char_table_entry): Ditto.
2678 (copy_char_table_entry): Ditto.
2679 (Fcopy_char_table): Ditto.
2680 * elhash.c (make_general_lisp_hash_table): Ditto.
2681 (Fcopy_hash_table): Ditto.
2682 * buffer.c (allocate_buffer): Ditto.
2683 (complex_vars_of_buffer): Ditto.
2684 * event-stream.c (allocate_command_builder): Ditto.
2685 * objects.c (Fmake_color_instance): Ditto.
2686 (Fmake_font_instance): Ditto.
2687 (vars_of_objects): Ditto.
2688 * toolbar.c (update_toolbar_button): Ditto.
2689 * window.c (allocate_window): Ditto.
2690 (make_dummy_parent): Ditto.
2691 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2692 (vars_of_window): Fix make_lcrecord_list.
2693 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2695 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2696 * opaque.c (make_opaque): Fix alloc_lrecord.
2697 (make_opaque_list): Fix alloc_lrecord_type.
2699 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2701 * process.c (Fstart_process_internal): Ditto.
2703 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2706 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2708 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2711 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2712 (emodules_load): Use it when calling locate_file().
2714 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2717 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2718 (vars_of_callproc): Initialize it.
2719 (Fcall_process_internal): Use it when calling locate_file().
2721 * alloc.c (disksave_object_finalization): Use
2722 Flocate_file_clear_hashing().
2724 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2725 given `t' as argument.
2727 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2729 * lread.c (locate_file): Expand `pathel' when appropriate.
2730 (Flocate_file_clear_hashing): Expand path elements.
2731 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2733 * dired.c (make_directory_hash_table): Create the hash-table only
2734 if the directory open is successful.
2736 * lread.c (decode_mode_1): New function.
2737 (decode_mode): Ditto.
2738 (Flocate_file): Use them.
2739 (Flocate_file): Expand FILENAME.
2740 (locate_file_map_suffixes): New function.
2741 (locate_file_in_directory_mapper): New function.
2742 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2743 and locate_file_map_suffixes().
2744 (locate_file_construct_suffixed_files): Use
2745 locate_file_map_suffixes().
2746 (locate_file_without_hash): Don't GCPRO path.
2747 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2748 (syms_of_lread): Remove Qlocate_file_hash_table.
2749 (locate_file_find_directory_hash_table): Use
2750 Vlocate_file_hash_table.
2751 (locate_file_refresh_hashing): Ditto.
2753 * lread.c: Renamed read_objects to Vread_objects.
2755 1999-04-16 Olivier Galibert <galibert@pobox.com>
2757 * mule-charset.c: Generally resync with fsf 20.3 charset
2759 (make_charset): Add long and short name. Use id instead of
2761 (Fmake_charset): Ditto.
2762 (Fmake_reverse_direction_charset): Ditto.
2763 (Fcharset_property): Ditto.
2764 (Fcharset_short_name): Added.
2765 (Fcharset_long_name): Added.
2766 (Fcharset_description): Renamed from charset-doc-string.
2767 (syms_of_mule_charset): Synced symbols.
2768 (complex_vars_of_mule_charset): Synced charsets.
2770 * mule-charset.h: Removed leading byte (uses id instead), added
2771 short and long name.
2773 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2775 * file-coding.c (Fdefine_coding_system_alias): New function.
2777 1999-04-08 Olivier Galibert <galibert@pobox.com>
2779 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2780 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2782 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2784 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2785 attach to the extent is valid.
2787 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2789 * dired.c (user_name_completion): Mule-ize.
2790 (user_name_completion): Use xmalloc/xrealloc/xfree.
2791 (user_name_completion): Use DO_REALLOC.
2792 (user_name_completion): Cut down the number of static variables;
2794 (user_name_completion): Username completion is always
2797 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2799 * fns.c (base64_decode_1): Remove COUNTER.
2800 (base64_decode_1): Accept CRLF in addition to CR.
2801 (base64_decode_1): Disallow a stray character after final EOF; the
2802 check was probably a remnant of buggy recode code.
2804 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2806 * fns.c (init_provide_once): Provide `base64'.
2808 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2810 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2811 (Fbase64_encode_region): If buffer is read-only, bail out early.
2812 (Fbase64_decode_region): Ditto.
2813 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2815 (Fbase64_encode_string): Ditto.
2816 (Fbase64_decode_region): Ditto.
2817 (Fbase64_decode_string): Ditto.
2819 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2821 * dired.c (Fdirectory_files): Remove redundant code.
2823 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2825 * frame-msw.c Make raise-frame restore minimised windows.
2827 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2829 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2832 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2834 * toolbar-msw.c Consider captions when deciding whether to rebuild
2835 toolbar. This fixes the initial toolbar display for those of us
2836 who don't like captions. These patches applied by Andy Piper.
2838 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2840 * XEmacs 21.2.13 is released
2842 1999-03-12 SL Baur <steve@xemacs.org>
2844 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2846 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2848 * file-coding.c: docstring and comment improvements.
2849 (decode_ucs4) flag possible data loss with comment.
2851 1999-03-10 Martin Buchholz <martin@xemacs.org>
2853 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2857 (decode_coding_ucs4):
2858 (encode_coding_ucs4):
2859 (detect_coding_utf8):
2860 (decode_coding_utf8):
2862 (encode_coding_utf8):
2863 Add CHECK_* macros where needed to avoid crashes.
2864 #ifdef out all composite character support using
2865 #ifdef ENABLE_COMPOSITE_CHARS
2866 Use normal XEmacs coding standards.
2868 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2870 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2872 * file-coding.c (make-coding-system): Add description about
2873 `ucs-4' and `utf-8'.
2874 (detection_state): Modify to implement ucs-4 and utf-8.
2875 (detect_coding_type): Likewise.
2876 (detect_coding_ucs4): New implementation.
2877 (detect_coding_utf8): New implementation.
2878 (encode_utf8): fixed.
2879 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2882 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2884 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2885 2022 registry to private area.
2887 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2889 * file-coding.c (encode_utf8): New function.
2890 (encode_coding_utf8): New implementation.
2892 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2894 * file-coding.c (ucs_to_mule_table): New variable; abolish
2895 `Vucs_to_mule_table'
2896 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2897 (set-ucs-char): New function.
2898 (ucs_to_char): New function.
2899 (ucs-char): New function.
2900 (set-char-ucs): New function.
2901 (char-ucs): New function.
2902 (decode_ucs4): Use `ucs_to_char'.
2903 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2904 `mule-to-ucs-table'.
2906 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2908 * chartab.h: EXFUN `Fget_char_table'.
2910 * file-coding.c (encode_ucs4): New function.
2911 (encode_coding_ucs4): Use `encode_ucs4'.
2913 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2915 * file-coding.c (decode_coding_ucs4): New implementation.
2917 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2919 * file-coding.c (decode_coding_ucs4): fixed.
2921 * file-coding.c (Vmule_to_ucs_table): New variable.
2922 (mule_char_to_ucs4): New function.
2923 (encode_coding_ucs4): New implementation.
2924 (complex_vars_of_mule_coding): Define variable
2925 `mule-to-ucs-table'.
2927 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2929 * file-coding.c (decode_coding_utf8): New implementation.
2931 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2933 * file-coding.c (decode_coding_utf8): fixed.
2935 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2937 * file-coding.c (Vucs_to_mule_table): New variable.
2938 (decode_ucs4): Refer `Vucs_to_mule_table'.
2939 (complex_vars_of_mule_coding): Define variable
2940 `ucs-to-mule-table'.
2942 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2944 * file-coding.c (detect_coding_ucs4): New function (not
2946 (decode_coding_ucs4): New function.
2947 (encode_coding_ucs4): New function (not implemented yet).
2948 (detect_coding_utf8): New function (not implemented yet).
2949 (decode_coding_utf8): New function.
2950 (encode_coding_utf8): New function (not implemented yet).
2951 (make-coding-system): New type `ucs4' and `utf8'.
2952 (coding-system-type): Likewise.
2953 (detection_state): Add `ucs4' and `utf8'.
2954 (detect_coding_type): Likewise.
2955 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2956 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2957 (decode_ucs4): New function (very incomplete).
2958 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2960 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2962 1999-03-08 Martin Buchholz <martin@xemacs.org>
2965 (non_ascii_valid_char_p):
2966 (lookup_composite_char):
2967 (composite_char_string):
2968 (make-composite-char):
2969 (composite-char-string):
2970 (syms_of_mule_charset):
2971 (complex_vars_of_mule_charset):
2972 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2973 (CHAR_LEADING_BYTE):
2975 * file-coding.h (CODING_STATE_COMPOSITE):
2976 (CODING_STATE_ISO2022_LOCK):
2978 (LEADING_BYTE_COMPOSITE):
2979 * file-coding.c (struct iso2022_decoder):
2982 (parse_iso2022_esc):
2983 (encode_coding_iso2022):
2984 #ifdef out all composite character support using
2985 #ifdef ENABLE_COMPOSITE_CHARS
2987 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2989 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2991 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2992 way of `Fbase64_encode_region'.
2994 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2996 * fns.c (base64_encode_1): Don't add a newline at the tail.
2998 1999-03-08 Andy Piper <andy@xemacs.org>
3000 * menubar-msw.c (displayable_menu_item): correct off-by-one &
3003 1999-03-07 Martin Buchholz <martin@xemacs.org>
3005 * console-stream.h (struct stream_console):
3006 * event-unixoid.c (event_stream_unixoid_select_console):
3007 (event_stream_unixoid_unselect_console):
3008 * print.c (Fexternal_debugging_output):
3009 * sysdep.c (reset_one_device):
3010 * console-stream.c (stream_init_console):
3011 (stream_delete_console):
3012 (allocate_stream_console_struct): move into stream_init_console.
3013 (free_stream_console_struct): move into stream_delete_console.
3014 Use `fd' only for file descriptors.
3015 Therefore, rename members of struct stream_console.
3017 * systime.h: Unix98 says sys/time.h should define select(), but
3018 some systems define that in unistd.h. So include that file always.
3020 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
3021 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
3022 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
3024 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
3028 Add #include <stdio.h>.
3029 Some versions of assert.h use printf() without #include'ing stdio.h
3031 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
3032 (log_gcpro): Remove unused variable FRAME.
3033 (show_gcprohist): Ansify.
3034 Comment the #endif's
3036 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
3037 after it's just been XtDestroy'ed!
3039 1999-02-18 Martin Buchholz <martin@xemacs.org>
3041 * opaque.c (print_opaque):
3045 Egcs 1.1.1 seems to have a bug where
3046 INTP (p->size_or_chain)
3047 will crash XEmacs. Fix by introducing intermediate variable.
3049 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
3051 * dired.c (Fdirectory_files):
3052 (Ffile_name_completion):
3053 (Ffile_name_all_completions):
3054 (file_name_completion):
3055 - Use `directory' instead of `dirname' to sync with FSF Emacs and
3056 avoid compiler warnings.
3057 - Fix up docstrings so that C variables match documentation.
3059 1999-03-05 Martin Buchholz <martin@xemacs.org>
3061 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
3062 variables as small as possible to help out the compiler and the maintainer.
3064 * alloc.c: (disksave_object_finalization):
3065 Set all the *-load-path variables to
3066 nil, not just load-path itself. This gets the locate-file hash
3067 tables garbage collected BEFORE dump, and has the side effect of
3068 preventing crashes on OSF4.0+egcs.
3073 - Clean up gdb/dbx debugging support.
3074 - Storing an EMACS_INT in an enum is not 64-bit clean!
3075 - So change the enum to a set of separate variables.
3076 - Add test cases to help debug the debugging support!
3077 - Add `lisp-shadows' and `run-temacs' targets for dbx.
3078 - Both dbx and gdb have been tested now.
3080 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3082 * XEmacs 21.2.12 is released
3084 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3086 * device-x.c: Support to find best visual without flashing.
3088 1999-03-02 Paul Keusemann <pkeusem@visi.com>
3090 * database.c (berkdb_map): Add flags argument to cursor call (must
3091 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
3093 1999-03-03 Martin Buchholz <martin@xemacs.org>
3097 General cleanup. Get free-hook.c working again.
3098 Remove unused functions:
3099 make_strings_hash_table, copy_hash, expand_hash_table.
3103 Always use new ANSI-style function prototypes.
3105 * unexalpha.c (unexec): Never use implicit int.
3107 * sgiplay.c (close_sound_file):
3109 (restore_audio_port):
3114 (write_mulaw_8_chunk):
3115 (write_linear_chunk):
3116 (write_linear_32_chunk):
3117 (initialize_audio_port):
3120 (set_output_format):
3121 (adjust_audio_volume):
3122 (get_current_volumes):
3124 Always use new ANSI-style function prototypes.
3125 Use unistd.h for missing prototypes.
3127 * unexelfsgi.c (round_up):
3129 (unexec): Always use new ANSI-style function prototypes
3131 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
3133 * console.h (struct console_methods): Always use full ANSI prototypes
3135 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
3137 1999-03-02 Andy Piper <andy@xemacs.org>
3139 * event-stream.c (init_event_stream): make sure native mswindows
3140 gets an appropriate event loop.
3142 1999-02-22 Andy Piper <andy@xemacs.org>
3144 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
3145 than SW_SHOWNORMAL to prevent resizing of maximised frames.
3146 (mswindows_raise_frame): remove comment.
3148 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
3150 * XEmacs 21.2.11 is released
3152 1999-02-25 SL Baur <steve@xemacs.org>
3154 * mule-charset.c (Qleading_byte): New variable to implement
3155 charset-leading-byte function.
3156 (Fcharset_property): Use it.
3157 (syms_of_mule_charset): Initialize it.
3158 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3160 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
3162 * glyphs-x.c (cononvert_EImage_to_XImage): correct
3163 bytes per pixel counting.
3165 1999-02-15 Andy Piper <andy@xemacs.org>
3167 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
3170 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3172 * fns.c (Fbase64_encode_string): New optional argument
3175 1999-02-16 Martin Buchholz <martin@xemacs.org>
3177 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3178 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3180 1999-02-10 Martin Buchholz <martin@xemacs.org>
3182 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3183 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3185 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3187 * XEmacs 21.2.10 is released
3189 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3191 * process-nt.c (nt_send_process):
3192 Fix for process-send-region/process-send-string breaking when size
3193 of the input > 128 chars: change maximum chunk size for process
3194 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3197 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3199 * XEmacs 21.2.9 is released
3201 1999-01-30 Martin Buchholz <martin@xemacs.org>
3203 * bytecode.c (funcall_compiled_function): Call
3204 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3206 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3207 #ifdef 0 out unused macro.
3209 1999-01-27 Martin Buchholz <martin@xemacs.org>
3211 * gui.c (gui_parse_item_keywords_internal): Make static.
3213 1999-01-21 Andy Piper <andy@xemacs.org>
3215 * glyphs-msw.c: add xface support.
3216 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3217 (image_instantiator_format_create_glyphs_mswindows): do device
3218 specific initialisation for xfaces.
3219 (xbm_create_bitmap_from_data): line data must be padded to a word
3222 * glyphs-x.c (xface_validate): moved to glyphs.c
3223 (xface_normalize): ditto.
3224 (xface_possible_dest_types): ditto.
3225 (image_instantiator_format_create_glyphs_x): do device specific
3226 initialisation for xfaces.
3228 * glyphs.h: declare xface symbol.
3230 * glyphs.c: move generic xface support here.
3231 (xface_validate): moved from glyphs-x.c
3232 (xface_normalize): ditto.
3233 (xface_possible_dest_types): ditto.
3234 (image_instantiator_format_create): xface declarations moved from
3237 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3239 * event-stream.c (vars_of_event_stream): Fixing documentation.
3241 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3243 * glyphs-eimage.c (gif_instantiate): Correct handling of
3244 interlaced gifs to avoid writing past the end of the eimage
3247 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3249 * search.c (Freplace_match): Handle single backslash at end of
3252 1999-01-12 William M. Perry <wmperry@aventail.com>
3254 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3255 avoid connection errors.
3257 1999-01-12 Andy Piper <andy@xemacs.org>
3259 * redisplay-output.c (redisplay_update_line): backout change that
3260 shouldn't have gone ine.
3262 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3264 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3265 collide with ldap.el
3267 1999-01-11 Andy Piper <andy@xemacs.org>
3269 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3270 (DISPLAY_LINE_YPOS): new macro.
3272 * redisplay-msw.c (mswindows_output_string): use it.
3273 (mswindows_output_pixmap): ditto.
3274 (mswindows_output_display_block): ditto.
3276 * redisplay-output.c (redisplay_output_display_block): new
3277 function. just call the devmeth, maybe insert some generic code
3279 (compare_display_blocks): use it.
3280 (output_display_line): ditto.
3281 (redisplay_unmap_subwindows_maybe): new function. potentially
3282 unmap subwindows in the given area.
3284 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3287 1999-01-10 J. Kean Johnston <jkj@sco.com>
3289 * Makefile.in.in: Set value of moduledir
3290 - Changed DUMPENV to include $(MODULEPATH)
3291 - Added install rule to install header files for use by ellcc.
3293 * config.h.in: Added INHIBIT_SITE_MODULES
3294 - Added HAVE__DLERROR
3295 - Added HAVE_DLFCN_H
3296 - Added DLSYM_NEEDS_UNDERSCORE
3300 * emodules.c: New file containing dynamic loading code.
3302 * emodules.h: New file.
3304 * emacs.c: Added variables Vmodule_directory,
3305 Vsite_module_directory, Vconfigure_module_directory and
3306 Vconfigure_site_module_directory.
3307 - (main_1): Added new variable inhibit_site_modules and command
3308 line options `-no-site-modules' and `--no-site-modules'.
3309 - (main_1): Call syms_of_module() instead of syms_of_dll().
3310 - (main_1): Call vars_of_module().
3311 - (vars_of_emacs): Introduce inhibit-site-modules,
3312 module-directory, configure-module-directory,
3313 site-module-directory, and configure-site-module-directory to the
3316 * lisp.h: Declare load_module and list_modules, as well as
3317 Vmodule_directory, Vsite_module_directory,
3318 Vconfigure_module_directory and Vconfigure_site_module_directory.
3320 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3321 - Added correct support for site-lisp directory.
3323 * symbols.c (defsubr): Modified to allow modules to add new subrs
3325 - (defsubr_macro): Same.
3326 - (defvar_magick): Only use purespace when not initialized, so
3327 that loaded modules can still add symbols.
3329 * symsinit.h: Add definitions for syms_of_module(),
3330 vars_of_module(). Removed syms_of_dll().
3332 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3333 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3334 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3336 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3337 explicitly pass -belf for native cc.
3339 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3340 hard-coding the library name.
3342 1999-01-01 <martin@xemacs.org>
3344 * device-x.c (Fx_set_font_path):
3345 Add proper cast to permit compilation under C++.
3347 * buffer.c (directory_is_current_directory):
3348 Add proper casts to permit compilation under C++.
3350 1998-12-30 Damon Lipparelli <lipp@primus.com>
3352 * event-msw.c (mswindows_wnd_proc):
3353 Fixed failure when building with MSVC 5.
3355 1998-12-29 Martin Buchholz <martin@xemacs.org>
3357 * file-coding.c (decode_coding_iso2022):
3358 - Prevent crash when decoding ISO7/Lock detected files
3359 - the usual martin fiddling
3361 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3365 Fixed failures when building with MSVC.
3366 * unexnt.c (dump_bss_and_heap):
3367 Removed compiler warning by removing bss_data variable.
3369 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3371 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3372 so that packages that distribute their own fonts can access them.
3374 1998-12-28 Andy Piper <andy@xemacs.org>
3376 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3377 that have an image provided.
3379 * glyphs.h: add Q_image decl.
3381 * glyphs-widget.c new functionality allowing images in
3383 (check_valid_glyph_or_image): new function to validate
3384 glyphs passed in through :image.
3385 (widget_normalize): new function. convert :image parameters into
3386 real glyphs if not already so.
3387 (widget_instantiate_1): mess with size parameters to be similar to
3389 (syms_of_glyphs_widget): new keyword :image.
3390 (image_instantiator_format_create_glyphs_widget): normalize
3391 buttons and allow :image.
3393 1998-12-27 Andy Piper <andy@xemacs.org>
3395 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3397 * glyphs-widget.c (check_valid_anything): no-op function.
3398 (check_valid_callback): check callbacks in gui_items.
3399 (check_valid_symbol): as it sounds.
3400 (check_valid_string_or_vector): ditto.
3401 (widget_validate): modified for descriptors that are vectors or
3402 sequences of keyword/val pairs.
3403 (widget_instantiate_1): ditto.
3404 (image_instantiator_format_create_glyphs_widget): allow gui_item
3405 keywords in the instantiator.
3407 * gui.c (gui_parse_item_keywords_internal): renamed from
3408 gui_parse_item_keywords but taking error behaviour.
3409 (gui_parse_item_keywords): use it.
3410 (gui_parse_item_keywords_no_errors): ditto.
3411 (gui_item_add_keyval_pair): add Error_behavior flag and only
3412 signal invalid keywords if required.
3414 * gui.h: new gui signatures.
3416 * menubar.c (menu_parse_submenu_keywords): use new
3417 gui_item_add_keyval_pair signature.
3419 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3421 1998-12-28 Martin Buchholz <martin@xemacs.org>
3423 * XEmacs 21.2.8 is released.
3425 1998-12-28 Martin Buchholz <martin@xemacs.org>
3427 * editfns.c (get_home_directory):
3428 (user-home-directory): Simplify.
3431 * callproc.c (child_setup):
3432 - Environment variables were being passed to inferior processes
3433 using internal encoding.
3434 - Convert to external encoding.
3435 - Rename local var `tem' to better name `tail'.
3436 - Use Flength instead of `manual' calculation.
3438 * buffer.c (kill-buffer):
3440 (set-buffer-major-mode):
3442 - Fix up parameter names to correspond to docstrings.
3443 - Don't use `bufname' when a buffer will do as well.
3444 - Remove one unneeded GCPRO.
3446 * buffer.h (initial_directory):
3447 * buffer.c (init_initial_directory):
3448 - use correct conversions between internal and external format.
3449 (directory_is_current_directory): new function
3450 (init_buffer): convert initial_directory to internal format.
3451 - solve crashes when current working directory is non-ASCII.
3453 * alloc.c (xmalloc):
3456 - remove stupid casts, since XEmacs requires an ANSI C system.
3457 (lrecord_type_index): replace abort() with more readable assert().
3459 (reset_lcrecord_stats): remove.
3460 (sweep_lcrecords_1):
3461 - replace call to reset_lcrecord_stats() with call to xzero().
3463 1998-12-27 Martin Buchholz <martin@xemacs.org>
3465 * process-unix.c (unix_create_process):
3466 - Fix crash invoking program with non-ASCII name.
3467 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3468 - Remove unused variable `env'.
3469 - Rename `temp' to better name `save_errno'.
3470 - Reorganize code for clarity. But still too chicken to nuke the
3473 1998-12-24 Martin Buchholz <martin@xemacs.org>
3475 * XEmacs 21.2.7 is released.
3477 1998-12-23 Martin Buchholz <martin@xemacs.org>
3479 * glyphs.c (decode_device_ii_format):
3481 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3483 * glyphs-x.c (x_subwindow_instantiate):
3484 - A image instance mask was being assigned to a image instance type!
3485 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3487 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3489 * glyphs-x.h: Make indentation consistent.
3491 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3493 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3495 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3499 Move declarations of decode_device_ii_format and
3500 decode_image_instantiator_format into glyphs.h where they belong.
3502 1998-12-22 Martin Buchholz <martin@xemacs.org>
3504 * frame-x.c (x_delete_frame): Revert part of my changes at the
3505 suggestion of Gunnar Evermann - unfortunately no one really
3506 understands this code.
3508 * callproc.c (init_callproc): code cleanup.
3510 * free-hook.c (malloc):
3515 (block_input_malloc):
3516 (block_input_realloc):
3517 * device-x.c (x_delete_device):
3518 * emacs.c (voodoo_free_hook):
3519 * events.c (print_event):
3521 (CHECK_EVENT_TYPE2):
3522 (CHECK_EVENT_TYPE3):
3523 Use proper prototypes.
3524 Make C_E_T macros a little faster.
3525 Pedantic fiddly little changes. You really don't care.
3527 1998-12-22 Andy Piper <andy@xemacs.org>
3529 * redisplay-output.c (redisplay_clear_region): make sure that
3530 fg/bg colors get set even when we are in the border area.
3532 1998-12-13 Martin Buchholz <martin@xemacs.org>
3534 * console-msw.c: Function definitions follow coding standards
3535 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3537 1998-12-11 Martin Buchholz <martin@xemacs.org>
3539 * events.h (struct timeout_data):
3540 * event-tty.c (tty_timeout_to_emacs_event):
3541 * event-msw.c (mswindows_wm_timer_callback):
3542 * event-Xt.c (Xt_timeout_to_emacs_event):
3543 * event-msw.c (mswindows_cancel_dispatch_event):
3544 Make sure Lisp_Objects inside events are initialized to Qnil, not
3545 Qnull_pointer, which is now illegal.
3547 1998-12-10 Martin Buchholz <martin@xemacs.org>
3549 * lisp.h: Fix up prototypes to match alloc.c
3551 1998-12-08 Martin Buchholz <martin@xemacs.org>
3553 * windowsnt.h: Remove `support' for using index and rindex
3555 * filelock.c (current_lock_owner):
3556 - Change uses of index -> strchr, rindex -> strrchr
3558 1998-12-07 Martin Buchholz <martin@xemacs.org>
3560 * sysdep.c (set_descriptor_non_blocking):
3561 Since O_NONBLOCK is now always #defined, make use of fcntl
3562 conditional on F_SETFL being defined.
3564 * console-msw.c (DHEADgER):
3573 - max_align_t should not be visible to the user of the
3575 - use Bufbyte instead of char
3576 - parens around (FOOP (obj)) are always redundant.
3577 If they were necessary, we should fix the macro instead.
3578 - Always use string_data(foo) instead of foo->data.
3581 1998-12-06 Martin Buchholz <martin@xemacs.org>
3583 * frame-msw.c (mswindows_init_frame_1):
3584 - use make_lisp_hash_table, not Fmake_hash_table
3588 * alloc.c (make_vector): remove travesty
3592 (make_bit_vector_internal):
3594 (make_bit_vector_from_byte_vector):
3596 - make vector_equal a little faster.
3597 - Don't use variable name `new'.
3598 - Use size_t instead of EMACS_INT.
3599 - usual Martin-style pointless bit-twiddling.
3605 Make mapcar faster. In particular, make
3606 (mapc #'identity long-string)
3607 MUCH faster under Mule.
3608 * tests/automated/lisp-tests.el: Test 'em!
3610 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3613 1998-12-01 Martin Buchholz <martin@xemacs.org>
3615 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3616 Qnil, not NULL, to initialize `null' Lisp_Objects.
3618 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3620 * specifier.c (display_table_validate): Update.
3622 * redisplay.c (create_text_block): Use them.
3624 * glyphs.c (display_table_entry): New function.
3625 (get_display_tables): Ditto.
3627 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3629 * eldap.c (toplevel): Mention that eldap.c compiles with
3631 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3632 (Fldap_search_internal): Ditto
3634 1998-12-11 Martin Buchholz <martin@xemacs.org>
3636 * event-msw.c (mswindows_cancel_dispatch_event):
3637 Gratuitous code prettification
3640 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3642 * fns.c (Fnconc): Fix use of wrong_type_argument().
3644 * floatfns.c (Ffloat): Fix docstring.
3645 (Ffloat): Fix use of wrong_type_argument().
3647 (extract_float): Ditto.
3652 1998-12-06 Martin Buchholz <martin@xemacs.org>
3654 * frame-msw.c (mswindows_init_frame_1):
3655 - use make_lisp_hash_table, not Fmake_hash_table
3659 * alloc.c (make_vector): remove travesty
3663 (make_bit_vector_internal):
3665 (make_bit_vector_from_byte_vector):
3667 - make vector_equal a little faster.
3668 - Don't use variable name `new'.
3669 - Use size_t instead of EMACS_INT.
3670 - usual Martin-style pointless bit-twiddling.
3676 Make mapcar faster. In particular, make
3677 (mapc #'identity long-string)
3678 MUCH faster under Mule.
3679 * tests/automated/lisp-tests.el: Test 'em!
3681 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3684 1998-12-02 Didier Verna <verna@inf.enst.fr>
3686 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3687 accelerator field to nil for labels.
3689 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3691 * menubar-msw.c (displayable_menu_item):
3692 Escape occurrences of '&' and support occurrences of the
3693 '%_' accelerator indicator in menus.
3695 1998-11-26 Didier Verna <verna@inf.enst.fr>
3697 * dired.c (Fdirectory_files): use make_string instead of
3698 make_ext_string on the filename. The conversion external->internal
3699 format is already done in sys_readdir.
3701 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3703 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3705 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3708 (Belatedly) added Kirill to list of file's authors.
3709 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3710 quit checking. WM_PAINT messages cause redisplay, but
3711 windows' states are not necessarily stable when this function
3714 1998-12-17 Andy Piper <andy@xemacs.org>
3716 * strftime.c (zone_name): CONSTify.
3718 1998-12-15 Andy Piper <andy@xemacs.org>
3720 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3721 (mswindows_widget_property): return Qunbound when no property available.
3722 (mswindows_button_property): ditto.
3723 (mswindows_combo_property): ditto.
3724 (mswindows_widget_set_property): ditto.
3726 * glyphs-widget.c (check_valid_item_list): use properties.
3728 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3730 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3731 (Fimage_instance_property): ditto.
3732 * glyphs-widget.c (widget_property): ditto.
3733 (widget_set_property): ditto.
3735 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3736 as setting the class cursor so that GC actually changes the
3739 * config.h: don't undef MAIL_USE_POP.
3741 1998-12-13 Andy Piper <andy@xemacs.org>
3744 (image_instantiator_format_create_glyphs_mswindows): line ->
3746 (mswindows_label_instantiate): ditto. Play with window flags.
3747 (image_instantiator_format_create_glyphs_mswindows): ditto.
3748 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3750 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3751 cope with lines and labels.
3752 (static_instantiate): use widget_instantiate_1.
3754 (image_instantiator_format_create_glyphs_widget): ditto.
3756 1998-12-10 Andy Piper <andy@xemacs.org>
3758 * Makefile.in.in (objs): add gui.o
3760 1998-12-10 Andy Piper <andy@xemacs.org>
3762 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3765 1998-12-09 Andy Piper <andy@xemacs.org>
3767 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3768 image instance is removed so that the subwindow cache gets reset
3769 and thus destroyed images get GC'd.
3771 1998-12-08 Andy Piper <andy@xemacs.org>
3773 * gui-msw.c (mswindows_handle_gui_wm_command): call
3774 MARK_SUBWINDOWS_CHANGED.
3776 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3777 subwindows really get deleted.
3779 * redisplay.c: new variable subwindows_changed[_set].
3780 (redisplay_window): use it.
3781 (redisplay_frame): ditto.
3782 (redisplay_device): ditto.
3783 (redisplay_without_hooks): ditto.
3785 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3786 subwindows redisplay as per glyphs equivalent.
3787 * redisplay.h: ditto.
3788 (MARK_SUBWINDOWS_CHANGED): ditto.
3789 (RESET_CHANGED_SET_FLAGS): ditto.
3790 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3792 1998-12-07 Andy Piper <andy@xemacs.org>
3794 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3797 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3799 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3800 messages and paint widget glyphs as appropriate with their face fg
3803 1998-12-06 Andy Piper <andy@xemacs.org>
3805 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3806 here rather than in glyphs-widget - do this because we only want
3807 to provide what is really available.
3809 * glyphs.c (Fimage_instance_property): new function to get the
3810 properties of image instances. wires through to console specific
3811 methods and then to widget specific methods.
3812 (Fset_image_instance_property): ditto but for setting widget properties.
3813 (check_valid_face): make extern so that it can be used elsewhere.
3815 * glyphs-widget.c (widget_property): new function. gets the
3816 properties of widgets in general and wires the function through to
3817 widget specific ones.
3818 (widget_set_property): ditto but for setting widget properties.
3820 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3821 add items to the list. Play with window styles a bit to get the
3823 (mswindows_widget_property): break out specific widget properties.
3824 (mswindows_button_property): new function. gets the checked state
3826 (mswindows_combo_property): new function. gets the current
3827 selection in the combo box.
3828 (mswindows_widget_set_property): new function. sets specific
3829 properties of specific widgets.
3831 * glyphs-widget.c (check_valid_item_list): new function. check
3832 that items for a combo-box are just a list of strings.
3833 (combo_validate): new function. check there is an item list.
3834 (widget_instantiate_1): new function. renamed from
3835 widget_instantiate so that we can do slightly different things for
3837 (widget_instantiate): call widget_instantiate_1.
3838 (combo_instantiate): new function to instantiate combo boxes,
3839 defaults height to the pixel height of the number of items in the
3841 (syms_of_glyphs_widget): move widget keywords here.
3842 (image_instantiator_format_create_glyphs_widget): use new combo
3845 1998-12-04 Andy Piper <andy@xemacs.org>
3847 * event-msw.c (mswindows_wnd_proc): mule-ize.
3849 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3851 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3852 (resource_name_to_resource): ditto.
3853 (mswindows_resource_instantiate): ditto.
3854 (mswindows_widget_instantiate): ditto.
3855 (mswindows_widget_set_property): ditto.
3857 * redisplay-output.c (redisplay_output_subwindow): don't show
3858 subwindows if they are obscured at the edge of the frame, emacs
3859 gets into some sort of redisplay loop otherwise.
3861 * gui.h: prototype gui_item_selected_p.
3863 * gui.c (gui_item_selected_p): new function to determine the
3864 selected state of a gui_item.
3866 * frame.h (struct frame): add subwindows_changed flag.
3868 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3870 * glyphs.c (update_subwindow): new function to update a
3872 (update_frame_subwindows): new function to update all the
3873 subwindows on a frame.
3875 * console.h (struct console_methods): add update_subwindow.
3877 * glyphs-msw.c (mswindows_widget_property): return selected state
3878 for selected property.
3879 (mswindows_update_subwindow): new function. updates widget glyphs
3880 in redisplay as per menubars or toolbars e.g. selected state.
3881 (console_type_create_glyphs_mswindows): add update_subwindow.
3883 1998-12-03 Andy Piper <andy@xemacs.org>
3885 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3886 tty coding system things are such.
3888 * glyphs-widget.c (widget_face_font_info): new function for
3889 pulling out height and width metrics for a widget's face.
3890 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3893 * event-msw.c (mswindows_drain_windows_queue): translate messages
3894 that are destined for subwindows. This makes edit fields interact
3895 with the keyboard correctly.
3896 nuke warnings by #ifndef'ing out stuff not required by msg select().
3898 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3899 macro defining the iiforma without the symbol required by widget.
3900 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3902 * general.c (syms_of_general): add Qwidget, Qselected.
3904 * faces.c (complex_vars_of_faces): add widget face inheriting from
3907 1998-11-09 Andy Piper <andy@xemacs.org>
3909 * window.h (struct window): add a cache of subwindows on a
3912 * window.c (mark_window): mark the subwindow_instance_cache.
3913 (allocate_window): initialise the subwindow instance_cache.
3915 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3916 instead of the devmeth.
3917 (x_clear_toolbar): ditto.
3919 * redisplay-x.c (x_output_display_block): call
3920 redisplay_output_subwindow for subwindows and widgets.
3922 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3923 types to do nothing for.
3925 * lisp.h: declare new widget/subwindow symbols.
3927 * glyphs.c (image_instantiate): cache subwindows on a per-window
3929 (subwindow_possible_dest_types): new function for subwindow dest
3931 (subwindow_instantiate): generic instantiation of a
3932 subwindow. specialised by device multi-methods.
3933 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3935 (Fimage_instance_subwindow_id): ditto.
3936 (Fresize_subwindow): ditto.
3937 (Fforce_subwindow_map): ditto.
3939 * glyphs-x.c (x_print_image_instance): remove subwindow
3940 stuff. Handled genrically in glyphs.c.
3941 (x_image_instance_equal): ditto.
3942 (x_image_instance_hash): ditto.
3943 (x_finalize_image_instance): delete subwindows when required.
3944 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3945 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3946 glyph-based, subwindow implementation.
3947 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3949 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3951 (x_unmap_subwindow): new function to unmap X subwindows.
3952 (x_map_subwindow): new function to map X subwindows.
3953 (x_subwindow_instantiate): new function to instantiate X
3955 (x_resize_subwindow): new function to resize X subwindows.
3956 (console_type_create_glyphs_x): add subwindow functions.
3957 (image_instantiator_format_create_glyphs_x): add device
3958 multi-methods for xpm, xbm and subwindow.
3960 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3961 (subwindow-width): ditto.
3962 (subwindow-height): ditto.
3964 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3965 generally instantiating ms subwindows. Used by
3966 mswindows_*_instantiate.
3967 (mswindows_edit_instantiate): instantiate an edit field on a
3970 1998-11-04 Andy Piper <andy@xemacs.org>
3972 * symsinit.h: declare new functions.
3974 * redisplay.h: declare new functions.
3976 * redisplay-x.c (x_output_display_block): call
3977 redisplay_clear_region rather than x_clear_region.
3978 (x_output_string): ditto.
3979 (x_output_pixmap): ditto.
3980 (x_clear_to_window_end): ditto.
3981 (x_output_eol_cursor): ditto.
3982 (x_clear_region): only do X specific things. other duties handled
3983 in redisplay_clear_region.
3985 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3986 duties moved to redisplay_clear_region.
3988 * redisplay-output.c (clear_left_border): use
3989 redisplay_clear_region instead of device method.
3990 (clear_right_border): ditto.
3991 (output_display_line): ditto.
3992 (redisplay_output_subwindow): ditto.
3993 (redisplay_clear_top_of_window): ditto.
3994 (redisplay_clear_region): perform duties previously handled by
3995 device methods. call the appropriate device method at the
3996 end. unmap subwindows if necessary.
3998 * redisplay-msw.c (mswindows_output_string): use
3999 redisplay_clear_region instead of mswindows_clear_region.
4000 (mswindows_clear_to_window_end): ditto.
4001 (mswindows_output_display_block): output subwindows when required.
4002 (mswindows_clear_region): only do mswindows specific things,
4003 everything else is now handled in redisplay_clear_region.
4005 * gui.h: add item id hash defines and declare function prototypes.
4007 * gui.c (mark_gui_item): new function for marking gui_items.
4008 (gui_item_hash): generic hash function for generating command ids
4011 * gui-msw.c: new file.
4012 (mswindows_handle_gui_wm_command): new function to handle widget
4015 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
4017 (IIFORMAT_HAS_SHARED_METHOD): ditto.
4018 (DEFINE_DEVICE_IIFORMAT): ditto.
4019 (INITIALIZE_DEVICE_IIFORMAT): ditto.
4020 (struct Lisp_Image_Instance): add widget and subwindow data plus
4021 appropriate access functions.
4023 * glyphs.c (decode_device_ii_format): new function for decoding
4024 image instantiator functions based on a device type as well as an
4026 (decode_image_instantiator_format): just call
4027 decode_device_ii_format with nil device.
4028 (add_entry_to_device_ii_format_list): new function for per device
4030 (add_entry_to_image_instantiator_format_list): just call
4031 add_entry_to_device_ii_format_list with nil device.
4032 (check_valid_vector): new function.
4033 (instantiate_image_instantiator): instantiate using per-format
4034 method and then per-format-per-device method (device
4035 multi-methods). signal an error if neither is possible.
4036 (mark_image_instance): cope with subwindows and widgets.
4037 (print_image_instance): ditto.
4038 (image_instance_equal): ditto.
4039 (image_instance_hash): ditto.
4040 (allocate_glyph): ditto.
4041 (glyph_width): ditto.
4042 (glyph_height_internal): ditto.
4043 (xpm_instantiate): removed because of device multi-methods.
4044 (mark_subwindow_cachels): new cachel functions for caching
4045 instantiated subwindows on a per-frame basis. mostly copied from
4046 glyph cachel functions.
4047 (update_subwindow_cachel_data): ditto.
4048 (add_subwindow_cachel): ditto.
4049 (get_subwindow_cachel_index): ditto.
4050 (reset_subwindow_cachels): ditto.
4051 (mark_subwindow_cachels_as_not_updated): ditto.
4052 (unmap_subwindow): generic unmapping of subwindows based on cachel
4054 (map_subwindow): ditto.
4055 (initialize_subwindow_image_instance): generic initialisation of
4057 (syms_of_glyphs): add widget keywords.
4059 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
4062 1998-11-04 Andy Piper <andy@xemacs.org>
4064 * glyphs-widget.c: new file for instantiating widget type glyphs.
4065 (widget_possible_dest_types): new general dest type function for
4067 (widget_validate): ditto.
4068 (initialize_widget_image_instance): ditto
4069 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
4070 before handing on control to device multi-methods.
4071 (syms_of_glyphs_widget): new function.
4072 (image_instantiator_format_create_glyphs_widget): new function,
4073 added placeholders for button, edit, combo, scrollbar
4074 (vars_of_glyphs_widget): new function.
4076 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
4077 storing window ids of widgets.
4079 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
4080 deletion of widget and subwindow glyphs.
4081 (mswindows_unmap_subwindow): new device function for unmapping
4082 subwindows on a msw frame.
4083 (mswindows_map_subwindow): ditto.
4084 (mswindows_register_image_instance): register instantiated widgets
4085 with the widget hastable.
4086 (mswindows_button_instantiate): instantiate a button type widget
4088 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
4090 (image_instantiator_format_create_glyphs_mswindows): add device
4091 multi-methods for xbm, xpm, subwindow, edit and button.
4093 * frame.h (struct frame): add subwindow_cachels dynarr for caching
4094 information about subwindows visible on the current frame. used by
4095 redisplay_clear_region to unmap subwindows as required.
4097 * frame.c (mark_frame): mark subwindow_cachels.
4098 (allocate_frame_core): instantiate subwindow_cachels.
4100 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
4103 * event-msw.c (mswindows_wnd_proc): add call to
4104 mswindows_handle_gui_wm_command to handle widget callbacks.
4106 * emacs.c (main_1): add calls to glyphs-widget initialisation
4109 * console.h (struct console_methods): add
4110 unmap/map_subwindow_method for use be redisplay_clear_region to
4111 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
4112 with by image instantiator multi-methods. Add
4113 resize_subwindow_method.
4115 * console-stream.c (stream_clear_region): change signature to
4116 match new generic clear region function.
4118 * Makefile.in.in: add glyphs-widget.o to list of objects.
4120 * console-msw.h (struct mswindows_frame): add widget hashtable for
4121 wiring command ids to callbacks.
4123 1998-12-16 Andy Piper <andy@xemacs.org>
4125 * XEmacs 21.2.6 is released
4127 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
4129 * md5.c (Fmd5): Correctly initiate string input stream.
4131 * Makefile.in.in (tests): Add md5-tests.el.
4133 1998-12-06 Martin Buchholz <martin@xemacs.org>
4136 * alloc.c (make_vector): remove travesty
4140 (make_bit_vector_internal):
4142 (make_bit_vector_from_byte_vector):
4144 - make vector_equal a little faster.
4145 - Don't use variable name `new'.
4146 - Use size_t instead of EMACS_INT.
4147 - usual Martin-style pointless bit-twiddling.
4153 Make mapcar faster. In particular, make
4154 (mapc #'identity long-string)
4155 MUCH faster under Mule.
4156 * tests/automated/lisp-tests.el: Test 'em!
4158 1998-12-06 Martin Buchholz <martin@xemacs.org>
4160 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4163 1998-12-13 Martin Buchholz <martin@xemacs.org>
4165 * console-msw.c: Function definitions follow coding standards
4166 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4168 1998-12-11 Martin Buchholz <martin@xemacs.org>
4170 * events.h (struct timeout_data):
4171 * event-tty.c (tty_timeout_to_emacs_event):
4172 * event-msw.c (mswindows_wm_timer_callback):
4173 * event-Xt.c (Xt_timeout_to_emacs_event):
4174 * event-msw.c (mswindows_cancel_dispatch_event):
4175 Make sure Lisp_Objects inside events are initialized to Qnil, not
4176 Qnull_pointer, which is now illegal.
4178 1998-12-10 Martin Buchholz <martin@xemacs.org>
4180 * lisp.h: Fix up prototypes to match alloc.c
4182 1998-12-09 Andy Piper <andy@xemacs.org>
4184 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4185 XSETINT for assigning lisp objects.
4187 1998-12-07 Martin Buchholz <martin@xemacs.org>
4190 * console-msw.c (DHEADER):
4199 - max_align_t should not be visible to the user of the
4201 - use Bufbyte instead of char
4202 - parens around (FOOP (obj)) are always redundant.
4203 If they were necessary, we should fix the macro instead.
4204 - Always use string_data(foo) instead of foo->data.
4206 1998-12-07 Martin Buchholz <martin@xemacs.org>
4208 * sysdep.c (set_descriptor_non_blocking):
4209 Since O_NONBLOCK is now always #defined, make use of fcntl
4210 conditional on F_SETFL being defined.
4212 1998-12-09 Andy Piper <andy@xemacs.org>
4214 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4215 that got removed in the merge
4217 1998-11-30 Greg Klanderman <greg@alphatech.com>
4219 * dired.c (vars_of_dired): bugfix for previous conditionalization
4220 of user-name-completion on non- Windows NT.
4222 1998-12-08 Martin Buchholz <martin@xemacs.org>
4224 * windowsnt.h: Remove `support' for using index and rindex
4226 * filelock.c (current_lock_owner):
4227 - Change uses of index -> strchr, rindex -> strrchr
4229 1998-12-06 Martin Buchholz <martin@xemacs.org>
4231 * frame-msw.c (mswindows_init_frame_1):
4232 - use make_lisp_hash_table, not Fmake_hash_table
4235 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4237 * XEmacs 21.2.5 is released
4239 1998-11-30 Martin Buchholz <martin@xemacs.org>
4241 * xselect.c (receive_incremental_selection):
4242 * xselect.c (x_get_window_property):
4243 * xmu.c (XmuReadBitmapDataFromFile):
4244 * xmu.c (XmuCursorNameToIndex):
4245 * xgccache.c (describe_gc_cache):
4246 * xgccache.c (gc_cache_lookup):
4247 * xgccache.c (free_gc_cache):
4248 * xgccache.c (make_gc_cache):
4250 * window.c (map_windows_1):
4251 * window.c (Fother_window_for_scrolling):
4252 * window.c (window_scroll):
4253 * window.c (change_window_height):
4254 * window.c (Fsplit_window):
4255 * window.c (window_left_gutter_width):
4256 * window.c (window_modeline_height):
4257 * window.c (invalidate_vertical_divider_cache_in_window):
4258 * window.c (window_needs_vertical_divider_1):
4259 * window.c (update_mirror_internal):
4260 * window.c (SET_LAST_FACECHANGE):
4261 * widget.c (Fwidget_plist_member):
4262 * unexec.c (copy_text_and_data):
4263 * unexcw.c (copy_executable_and_dump_data_section):
4265 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4266 * tooltalk.c (struct Lisp_Tooltalk_Message):
4267 * toolbar.h (struct toolbar_button):
4268 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4269 * toolbar.c (recompute_overlaying_specifier):
4270 * toolbar.c (toolbar_validate):
4271 * toolbar.c (toolbar_button_at_pixpos):
4272 * toolbar.c (get_toolbar_coords):
4273 * toolbar.c (update_frame_toolbars):
4275 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4276 * toolbar-msw.c (mswindows_find_toolbar_pos):
4277 * toolbar-msw.c (mswindows_output_toolbar):
4278 * toolbar-msw.c (mswindows_clear_toolbar):
4287 * sysdep.c (sys_fopen):
4288 * sysdep.c (sys_open):
4289 * sysdep.c (tty_init_sys_modes_on_device):
4290 * sysdep.c (get_eof_char):
4291 * sysdep.c (child_setup_tty):
4292 * sysdep.c (set_descriptor_non_blocking):
4294 * syntax.c (scan_words):
4297 * symeval.h (struct symbol_value_varalias):
4298 * symeval.h (struct symbol_value_forward):
4299 * symbols.c (syms_of_symbols):
4300 * symbols.c (init_symbols_once_early):
4301 * symbols.c (Fbuilt_in_variable_type):
4302 * symbols.c (Fsymbol_value_in_buffer):
4303 * symbols.c (default_value):
4305 * symbols.c (find_symbol_value_quickly):
4306 * symbols.c (store_symval_forwarding):
4307 * symbols.c (set_default_console_slot_variable):
4308 * symbols.c (set_default_buffer_slot_variable):
4309 * symbols.c (verify_ok_for_buffer_local):
4310 * symbols.c (symbol_is_constant):
4311 * symbols.c (oblookup):
4312 * symbols.c (Funintern):
4313 * symbols.c (Fintern):
4314 * symbols.c (check_obarray):
4316 * specifier.h (struct specifier_methods):
4318 * specifier.c (specifier_instance):
4319 * specifier.c (specifier_instance_from_inst_list):
4320 * specifier.c (decode_locale_type):
4321 * specifier.c (specifier_equal):
4322 * specifier.c (finalize_specifier):
4323 * specifier.c (prune_specifiers):
4324 * specifier.c (kill_specifier_buffer_locals):
4325 * sound.c (init_native_sound):
4328 * search.c (Fmatch_data):
4329 * search.c (match_limit):
4330 * search.c (Freplace_match):
4331 * search.c (skip_chars):
4332 * search.c (scan_buffer):
4334 * scrollbar.c (specifier_vars_of_scrollbar):
4335 * scrollbar.c (Fscrollbar_set_hscroll):
4336 * scrollbar.c (vertical_scrollbar_changed_in_window):
4337 * scrollbar.c (release_window_mirror_scrollbars):
4338 * scrollbar.c (free_scrollbar_instance):
4341 * s/msdos.h (O_BINARY):
4343 * s/freebsd.h (LIBS_TERMCAP):
4344 * regex.c (re_match_2_internal):
4345 * regex.c (compile_extended_range):
4346 * regex.c (POP_FAILURE_POINT):
4347 * regex.c (PUSH_FAILURE_POINT):
4348 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4350 * redisplay.h (struct display_line):
4351 * redisplay.h (struct rune):
4352 * redisplay.c (vars_of_redisplay):
4353 * redisplay.c (redisplay_variable_changed):
4354 * redisplay.c (UPDATE_CACHE_RETURN):
4355 * redisplay.c (validate_line_start_cache):
4356 * redisplay.c (mark_redisplay_structs):
4357 * redisplay.c (mark_glyph_block_dynarr):
4358 * redisplay.c (window_line_number):
4359 * redisplay.c (redisplay_frame):
4360 * redisplay.c (redisplay_window):
4361 * redisplay.c (generate_modeline):
4362 * redisplay.c (create_right_glyph_block):
4363 * redisplay.c (create_left_glyph_block):
4364 * redisplay.c (create_text_block):
4366 * redisplay-x.c (x_output_hline):
4367 * redisplay-x.c (x_output_vertical_divider):
4368 * redisplay-tty.c (tty_output_display_block):
4369 * redisplay-output.c (output_display_line):
4370 * redisplay-output.c:
4371 * redisplay-msw.c (mswindows_output_vertical_divider):
4372 * redisplay-msw.c (mswindows_ring_bell):
4373 * redisplay-msw.c (mswindows_output_cursor):
4377 * puresize.h (RAW_PURESIZE):
4378 * profile.c (syms_of_profile):
4379 * profile.c (Fstart_profiling):
4380 * profile.c (sigprof_handler):
4383 * process.c (vars_of_process):
4384 * process.c (read_process_output):
4385 * process.c (get_process):
4387 * process-unix.c (unix_open_multicast_group):
4388 * process-unix.c (unix_get_tty_name):
4389 * process-unix.c (unix_send_process):
4390 * process-unix.c (unix_reap_exited_processes):
4391 * process-unix.c (unix_create_process):
4392 * process-unix.c (unix_init_process_io_handles):
4393 * process-unix.c (allocate_pty):
4395 * process-nt.c (nt_open_network_stream):
4396 * process-nt.c (nt_update_status_if_terminated):
4397 * process-nt.c (nt_finalize_process_data):
4399 * print.c (debug_short_backtrace):
4400 * print.c (debug_backtrace):
4401 * print.c (print_symbol):
4402 * print.c (print_internal):
4403 * print.c (print_cons):
4404 * print.c (Fwrite_char):
4405 * print.c (print_prepare):
4406 * print.c (canonicalize_printcharfun):
4407 * print.c (output_string):
4410 * opaque.c (allocate_managed_opaque):
4412 * offix.c (DndSetData):
4413 * objects.c (face_boolean_create):
4414 * objects.c (font_instantiate):
4415 * objects.c (font_create):
4416 * objects.c (color_create):
4417 * objects.c (finalize_font_instance):
4418 * objects.c (finalize_color_instance):
4420 * objects-x.c (x_font_instance_truename):
4422 * objects-x.c (x_initialize_font_instance):
4423 * objects-x.c (allocate_nearest_color):
4424 * objects-tty.c (tty_initialize_font_instance):
4425 * objects-tty.c (tty_initialize_color_instance):
4426 * objects-msw.c (mswindows_initialize_color_instance):
4427 * ntproc.c (syms_of_ntproc):
4428 * ntproc.c (Fwin32_set_process_priority):
4429 * ntproc.c (sys_spawnve):
4431 * ntheap.c (get_data_end):
4435 * nt.c (generate_inode_val):
4436 * nt.c (sys_rename):
4438 * mule-wnnfns.c (Fwnn_hinsi_number):
4439 * mule-wnnfns.c (Fwnn_yuragi):
4440 * mule-wnnfns.c (Fwnn_common_learn):
4441 * mule-wnnfns.c (Fwnn_suffix_learn):
4442 * mule-wnnfns.c (Fwnn_prefix_learn):
4443 * mule-wnnfns.c (Fwnn_okuri_learn):
4444 * mule-wnnfns.c (Fwnn_complex_conv):
4445 * mule-wnnfns.c (Fwnn_last_is_first):
4446 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4447 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4448 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4449 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4450 * mule-wnnfns.c (Fwnn_hinsi_list):
4451 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4452 * mule-wnnfns.c (Fwnn_dict_search):
4453 * mule-wnnfns.c (Fwnn_word_toroku):
4454 * mule-wnnfns.c (Fwnn_hindo_update):
4455 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4456 * mule-wnnfns.c (Fwnn_kakutei):
4457 * mule-wnnfns.c (Fwnn_begin_henkan):
4458 * mule-wnnfns.c (Fwnn_dict_comment):
4459 * mule-wnnfns.c (Fwnn_dict_add):
4460 * mule-wnnfns.c (Fwnn_open):
4461 * mule-mcpath.c (mc_getcwd):
4462 * mule-coding.c (vars_of_mule_coding):
4463 * mule-coding.c (convert_to_external_format):
4464 * mule-coding.c (encoding_marker):
4465 * mule-coding.c (decoding_marker):
4466 * mule-coding.c (Fcopy_coding_system):
4467 * mule-coding.c (Fmake_coding_system):
4468 * mule-coding.c (Fcoding_system_list):
4469 * mule-coding.c (Ffind_coding_system):
4470 * mule-coding.c (symbol_to_eol_type):
4472 * mule-charset.c (complex_vars_of_mule_charset):
4473 * mule-charset.c (vars_of_mule_charset):
4474 * mule-charset.c (Fset_charset_ccl_program):
4475 * mule-charset.c (struct charset_list_closure):
4476 * mule-charset.c (Ffind_charset):
4477 * mule-charset.c (make_charset):
4478 * mule-charset.c (non_ascii_valid_char_p):
4480 * mule-ccl.c (ccl_driver):
4481 * mule-canna.c (c2mu):
4482 * mule-canna.c (Fcanna_henkan_begin):
4483 * mule-canna.c (Fcanna_parse):
4484 * mule-canna.c (Fcanna_store_yomi):
4485 * mule-canna.c (Fcanna_touroku_string):
4486 * mule-canna.c (Fcanna_initialize):
4488 * menubar.c (menu_parse_submenu_keywords):
4489 * menubar-x.c (make_dummy_xbutton_event):
4490 * menubar-x.c (set_frame_menubar):
4491 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4494 * menubar-msw.c (mswindows_popup_menu):
4495 * menubar-msw.c (mswindows_update_frame_menubars):
4496 * menubar-msw.c (mswindows_handle_wm_command):
4497 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4498 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4499 * menubar-msw.c (update_frame_menubar_maybe):
4500 * menubar-msw.c (populate_or_checksum_helper):
4501 * menubar-msw.c (empty_menu):
4504 * marker.c (set_marker_internal):
4505 * marker.c (print_marker):
4508 * lstream.c (lisp_buffer_rewinder):
4509 * lstream.c (mark_lstream):
4511 * lrecord.h (struct lrecord_header):
4512 * lread.c (readevalloop):
4513 * lread.c (locate_file):
4514 * lread.c (locate_file_in_directory):
4515 * lread.c (Flocate_file):
4516 * lread.c (load_force_doc_string_unwind):
4517 * lread.c (ebolify_bytecode_constants):
4522 * linuxplay.c (linux_play_data_or_file):
4523 * linuxplay.c (audio_init):
4526 * keymap.c (describe_map):
4527 * keymap.c (describe_map_mapper):
4528 * keymap.c (Fdescribe_bindings_internal):
4529 * keymap.c (Fsingle_key_description):
4530 * keymap.c (map_keymap_sorted):
4531 * keymap.c (get_relevant_keymaps):
4532 * keymap.c (Flookup_key):
4533 * keymap.c (raw_lookup_key_mapper):
4534 * keymap.c (Fdefine_key):
4535 * keymap.c (Fevent_matches_key_specifier_p):
4536 * keymap.c (key_desc_list_to_event):
4537 * keymap.c (define_key_parser):
4538 * keymap.c (define_key_check_and_coerce_keysym):
4539 * keymap.c (keymap_submaps):
4540 * keymap.c (keymap_store_internal):
4541 * keymap.c (keymap_delete_inverse_internal):
4542 * keymap.c (keymap_store_inverse_internal):
4543 * keymap.c (print_keymap):
4544 * keymap.c (Lisp_Keymap):
4547 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4548 * insdel.c (make_gap):
4549 * input-method-xlib.c (get_XIM_input):
4550 * input-method-xlib.c (XIM_init_frame):
4555 * gui-x.c (button_item_to_widget_value):
4556 * gui-x.c (popup_selection_callback):
4557 * glyphs.h (struct image_instantiator_methods):
4558 * glyphs.c (mark_glyph_cachels):
4559 * glyphs.c (Fglyph_type):
4560 * glyphs.c (image_instantiate):
4561 * glyphs.c (image_create):
4562 * glyphs.c (make_image_instance_1):
4563 * glyphs.c (finalize_image_instance):
4565 * glyphs-x.c (finalize_subwindow):
4566 * glyphs-x.c (xface_validate):
4567 * glyphs-x.c (x_locate_pixmap_file):
4568 * glyphs-x.c (convert_EImage_to_XImage):
4570 * glyphs-msw.c (mswindows_resource_instantiate):
4571 * glyphs-msw.c (xpm_to_eimage):
4572 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4573 * glyphs-eimage.c (tiff_instantiate):
4574 * glyphs-eimage.c (png_instantiate):
4575 * glyphs-eimage.c (struct png_error_struct):
4576 * glyphs-eimage.c (gif_memory_storage):
4579 * getloadavg.c (getloadavg):
4582 * free-hook.c (log_gcpro):
4583 * free-hook.c (check_malloc):
4584 * free-hook.c (check_free):
4585 * free-hook.c (ROUND_UP_TO_PAGE):
4587 * frame.h (struct frame):
4589 * frame.c (change_frame_size_1):
4590 * frame.c (allocate_frame_core):
4592 * frame-x.c (x_focus_on_frame):
4593 * frame-x.c (x_init_frame_2):
4594 * frame-x.c (x_popup_frame):
4595 * frame-x.c (xemacs_XtPopup):
4597 * frame-x.c (Foffix_start_drag_internal):
4598 * frame-x.c (x_cde_destroy_callback):
4599 * frame-x.c (x_wm_hack_wm_protocols):
4600 * frame-tty.c (tty_frame_visible_p):
4601 * frame-msw.c (mswindows_make_frame_invisible):
4602 * frame-msw.c (mswindows_after_init_frame):
4603 * frame-msw.c (mswindows_init_frame_1):
4604 * fns.c (syms_of_fns):
4605 * fns.c (Fbase64_decode_string):
4607 * fns.c (Ffillarray):
4608 * fns.c (Fobject_plist):
4610 * fns.c (Fcanonicalize_lax_plist):
4611 * fns.c (Fcanonicalize_plist):
4612 * fns.c (Fplist_remprop):
4613 * fns.c (Fplist_get):
4614 * fns.c (advance_plist_pointers):
4615 * fns.c (internal_plist_put):
4616 * fns.c (Fnreverse):
4619 * fns.c (Fsubstring):
4620 * fns.c (Fbvconcat):
4622 * fns.c (length_with_bytecode_hack):
4623 * fns.c (print_bit_vector):
4625 * floatfns.c (Ffloor):
4627 * floatfns.c (in_float_error):
4628 * fileio.c (Ffile_modes):
4629 * fileio.c (Fexpand_file_name):
4630 * fileio.c (Fmake_temp_name):
4631 * fileio.c (Ffile_name_nondirectory):
4632 * fileio.c (Ffile_name_directory):
4634 * file-coding.c (vars_of_mule_coding):
4635 * file-coding.c (convert_to_external_format):
4636 * file-coding.c (encoding_marker):
4637 * file-coding.c (decoding_marker):
4638 * file-coding.c (Fcopy_coding_system):
4639 * file-coding.c (Fmake_coding_system):
4640 * file-coding.c (struct coding_system_list_closure):
4641 * file-coding.c (Ffind_coding_system):
4642 * file-coding.c (symbol_to_eol_type):
4644 * faces.h (struct face_cachel):
4645 * faces.c (vars_of_faces):
4646 * faces.c (face_property_was_changed):
4647 * faces.c (mark_face_cachels):
4648 * faces.c (temporary_faces_list):
4649 * faces.c (struct face_list_closure):
4651 * extents.h (struct extent):
4652 * extents.c (vars_of_extents):
4653 * extents.c (struct copy_string_extents_1_arg):
4654 * extents.c (add_string_extents_mapper):
4655 * extents.c (Fextent_property):
4656 * extents.c (Fset_extent_property):
4657 * extents.c (symbol_to_glyph_layout):
4658 * extents.c (properties_equal):
4659 * extents.c (print_extent):
4660 * extents.c (print_extent_1):
4661 * extents.c (extent_in_region_p):
4662 * extents.c (gap_array_make_gap):
4664 * events.h (struct Lisp_Event):
4666 * events.c (Fevent_properties):
4667 * events.c (format_event_object):
4668 * events.c (Fmake_event):
4669 * events.c (event_equal):
4670 * events.c (print_event):
4671 * events.c (mark_event):
4672 * event-stream.c ((read-char)
4673 * event-stream.c (vars_of_event_stream):
4674 * event-stream.c (syms_of_event_stream):
4675 * event-stream.c (Fset_recent_keys_ring_size):
4676 * event-stream.c (Fsit_for):
4677 * event-stream.c (Fnext_event):
4678 * event-stream.c (execute_help_form):
4679 * event-stream.c (maybe_kbd_translate):
4681 * event-msw.c (vars_of_event_mswindows):
4682 * event-msw.c (mswindows_wnd_proc):
4683 * event-msw.c (mswindows_need_event):
4684 * event-msw.c (mswindows_drain_windows_queue):
4685 * event-msw.c (mswindows_pump_outstanding_events):
4687 * event-msw.c (slurp_thread):
4688 * event-msw.c (struct ntpipe_slurp_stream):
4689 * event-msw.c (HANDLE_TO_USID):
4690 * event-Xt.c (emacs_Xt_handle_magic_event):
4691 * event-Xt.c (x_event_to_emacs_event):
4692 * event-Xt.c (x_reset_modifier_mapping):
4693 * event-Xt.c (x_reset_key_mapping):
4695 * eval.c (syms_of_eval):
4696 * eval.c (warn_when_safe):
4697 * eval.c (warn_when_safe_lispobj):
4698 * eval.c (Fbacktrace_frame):
4699 * eval.c (Fbacktrace):
4700 * eval.c (top_level_set):
4701 * eval.c (unbind_to_hairy):
4702 * eval.c (specbind_magic):
4703 * eval.c (specbind_unwind_wasnt_local):
4704 * eval.c (call2_trapping_errors):
4705 * eval.c (call1_trapping_errors):
4706 * eval.c (catch_them_squirmers_call2):
4707 * eval.c (call0_trapping_errors):
4708 * eval.c (run_hook_trapping_errors):
4709 * eval.c (catch_them_squirmers_eval_in_buffer):
4710 * eval.c (call4_in_buffer):
4711 * eval.c (call3_in_buffer):
4712 * eval.c (call2_in_buffer):
4713 * eval.c (call1_in_buffer):
4714 * eval.c (call0_in_buffer):
4715 * eval.c (run_hook):
4716 * eval.c (run_hook_with_args_in_buffer):
4719 * eval.c (do_autoload):
4720 * eval.c (un_autoload):
4721 * eval.c (Fautoload):
4722 * eval.c (Finteractive_p):
4723 * eval.c (Fcommand_execute):
4724 * eval.c (signal_quit):
4725 * eval.c (call_with_suspended_errors):
4726 * eval.c (signal_error):
4727 * eval.c (return_from_signal):
4728 * eval.c (Fcall_with_condition_handler):
4729 * eval.c (run_condition_case_handlers):
4730 * eval.c (condition_case_1):
4731 * eval.c (Funwind_protect):
4732 * eval.c (unwind_to_catch):
4733 * eval.c (internal_catch):
4734 * eval.c (Fmacroexpand_internal):
4735 * eval.c (Fuser_variable_p):
4736 * eval.c (Fdefconst):
4738 * eval.c (Ffunction):
4739 * eval.c (signal_call_debugger):
4740 * eval.c (call_debugger):
4743 * emacs.c (sort_args):
4747 * editfns.c (Fencode_time):
4748 * editfns.c (Fdecode_time):
4749 * editfns.c (Fuser_full_name):
4751 * editfns.c (save_excursion_restore):
4754 * doprnt.c (emacs_doprnt_1):
4755 * doc.c (verify_doc_mapper):
4756 * doc.c (Fsnarf_documentation):
4757 * doc.c (Fdocumentation):
4759 * dired.c (user_name_completion):
4760 * dired.c (Fdirectory_files):
4763 * dgif_lib.c (FreeSavedImages):
4764 * dgif_lib.c (DGifGetImageDesc):
4766 * device.h (struct device):
4767 * device.c (Fselect_device):
4768 * device.c (allocate_device):
4770 * device-x.c (Fx_keysym_on_keyboard_p):
4771 * device-x.c (Fx_valid_keysym_name_p):
4772 * device-x.c (x_IO_error_handler):
4773 * device-x.c (x_delete_device):
4774 * device-x.c (x_finish_init_device):
4775 * device-x.c (x_init_device):
4777 * device-msw.c (mswindows_init_device):
4779 * database.c (vars_of_database):
4780 * database.c (Fput_database):
4781 * database.c (Fopen_database):
4782 * database.c (berkdb_remove):
4783 * database.c (berkdb_put):
4784 * database.c (Fdatabasep):
4785 * database.c (print_database):
4787 * data.c (vars_of_data):
4788 * data.c (syms_of_data):
4789 * data.c (init_errors_once_early):
4790 * data.c (prune_weak_lists):
4791 * data.c (finish_marking_weak_lists):
4792 * data.c (print_weak_list):
4794 * data.c (Fstring_to_number):
4795 * data.c (Fnumber_to_string):
4796 * data.c (Findirect_function):
4799 * data.c (Fsubr_interactive):
4801 * data.c (Fkeywordp):
4804 * console.h (CONSOLE_NAME):
4806 * console.c (vars_of_console):
4807 * console.c (Fselect_console):
4809 * console-x.h (DEVICE_X_COLORMAP):
4810 * console-x.h (struct x_device):
4811 * console-x.c (x_device_to_console_connection):
4812 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4813 * console-tty.c (tty_init_console):
4815 * console-msw.h (struct mswindows_frame):
4818 * cmds.c (internal_self_insert):
4819 * cmds.c (Fforward_line):
4820 * cmds.c (Fforward_char):
4823 * chartab.c (mark_char_table_entry):
4825 * casefiddle.c (casify_word):
4826 * callproc.c (child_setup):
4827 * callproc.c (Fcall_process_internal):
4829 * callint.c (Fcall_interactively):
4831 * bytecode.c (execute_rare_opcode):
4832 * bytecode.c (execute_optimized_program):
4835 * buffer.h (BUFFER_REALLOC):
4836 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4837 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4839 * buffer.h (MAP_INDIRECT_BUFFERS):
4840 * buffer.h (CHECK_LIVE_BUFFER):
4841 * buffer.c (init_initial_directory):
4842 * buffer.c (complex_vars_of_buffer):
4843 * buffer.c (vars_of_buffer):
4844 * buffer.c (finish_init_buffer):
4845 * buffer.c (Fget_file_buffer):
4846 * buffer.c (Fbuffer_list):
4847 * buffer.c (mark_buffer):
4848 * balloon_help.c (balloon_help_move_to_pointer):
4849 * balloon_help.c (show_help):
4852 * alloc.c (garbage_collect_1):
4853 * alloc.c (sweep_strings):
4854 * alloc.c (sweep_compiled_functions):
4855 * alloc.c (sweep_bit_vectors_1):
4856 * alloc.c (sweep_vectors_1):
4857 * alloc.c (sweep_lcrecords_1):
4858 * alloc.c (tick_lcrecord_stats):
4859 * alloc.c (pure_string_sizeof):
4860 * alloc.c (mark_conses_in_list):
4861 * alloc.c (mark_object):
4862 * alloc.c (report_pure_usage):
4863 * alloc.c (make_pure_float):
4864 * alloc.c (make_pure_string):
4865 * alloc.c (free_managed_lcrecord):
4866 * alloc.c (mark_string):
4867 * alloc.c (noseeum_make_marker):
4868 * alloc.c (allocate_event):
4869 * alloc.c (Fbit_vector):
4870 * alloc.c (Fvector):
4871 * alloc.c (make_float):
4872 * alloc.c (Fmake_list):
4874 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4875 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4876 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4877 * alloc.c (dbg_constants):
4878 * alloc.c (gc_record_type_p):
4879 * alloc.c (free_lcrecord):
4880 * alloc.c (xmalloc):
4881 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4883 * Makefile.in.in (mostlyclean):
4884 * Makefile.in.in (external_client_xlib_objs_nonshared):
4885 * Makefile.in.in (temacs_link_args):
4886 * Makefile.in.in (release):
4887 * Makefile.in.in (dnd_objs):
4888 * Makefile.in.in (objs):
4889 * Makefile.in.in (PROGNAME):
4890 * EmacsShell.c: cast strings to (XtPointer)
4891 * EmacsFrame.c: cast strings to (XtPointer)
4893 - rewrite basic lisp functions for speed
4894 - rewrite bytecode interpreter for speed
4895 - rewrite list looping constructs for speed and safety using
4897 - use size_t where appropriate.
4898 - new hashtable implementation
4899 - cleanup implementation of opaques
4900 - opaques can now be purecopy'ed
4901 - move some cl functionality into C for speed.
4902 - remove last remaining VMS support
4904 - improve gdb/dbx debugger support
4905 - move pure.c back into alloc.c for performance
4906 - enable report_pure_usage() if --memory-usage-stats
4907 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4908 - don't use symbols with leading `_' or embedded `__'
4909 - globally cleanup duplicated semicolons `;;'
4910 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4912 - globally replace O_NDELAY with O_NONBLOCK.
4913 - globally replace CDISABLE with _POSIX_VDISABLE.
4914 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4915 - define (and maybe use!) STDERR_FILENO and friends.
4916 - add support for macros defined in C
4917 - `when', `unless', `not' and `defalias' now defined in C,
4918 so that they are universally available.
4919 - rename defvar_mumble to defvar_magic
4920 - rename RETURN__ to RETURN_SANS_WARNINGS
4921 - use consistent style of initial caps in error messages
4922 - implement last, butlast, nbutlast, copy-list in C.
4923 - provide typedefs for all struct Lisp_foo types
4924 - Lisp_Objects must be initialized to Qnil rather than 0.
4925 - make sure XEmacs runs (slowly) with always_gc == 1;
4926 - fast and safe LOOP_* macros
4927 - change calls to XSETOBJ to XSETFOO
4928 - replace calls to XSETINT by make_int()
4929 - plug up memory leaks
4930 - use style markobj (foo), not silly ((markobj) (foo))
4931 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4933 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4935 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4937 1998-11-28 SL Baur <steve@altair.xemacs.org>
4939 * XEmacs 21.2-beta4 is released.
4941 1998-11-27 SL Baur <steve@altair.xemacs.org>
4943 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4944 property in control-1 charset.
4945 From Julian Bradfield <jcb@daimi.au.dk>
4947 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4949 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4951 Add stub for :label.
4953 * gui.c (gui_item_add_keyval_pair): ditto.
4955 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4956 :key-sequence keyword.
4958 Support :active for submenus like the Windows code and FSF Emacs.
4960 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4962 * dired.c (make_directory_hash_table): make_string() is OK because
4963 readdir() Mule-encapsulates.
4965 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4967 * fns.c (Fbase64_encode_string): Fix docstring.
4968 (Fbase64_decode_string): Ditto.
4970 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4972 * editfns.c (Ftranslate_region): Use
4973 convert_bufbyte_string_into_emchar_string().
4975 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4977 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4979 (Ftranslate_region): Turn table into an array of Emchars for
4982 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4984 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4986 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4988 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4989 type `char' with nils.
4991 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4992 for tables of type `char'.
4994 1998-11-26 Didier Verna <verna@inf.enst.fr>
4996 * input-method-xlib.c (Initialize_Locale): don't call
4997 XtSetLanguageProc. We've done the whole work here.
4998 * input-method-xfs.c (Initialize_Locale): ditto.
4999 * input-method-motif.c (Initialize_Locale): ditto.
5001 1998-11-26 Didier Verna <verna@inf.enst.fr>
5003 * process-unix.c (unix_create_process): handle properly
5004 Vfile_name_coding_system for converting the program and directory
5007 1998-11-27 SL Baur <steve@altair.xemacs.org>
5009 * m/arm.h: New file.
5010 From James LewisMoss <dres@ioa.com>
5012 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5015 Fix the realpath() problem of UnixWare2.1.3.
5016 Patches for NEC's sysv4.2 machine.
5018 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5020 * dired.c (Fdirectory_files): Remove redundant code.
5022 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5024 * fns.c (free_malloced_ptr): New function.
5025 (XMALLOC_OR_ALLOCA): New macro.
5026 (XMALLOC_UNBIND): Ditto.
5027 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
5028 to be freed in case of non-local exit.
5029 (Fbase64_encode_string): Ditto.
5030 (Fbase64_decode_region): Ditto.
5031 (Fbase64_decode_string): Ditto.
5032 (STORE_BYTE): New macro.
5033 (base64_decode_1): Use it.
5035 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5037 * fns.c (base64_value_to_char): Base64 stuff.
5039 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5041 * editfns.c (Fbuffer_substring): New function.
5043 * lisp.h: Declare make_string_from_buffer_no_extents().
5045 * insdel.c (make_string_from_buffer_1): New function.
5046 (make_string_from_buffer_no_extents): Ditto.
5048 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5050 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
5051 sound work on AIX with OSS installed. Linux should still work.
5053 1998-11-03 Andy Piper <andyp@parallax.co.uk>
5055 * config.h.in: name change for cygwin/version.h
5057 * configure.in: check for cygwin/version.h now.
5059 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5060 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5061 move cygwin32/version.h to cygwin/version.h
5063 1998-11-03 Olivier Galibert <galibert@pobox.com>
5065 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
5068 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5070 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5071 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5072 enable BROKEN_SIGIO under b20 to make QUIT work.
5074 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5076 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
5077 to fit within the constraints of the screen size. I.e. make the
5078 frame small enough to fit and move it if some of it will be
5081 1998-10-19 Greg Klanderman <greg@alphatech.com>
5083 * dired.c: conditionalize inclusion of user-name-completion
5084 primitives on non-Windows NT. The needed functions don't exist on NT.
5086 1998-11-24 SL Baur <steve@altair.xemacs.org>
5088 * gifrlib.h: Clean up types for 64 bit compile.
5089 * dgif_lib.c (DGifInitRead): Ditto.
5090 (MakeSavedImage): Ditto.
5091 * emacs.c (decode_path): Ditto.
5092 From Steve Carney <carney@pa.dec.com>
5094 1998-10-16 William M. Perry <wmperry@aventail.com>
5096 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
5097 (cehckboxes instead of checkboxes).
5099 1998-10-15 SL Baur <steve@altair.xemacs.org>
5101 * XEmacs 21.2-beta3 is released.
5103 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
5105 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
5106 gnuclient. Otherwise, we run xemacs as we always did. This gets
5107 rid of the annoying DOS window when running gnuclient.
5109 1998-10-13 Andy Piper <andyp@parallax.co.uk>
5111 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
5112 HAVE_MS_WINDOWS typo.
5114 1998-10-13 SL Baur <steve@altair.xemacs.org>
5116 * process-unix.c (unix_send_process): Set closed flag on writable
5117 pipe after SIGPIPE is received and before we call deactivate_process.
5119 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
5121 * window.c (Fset_window_start): respect narrowing when
5122 checking wheter start is at the beginning of a line.
5123 (Fset_window_buffer): Ditto
5124 Fixes repeatable crash in VM.
5126 1998-10-09 SL Baur <steve@altair.xemacs.org>
5128 * window.c (specifier_vars_of_window): Set default vertical
5129 divider width to 1 on ttys.
5131 1998-10-08 Martin Buchholz <martin@xemacs.org>
5136 Add <stddef.h> to get ptrdiff_t declaration
5138 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5140 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
5141 is used for Motif or Lucid scrollbars under X.
5143 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
5145 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
5148 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5150 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
5152 1998-10-05 Andy Piper <andyp@parallax.co.uk>
5154 * s/cygwin32.h: more cygwin b20 reorganisation.
5156 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
5158 * nas.c: Added necessary support functions to be able to handle
5159 WAVE files in memory, just like the support for SND files in
5162 1998-09-30 SL Baur <steve@altair.xemacs.org>
5164 * callproc.c (child_setup): Fix spelling typo.
5166 1998-09-29 SL Baur <steve@altair.xemacs.org>
5168 * XEmacs 21.2-beta2 is released.
5170 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
5172 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
5173 to prevent memory corruption in the case of jumping out of a series of
5174 nested match patterns. This is a rather brute force approach, though.
5176 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5178 * config.h.in: ditto.
5180 * s/cygwin32.h: rearrange declarations to cope with cygwin
5181 b20. Include cygwin32/version.h if it exists.
5183 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5185 * device-msw.c (mswindows_init_device): Call new
5186 mswindows_enumerate_fonts() function in objects-msw.c instead
5187 of font_enum_callback_1() to enumerate fonts.
5189 font_enum_callback_1() and _2() moved to objects-msw.c.
5191 * faces.c (complex_vars_of_faces): Make the mswindows default
5192 face font fully specified and provide some fallbacks.
5194 * objects-msw.c: font_enum_callback_1() and _2() moved here
5195 from objects-msw.c. Obtain the enumerated font's character
5196 sets by table lookup instead of using the locale-specific
5197 string provided by Windows.
5199 New public non-method mswindows_enumerate_fonts() that fills
5200 in the supplied mswindows device's font list.
5202 mswindows_initialize_font_instance: Use the supplied name
5203 variable instead of f->name when signalling errors. Match font
5204 weights and character sets using lookup tables which handle
5205 spaces instead of by frobbing.
5207 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5209 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5210 on the size of code fragments passed to run_in_other_process.
5212 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5213 the amount of memory to allocate in the other process.
5215 Removed sigkill_code_end(), sigint_code_end() and
5216 sig_enable_code_end() since they are now redundant.
5218 send_signal() and enable_child_signals(): Don't try to work
5219 out the end of the code fragments passed to
5220 run_in_other_process()
5222 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5224 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5227 * src/unexelf.c: Partially synched with FSF's 20.3.
5229 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5231 * insdel.c (signal_after_change): Map across indirect buffers
5232 here, and not in the upper-level functions.
5233 (signal_first_change): Don't check for Armageddon.
5234 (signal_before_change): Map across indirect buffers here.
5235 (prepare_to_modify_buffer): ...and here.
5237 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5239 * insdel.c (signal_after_change): Add return value.
5240 (buffer_insert_string_1): Use it.
5241 (buffer_delete_range): Ditto.
5242 (buffer_replace_char): Ditto.
5243 (cancel_multiple_change): Map the indirect buffers.
5245 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5247 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5248 (uninit_buffer_text): Ditto.
5250 * buffer.c (Fmake_indirect_buffer): Implement stricter
5253 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5255 * insdel.c (change_function_restore): Reverse order of
5256 function-call and assignment.
5257 (first_change_hook_restore): Ditto.
5259 * extents.c (mark_extent_auxiliary): Mark them.
5260 (Fset_extent_property): Set them.
5261 (Fextent_property): Get them.
5262 (Fextent_properties): Ditto.
5263 (vars_of_extents): Set their default.
5265 * extents.h (struct extent_auxiliary): Add before_change_functions
5266 and after_change_functions.
5268 * insdel.c (signal_before_change): Use it.
5269 (signal_after_change): Ditto.
5271 * extents.c (report_extent_modification): New function.
5273 * insdel.c (signal_before_change): Don't check for Armageddon.
5274 (signal_after_change): Ditto.
5276 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5278 * redisplay.c (redisplay_window): make sure a new starting point
5279 is chosen if it somehow got moved from the beginning of the line
5280 -- this can happen because Fwiden was called recently.
5282 * window.c (Fset_window_start): set start_at_line_beg correctly
5283 (Fset_window_buffer): Ditto
5285 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5287 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5288 (uninit_buffer_text): Ditto.
5290 * buffer.c (Fmake_indirect_buffer): Implement stricter
5293 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5295 * emacs.c (main_1): Removed references to *vars_of_filelock.
5297 * lisp.h: Added Fsystem_name.
5299 * filelock.c: Replaced by version from FSF 20.2. Now implements
5300 locking by using symlinks which is NFS safe. However keep the
5301 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5302 version (and of course use ansi C, acessor macros, etc).
5304 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5306 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5307 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5308 in init_signals_very_early. However these should not be passed
5309 on to children attached to the new pty.
5311 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5313 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5315 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5317 * fileio.c (file-name-directory, file_name_as_directory):
5318 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5320 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5322 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5324 * ralloc.c: uncomment __morecore.
5326 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5328 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5329 WriteFile() to fix a winsock 1.x bug on Win95.
5331 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5333 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5335 (x_event_to_emacs_event): Ditto.
5336 (emacs_Xt_handle_focus_event): Ditto.
5337 (emacs_Xt_handle_magic_event): Ditto.
5339 * console-x.h (struct x_device): New flag being_deleted.
5340 (DEVICE_X_BEING_DELETED): New macro.
5342 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5343 returning. Before doing that, set the being_deleted flag on the
5346 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5348 * device-x.c (x-seppuku-on-epipe): Removed.
5350 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5352 * frame-x.c (x_delete_frame): Flush the X output buffer after
5353 calling XtDestroyWidget to ensure that the windows are really
5356 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5358 * menubar-x.c (my_run_hook): New unused function.
5359 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5360 since we ignore the results of the contained functions anyway.
5362 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5364 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5365 interlaced GIF files that are smaller than 4 lines high...
5367 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5369 * buffer.c (map_over_sharing_buffers): Deleted.
5371 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5373 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5376 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5378 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5380 (buffer_delete_range): Ditto.
5382 * marker.c (init_buffer_markers): Set point-marker to the value of
5383 point in an indirect buffer.
5385 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5387 * undo.c (undo_prelude): Test last-undo-buffer against base
5390 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5392 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5394 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5396 * insdel.c (init_buffer_text): Initialize it here.
5398 * line-number.c: Address line_number_cache through buffer->text.
5400 * buffer.c (mark_buffer): Mark line number cache.
5402 * bufslots.h (line_number_cache): Move to struct buffer_text.
5404 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5405 across the children buffers.
5406 (buffer_delete_range): Ditto.
5407 (buffer_replace_char): Ditto.
5411 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5413 * buffer.c (Fmake_indirect_buffer): Uncomment.
5415 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5417 * macros.c (Fend_kbd_macro): Remove trailing period from error
5419 (Fexecute_kbd_macro): Ditto.
5421 1998-08-21 Greg Klanderman <greg@alphatech.com>
5423 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5424 (Fuser_name_completion_1): new function to return uniqueness
5425 indication in addition to the user name completion.
5426 (user_name_completion): change type of `uniq' argument.
5428 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5430 * lread.c (vars_of_lread): Removed `source-directory' variable.
5432 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5434 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5437 1998-08-19 SL Baur <steve@altair.xemacs.org>
5439 * dired.c (vars_of_dired): Fix misapplied patch.
5441 1998-08-16 Martin Buchholz <martin@xemacs.org>
5443 * fns.c (Fremrassq, remrassq_no_quit):
5444 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5446 1998-07-17 Didier Verna <verna@inf.enst.fr>
5448 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5449 style as foreground GC for faces that have the `dim' property.
5450 (x_output_string): when the `dim' face property is set,
5451 ensure the gray pixmap has been created, and get a proper
5452 foreground GC to draw the text.
5454 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5456 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5457 Manually track the state of the left and right Ctrl and Alt
5460 1998-08-07 Matt Stupple <matts@tibco.com>
5462 * ntproc.c: don't wait on char_consumed at thread entry.
5463 Additionally, to get the 'process' marked as finished, ensure
5464 that the CHILD_ACTIVE macro returns false, so before exiting
5465 close char_avail and set it to NULL, and close other handles
5466 to reduce handle leak problems.
5468 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5470 * menubar-msw.c (displayable_menu_item): take account of menu
5471 depth when deciding whether to try to display accelerators.
5473 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5475 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5478 * glyphs-msw.c: fix a couple of potential handle leaks.
5480 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5482 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5483 *decoding ONLY* back into the core.
5484 * glyphs-eimage.c: Change referenced header file for GIF
5485 reading to point to the incore version.
5487 1998-07-20 Martin Buchholz <martin@xemacs.org>
5489 * casefiddle.c (casify_object):
5490 Change algorithm from O(N**2) to O(N).
5494 1998-07-22 Greg Klanderman <greg@alphatech.com>
5496 * dired.c (file_name_completion_unwind): don't leak the cons.
5498 1998-07-20 Greg Klanderman <greg@alphatech.com>
5500 * dired.c (Fuser_name_completion): new function.
5501 (Fuser_name_all_completions): new function.
5502 (user_name_completion): new function.
5503 (syms_of_dired): 2 new DEFSUBRs.
5504 (vars_of_dired): initialize user name cache vars.
5506 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5508 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5509 colors taken from the default face. Also correct a thinko in
5510 transparency (not alpha) handling.
5512 1998-07-23 Martin Buchholz <martin@xemacs.org>
5514 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5515 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5516 * lread.c (Fload_internal): Be very careful with printfs of
5518 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5521 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5523 * callint.c (Fcall_interactively): GCPRO prompt string before
5524 passing it to Fread_key_sequence
5526 1998-07-27 SL Baur <steve@altair.xemacs.org>
5528 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5529 Vvertical_divider_map.
5531 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5532 Qnil or 0, none were initialized prior to this change.
5534 Rename misnamed `V' prefixed integer variables:
5535 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5536 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5537 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5538 Vcanna_ichiran_revLen.
5540 Rename misnamed `V' prefixed integer variables and initialize
5541 properly in the vars_of routine.
5542 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5543 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5544 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5545 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5546 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5547 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5548 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5549 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5550 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5551 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5552 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5553 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5554 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5555 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5556 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5557 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5558 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5559 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5560 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5561 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5562 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5563 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5564 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5565 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5566 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5567 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5568 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5569 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5570 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5571 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5572 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5573 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5574 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5575 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5576 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5577 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5578 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5579 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5580 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5581 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5582 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5583 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5584 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5585 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5586 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5587 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5589 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5591 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5592 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5593 keys thus no longer considering all keysyms on a key.
5595 1998-07-19 SL Baur <steve@altair.xemacs.org>
5597 * XEmacs 21.2-beta1 is released.
5599 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5601 * eldap.c (Fldap_search_internal): When converting the list of
5602 attributes to search Copy the final 0 from Lisp strings to C
5604 Check base, not Vldap_default_base as a a string
5606 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5608 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5610 * unexnt.c: Unconditionally define bss_start and bss_size, and
5611 ensure that they don't go in the .bss section.
5613 1998-07-17 Olivier Galibert <galibert@pobox.com>
5615 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5616 byte order is dependant of the local byte order).
5617 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5619 1998-07-18 SL Baur <steve@altair.xemacs.org>
5621 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5622 Qmswindows_resource.
5623 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5625 1998-07-12 SL Baur <steve@altair.xemacs.org>
5627 * general.c (syms_of_general): Add defsymbol for Qresource.
5629 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5630 Qmswindows_resource.
5631 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5632 (mswindows_resource_validate): Rename.
5633 (mswindows_resource_normalize): Rename.
5634 (mswindows_resource_possible_dest_types): Rename.
5635 (mswindows_resource_instantiate): Rename.
5636 (image_instantiator_format_create_glyphs_mswindows): Replace
5637 `resource' with `mswindows.resource'.
5639 * XEmacs 21.0-pre5 is released.
5641 1998-07-10 SL Baur <steve@altair.xemacs.org>
5643 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5644 server type in environment.
5645 Use alloca-ed strings instead of tiny fixed size ones.
5647 1998-07-09 SL Baur <steve@altair.xemacs.org>
5649 * XEmacs 21.0-pre4 is released.
5651 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5653 * fileio.c: (expand_file_name): under win32: Don't treat names
5654 as UNC names if a drive letter has been specified. If a drive
5655 has been specified, strip out extra directory-seperators that
5656 reportedly cause problems under Win95.
5658 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5660 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5661 MSVC >= 5.0. Put emacs init and zero-init data in a special
5662 section of the executable when this is defined.
5664 * unexnt.c, ntheap.h:
5665 Removed unused find_section() and get_section_size().
5668 Fix up the executable's checksum after dumping otherwise the
5670 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5671 zero-init data separately from init data. Dump emacs data
5672 into a special section of the executable.
5673 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5674 my_ebss instead of up to the end of bss.
5676 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5678 * filelock.c: Removed Vconfigure_lock_directory - already
5681 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5682 defined in frame.c and general.c respectively.
5684 * glyphs-msw.c: Removed Qresource - already defined in
5687 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5689 * eldap.c (Fldap_search_internal): Docstring fixes
5691 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5693 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5694 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5695 EMACSPACKAGEPATH and INFOPATH variables.
5696 Removed unused get_emacs_configuration function.
5698 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5699 it is now defined at build-time by the makefile.
5701 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5703 * fileio.c: (expand_file_name): under win32: Don't treat names as
5704 UNC names if a drive letter has been specified. If a drive has
5705 been specified, strip out extra directory-seperators that
5706 reportedly cause problems under Win95.
5708 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5710 * faces.c (complex_vars_of_faces): for the gui-element face don't
5711 fallback to the default face, instead provide reasonable default
5712 fallbacks that were previously hardcoded elsewhere.
5714 1998-07-06 Olivier Galibert <galibert@pobox.com>
5716 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5717 when the X server endianness is different than the client's one.
5719 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5721 * eval.c (run_hook_with_args_in_buffer): Check
5722 default (non-buffer-local) value of hook for
5723 nil before treating it as a function. Don't initialize
5724 the `globals' variable twice.
5726 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5728 * fileio.c: Don't do directory seperator canonicalisation in
5729 substitute-in-file-name because we don't know that the
5730 filename refers to a local file.
5732 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5734 * process-nt.c (nt_create_process): Try appending the standard
5735 executable file extensions to the filename if none supplied.
5737 1998-06-29 SL Baur <steve@altair.xemacs.org>
5739 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5741 From Keisuke Mori <ksk@ntts.com>
5743 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5745 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5746 images if we have masks. This handles the xbm case (have masks)
5747 and avoids overuse of resources in the xpm case (generally no masks).
5748 Don't output small toolbars.
5750 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5752 * eval.c (run_hook_with_args_in_buffer): Don't treat
5753 the default value of a buffer local hook as a list of
5754 hooks unless it is both a cons and the car of that cons
5757 1998-06-29 SL Baur <steve@altair.xemacs.org>
5759 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5760 * process-unix.c: Ditto.
5761 * mule-coding.h: Ditto.
5762 * mule-coding.c: Ditto.
5763 * mule-charset.c: Ditto.
5764 * mule-charset.h: Ditto.
5765 * file-coding.c: Ditto.
5766 * file-coding.h: Ditto.
5768 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5770 * event-msw.c: Guard against recursion when freeing
5771 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5773 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5774 Call ShowWindow twice in init_frame_3 to get round runemacs
5777 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5779 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5781 * winslots.h: Rename.
5783 * window.c (specifier_vars_of_window): Renamed
5784 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5785 as suggested by Ben Wing.
5786 (specifier_vars_of_window): Fix docstrings.
5788 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5790 * unexaix.c: Line number information works correctly again.
5792 1998-06-22 Olivier Galibert <galibert@pobox.com>
5794 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5796 1998-06-21 Martin Buchholz <martin@xemacs.org>
5798 * editfns.c (get_home_directory): ANSIfy.
5799 XEmacs is compilable under C *and* C++.
5800 It's XEmacs, not Xemacs!
5802 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5804 * console-msw.h: added a list of fonts to device data.
5806 * device-msw.c: enumerate list of available fonts in
5807 mswindows_init_device. Free list in mswindows_delete_device.
5809 * objects-msw.c: Added helper function match_font used by
5810 mswindows_initialize_font_instance and mswindows_list_fonts.
5811 Allow a charset to be specified in a font string, even if
5812 previous fields havn't been specified.
5814 1998-06-23 Greg Klanderman <greg@alphatech.com>
5816 * indent.c (column_at_point): column cache bugfix.
5817 Set last_known_column_point to the buffer position for
5818 which the column was requested, not buffer's point.
5820 * redisplay.c (decode_mode_spec): for current-column, show
5821 window's point's column, not buffer's point's column.
5823 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5825 * menubar-msw.c (mswindows_handle_wm_command): use
5826 enqueue_misc_user event rather than
5827 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5830 * console-msw.h: declare mswindows_enqueue_magic_event.
5832 * event-msw.c (mswindows_enqueue_magic_event): make global.
5834 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5836 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5837 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5838 (add_position_to_cache): Use EMACS_INT instead of int.
5840 1998-06-21 Olivier Galibert <galibert@pobox.com>
5842 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5843 suitable for an int used as a boolean (btw, C sucks.).
5845 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5847 * object-msw.c: remove warnings.
5849 * device-msw.c: #define wrongly named cygwin structure elements.
5851 * s/cygwin32.h: define DEMI_BOLD
5853 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5855 * redisplay-msw.c: new function mswindows_apply_face_effects.
5856 This is called by output_string and output_cursor to display
5857 underline and strikeout on faces.
5859 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5861 * console-msw.h: added a list of fonts to device data.
5863 * device-msw.c: enumerate list of available fonts in
5864 mswindows_init_device. Free list in mswindows_delete_device.
5866 * objects-msw.c: Added helper function match_font used by
5867 mswindows_initialize_font_instance and mswindows_list_fonts.
5868 Allow a charset to be specified in a font string, even if
5869 previous fields havn't been specified.
5871 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5874 Removed compilation warnings from mswindows_string_to_color.
5875 mswindows_list_fonts returns a more general bogus font.
5876 New lisp-visible function mswindows-color-list.
5878 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5880 * editfns.c (Fuser_login_name): Modify to user new function
5882 (user_login_name): C only function to avoid Lisp object overhead
5883 Returns "unknown" instead of nil in Cygwin environment
5885 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5886 equivalent for current user in Cygwin environment. Use new
5887 function user_login_name to get username.
5889 * lisp.h: Declare user_login_name
5891 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5893 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5895 Some other insignificant nitpicks.
5897 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5899 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5900 creating the image list and make sure he bk color is transparent.
5902 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5904 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5905 completed_timeouts. The timer could have expired.
5907 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5909 * console-msw.h: move XEMACS_RECT_WH inside frame
5910 parameters. define macors to access it.
5912 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5913 parameter to intialise desired sizing. (mswindows_init_frame_2):
5914 enable and size the frame to something sensible when we get
5915 here. (mswindows_set_frame_properites): use new
5916 mswindows_size_frame_internal function and size frame if frame
5917 parameters not just if init is finished - WM_SIZE happens too
5918 early for some specs. (mswindows_size_frame_internal): new
5919 function abstracted from mswindows_set_frame_properties.
5920 (Vmswindows_use_system_frame_size_defaults):
5921 new variable controls whether to allow the system to pick frame
5922 size defaults, defaults to nil.
5924 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5925 than duplicated code.
5927 1998-06-15 Colin Rafferty <colin@xemacs.org>
5929 * Makefile.in.in: Made EXTW_LINK expand properly.
5931 1998-06-12 Martin Buchholz <martin@xemacs.org>
5933 * redisplay.c (vars_of_redisplay): default value of
5934 column-number-start-at-one should be NIL!
5936 1998-06-11 Martin Buchholz <martin@xemacs.org>
5939 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5941 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5943 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5944 build_string to avoid crashes under Mule.
5946 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5948 * ntplay.c (play_sound_data_1): don't delete the sound data until
5949 the next sound is played and the previous one finished.
5951 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5953 * fileio.c (directory-sep-char): Escape backslashes.
5955 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5957 * event-stream.c: Fix docstring reference.
5959 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5961 * alloc.c (make_float): Remove useless initialization of `next'
5963 (make_pure_float): Ditto.
5965 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5967 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5969 * fileio.c (Fmake_directory_internal): Remove conditionals
5970 on WINDOWSNT when calling mkdir.
5972 * ntproc.c: Deleted the following unused functions:
5973 register_child, reap_subprocess, sys_wait.
5975 * nt.c (sys_rename): Ifzeroed this implementation.
5976 Deleted the following unused functions:
5977 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5978 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5979 sys_read, sys_write.
5980 Merger sys_fopen and sys_open with sysdep.c implementation.
5982 * sysdep.c: Removed MS-DOS code.
5983 (sys_rename): Deal with Microsoft rename weirdness.
5984 (sys_open): Implemented for Windows.
5988 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5990 * buffer.c (complex_vars_of_buffer): Removed %t description from
5993 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5995 * scrollbar-msw.c: initialize the cbSize element of the
5996 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5997 to ignore the value of cbSize, but Win95 (and I presume Win98)
5998 appear to want it set to sizeof(SCROLLINFO).
6000 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
6002 * event-stream.c: Defined Qcancel_mode_internal.
6003 (syms_of_event_stream): defsymbol'ed it.
6005 * events.h: Externed it.
6007 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
6009 1998-06-04 Oliver Graf <ograf@fga.de>
6011 * frame-x.c (x_cde_destroy_callback): free the data
6012 (cde-start-drag-internal) corrected root position, 21.1 needs this
6013 hardcoded in Button events
6014 (offix-start-drag-internal) corrected root position
6016 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6018 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
6021 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6023 * dialog-msw.c (button_width): Removed `inline' from the function
6026 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6028 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
6029 Note that adding this flag to subsequent frames causes problems.
6031 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6033 * glyphs-eimage.c (png_instantiate) move 'struct
6034 png_memory_storage tbr' out of nested block to avoid dangling
6037 1998-06-02 Andy Piper <andyp@parallax.co.uk>
6040 * faces.c: rename 3d-object -> gui-element. add toolbar face which
6041 inherits from gui-element.
6043 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
6044 with existing code, generate masks correctly.
6046 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
6048 * glyphs-eimage.c: Changed included header for gifs to use
6049 Gifreader instead of giflib.
6051 * glyphs-x.c: removed the image-related functions that were
6052 moved into glyphs-eimage.
6054 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
6056 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
6057 if built without X Windows support.
6059 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
6061 * fns.c (Fconcat): Synch docstring with new reality.
6063 1998-06-03 SL Baur <steve@altair.xemacs.org>
6065 * frame.c: Remove reference to msdos.h (which is going away).
6066 Suggested by Hrvoje Niksic and Kirill Katsnelson.
6068 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
6070 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
6074 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6076 * events.h: Fixed commentary about misc-user scrollbar events.
6078 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
6079 object as an event channel, instead of window object.
6080 (x_update_horizontal_scrollbar_callback): Ditto.
6082 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6084 * ntplay.c (play_sound_data_1) new function. convert alloca data
6085 to malloc if necessary.
6086 (play_sound_file): if the file is not in our path then convert to
6089 1998-06-01 SL Baur <steve@altair.xemacs.org>
6091 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
6092 * msdos.c (Frecent_doskeys): Ditto.
6094 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
6095 Suggested by Reggie Perry <perry@zso.dec.com>
6097 * buffer.h: Eliminate size in declaration.
6099 1998-06-01 Olivier Galibert <galibert@pobox.com>
6101 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
6103 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
6105 * gui.c (gui_item_init): Changed the default value for config member
6106 from Qunbound to Qnil.
6108 1998-06-01 Greg Klanderman <greg@alphatech.com>
6110 * indent.c (vmotion_pixels): Don't #define abs().
6112 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6114 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
6117 1998-05-30 Andy Piper <andyp@parallax.co.uk>
6119 * glyphs.h: add xbm declarations.
6121 * console.h: add xbm_instantiate_method device method.
6123 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
6124 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
6125 (xbm_possible_dest_types): moved here from glyphs-x.c. use
6126 locate_pixmap_file device method and read_bitmap_data_from_file
6127 instead of XmuReadBitmapDataFromFile.
6128 (xbm_instatntiate): make a device method.
6130 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
6131 new function that just calls XmuReadBitmapDataFromFile.
6132 (x_xbm_instatntiate): device method from xbm_instantiate.
6134 * glyphs-msw.c (read_bitmap_data) (NextInt)
6135 (read_bitmap_data_from_file): new functions copied from Xmu
6137 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
6138 inline data to an mswindows bitmap.
6139 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
6140 (mswindows_xbm_instantiate): mswindows-ized versions of the X
6143 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6145 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
6146 `modeline-visible-p'.
6147 Declared specifier lisp variables at the beginning oh the file
6150 * procimpl.h (struct process_methods): Changed semantics of
6151 create_process method so it accepts lisp strings instead of
6154 * process.c (Fstart_process_internal): Moved building of
6155 unix style argv from here to process-unix.c, ...
6157 * process-unix.c (unix_create_process): ... right here.
6159 * process-nt.c (nt_create_process): Changed this function to
6160 support new semantics, so avoided a GC problem.
6162 * events.c (Fmake_event): Document misc-user events properties.
6163 (Fmake_event): Do not allow arbitrary objects for channel property
6164 of misc-user events.
6165 (Fmake_event): Change misc-user event validation: it is function
6166 which is required, not button.
6168 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
6170 (mswindows_enqueue_misc_user_event): Added function.
6171 (mswindows_bump_queue): Removed function.
6172 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
6173 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
6174 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
6175 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
6176 really nothing, which is my personal favorite thing.
6178 * console-msw.h: Removed prototype for mswindows_bump_queue().
6179 Added prototype for mswindows_enqueue_misc_user_event().
6181 * menubar-msw.c (mswindows_handle_wm_command): Use
6182 mswindows_enqueue_misc_user_event().
6184 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6186 * dialog-msw.c (dialog_proc): Ditto.
6188 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6189 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6190 user events channel.
6192 1998-05-29 Greg Klanderman <greg@alphatech.com>
6194 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6195 incorrect semantics of vmotion_pixels which has been fixed. don't
6196 use it anymore as it can't easily be used.
6198 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6199 the motion was reported incorrectly if you tried to go past end of
6202 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6204 * toolbar.h: Removed misleading commentary, as Martin suggested.
6206 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6208 * lisp.h: Extern Qactivate_menubar_hook.
6210 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6213 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6215 * glyphs-msw.c: use BPLINE macro.
6217 * select-msw.c (mswindows-selection-exists-p)
6218 (mswindows-delete-selection): doc string fixes.
6220 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6221 unpressable. warning elimination.
6223 1998-05-28 Martin Buchholz <martin@xemacs.org>
6225 * alloc.c (dbg_constants):
6228 Remove toolbar_data debugging code, since that lrecord has
6231 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6233 * alloc.c: zap cached value of (user-home-directory), so that
6236 * buffer.c: From init_buffer(), separated out code that
6237 determined the initial directory for the *scratch* buffer, and
6238 put them into a function called "init_initial_directory()".
6239 The initial directory is now available as a global "char *"
6240 called initial_directory.
6242 * buffer.h: Added extern entries for initial_directory[] and
6243 init_initial_directory().
6245 * editfns.c: added new elisp function "user-home-directory",
6246 which basically returns getenv("HOME"), but attempts to use
6247 other values if $HOME isn't set.This may have to be tweaked in
6248 the future as, under Unix, "/" is used if $HOME isn't set (this
6249 probably should be set to the current directory). To support
6250 this, a new C function, "get_home_directory()", now exists,
6251 which returns the "home directory", as a "char *" string.
6253 * emacs.c: Rearrange NT initialization order so that
6254 environment/registry variables will be properly entered into
6255 Vprocess_enviroment.
6257 * fileio.c: replaced egetenv("HOME") with calls to the new
6258 get_home_directory().
6260 * lisp.h: Added function prototypes for uncache_home_directory()
6261 and get_home_directory(), along with lisp prototypes for
6262 Fuser_home_directory() and friends.
6264 * nt.c: replaced getenv("HOME") with calls to the new
6265 get_home_directory().
6267 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6268 warnings about getcwd(), etc. not having prototypes.
6270 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6272 * process-nt.c (send_signal): Emulate SIGHUP.
6273 (validate_signal_number): Ditto.
6275 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6276 remove MOD_SHIFT from ASCII characters.
6277 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6280 1998-05-24 Oliver Graf <ograf@fga.de>
6282 * frame-x.c (cde-start-drag-internal): added filename and multi-
6284 (x_cde_convert_callback) dito
6286 1998-05-26 Oliver Graf <ograf@fga.de>
6288 * frame-x.c: include event-mod.h also with CDE
6289 (x_cde_convert_callback) made the thing working
6290 (cde-start-drag-internal) also debugging
6292 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6299 - add __OpenBSD__ where __NetBSD__ was found.
6300 - TODO: replace platform-specific conditional compilation by
6301 feature tests in configure.in.
6303 1998-05-15 Greg Klanderman <greg@alphatech.com>
6305 * window.c (Fwindow_displayed_text_pixel_height): New function.
6306 (syms_of_window): DEFSUBR it.
6308 * indent.c (Fvertical_motion_pixels): New function - request
6310 (vmotion_pixels): helper.
6311 (syms_of_indent): DEFSUBR.
6312 * lisp.h: declaration for vmotion_pixels().
6314 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6315 to request returning motion in pixels.
6316 (Fvertical_motion_pixels): Remove, functionality merged into
6318 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6319 (Fmove_to_window_line): ditto.
6320 * lisp.h: Change declaration for Fvertical_motion.
6322 * window.c: rename window-text-pixel-{height,width,edges} to
6323 window-text-area-pixel-*.
6325 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6327 * tooltalk.c (vars_of_tooltalk) added staticpro for
6328 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6330 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6332 * faces.c: create a new 3d_object_face, make modeline and
6333 vertical_divider faces fallback to this rather than the default.
6335 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6337 * s/cygwin32.h: define charsets for cygwin.
6339 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6341 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6342 and coordinates. resize bitmaps if we have already settled on a
6345 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6347 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6349 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6351 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6355 * gui-x.c (popup_selection_callback): Ditto.
6357 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6359 * gui.c (get_callback): Renamed to get_gui_callback.
6361 1998-05-17 Martin Buchholz <martin@xemacs.org>
6363 * glyphs.h: order rearrangement.
6365 * device-tty.c (tty_asynch_device_change): Warning suppression.
6366 * device-x.c (x_device_system_metrics): Warning suppression.
6367 Make Doc strings consistent with coding standards.
6369 1998-05-24 Martin Buchholz <martin@xemacs.org>
6371 * general.c: multiple definition of `Qicon'. general.c seems
6372 like a good home for Qicon.
6374 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6376 * This patch is to fix compilation warnings under Windows.
6378 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6379 Added prototypes for FSF inherited functions, with which XEmacs is
6380 sprinkled thoroughly.
6381 Removed some #if 0 code. Bracketed some more definitions, probably
6382 related to Visual C versions prior to 4 (we do not support them).
6384 * sysfloat.h (logb): Finally, get logb() prototyped.
6386 * sysfile.h: Added Windows specific includes.
6387 Removed old Windows specific code bracketed with #if 0.
6389 * sysdep.h: Added prototype for xrealpath().
6391 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6393 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6394 vars_of_dired_mswindows and init_ntproc (Grrr).
6396 * realpath.c: Added Windows specific include files.
6397 (xrealpath): Conditionalized declaration of some auto variables on
6398 S_IFLNK, to avoid warnings.
6400 * ntproc.c: Disabled some compiler warnings. This file is going to
6401 die, so I have not cleaned it up much.
6402 (set_process_dir): Const parameter.
6403 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6404 (Fwin32_long_file_name): Ditto.
6405 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6408 * nt.h: Added prototypes for set_process_dir and convert_time.
6410 * nt.c: More include files.
6411 (getpwnam): Consted char* argument.
6412 (get_emacs_configuration): Const return value.
6413 (opendir): Const argument.
6414 (stat): Casted converstion long->short.
6415 (stat): Removed ad hoc and questionable support for non-MSC compile.
6416 (sys_pipe): Removed unused auto variable.
6417 (_sys_read_ahead): Removed calls to DebPrint.
6418 (sys_read): Ditto, in 2 places.
6419 (term_ntproc): Added unused int parameter to signal handler, to
6420 avoid a warning when compiling a call to signal().
6421 (msw_sigset): Properly return old signandler or NULL instead of void.
6423 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6425 * gmalloc.c (morecore): Ditto.
6426 (_free_internal): Ditto.
6428 * lread.c (parse_integer): Ditto.
6430 * dired-msw.c: Added several include files.
6432 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6433 of Compilers to Shut Up.
6435 * callproc.c: Added #includes to suppress warnings under Windows.
6436 (init_callproc): Removed #if0'ed code and unused variables.
6438 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6440 * device-msw.c (mswindows_device_system_metrics): do planes in a
6441 way consistent with X.
6443 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6444 use SetPixel, use DIBits functions.
6445 (xpm_to_eimage): frob colors more closely like xpm deos.
6447 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6448 to be closer to X version.
6450 * event-msw.c: use tooltip string directly.
6452 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6454 * objects-msw.c: frob rgb colors that only Kyle uses.
6456 * dialog-msw.c (button_width): INLINE -> inline.
6458 1998-05-23 SL Baur <steve@altair.xemacs.org>
6460 * getloadavg.c (getloadavg): Fix typo.
6462 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6464 * objects-msw.c (mswindows_initialize_font_instance): Added support
6465 for font character sets.
6466 Replaced 'XXX' with '####' in comments throughout the file.
6468 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6470 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6471 console_type_create_dialog_mswindows(), to initialize Windows dialog
6474 * symsinit.h: Prototyped the above functions.
6476 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6477 checks to dialog.c...
6479 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6480 device must support dialog boxes, and the descriptor must supply at
6483 * dialog-msw.c: New file, dialogs for Windows.
6485 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6487 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6488 (Fldap_search_internal): Removed unused variable `err'
6490 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6493 1998-05-17 Martin Buchholz <martin@xemacs.org>
6495 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6496 defined. Therefore there is no need to handle the case when
6497 HAVE_LDAP is undefined. Similarily, there is no reason to have
6498 any code wrapped within `#ifdef emacs', since this code is only
6499 useful within an emacs. This simplifies the code significantly.
6501 * inline.c: Include eldap.h only if HAVE_LDAP.
6502 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6505 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6507 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6508 printing dump stats when building without DEBUG_XEMACS.
6509 (dump_bss_and_heap): Ditto.
6511 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6513 * gnuclient.c: don't suppress window system if there is no display
6514 and we are running under mswindows. send 'mswindows device type if
6515 we are in this situation.
6517 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6520 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6522 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6525 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6527 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6528 {top,bottom}-{left,right} values in addition to
6529 {top,bottom}_{left,right}.
6531 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6533 * fileio.c (Fmake_temp_name): Remove unreached code.
6535 * process-nt.c (validate_signal_number): Use
6536 signal_simple_error().
6538 1998-05-19 Martin Buchholz <martin@xemacs.org>
6541 * sound.c (vars_of_sound):
6542 * sysdep.c (reset_sigio_on_device):
6543 * window.c (window_bottom_gutter_height):
6544 unexhp9k800.c:258: warning: implicit declaration of function
6545 `calculate_checksum'
6546 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6547 sysdep.c:1012: warning: unused variable `owner'
6548 window.c:993: warning: `window_right_toolbar_width' defined but not used
6550 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6552 * glyphs-msw.c (mswindows_create_resized_mask)
6553 (mswindows_create_resized_bitmap): new funnctions split out from
6554 mswindows_resize_dibitmap_instance.
6556 * glyphs-msw.h: declare new resize functions.
6558 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6559 functions so that the original bitmaps are preserved.
6561 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6563 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6564 color if we are trying to output 0 depth bg pixmap.
6566 * scrollbar-msw.c: warning elimination.
6568 1998-05-18 Martin Buchholz <martin@xemacs.org>
6570 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6571 directives in column 1.
6573 * search.c (skip_chars): Avoid using xzero with arrays, since some
6574 compilers get confused by the construct &array.
6576 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6579 * objects-msw.c: Changed the charset value for a new font from
6580 "don't care" to "ansi".
6582 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6584 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6586 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6587 modifier on control chars.
6588 Use IsCharAlpha() instead of isaplha().
6590 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6592 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6594 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6596 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6597 charset when creating font.
6598 (mswindows_initialize_color_instance): Do not create brush along
6600 (mswindows_finalize_color_instance): Do not delete it then.
6602 * objects-msw.h (struct mswindows_color_instance_data): Removed
6603 brush slot, and corresponding accessor macro.
6605 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6607 * toolbar.c: Removed toolbar_data lrecord implementation.
6608 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6609 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6610 (compute_frame_toolbar_buttons): Ditto.
6611 (CHECK_TOOLBAR): Ditto.
6612 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6613 (update_frame_toolbars): Do not check for changed buffer
6614 here. Toolbar information is provided by cached specs in
6615 windows. The check for buffer is eliminated becuase toolbars are
6616 marked changed in set_frame_selected_window() in frame.c
6617 Added check for changed toolbars geometry.
6618 (compute_frame_toolbars_data): Removed unused second parameter;
6619 Adjusted callers of this static function throughout the file.
6620 (init_frame_toolbars): Initialize current_toolbar_size.
6621 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6622 what is its current expansion, for clarity.
6623 (init_frame_toolbars): Ditto.
6624 (init_device_toolbars): Ditto.
6625 (init_global_toolbars): Ditto.
6627 * toolbar.h: Removed definition of toolbar_data lrecord.
6628 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6629 FRAME_CURRENT_TOOLBAR_SIZE.
6630 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6632 * toolbar-x.c (x_output_toolbar): The same change as in
6634 (x_output_toolbar): Ditto.
6635 (x_redraw_exposed_toolbar): Ditto.
6637 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6638 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6639 (mswindows_output_toolbar): Ditto.
6640 (mswindows_output_toolbar): Ditto.
6642 * frame.c (mark_frame): Removed marking of arrays, according to
6643 frameslots.h change.
6644 (nuke_all_frame_slots): Ditto.
6645 (set_frame_selected_window): Mark toolbars changed when
6646 last_nonminibuf_window changes.
6648 * frame.h (struct frame): Moved some slots to frameslots.h.
6649 Added current_toolbar_size array.
6650 Changed references from toolbar_data to toolbar_buttons in macros
6651 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6652 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6653 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6655 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6656 Moved arrays of lisp objects here from frame.h: toolbar_size,
6657 toolbar_visible_p, toolbar_border_width.
6658 Removed toolbar_data slot and added toolbar_buttons.
6660 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6662 * symsinit.h: Externed syms_of_process_nt()
6664 * emacs.c (main_1): Call syms_of_process_nt()
6666 * process-nt.c: Quote process arguments by a call to Lisp function
6667 `nt-quote-process-args'.
6668 (syms_of_process_nt): New function.
6669 (nt_send_process): Flush data stream after each write, to avoid
6670 leaving buffered data.
6671 (nt_send_process): When blocked on process output, wait for
6672 process to slurp more for progressively increasing time intervals.
6674 1998-05-17 Martin Buchholz <martin@xemacs.org>
6676 * window.c (have_undivided_common_edge): Make file-local function
6678 (map_windows): Return 0 if all map functions successful.
6681 * winslots.h: Use unlikely names for local variables in macros to
6682 avoid shadowing warnings.
6684 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6686 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6687 so that we re-output if the toolbar size has changed.
6689 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6691 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6693 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6695 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6698 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6700 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6701 get bitmap manifest constants defined.
6703 * console-msw.h: Include system files in angle brackets, not in
6706 * window.c (specifier_vars_of_window): Fixed a typo in
6707 `vertical-divider-line-width' docstirng.
6709 1998-05-16 Olivier Galibert <galibert@pobox.com>
6711 * line-number.c (delete_invalidate_line_number_cache): Use an
6713 (buffer_line_number): Remove dangerous, plain wrong when using
6714 64bits emacs ints, cast.
6716 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6718 * cmds.c (Fforward_line): Use EMACS_INTs.
6720 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6721 (scan_buffer): Ditto.
6722 (bi_find_next_newline_no_quit): Remove useless cast.
6723 (find_next_newline_no_quit): Ditto.
6724 (find_next_newline): Ditto.
6725 (find_before_next_newline): Use an EMACS_INT.
6727 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6729 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6731 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6733 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6735 * gui-x.c (popup_selection_callback): Use it.
6737 * gui.h (get_callback): Declare it.
6739 * gui.c (get_callback): New function.
6741 1998-05-15 SL Baur <steve@altair.xemacs.org>
6743 * window.c (have_undivided_common_edge): Guard scrollbar specific
6745 (window_needs_vertical_divider_1): Ditto.
6747 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6749 * emacs.c (decode_path): Eliminate compiler warning.
6750 (Fdecode_path): Renamed to Fsplit_path.
6751 (Fsplit_string_by_char): New function.
6753 1998-05-14 Damon Lipparelli <lipp@primus.com>
6755 * winslots.h: close comment
6757 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6759 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6761 * bufslots.h: Removed buffer_file_type slot.
6763 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6765 (complex_vars_of_buffer): Removed buffer-file-type variable and
6766 its default reference.
6768 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6770 * faces.c (complex_vars_of_faces): Defined
6771 Vvertical_divider_face.
6772 (vars_of_faces): Staticpro it.
6774 * faces.h: Externed Vvertical_divider_face.
6776 * redisplay-x.c (x_output_vertical_divider): Use
6777 Vvertical_divider_face to draw the divider instead of modeline
6780 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6781 divider face using Vvertical_divider_face background.
6782 Fix drawing spacing gaps around the divider.
6784 1998-05-14 Didier Verna <verna@inf.enst.fr>
6786 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6787 values for the vertical divider line width and spacing. Use the
6788 cached values from the window structure instead.
6789 (x_divider_width): ditto.
6791 * window.c (specifier_vars_of_window): new specifiers:
6792 vertical-divier -line-width and -spacing.
6793 (vertical_divider_global_width_changed): formerly known as
6794 vertical_divider_shadow_thickness_changed.
6796 * winslots.h: new slots: vertical_specifier _line_width and
6797 _spacing. Plus corrected a comment typo.
6799 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6801 * window.h: Declared window_divider_width().
6803 * console-stream.c (stream_divider_width): Removed method.
6804 (console_type_create_stream): And declaration for it.
6806 * redisplay.c (pixel_to_glyph_translation): Use
6807 window_divider_width() instead of divider_width redisplay method.
6808 (pixel_to_glyph_translation): Fix top divider edge calculation
6809 when scrollbar is on top.
6811 * window.c (window_divider_width): New function, an outphaser for
6812 divider_width redisplay method.
6813 (window_right_gutter_width): Use it.
6814 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6815 specifiers, set fallback values differently on TTYs, and document
6816 the behavior of these on TTYs in the docstrings.
6818 * scrollbar.c (update_scrollbar_instance): Use
6819 window_divider_width() instead of divider_width redisplay method.
6821 * console.h (struct console_methods): Removed divider_width_method.
6823 * redisplay-tty.c (tty_divider_width): Removed device method.
6824 (console_type_create_redisplay_tty): Removed definition for it.
6825 (tty_output_vertical_divider): Respect the value returned by
6826 window_divider_width thus divider line width specification.
6828 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6829 (console_type_create_redisplay_mswindows): Removed definition for it.
6830 (mswinodws_output_vertical_divider): Respect the value returned by
6831 window_divider_width thus divider line width specification.
6833 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6835 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6837 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6839 * glyphs-msw.c: resource loading implementation.
6840 (cursor_normalize): new function.
6841 (cursor_validate): ditto.
6842 (cursor_instantiate): ditto.
6843 (cursor_name_to_resource): ditto.
6844 (cursor_possible_dest_types): ditto.
6845 (check_valid_symbol): ditto.
6846 (check_valid_string_or_int): ditto.
6848 1998-05-14 Martin Buchholz <martin@xemacs.org>
6850 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6853 * process-unix.c (process_signal_char): Use VSUSP instead of
6854 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6856 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6858 * specifier.c (specifier_instance): Change locale precedence of
6859 instantiation so window locale has higher priority than buffer
6861 (Fspecifier_instance): Reflect this in docstring.
6862 (Fadd_spec_list_to_specifier): Ditto.
6863 (Fadd_spec_to_specifier): Ditto.
6864 (Fremove_specifier): Ditto.
6866 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6868 ** Dialog separation into a device method from Andy Piper
6870 * emacs.c (main_1): Call console_type_create_dialog_x().
6872 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6873 into this device method.
6874 (console_type_create_dialog_x): New function.
6876 * dialog.c (Fpopup_dialog_box): New function.
6877 (syms_of_dialog): Defsubr it.
6879 * console.h (struct console_methods): Declared
6880 popup_dialog_box_method().
6882 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6884 1998-05-14 Oliver Graf <ograf@fga.de>
6886 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6887 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6889 1998-05-13 Oliver Graf <ograf@fga.de>
6891 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6893 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6895 * console.h (device_metrics): Removed dbcs, input-method-editor
6896 and right-to-left metrics.
6898 * device.c (Fdevice_system_metric): Ditto.
6899 (Fdevice_system_metrics): Ditto.
6900 (syms_of_device): Ditto.
6901 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6904 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6906 * line-number.h (mark_line_number_cache): Remove unused
6909 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6910 (get_nearest_line_number): Simplify.
6911 (add_position_to_cache): Make the old marker point nowhere.
6913 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6915 ** Renamed window-divider-map => vertical-divider-map
6916 and event-over-divider-p => event-over-vertical-divider-p,
6917 in the following files/functions:
6919 * events.c (Fevent_over_divider_p):
6920 * keymap.c (get_relevant_keymaps):
6923 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6925 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6927 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6929 * window.c (vertical_divider_changed_in_window): Renamed so.
6930 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6931 (window_needs_vertical_divider_1): Decide whether we need it based
6932 on the value of the above specifier. If separators are unwanted,
6933 put them only if there's no scrollbar between this window and its
6935 (have_undivided_common_edge): New function, helper for the above.
6936 (window_needs_vertical_divider): Return either a cached value,
6937 or clauclate and cache one.
6938 (invalidate_vertical_divider_cache_in_window): Implemented.
6939 (map_windows): Changed return type to int, return the value from
6942 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6943 (struct window): Added need_vertical_divider_p and
6944 need_vertical_divider_valid_p.
6946 * winslots.h: Added vertical_divider_draggable_p slot.
6948 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6949 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6951 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6953 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6954 invalidate_vertical_divider_cache_in_frame().
6957 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6959 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6961 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6962 masks correctly and don't select 0.
6964 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6966 * winslots.h: New file, declaration of some struct window and
6967 struct saved_window members.
6969 * window.h (struct window): Include it, with required preprocessor
6972 * window.c (mark_window): Ditto.
6973 (allocate_window): Ditto.
6974 (struct saved_window): Ditto.
6975 (mark_window_config): Ditto.
6976 (saved_window_equal): Ditto.
6977 (Fset_window_configuration): Ditto.
6979 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6981 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6983 1998-05-12 Didier Verna <verna@inf.enst.fr>
6985 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6986 the divider line. The shadow thickness is currently
6987 hard-wired. This will probably be turned into a specifier soon.
6989 1998-05-12 Didier Verna <verna@inf.enst.fr>
6991 * console.h (struct console_methods): the divider_width console
6992 method now requires a struct window * argument.
6994 * redisplay-x.c (x_divider_width): ditto. Plus remove
6995 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6996 (x_output_vertical_divider): give a depressed look when the shadow
6997 thickness is negative.
6999 * console-stream.c (stream_divider_width): pass a struct window *
7002 * redisplay-tty.c (tty_divider_width): ditto.
7004 * window.c (window_right_gutter_width): totdi.
7006 * redisplay.c (generate_modeline): ittod.
7008 * scrollbar.c (update_scrollbar_instance): ttido.
7010 * redisplay-msw.c (mswindows_divider_width): ottid.
7011 WARNING: this enables to compile, but the feature is not functional.
7013 * window.h (struct window): new field
7014 vertical_divider_shadow_thickness.
7016 * window.c (specifier_vars_of_window): new specifier
7017 vertical-divider-shadow-thickness.
7018 (vertical_divider_shadow_thickness_changed): new function to
7019 inform redisplay that the window has changed.
7020 (mark_window): handle new field vertical_divider_shadow_thickness
7022 (allocate_window): ditto.
7023 (saved_window_equal): toddi.
7024 (Fset_window_configuration): totid.
7025 (save_window_save): ttdio.
7026 (struct saved_window): new field vertical_divider_shadow_thickness.
7028 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7030 * device-msw.c (mswindows_device_system_metrics): Support a deluge
7033 1998-05-12 Oliver Graf <ograf@fga.de>
7035 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
7036 * event-Xt.c (x_event_to_emacs_event): C++ compability
7038 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7040 * emacs.c (Fdecode_path): Default SEPCHAR to value of
7043 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7045 * emacs.c (vars_of_emacs): Do it here; change the meaning of
7048 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
7050 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7052 * emacs.c (decode_path_1): New function.
7053 (decode_path): Use it.
7054 (Fdecode_path): Renamed from Fdecode_path_internal; use
7057 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7059 * macros.c (Fzap_last_kbd_macro_event): New function.
7060 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
7062 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7064 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
7065 multiple bitmaps are output vertically as well as horizontally.
7066 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
7067 crossing lines this is handled by
7068 mswindows_output_dibitmap_region.
7070 1998-05-12 Martin Buchholz <martin@xemacs.org>
7072 * inline.c: Include eldap.h
7074 * menubar-x.c (x_update_frame_menubar_internal):
7075 Remove: unused variable `container'
7077 1998-05-11 Martin Buchholz <martin@xemacs.org>
7079 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
7080 Unfortunately, the resulting temacs still cannot dump.
7082 * symbols.c (symbol_is_constant):
7083 (verify_ok_for_buffer_local):
7084 -Wswitch Warning suppression - add default case to switches.
7086 * redisplay.c (decode_mode_spec): Remove unused variables,
7087 Replace Fcoding_system_property (codesys, Qmnemonic) with
7088 XCODING_SYSTEM_MNEMONIC (codesys);
7089 Fcoding_system_property is for users.
7095 Change empty docstrings into no doc strings at all.
7096 Fix bogus FSF-format docstrings.
7099 Standardize docstrings.
7102 Explain problems with matherr.
7104 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
7107 if BROKEN_SIGIO, then SIGIO wants to be undefined.
7108 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
7109 Fix the weird resultant interaction (causes windows problems)
7113 Take new EMACSBOOTSTRAPLOADPATH into account.
7114 Update documentation strings
7117 - Adjust for luser's CDPATH being set to something weird.
7118 - Take into account bash 2.02's tendency to print the cwd when
7119 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
7120 - fix the run-temacs target to use $(DUMPENV)
7121 - fix the run-puremacs target to use $(DUMPENV)
7122 - fix the `depend' target to properly $(RM) the right files
7123 - Generate a better TAGS file for XEmacs' lisp code using
7124 hand-crafted regexps.
7125 - Use standard coding conventions for modules/Makefile.in
7127 1998-05-12 Didier Verna <verna@inf.enst.fr>
7129 * redisplay.c: removed the scrolling modeline code that didn't
7130 make it for 21.0. To be continued ...
7132 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7134 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
7135 and empty string inputs.
7137 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7139 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
7141 1998-05-10 Oliver Graf <ograf@fga.de>
7143 * event-stream.c (enqueue_misc_user_event_pos): created
7144 * lisp.h (enqueue_misc_user_event_pos): prototype added
7145 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
7146 * emacs.c: call vars_of_dragdrop
7147 * dragdrop.c (vars_of_dragdrop): provide dragdrop
7149 1998-05-11 Oliver Graf <ograf@fga.de>
7151 * frame-x.c (x_cde_transfer_callback): return at correct pos
7152 * event-Xt.c (x_event_to_emacs_event): changed format of drop
7153 object for MIME (see comment in dragdrop.c)
7154 * dragdrop.c: API change documented in comment
7155 removed provide of dragdrop [is provided by dragdrop.el]
7157 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7159 * window.c (window_needs_vertical_divider): Enable vertical
7160 dividers for every non-rightmost window.
7161 (window_left_gutter_width): Left gutter consists of mythical
7162 toolbar and a virtual scrollbar.
7163 (window_right_gutter_width): The right one may have a divider
7166 * scrollbar.c (update_scrollbar_instance): Position vertical
7167 scrollbar left to divider if the latter present.
7169 * redisplay.h: Declared OVER_DIVIER constant.
7171 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
7174 * redisplay-x.c (x_output_vertical_divider): Output divider along
7175 the right side of the window, down to window bottom. Swapped
7176 foreground and background colors so it is visible by default.
7178 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7179 stick the divider to the right window side.
7181 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7183 (mswindows_divider_width): Ask system for user preferred value.
7184 (mswindows_output_vertical_divider): Always output the divider on
7185 the right side of a window, down to bottom.
7187 * keymap.c (get_relevant_keymaps): Route mouse button events which
7188 happened over a window divider through window-divider-map.
7189 (Fkey_binding): Documented that in the docstring.
7190 Defined the variable Vwindow_divider_map.
7192 * events.c (Fevent_over_divider_p): Added this function.
7194 * events.h: EXFUNed it.
7196 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7198 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7199 toolbar geometry is suspected to change.
7201 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7205 Condition dnd and dde code on HAVE_DRAGNDROP.
7207 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7209 * events.c (format_event_object): Print space as SPC etc.
7211 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7213 * print.c (print_internal): In the default case, abort() if
7214 ERROR_CHECK_TYPECHECK.
7216 * fileio.c (Fmake_temp_name): Doc fix.
7218 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7220 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7222 * undo.c (Fprimitive_undo): Fixed typo.
7224 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7226 * fns.c (concat): Signal error on integer argument.
7228 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7230 * console.h (device_metrics): Prefixed each constatnt with DM_
7232 * device.c: (Fdevice_system_metric): Renamed so from plural form
7233 (metrics); Changed parameters order and added DEFAULT parameter;
7234 Unabbreviated some metric constants; Fixed and untabified doc string.
7235 (Fdevice_system_metrics): Added. Returns a plist of all provided
7238 * device-msw.c (mswindows_device_system_metrics): Renamed
7239 device_metrics enum constants.
7240 Return Qunbound instead of Qnil.
7242 * device-tty.c (tty_device_system_metrics): Ditto.
7244 * device-x.c (x_device_system_metrics): Ditto.
7246 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7248 * redisplay-msw.c: implement background pixmaps (really!). Make
7249 sure bg color is transparent if we have bg pmaps.
7250 * (mswindows_output_string) (mswindows_clear_region): output bg
7252 * (mswindows_output_dibitmap_region): new function.
7253 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7254 the bg color rather than transparently.
7256 * toolbar-msw.c: use masks if they exist.
7258 * glyphs-msw.c: set up masks correctly.
7260 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7262 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7264 * regex.c (re_match_2_internal): Check for quit.
7266 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7268 * frame.c (Ffocus_frame): New function.