1 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
6 * mule-charset.c (mark_charset): `cs->encoding_table' has been
8 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
9 (Fset_charset_mapping_table): Likewise.
11 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
12 (CHARSET_ENCODING_TABLE): Delete.
13 (XCHARSET_ENCODING_TABLE): Delete.
14 (charset_code_point): New interface.
16 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
18 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
19 instead of `charset_get_byte1' and `charset_get_byte2'.
21 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
22 (charset_get_byte2): Deleted.
24 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
26 * char-ucs.h (SPLIT_CHAR): New inline function.
27 (breakup_char_1): Use `SPLIT_CHAR'.
29 * mule-charset.c (range_charset_code_point): New function.
30 (charset_code_point): New function.
32 * char-ucs.h (range_charset_code_point): New interface.
33 (breakup_char_1): Use `range_charset_code_point'.
35 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
37 * mule-charset.c (Fmake_charset): Delete unused local variable
40 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
41 (breakup_char_1): Find a charset and code-point in
42 `Vcharacter_attribute_table'.
44 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
46 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
49 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
51 * mule-charset.c (Vcharacter_attribute_table): New variable.
52 (Fchar_attribute_alist): New function.
53 (Fget_char_attribute): New function.
54 (Fput_char_attribute): New function.
55 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
57 (syms_of_mule_charset): Add new function `char-attribute-alist',
58 `get-char-attribute' and `put-char-attribute'.
59 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
61 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
63 * mule-charset.c (Fmake_charset): Just use
64 `get_unallocated_leading_byte'.
66 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
67 sets; don't use final-byte based number for private sets.
69 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
71 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
74 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
76 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
79 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
81 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
82 of `CHAR_LEADING_BYTE' in UTF-2000.
84 * insdel.c (find_charsets_in_bufbyte_string): Use
85 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
86 (find_charsets_in_emchar_string): Likewise.
88 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
89 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
91 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
92 (CHAR_CHARSET_ID): New macro.
94 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
96 * chartab.c (get_char_table): Don't use type `Charset_ID' for
97 charset-id - MIN_LEADING_BYTE.
98 (put_char_table): Likewise.
100 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
102 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
103 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
104 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
105 (CHARSET_ID_OFFSET): New macro.
106 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
107 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
108 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
109 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
111 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
113 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
114 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
115 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
116 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
117 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
119 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
121 * mule-charset.c (next_allocated_leading_byte): New variable in
123 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
124 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
125 (get_unallocated_leading_byte): Simply use
126 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
127 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
130 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
131 (MAX_LEADING_BYTE_PRIVATE): New macro.
132 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
133 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
135 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
137 * mule-charset.c (Fmake_charset): Allocate final-byte based
138 charset-id for 94-set, 96-set and 94x94-set.
140 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
142 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
144 (Fmake_charset): Likewise.
145 (complex_vars_of_mule_charset): Modify the font registry of
146 `ucs-bmp' not to match `Ethiopic-Unicode'.
148 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
150 * mule-charset.c (complex_vars_of_mule_charset): Add font
151 registory of `ucs-bmp'.
153 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
155 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
156 coded-charsets in `default-coded-charset-priority-list' when
157 breaking up a character.
159 * mule-charset.c (Vcharset_latin_viscii): New variable.
160 (Qlatin_viscii): New variable.
161 (make_charset): Don't use `decoding_table'.
162 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
164 (Fset_charset_mapping_table): New implementation.
165 (syms_of_mule_charset): Add new symbol `latin-viscii'.
166 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
167 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
168 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
169 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
170 charset `latin_viscii'.
172 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
173 (CHARSET_TYPE_94X94): Change to 1 from 2.
174 (CHARSET_TYPE_96): Change to 2 from 1.
175 (CHARSET_TYPE_128): New macro.
176 (CHARSET_TYPE_128X128): Change to 5 from 4.
177 (CHARSET_TYPE_256): New macro.
178 (CHARSET_TYPE_256X256): Change to 7 from 5.
179 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
181 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
183 * text-coding.c (char_encode_shift_jis): Refer
184 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
185 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
187 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
188 (char_byte_table_equal): New function in UTF-2000.
189 (char_byte_table_hash): New function in UTF-2000.
190 (char_byte_table_description): New constant in UTF-2000.
191 (char_byte_table): New type in UTF-2000.
192 (make_char_byte_table): New function in UTF-2000.
193 (copy_char_byte_table): New function in UTF-2000.
194 (make_char_code_table): New macro in UTF-2000.
195 (get_char_code_table): New function in UTF-2000.
196 (put_char_code_table): New function in UTF-2000.
197 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
198 (charset_description): Add setting in UTF-2000.
199 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
200 `CHARSET_TO_BYTE1_TABLE(cs)'.
201 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
202 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
203 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
204 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
205 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
206 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
207 `CHARSET_TO_BYTE2_TABLE(cs)'.
209 * char-ucs.h (char_byte_table): New type.
210 (XCHAR_BYTE_TABLE): New macro.
211 (XSETCHAR_BYTE_TABLE): New macro.
212 (CHAR_BYTE_TABLE_P): New macro.
213 (GC_CHAR_BYTE_TABLE_P): New macro.
214 (struct Lisp_Char_Byte_Table): New structure.
215 (get_char_code_table): New interface.
216 (Emchar_to_byte_table): Deleted.
217 (get_byte_from_character_table): Deleted.
218 (struct Lisp_Charset): Add `encoding_table'; delete
219 `to_byte1_table' and `to_byte2_table'.
220 (CHARSET_ENCODING_TABLE): New macro.
221 (CHARSET_TO_BYTE1_TABLE): Deleted.
222 (CHARSET_TO_BYTE2_TABLE): Deleted.
223 (XCHARSET_ENCODING_TABLE): New macro.
224 (XCHARSET_TO_BYTE1_TABLE): Deleted.
225 (XCHARSET_TO_BYTE2_TABLE): Deleted.
227 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
229 * mule-charset.c (syms_of_mule_charset): Delete charset alias
230 `vietnamese-viscii-*'.
232 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
234 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
235 (Qvietnamese_viscii_upper): New variable.
236 (Fdefine_charset_alias): New function.
237 (syms_of_mule_charset): Add new function `define-charset-alias'.
238 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
239 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
242 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
244 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
245 (MAX_CHAR_OBS_94x94): New macro.
246 (breakup_char_1): Support obsolete XEmacs-UCS private code space
249 * mule-charset.c (put_byte_from_character_table): Change unit size
251 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
253 (Fmake_reverse_direction_charset): Modify dummy argument of
254 `make_charset' for non-UTF-2000 environment.
256 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
258 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
260 * mule-charset.c (destroy_byte_from_character_table): New macro.
261 (latin_jisx0201_to_ucs): Deleted.
262 (latin_iso8859_2_to_ucs): Deleted.
263 (latin_iso8859_3_to_ucs): Deleted.
264 (latin_iso8859_4_to_ucs): Deleted.
265 (latin_iso8859_9_to_ucs): Deleted.
266 (latin_viscii_lower_to_ucs): Deleted.
267 (latin_viscii_upper_to_ucs): Deleted.
268 (mark_charset): Mark `cs->decoding_table'.
269 (Fcharset_mapping_table): Fix DOC-string.
270 (Fset_charset_mapping_table): New function.
271 (syms_of_mule_charset): Add nwe function
272 `set-charset-mapping-table'.
273 (complex_vars_of_mule_charset): Don't setup and use
276 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
278 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
281 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
283 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
284 (Vcharset_katakana_jisx0208): New variable.
285 (Qhiragana_jisx0208): New variable.
286 (Qkatakana_jisx0208): New variable.
287 (make_charset): Add new argument `byte_offset'.
288 (charset_get_byte1): Modify for new coded-charset definition; use
289 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
290 `XCHARSET_BYTE_OFFSET'.
291 (Fmake_charset): Modify for `make_charset'.
292 (Fmake_reverse_direction_charset): Likewise.
293 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
295 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
296 `.' in font registry of charset `katakana-jisx0201',
297 `latin-jisx0201', `vietnamese-viscii-lower' and
298 `vietnamese-viscii-upper'; modify DOC-string of charset
299 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
300 registry of charset `japanese-jisx0208' not to use font for JIS
301 X0208:1990; add new charset `hiragana-jisx0208' and
304 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
305 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
306 (struct Lisp_Charset): Add `byte_offset'.
307 (CHARSET_BYTE_OFFSET): New macro.
308 (XCHARSET_UCS_MIN): New macro.
309 (XCHARSET_UCS_MAX): New macro.
310 (XCHARSET_CODE_OFFSET): New macro.
311 (XCHARSET_BYTE_OFFSET): New macro.
312 (MIN_CHAR_HIRAGANA): New macro.
313 (MAX_CHAR_HIRAGANA): New macro.
314 (MIN_CHAR_KATAKANA): New macro.
315 (MAX_CHAR_KATAKANA): New macro.
316 (MAKE_CHAR): Modify for new coded-charset definition; use
317 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
318 `XCHARSET_BYTE_OFFSET'.
320 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
322 * mule-charset.c (CHAR96): Deleted.
323 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
325 (latin_iso8859_2_to_ucs): Likewise.
326 (latin_iso8859_3_to_ucs): Likewise.
327 (latin_iso8859_4_to_ucs): Likewise.
328 (latin_iso8859_9_to_ucs): Likewise.
329 (latin_viscii_lower_to_ucs): Likewise.
330 (latin_viscii_upper_to_ucs): Likewise.
331 (latin_tcvn5712_to_ucs): Commented out.
332 (make_charset): Change type of argument `decoding_table' from
333 <Emchar*> to <Lisp_Object> [vector of characters].
334 (Fmake_charset): Modify for `make_charset'.
335 (Fmake_reverse_direction_charset): Likewise.
336 (Fcharset_mapping_table): New function in UTF-2000.
337 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
339 (complex_vars_of_mule_charset): Modify for type change of
340 `*_to_ucs'; modify for `make_charset'.
342 * char-ucs.h (struct Lisp_Charset): Change type of
343 `decoding_table' from <Emchar*> to <Lisp_Object>.
344 (MAKE_CHAR): Modify for new specification of `decoding_table'.
346 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
348 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
349 error with non-UTF-2000-Mule.
351 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
353 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
355 (Vcharset_chinese_cns11643_4): Likewise.
356 (Vcharset_chinese_cns11643_5): Likewise.
357 (Vcharset_chinese_cns11643_6): Likewise.
358 (Vcharset_chinese_cns11643_7): Likewise.
359 (Qchinese_cns11643_3): Likewise.
360 (Qchinese_cns11643_4): Likewise.
361 (Qchinese_cns11643_5): Likewise.
362 (Qchinese_cns11643_6): Likewise.
363 (Qchinese_cns11643_7): Likewise.
364 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
365 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
366 and `chinese-cns11643-7' to lisp/mule/chinese.el.
367 (complex_vars_of_mule_charset): Likewise.
369 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
371 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
373 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
374 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
376 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
378 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
380 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
381 (breakup_char_1): Likewise.
383 * text-coding.c (char_encode_iso2022): Keep designated charsets if
384 one of them includes the specified character.
386 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
388 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
390 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
392 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
394 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
396 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
397 definition for non-UTF-2000 Mule.
398 (latin_iso8859_3_to_ucs): Likewise.
399 (latin_iso8859_4_to_ucs): Likewise.
400 (latin_iso8859_9_to_ucs): Likewise.
401 (latin_jisx0201_to_ucs): Likewise.
402 (MIN_CHAR_THAI): Likewise.
403 (MAX_CHAR_THAI): Likewise.
404 (MIN_CHAR_GREEK): Likewise.
405 (MAX_CHAR_GREEK): Likewise.
406 (MIN_CHAR_HEBREW): Likewise.
407 (MAX_CHAR_HEBREW): Likewise.
408 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
409 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
410 (MIN_CHAR_CYRILLIC): Likewise.
411 (MAX_CHAR_CYRILLIC): Likewise.
413 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
415 * char-ucs.h (breakup_char_1): Use
416 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
417 thai-tis620 and katakana-jisx0201 area.
419 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
421 * char-ucs.h (breakup_char_1): Use
422 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
425 * text-coding.c (reset_encoding_stream): Fixed.
426 (char_encode_ucs4): Delete `& 255'.
428 * char-ucs.h (breakup_char_1): Use
429 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
431 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
433 * file-coding.c (Fmake_coding_system): Don't set up
434 `codesys->fixed.size'.
435 (encode_coding_no_conversion): Don't refer
436 `str->codesys->fixed.size'.
438 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
440 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
441 (latin_a_char_to_byte1): Deleted.
442 (latin_a_char_to_byte2): Deleted.
444 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
446 * mule-charset.c (make_charset): Add new argument `ucs_min',
447 `ucs_max' and `code_offset'.
448 (charset_get_byte1): New implementation [delete specific charset
449 depended implementations].
450 (Fmake_charset): Modify for `make_charset'.
451 (Fmake_reverse_direction_charset): Likewise.
452 (complex_vars_of_mule_charset): Likewise.
454 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
456 (CHARSET_UCS_MIN): New macro.
457 (CHARSET_UCS_MAX): New macro.
458 (CHARSET_CODE_OFFSET): New macro.
459 (MAKE_CHAR): Delete charset depended definitions [except
462 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
464 * char-ucs.h (breakup_char_1): Use
465 `Vdefault_coded_charset_priority_list' for C0-Controls,
466 Basic-Latin, C1-Controls and Latin-1-Supplement area.
468 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
470 * char-ucs.h (charset_get_byte1): New function.
471 (XCHARSET_GET_BYTE1): Deleted.
472 (charset_get_byte2): New function.
473 (XCHARSET_GET_BYTE2): Deleted.
474 (Vdefault_coded_charset_priority_list): New external variable.
475 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
476 `Vdefault_preferred_coded_charset_list'.
478 * mule-charset.c (charset_get_byte1): New function.
479 (charset_get_byte2): New function.
480 (Vdefault_coded_charset_priority_list): New variable.
481 (vars_of_mule_charset): Add new variable
482 `default-coded-charset-priority-list'.
484 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
486 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
487 (XCHARSET_GET_BYTE2): New inline function.
488 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
489 `XCHARSET_GET_BYTE2'.
491 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
493 * mule-charset.c (make_charset): Initialize
494 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
495 NULL if table is not defined.
497 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
499 * text-coding.c (char_encode_shift_jis): Use
500 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
501 `ucs_to_latin_jisx0201'.
503 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
504 (ucs_to_latin_iso8859_2): Deleted.
505 (ucs_to_latin_iso8859_3): Deleted.
506 (ucs_to_latin_iso8859_4): Deleted.
507 (ucs_to_latin_iso8859_9): Deleted.
508 (ucs_to_latin_viscii_lower): Deleted.
509 (ucs_to_latin_viscii_upper): Deleted.
510 (ucs_to_latin_tcvn5712): Deleted.
511 (make_charset): Add new argument `decoding_table'; set up
512 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
513 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
514 `decoding_table' is defined in UTF-2000.
515 (Fmake_charset): Modify for `make_charset'.
516 (Fmake_reverse_direction_charset): Likewise.
517 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
518 and `GENERATE_96_SET'.
520 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
521 (ucs_to_latin_jisx0201): Deleted.
522 (latin_iso8859_2_to_ucs): Deleted.
523 (ucs_to_latin_iso8859_2): Deleted.
524 (latin_iso8859_3_to_ucs): Deleted.
525 (ucs_to_latin_iso8859_3): Deleted.
526 (latin_iso8859_4_to_ucs): Deleted.
527 (ucs_to_latin_iso8859_4): Deleted.
528 (latin_iso8859_9_to_ucs): Deleted.
529 (ucs_to_latin_iso8859_9): Deleted.
530 (latin_viscii_lower_to_ucs): Deleted.
531 (ucs_to_latin_viscii_lower): Deleted.
532 (latin_viscii_upper_to_ucs): Deleted.
533 (ucs_to_latin_viscii_upper): Deleted.
534 (struct Lisp_Charset): Renamed `encoding_table' to
535 `to_byte1_table'; add `to_byte2_table'.
536 (CHARSET_DECODING_TABLE): New macro.
537 (CHARSET_TO_BYTE1_TABLE): New macro.
538 (CHARSET_TO_BYTE2_TABLE): New macro.
539 (XCHARSET_DECODING_TABLE): New macro.
540 (XCHARSET_TO_BYTE1_TABLE): New macro.
541 (XCHARSET_TO_BYTE2_TABLE): New macro.
542 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
544 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
545 don't use `ucs_to_*' tables.
547 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
549 * text-coding.c (Fmake_coding_system): Don't set up
550 `codesys->fixed.size'.
551 (encode_coding_no_conversion): Use `if' instead of `switch'.
553 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
555 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
557 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
558 (Fmake_charset): Modify for `make_charset'.
559 (Fmake_reverse_direction_charset): Likewise.
560 (complex_vars_of_mule_charset): Likewise.
562 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
564 * text-coding.c (char_encode_shift_jis): Use table
565 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
567 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
569 * text-coding.c (text_encode_generic): Use `if' instead of
571 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
574 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
576 * text-coding.c (encode_coding_sjis): Deleted.
577 (char_encode_shift_jis): New function.
578 (char_finish_shift_jis): New function.
579 (reset_encoding_stream): Set up `encode_char' and `finish' for
580 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
581 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
582 (char_encode_utf8): Treat `eol_type'.
584 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
586 * file-coding.c (decode_coding_iso2022): Use
587 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
589 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
591 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
594 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
596 * char-lb.h (CHAR_COLUMNS): New macro.
598 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
600 * text-coding.c (char_encode_ucs4): New function.
601 (char_finish_ucs4): New function.
602 (encode_coding_ucs4): Deleted.
603 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
604 (text_encode_generic): Delete local variable `charset' and `half'.
605 (ucs_to_mule_table): Deleted.
606 (mule_to_ucs_table): Deleted.
607 (Fset_ucs_char): Deleted.
608 (ucs_to_char): Deleted.
609 (Fucs_char): Deleted.
610 (Fset_char_ucs): Deleted.
611 (Fchar_ucs): Deleted.
612 (decode_ucs4): Deleted.
613 (mule_char_to_ucs4): Deleted.
614 (encode_ucs4): Deleted.
615 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
616 (decode_coding_utf8): Likewise.
617 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
618 (char_encode_iso2022): Fixed.
619 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
620 `Fset_char_ucs' and `Fchar_ucs'.
621 (complex_vars_of_file_coding): Don't initialize
624 * objects-tty.c (tty_initialize_font_instance): Don't use
627 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
630 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
631 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
633 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
634 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
635 (emchar_string_displayed_columns): Likewise.
637 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
638 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
639 (string_column_at_point): Likewise.
640 (Fmove_to_column): Likewise.
642 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
643 `encoding_table' and `decoding_table'.
644 (CHARSET_REP_BYTES): Deleted.
645 (XCHARSET_REP_BYTES): Deleted.
646 (XCHARSET_COLUMNS): Deleted.
647 (CHAR_COLUMNS): New macro.
648 (lookup_composite_char): Deleted unconditionally.
649 (composite_char_string): Likewise.
651 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
653 * char-ucs.h (Emchar_to_byte_table): New type.
654 (get_byte_from_character_table): New function interface.
655 (Vcharset_latin_jisx0201): New variable.
656 (latin_jisx0201_to_ucs): New variable.
657 (ucs_to_latin_jisx0201): New variable.
658 (Vcharset_latin_iso8859_2): New variable.
659 (latin_iso8859_2_to_ucs): New variable.
660 (ucs_to_latin_iso8859_2): New variable.
661 (Vcharset_latin_iso8859_3): New variable.
662 (latin_iso8859_3_to_ucs): New variable.
663 (ucs_to_latin_iso8859_3): New variable.
664 (Vcharset_latin_iso8859_4): New variable.
665 (latin_iso8859_4_to_ucs): New variable.
666 (ucs_to_latin_iso8859_4): New variable.
667 (Vcharset_latin_iso8859_9): New variable.
668 (latin_iso8859_9_to_ucs): New variable.
669 (ucs_to_latin_iso8859_9): New variable.
670 (Vcharset_latin_viscii_lower): New variable.
671 (latin_viscii_lower_to_ucs): New variable.
672 (ucs_to_latin_viscii_lower): New variable.
673 (Vcharset_latin_viscii_upper): New variable.
674 (latin_viscii_upper_to_ucs): New variable.
675 (ucs_to_latin_viscii_upper): New variable.
676 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
677 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
678 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
679 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
680 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
681 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
682 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
683 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
684 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
685 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
687 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
688 (Vcharset_latin_viscii_upper): New variable.
689 (make_byte_from_character_table): New function.
690 (put_byte_from_character_table): New function.
691 (get_byte_from_character_table): New function.
693 (ucs_to_latin_jisx0201): New variable.
694 (latin_jisx0201_to_ucs): New variable.
695 (ucs_to_latin_iso8859_2): New variable.
696 (latin_iso8859_2_to_ucs): New variable.
697 (ucs_to_latin_iso8859_3): New variable.
698 (latin_iso8859_3_to_ucs): New variable.
699 (ucs_to_latin_iso8859_4): New variable.
700 (latin_iso8859_4_to_ucs): New variable.
701 (ucs_to_latin_iso8859_9): New variable.
702 (latin_iso8859_9_to_ucs): New variable.
703 (ucs_to_latin_viscii_lower): New variable.
704 (latin_viscii_lower_to_ucs): New variable.
705 (ucs_to_latin_viscii_upper): New variable.
706 (latin_viscii_upper_to_ucs): New variable.
707 (ucs_to_latin_tcvn5712): New variable.
708 (latin_tcvn5712_to_ucs): New variable.
709 (Qlatin_viscii_lower): New variable.
710 (Qlatin_viscii_upper): New variable.
711 (syms_of_mule_charset): Set up new symbol
712 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
713 (complex_vars_of_mule_charset): Set up new charset
714 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
715 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
716 `ucs_to_<CHARSET>' tables.
718 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
720 * text-coding.c: New file.
722 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
724 * mule-charset.c (Fmake_char): Fix problem of 256-set.
726 * char-ucs.h (Vcharset_ucs_bmp): New variable.
727 (MAKE_CHAR): Modify for `ucs-bmp'.
728 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
729 non-MULE characters of BMP.
731 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
733 * mule-charset.c (vars_of_mule_charset):
734 Update `utf-2000-version' to 0.6.
736 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
739 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
740 - Include character.h for `CHAR_ASCII_P'.
742 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
744 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
745 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
747 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
748 (BYTE_C0_P): Likewise.
749 (BYTE_C1_P): Likewise.
750 (Lstream_get_emchar_1): Likewise.
751 (Lstream_fput_emchar): Likewise.
752 (Lstream_funget_emchar): Likewise.
753 (copy_internal_to_external): Likewise.
754 (copy_external_to_internal): Likewise.
756 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
757 (BYTE_C0_P): Likewise.
758 (BYTE_C1_P): Likewise.
759 (Lstream_get_emchar_1): Likewise.
760 (Lstream_fput_emchar): Likewise.
761 (Lstream_funget_emchar): Likewise.
762 (copy_internal_to_external): Likewise.
763 (copy_external_to_internal): Likewise.
765 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
766 (REP_BYTES_BY_FIRST_BYTE): Likewise.
768 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
769 (BYTE_ASCII_P): Moved to mb-1byte.h.
771 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
773 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
775 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
776 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
777 (VALID_CHARPTR_P): Moved to mb-*byte.h.
778 (VALIDATE_CHARPTR_BACKWARD): Likewise.
779 (VALIDATE_CHARPTR_FORWARD): Likewise.
780 (simple_charptr_emchar): Moved to mb-multibyte.h.
781 (simple_set_charptr_emchar): Likewise.
782 (simple_charptr_copy_char): Likewise.
783 (non_ascii_charptr_emchar): Likewise.
784 (non_ascii_set_charptr_emchar): Likewise.
785 (non_ascii_charptr_copy_char): Likewise.
786 (charptr_emchar): Moved to mb-*byte.h.
787 (set_charptr_emchar): Likewise.
788 (charptr_copy_char): Likewise.
790 * mb-1byte.h, mb-multibyte.h: New files.
792 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
794 * mb-utf-8.h (MULTIBYTE): New macro.
795 (MAX_EMCHAR_LEN): Moved from buffer.h.
796 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
798 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
800 * mb-lb.h, multibyte.h: New files.
802 * char-1byte.h (Charset_ID): Moved from buffer.h.
803 (MIN_LEADING_BYTE): Likewise.
804 (LEADING_BYTE_ASCII): Likewise.
805 (NUM_LEADING_BYTES): Likewise.
806 (CHARSETP): Likewise.
807 (CHARSET_BY_LEADING_BYTE): Likewise.
808 (XCHARSET_LEADING_BYTE): Likewise.
809 (XCHARSET_GRAPHIC): Likewise.
810 (XCHARSET_COLUMNS): Likewise.
811 (XCHARSET_DIMENSION): Likewise.
812 (CHAR_CHARSET): Likewise.
813 (CHAR_LEADING_BYTE): Likewise.
814 (BREAKUP_CHAR): Likewise.
815 (Vcharset_ascii): Likewise.
817 * buffer.h: Include multibyte.h unconditionally.
818 (VALID_CHARPTR_P): Moved to multibyte.h.
819 (ASSERT_VALID_CHARPTR): Likewise.
820 (REAL_INC_CHARPTR): Likewise.
821 (REAL_INC_CHARBYTIND): Likewise.
822 (REAL_DEC_CHARPTR): Likewise.
823 (INC_CHARPTR): Likewise.
824 (INC_CHARBYTIND): Likewise.
825 (DEC_CHARPTR): Likewise.
826 (VALIDATE_CHARPTR_BACKWARD): Likewise.
827 (VALIDATE_CHARPTR_FORWARD): Likewise.
828 (charptr_n_addr): Likewise.
829 (MAX_EMCHAR_LEN): Moved to mb-*.h.
830 (simple_charptr_emchar): Moved to multibyte.h.
831 (simple_set_charptr_emchar): Likewise.
832 (simple_charptr_copy_char): Likewise.
833 (non_ascii_charptr_emchar): Likewise.
834 (non_ascii_set_charptr_emchar): Likewise.
835 (non_ascii_charptr_copy_char): Likewise.
836 (charptr_emchar): Likewise.
837 (set_charptr_emchar): Likewise.
838 (charptr_copy_char): Likewise.
839 (charptr_emchar_n): Likewise.
840 (Charset_ID): Moved to char-1byte.h.
841 (Vcharset_ascii): Likewise.
842 (CHAR_CHARSET): Likewise.
843 (CHAR_LEADING_BYTE): Likewise.
844 (LEADING_BYTE_ASCII): Likewise.
845 (NUM_LEADING_BYTES): Likewise.
846 (MIN_LEADING_BYTE): Likewise.
847 (CHARSETP): Likewise.
848 (CHARSET_BY_LEADING_BYTE): Likewise.
849 (XCHARSET_LEADING_BYTE): Likewise.
850 (XCHARSET_GRAPHIC): Likewise.
851 (XCHARSET_COLUMNS): Likewise.
852 (XCHARSET_DIMENSION): Likewise.
853 (BREAKUP_CHAR): Likewise.
855 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
857 * character.h: Add document about interface for characters.
859 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
860 (MAKE_CHAR): Delete comment about
861 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
862 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
863 (BREAKUP_CHAR): Modify name of arguments.
864 (CHAR_CHARSET): Modify name of argument.
866 * buffer.h: Delete document about Emchar accessors.
868 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
870 * character.h (CHAR_INTP): Moved from buffer.h
871 (CHAR_OR_CHAR_INTP): Likewise.
872 (XCHAR_OR_CHAR_INT): Likewise.
873 (CHECK_CHAR_COERCE_INT): Likewise.
875 * buffer.h (CHAR_INTP): Moved to character.h
876 (CHAR_OR_CHAR_INTP): Likewise.
877 (XCHAR_OR_CHAR_INT): Likewise.
878 (CHECK_CHAR_COERCE_INT): Likewise.
880 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
883 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
884 - Include char-1byte.h, char-lb.h or char-ucs.h.
886 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
888 * buffer.h: Include character unconditionally.
889 (valid_char_p): Moved to char-*.h.
890 (non_ascii_valid_char_p): Moved to char-lb.h.
892 * char-1byte.h, char-lb.h, char-ucs.h: New files.
894 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
896 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
897 in UTF-2000 because it is not ported yet and not to use
898 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
899 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
900 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
902 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
903 (CHAR_ASCII_P): Moved from character.h.
905 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
906 (CHAR_ASCII_P): Likewise.
907 (CHAR_FIELD1_MASK): Deleted.
908 (CHAR_FIELD2_MASK): Deleted.
909 (CHAR_FIELD3_MASK): Deleted.
910 (MAX_CHAR_BASIC_LATIN): New macro.
911 (CHAR_FIELD1): Deleted.
912 (CHAR_FIELD2_INTERNAL): Deleted.
913 (CHAR_FIELD3_INTERNAL): Deleted.
914 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
915 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
916 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
917 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
918 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
919 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
920 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
921 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
922 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
923 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
924 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
925 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
926 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
927 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
928 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
929 (MIN_CHAR_COMPOSITION): Deleted.
930 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
931 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
933 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
935 * buffer.h: Include mb-utf-8.h in UTF-2000.
937 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
939 * mb-utf-8.h: New file.
941 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
943 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
946 * mule-charset.h, buffer.h (Charset_ID): New type.
948 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
950 * mule-canna.c (c2mu): Use `MAKE_CHAR',
951 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
952 instead of `MULE_CHAR_PRIVATE_OFFSET',
953 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
954 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
955 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
957 * character.h (Vcharset_japanese_jisx0212): New variable
960 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
962 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
963 (charset_by_attributes): Delete array about direction.
964 (latin_a_char_to_charset): New variable in UTF-2000.
965 (latin_a_char_to_byte1): New variable in UTF-2000.
966 (latin_a_char_to_byte2): New variable in UTF-2000.
967 (Qucs_bmp): New variable.
968 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
970 (next_allocated_2_byte_leading_byte): Likewise.
971 (non_ascii_set_charptr_emchar): Likewise.
972 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
973 `CHARSET_TYPE_256X256' in UTF-2000; modify for
974 `charset_by_attributes'.
975 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
976 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
977 and `CHARSET_BY_LEADING_BYTE'.
978 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
979 `utf-2000-version' to `vars_of_mule_charset'.
980 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
981 define `leading-code-private-11' in UTF-2000; move setting of
982 `utf-2000-version' from `syms_of_mule_charset'.
983 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
986 * character.h (Charset_ID): New type.
987 (LEADING_BYTE_UCS_BMP): New macro.
988 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
989 (CHARSET_ID_OFFSET_94): New macro.
990 (MIN_CHARSET_ID_PRIVATE_94): New macro.
991 (MAX_CHARSET_ID_PRIVATE_94): New macro.
992 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
994 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
995 (LEADING_BYTE_LATIN_JISX0201): Likewise.
996 (CHARSET_ID_OFFSET_96): New macro.
997 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
998 CHARSET_ID_OFFSET_96 and final-byte.
999 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
1000 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
1001 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
1002 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
1003 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
1004 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
1005 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
1006 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
1007 (LEADING_BYTE_THAI_TIS620): Likewise.
1008 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
1009 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
1010 (CHARSET_ID_OFFSET_94x94): New macro.
1011 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
1012 CHARSET_ID_OFFSET_94x94 and final-byte.
1013 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
1014 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
1015 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
1016 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
1017 (LEADING_BYTE_CHINESE_GB2312): Likewise.
1018 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
1019 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
1020 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
1021 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
1022 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
1023 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
1024 (CHARSET_TYPE_128X128): New macro.
1025 (CHARSET_TYPE_256X256): New macro.
1026 (XCHARSET_PRIVATE_P): Delete unconditionally.
1027 (charset_by_attributes): Delete array about direction.
1028 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
1029 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
1030 (MIN_CHAR_94): New macro.
1031 (MAX_CHAR_94): New macro.
1032 (MIN_CHAR_96): New macro.
1033 (MAX_CHAR_96): New macro.
1034 (MIN_CHAR_94x94): New macro.
1035 (MAX_CHAR_94x94): New macro.
1036 (MIN_CHAR_96x96): New macro.
1037 (MAX_CHAR_96x96): New macro.
1038 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
1039 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1040 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
1042 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
1043 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
1044 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
1045 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
1046 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
1047 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
1048 `XCHARSET_LEADING_BYTE' to make code-point.
1049 (latin_a_char_to_charset): New variable.
1050 (latin_a_char_to_byte1): New variable.
1051 (latin_a_char_to_byte2): New variable.
1052 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
1053 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
1054 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
1056 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
1057 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
1058 (find_charsets_in_emchar_string): Likewise.
1059 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
1061 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
1063 (decode_coding_iso2022): Likewise.
1065 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
1068 * redisplay.c (redisplay_text_width_emchar_string): Use
1069 `Charset_ID' instead of `unsigned char'.
1070 (redisplay_frame_text_width_string): Likewise.
1072 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
1075 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
1076 instead of `unsigned char'.
1077 (face_cachel_charset_font_metric_info): Likewise.
1079 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
1080 (get_non_ascii_char_table_value): Likewise.
1081 (get_char_table): Likewise.
1082 (put_char_table): Likewise.
1083 (map_over_other_charset): Likewise.
1084 (map_char_table): Likewise.
1086 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
1087 instead of `unsigned char'.
1089 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
1091 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
1092 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
1094 * mule-charset.c (leading_code_private_11): Don't define in
1097 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
1098 in UTF-2000 because it is not ported yet and not to use
1099 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
1101 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
1103 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
1105 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1107 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
1110 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
1111 of unsigned char to store leading-byte.
1113 * chartab.c (get_non_ascii_char_table_value): Don't use
1114 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
1116 * file-coding.c (encode_coding_big5): Delete bogus implementation
1119 * character.h (LEADING_BYTE_*): Delete definition for
1121 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
1122 (LEADING_BYTE_PREFIX_P): Deleted.
1123 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
1124 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
1125 (BUFBYTE_LEADING_BYTE_P): Deleted.
1126 (CHARSET_PRIVATE_P): Deleted unconditionally.
1127 (rep_bytes_by_first_byte): Deleted unconditionally.
1128 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
1129 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
1130 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1131 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
1132 (CHAR_FIELD2): Deleted.
1133 (CHAR_FIELD3): Deleted.
1134 (MAKE_CHAR): Delete definition for non-UTF-2000.
1135 (BREAKUP_CHAR_1_UNSAFE): Deleted.
1136 (breakup_char_1): New implementation.
1137 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
1138 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1140 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1142 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1145 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1147 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1148 (CHARSET_PRIVATE_P): Likewise.
1149 (XCHARSET_PRIVATE_P): Likewise.
1150 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1152 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1154 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1156 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1158 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1159 (NUM_LEADING_BYTES): Changed from 128 to 256.
1160 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1161 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1163 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1165 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1167 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1168 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1169 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1170 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1171 (Qchinese_cns11643_3): New variable in UTF2000.
1172 (Qchinese_cns11643_4): New variable in UTF2000.
1173 (Qchinese_cns11643_5): New variable in UTF2000.
1174 (Qchinese_cns11643_6): New variable in UTF2000.
1175 (Qchinese_cns11643_7): New variable in UTF2000.
1176 (syms_of_mule_charset): Define `chinese-cns11643-3',
1177 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1178 and `chinese-cns11643-7' in UTF2000.
1179 (vars_of_mule_charset): Initialize
1180 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1182 (complex_vars_of_mule_charset): Setup charset
1183 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1184 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1186 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1188 * mule-charset.c: Move setting for `leading-code-private-11' from
1189 `syms_of_mule_charset' to `vars_of_mule_charset'.
1191 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1193 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1194 and `NUM_LEADING_BYTES' in assert.
1196 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1198 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1200 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1201 `NUM_LEADING_BYTES' instead of 128.
1203 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1205 * mule-charset.h (charset_by_leading_byte): Use
1206 `NUM_LEADING_BYTES' instead of 128.
1207 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1209 * mule-charset.c (charset_by_leading_byte): Use
1210 `NUM_LEADING_BYTES' instead of 128.
1211 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1213 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1216 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1218 * mule-charset.c (syms_of_mule_charset): Update to
1221 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1223 * file-coding.c (encode_coding_sjis): New implementation for
1224 UTF2000. (decode_coding_sjis): Ditto.
1226 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1228 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1229 Don't define in UTF2000.
1231 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1234 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1235 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1238 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1240 * config.h.in (CHAR_IS_UCS4): New macro.
1242 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1243 conventional MULE representation.
1244 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1246 * mule-charset.h: Reverted to original.
1248 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1249 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1250 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1252 * character.h: New file.
1254 * file-coding.c (Fmake_coding_system): Set 1 to
1255 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1257 (encode_coding_no_conversion): New implementation for UTF2000.
1259 * file-coding.h (struct Lisp_Coding_System): Add new member
1262 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1264 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1265 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1266 (encode_coding_iso2022): New implementation for UTF2000.
1268 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1270 * mule-canna.c (c2mu): New implementation for UTF2000.
1273 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1275 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1277 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1279 * file-coding.c (reset_encoding_stream): Set 0 to
1280 `str->iso2022.current_char_boundary' in UTF2000.
1281 (encode_utf8): Don't define in UTF2000.
1282 (encode_coding_utf8): New implementation for UTF-8 representation
1284 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1286 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1288 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1290 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1292 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1294 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1296 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1297 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1298 as UTF-8 in UTF2000.
1299 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1300 (non_ascii_valid_char_p): Don't define in UTF2000.
1301 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1302 (Lstream_get_emchar_1): Likewise.
1303 (utf-2000-version): New variable in UTF2000.
1305 * lread.c (read_escape): Add new reader `u'.
1307 * insdel.c (three_to_one_table): Don't define in UTF2000.
1308 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1309 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1311 (bytind_to_bufpos_func): Likewise.
1312 (buffer_mule_signal_inserted_region): Likewise.
1313 (vars_of_insdel): Don't initialize `three_to_one_table'.
1314 (init_buffer_text): Use `buf->text->mule_size' instead of
1315 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1318 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1319 UTF-8 representation in UTF2000.
1320 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1321 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1322 (decode_coding_iso2022): Don't define local variable `lb' in
1323 UTF2000; don't use LEADING_BYTE in UTF2000; use
1324 `DECODE_ADD_UCS_CHAR' in UTF2000.
1325 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1327 * config.h.in (UTF2000): New macro.
1329 * buffer.h (struct buffer_text): Add new member `mule_size' and
1330 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1331 (valid_char_p): Return always 1 in UTF2000.
1332 (MAX_EMCHAR_LEN): 6 in UTF2000.
1333 (three_to_one_table): Don't define in UTF2000.
1334 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1336 (real_bytind_to_bufpos): Likewise.
1338 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1340 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1342 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1343 representation change.
1344 (Vutf_2000_version): New variable.
1345 (leading_code_private_11): New variable.
1346 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1347 `leading-code-private-11'.
1349 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1350 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1351 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1352 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1353 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1354 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1355 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1356 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1357 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1358 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1359 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1360 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1361 (MIN_CHAR_GREEK): New macro.
1362 (MAX_CHAR_GREEK): New macro.
1363 (MIN_CHAR_CYRILLIC): New macro.
1364 (MAX_CHAR_CYRILLIC): New macro.
1365 (MIN_CHAR_HEBREW): New macro.
1366 (MAX_CHAR_HEBREW): New macro.
1367 (MIN_CHAR_THAI): New macro.
1368 (MAX_CHAR_THAI): New macro.
1369 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1370 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1371 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1372 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1373 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1374 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1375 (CHAR_FIELD2): New inline function.
1376 (CHAR_FIELD3): New inline function.
1377 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1378 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1379 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1380 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1381 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1382 (MIN_CHAR_COMPOSITION): Likewise.
1383 (CHAR_LEADING_BYTE): Modified for character representation change.
1384 (MAKE_CHAR): Likewise.
1386 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1387 (Vcharset_greek_iso8859_7): Likewise.
1388 (Vcharset_cyrillic_iso8859_5): Likewise.
1389 (Vcharset_hebrew_iso8859_8): Likewise.
1390 (Vcharset_thai_tis620): Likewise.
1391 (Vcharset_katakana_jisx0201): Likewise.
1393 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1395 * file-coding.c (determine_real_coding_system): Treat `coding:'
1398 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1400 * file-coding.c (struct decoding_stream): New member `counter'.
1401 (reset_decoding_stream): Initialize `counter'.
1402 (decode_coding_ucs4): Use `counter'.
1403 (decode_coding_utf8): Likewise.
1405 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1407 * XEmacs 21.2.19 is released
1409 1999-07-27 Jeff Miller <jmiller@smart.net>
1411 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1412 menubar_show_keybindings.
1414 1999-07-23 SL Baur <steve@miho>
1416 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1417 definition of Qccl_program.
1419 * mule-ccl.h: Make a global declaration of it here.
1421 1999-07-20 Bob Weiner <weiner@beopen.com>
1423 * s/sco7.h: Added from rr@sco.com.
1425 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1427 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1429 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1431 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1432 (mule_encode): Likewise.
1434 * mule-ccl.c (Qccl_program): New variable.
1435 (CCL_SUSPEND): New macro.
1436 (CCL_INVALID_CMD): New macro.
1437 (CCL_READ_CHAR): Don't regard as invalid command while processing
1438 the last block even if input is empty; use
1439 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1440 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1442 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1443 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1444 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1445 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1446 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1448 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1450 * mule-ccl.h (struct ccl_program): New member stack_idx.
1452 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1453 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1455 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1457 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1459 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1462 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1464 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1465 processing the last block, don't just finish but processes eol
1466 block of the current CCL program.
1467 (ccl_driver): Add a new jump label ccl_repeat for the above
1470 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1472 * mule-ccl.c: Typo in comments fixed.
1473 (Qccl_program_idx): New variables.
1474 (CCL_ReadMultibyteChar2): Macro name changed from
1475 CCL_ReadMultibyteCharacter.
1476 (CCL_WriteMultibyteChar2): Macro name changed from
1477 CCL_WriteMultibyteChar2.
1478 (ccl_driver): Adjusted for the above changes.
1479 (resolve_symbol_ccl_program): New function.
1480 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1481 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1482 numbers by resolve_symbol_ccl_program.
1483 (Fccl_execute_on_string): Likewise.
1484 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1485 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1487 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1489 * mule-ccl.h: (struct ccl_program): New member private_state.
1492 (CCL_Call): Fix the comment.
1493 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1494 macros for CCL Commands.
1496 (ccl_driver): New case lable `CCL_Extention'.
1497 (setup_ccl_program): Initialize the member `private_state' of CCL.
1499 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1501 * keymap.c (copy_keymap_internal): Inherit the default binding.
1503 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1505 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1506 focus the event (XIM_focus_event).
1507 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1508 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1509 the interface for future use (XIM_SetGeometry).
1510 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1511 location (XIM_SetSpotLocation).
1512 (x_output_eol_cursor): Ditto.
1514 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1516 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1517 Olivier's change to lrecord.h of 1999-04-22
1519 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1521 * gutter.c (redraw_exposed_gutter): Change type of pos from
1522 enum toolbar_pos -> enum gutter_pos, since former is only defined
1523 if toolbar support is.
1525 1999-07-19 Andy Piper <andy@xemacs.org>
1527 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1530 * gutter.c (gutter_validate): new function for the gutter specifier.
1531 (specifier_type_create_gutter): declare specifier validator.
1533 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1535 1999-07-18 Andy Piper <andy@xemacs.org>
1537 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1539 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1541 (mswindows_resize_subwindow): new function.
1543 * gutter.c (redraw_exposed_gutter): only reset the
1544 current_display_lines if non-zero.
1545 (Fgutter_pixel_height): new function.
1546 (Fgutter_pixel_width): new function.
1548 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1549 we want to retrive from the tab control.
1551 1999-07-17 Andy Piper <andy@xemacs.org>
1553 * window.c (change_window_height): mark gutters changed when we're
1556 * gutter.c (specifier_vars_of_gutter): make defaults more
1559 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1561 (DEFAULT_GUTTER_WIDTH): change.
1562 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1564 1999-07-18 Andy Piper <andy@xemacs.org>
1566 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1568 1999-07-16 Andy Piper <andy@xemacs.org>
1570 * frame.c (Fmake_frame): call init_frame_gutters().
1572 * redisplay.c (add_emchar_rune): use string functions if we are
1573 working with a string.
1574 (position_redisplay_data_type): add string element.
1576 1999-07-15 Andy Piper <andy@xemacs.org>
1578 * winslots.h: add real_gutter_size slots to hold the actual gutter
1579 size. This is important for autodetected sizes.
1581 * gutter.c (calculate_gutter_size): calculate size for gutters
1582 that have 'autodetect size.
1584 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1585 extent of divider for gutters.
1587 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1588 divider for gutters.
1590 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1591 position to take into account the gutters.
1593 * redisplay.c (generate_modeline): adjust modeline position to
1594 take into account the gutters.
1596 1999-07-14 Andy Piper <andy@xemacs.org>
1598 * gutter.c (frame_topmost_window): new function.
1599 (frame_bottommost_window): ditto.
1600 (frame_leftmost_window): ditto.
1601 (frame_rightmost_window): ditto.
1603 1999-07-13 Andy Piper <andy@xemacs.org>
1605 * redisplay.c (calculate_display_line_boundaries): use text
1606 boundaries so that gutters get handled properly.
1608 1999-07-12 Andy Piper <andy@xemacs.org>
1610 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1613 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1616 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1619 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1621 * gutter.c: new file - implements gutters. All new functions are
1622 semantically equivalent to the toolbar functions.
1623 (gutter_was_visible): new function.
1624 (get_gutter_coords): ditto.
1625 (output_gutter): ditto.
1626 (clear_gutter): ditto.
1627 (update_frame_gutters): ditto.
1628 (redraw_exposed_gutter): ditto.
1629 (redraw_exposed_gutters): ditto.
1630 (free_frame_gutters): ditto.
1631 (init_frame_gutters): ditto.
1632 (decode_gutter_position): ditto.
1633 (Fset_default_gutter_position): ditto.
1634 (Fset_default_gutter_position): ditto.
1635 (Fdefault_gutter_position): ditto.
1636 (gutter_after_change): ditto.
1637 (Fgutter_specifier_p): ditto.
1638 (recompute_overlaying_specifier): ditto.
1639 (gutter_specs_changed): ditto.
1640 (default_gutter_specs_changed): ditto.
1641 (gutter_geometry_changed_in_window): ditto.
1642 (default_gutter_size_changed_in_window): ditto.
1643 (default_gutter_border_width_changed_in_window): ditto.
1644 (default_gutter_visible_p_changed_in_window): ditto.
1645 (syms_of_gutter): ditto.
1646 (vars_of_gutter): ditto.
1647 (specifier_type_create_gutter): ditto.
1648 (specifier_vars_of_gutter): ditto.
1650 * gutter.h: new file. Contains gutter constants and sizing macros
1651 similar to those for the toolbar.
1653 * winslots.h: add gutter variables.
1655 * window.h: declare window_is_* functions.
1657 * window.c (window_is_lowest): make non-static.
1658 (window_is_highest): ditto.
1659 (window_top_toolbar_height): deleted.
1660 (window_bottom_toolbar_height): deleted.
1661 (window_left_toolbar_width): deleted.
1662 (window_right_toolbar_width): deleted.
1663 (window_top_gutter_height): add gutter sizing.
1664 (window_bottom_gutter_height): ditto.
1665 (window_left_gutter_width): ditto.
1666 (window_right_gutter_width): ditto.
1668 * symsinit.h: declarations for gutters vars etc.
1670 * search.c (bi_find_next_emchar_in_string): new function.
1672 * scrollbar.c (update_scrollbar_instance): remove reference to
1673 window_bottom_toolbar_height which did nothing.
1675 * redisplay.h (struct display_line): add face indices for
1676 overriding defaults in output_display_line.
1677 Add gutter_changed flags and declarations.
1679 * redisplay.c (create_string_text_block): new function, similar to
1680 create_text_block but for strings. Display tables etc are used
1681 from the currently selected window.
1682 (generate_string_display_line): ditto. Similar to
1683 generate_display_line.
1684 (generate_displayable_area): generate display lines for a given
1685 area on a frame. Input is the string, with associated extents, to
1687 (redisplay_frame): add gutter_changed check.
1688 (redisplay_device): ditto.
1689 (redisplay_without_hooks): ditto.
1691 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1692 (x_redraw_exposed_area): redraw exposed gutters.
1693 (x_bevel_area): new redisplay device method.
1694 (x_type_create_redisplay_mswindows): add bevel_area device method.
1695 (x_output_display_block): fiddly Martin-style cleanup.
1696 (x_output_vertical_divider): use bevel_area.
1698 * redisplay-output.c (output_display_line): check display_lines
1699 for face information before using defaults.
1700 (bevel_modeline): new function, calls bevel_area with appropriate
1703 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1704 (mswindows_redraw_exposed_area): redraw exposed gutters.
1705 (mswindows_bevel_area): new redisplay device method.
1706 (console_type_create_redisplay_mswindows): add bevel_area device
1709 * indent.c (string_column_at_point): add column_at_point but for
1712 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1713 instantiate widgets that we have a toolkit for.
1715 * general.c: add Qgutter.
1717 * frame.h (struct frame): add display lines for gutters and
1720 * frame.c (set_frame_selected_window): mark gutters changed.
1722 * emacs.c (main_1): add gutter initialisation.
1724 * device.h (struct device): add gutter_changed flag and macros to
1727 * console.h (struct console_methods): new bevel area redisplay
1730 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1731 REAL_INC_BYTIND is for buffers.
1732 (INC_CHARPTR): ditto.
1734 * Makefile.in.in (objs): add gutter.o
1736 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1738 * XEmacs 21.2.18 is released
1740 1999-07-08 SL Baur <steve@mule.m17n.org>
1742 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1744 (emacs_Xt_handle_magic_event): Ditto.
1745 * redisplay-x.c (x_output_string): Ditto.
1746 (x_output_eol_cursor): Ditto.
1748 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1750 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1751 problem that when XIM is destroyed or missed with some reason,
1752 xemacs will die. Now xim=xlib waits the XIM will be ready and
1753 endures the case of XIM end up.
1755 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1757 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1758 SIGINT and SIGCHLD before calling tt_open and restore the
1759 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1761 1999-07-06 SL Baur <steve@xemacs.org>
1763 * s/linux.h: gcc-2.8 changes for powerpc
1764 From Justin Vallon <vallon@mindspring.com>
1766 1999-07-05 Didier Verna <verna@inf.enst.fr>
1768 * indent.c: new symbol Qcoerce.
1769 (Fmove_to_column): use it + doc string update.
1771 1999-07-04 Andy Piper <andy@xemacs.org>
1773 * console.c: undo earlier Fprovide changes.
1777 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1778 function. validate appropriate image formats for tty.
1780 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1781 initialize consoles parameter.
1782 (struct image_instantiator_methods): add consoles parameter.
1783 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1785 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1788 * glyphs-msw.c: declare instantiators for later use.
1789 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1790 and friends on the mswindows console.
1791 * glyphs-x.c: ditto.
1793 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1794 that have not been registered on the supplied device.
1795 (Fvalid_image_instantiator_format_p): add locale argument.
1796 (instantiate_image_instantiator): valid image instantiator on the
1799 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1802 * emacs.c (main_1): add call to
1803 image_instantiator_format_create_glyphs_tty().
1805 1999-06-29 Olivier Galibert <galibert@pobox.com>
1807 * lisp.h: Add #include <stddef.h>.
1809 * sysdep.c: Remove #include <stddef.h>.
1810 * symbols.c: Remove #include <stddef.h>.
1811 * sheap.c: Remove #include <stddef.h>.
1812 * opaque.c: Remove #include <stddef.h>.
1813 * nt.c: Remove #include <stddef.h>.
1814 * mule-charset.c: Remove #include <stddef.h>.
1815 * marker.c: Remove #include <stddef.h>.
1816 * file-coding.c: Remove #include <stddef.h>.
1817 * extents.c: Remove #include <stddef.h>.
1818 * elhash.c: Remove #include <stddef.h>.
1819 * data.c: Remove #include <stddef.h>.
1820 * chartab.c: Remove #include <stddef.h>.
1821 * bytecode.c: Remove #include <stddef.h>.
1822 * alloc.c: Remove #include <stddef.h>. Fix vector description
1824 1999-06-30 SL Baur <steve@miho.m17n.org>
1826 * editfns.c: Document "%s" format spec.
1827 Suggested by Bob Weiner <weiner@altrasoft.com>
1829 1999-06-29 Andy Piper <andy@xemacs.org>
1831 * event-msw.c: fix definition booboo.
1833 1999-06-28 Andy Piper <andy@xemacs.org>
1835 * glyphs-x.c: change tree -> tree-view, progress ->
1836 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1838 (complex_vars_of_glyphs_x): provide-on-console the implemented
1841 * glyphs-msw.c: ditto.
1842 (complex_vars_of_glyphs_mswindows): ditto.
1844 * lisp.h: add Fprovide_on_console.
1846 * fns.c (Ffeaturep): add extra optional console argument.
1847 (Fprovide_on_console): like Fprovide but provides only on the
1848 specified console-type.
1849 (Frequire): check console-features as well as global features.
1851 * console.c (Fconsole_features): new function. return features for
1853 (syms_of_console): add Fconsole_features.
1855 * console.h (CONMETH_FEATURES): new function for accessing features.
1856 (CONSOLE_FEATURES): ditto.
1857 (struct console_methods): add features slot.
1858 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1860 1999-06-28 Andy Piper <andy@xemacs.org>
1862 * event-Xt.c (handle_focus_event_1): conditionally compile for
1865 * s/cygwin32.h: fix me website address.
1867 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1869 * gui-x.c (button_item_to_widget_value): only add callback if it
1872 * glyphs-x.c: add progress, edit and combo instantiators.
1873 (x_widget_set_property): new function. uses lwlib to set widget
1875 (x_widget_property): new function. uses lwlib to get widget
1877 (x_button_instantiate): support images in buttons.
1878 (x_button_property): new function. use lwlib to get the selected
1880 (x_progress_instantiate): new function for instantiating progress
1882 (x_progress_set_property): new function. sets the progress gauge
1884 (x_edit_instantiate): new function. for instantiating edit fields.
1885 (x_combo_instantiate): new function. for instantiating combo
1887 (image_instantiator_format_create_glyphs_x): add new device ii
1890 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1892 * console.h (CONSOLE_FEATURES): new features accesor.
1894 * conslots.h (MARKED_SLOT): add features entry.
1896 1999-06-25 Andy Piper <andy@xemacs.org>
1898 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1901 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1903 * gui.h (struct Lisp_Gui_Item): add accelerator.
1905 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1906 (gui_item_init): ditto.
1907 (gui_add_item_keywords_to_plist): ditto.
1908 (mark_gui_item): ditto.
1909 (gui_item_hash): ditto.
1910 (gui_item_accelerator): new function.
1911 (gui_name_accelerator): new function stolen from gui-x.c
1913 * gui-x.c (popup_selection_callback): always define. mark
1914 subwindows changed after calling a callback.
1915 (menu_name_to_accelerator): deleted.
1916 (button_item_to_widget_value): forward gui_item things to gui_item
1919 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1920 appropriate accesors.
1922 * glyphs-x.c: declare new glyph formats.
1923 (x_finalize_image_instance): unmanage and destroy widgets if they
1925 (x_unmap_subwindow): handle widgets specially.
1926 (x_map_subwindow): ditto. offset display of widgets by offset of
1927 text widget within container.
1928 (x_update_subwindow): new function. call lw_modify_all_widgets
1929 when we are a widget.
1930 (x_widget_instantiate): new function for generically creating
1931 widgets-glyphs. toolkit specifics forwarded to lwlib.
1932 (x_button_instantiate): new function for instantiating
1933 widgets-glyph buttons.
1934 (console_type_create_glyphs_x): register update_subwindow.
1935 (image_instantiator_format_create_glyphs_x): register widget and
1938 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1940 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1941 when we get a button press in case we do not have the focus.
1942 (handle_focus_event_1): set the keyboard focus to the text widget
1943 if we do not have it.
1945 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1948 1999-06-24 SL Baur <steve@miho.m17n.org>
1950 * syntax.c (scan_words): Restore non-Mule code.
1951 (word_constituent_p): Restore.
1953 1999-06-23 Olivier Galibert <galibert@pobox.com>
1955 * config.h.in: Add missing #undef *_USER_DEFINED.
1957 1999-06-23 SL Baur <steve@miho.m17n.org>
1959 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1960 int (fixes a 64-bit problem).
1962 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1965 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1967 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1969 1999-06-22 Olivier Galibert <galibert@pobox.com>
1971 * lrecord.h: Added basic external description system.
1973 * symbols.c: Added symbol, symbol-value-buffer-local,
1974 symbol-value-lisp-magic and symbol-value-varalias description.
1975 * mule-charset.c: Added charset description.
1976 * marker.c: Added marker description.
1977 * keymap.c: Added keymap description.
1978 * glyphs.c: Added glyph description.
1979 * floatfns.c: Added float description.
1980 * file-coding.c: Added coding-system description.
1981 * extents.c: Added extent description.
1982 * elhash.c: Added hash-table description.
1983 * data.c: Added weak-list desciption.
1984 * chartab.c: Added char-table-entry and char-table description.
1985 * bytecode.c: Added compiled-function description.
1986 * alloc.c: Added cons, vector and string description.
1988 1999-06-22 Olivier Galibert <galibert@pobox.com>
1990 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1991 Updated everything to the removal of the "flags" substructure.
1993 * lisp.h (subr_lheader_initializer): Updated.
1994 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1996 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1998 * syntax.c (word_constituent_p): Deleted.
1999 (scan_words): Use `WORD_BOUNDARY_P'.
2001 * chartab.c (Vword_combining_categories): New variable.
2002 (Vword_separating_categories): Likewise.
2003 (CATEGORYP): New macro.
2004 (CATEGORY_SET): Likewise.
2005 (CATEGORY_MEMBER): Likewise.
2006 (word_boundary_p): New function.
2007 (complex_vars_of_chartab): Set up new variable
2008 `word-combining-categories' and `word-separating-categories'.
2010 1999-06-18 Olivier Galibert <galibert@pobox.com>
2012 * lrecord.h: Added description as a placehold in the lrecord
2013 implementation structures. Added the parameter to all constructor
2016 * alloc.c: Added placeholders.
2018 * bytecode.c: Ditto.
2022 * database.c: Ditto.
2027 * event-stream.c: Ditto.
2031 * file-coding.c: Ditto.
2032 * floatfns.c: Ditto.
2040 * mule-charset.c: Ditto.
2044 * rangetab.c: Ditto.
2045 * specifier.c: Ditto.
2048 * tooltalk.c: Ditto.
2051 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
2053 * XEmacs 21.2.17 is released
2055 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
2057 * config.h.in (HAVE_LDAP_SET_OPTION): New define
2058 (HAVE_LDAP_GET_LDERRNO): Ditto
2059 (HAVE_LDAP_RESULT2ERROR): Ditto
2060 (HAVE_LDAP_PARSE_RESULT): Ditto
2061 (HAVE_UMICH_LDAP): Removed
2062 (HAVE_NS_LDAP): Removed
2064 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
2065 suggested by Olivier Galibert
2066 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
2068 * eldap.c: Take the removal of `livep' into account in all the
2070 (signal_ldap_error): Take two additional parameters
2071 Added new finer compilation conditions in order to use
2072 ldap_parse_result or ldap_result2error if available
2073 (Fldap_open): Conform to this new API
2074 (Fldap_search_internal): Ditto
2076 1999-06-17 SL Baur <steve@miho.m17n.org>
2078 * data.c (struct int_or_double): Should use EMACS_INT not int.
2080 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
2082 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
2085 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2087 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
2088 `CCL_MODE_ENCODING'.
2090 * file-coding.c (mule_decode): Run `ccl_driver' with
2091 `CCL_MODE_DECODING'.
2092 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2094 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
2095 (ccl_driver): Add new argument `conversion_mode'.
2096 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2097 (Fccl_execute_on_string): Likewise [perhaps it is better to add
2098 new optional argument].
2100 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
2101 (CCL_MODE_DECODING): New macro.
2102 (ccl_driver): Add new argument `conversion_mode'.
2104 1999-06-15 SL Baur <steve@miho.m17n.org>
2106 * mule-charset.c (Fsplit_char): New subr.
2107 (Fchar_octet): delete.
2108 (syms_of_mule_charset): DEFSUBR it.
2110 1999-06-13 Andy Piper <andy@xemacs.org>
2112 * menubar.h: update declarations involving gui_items.
2114 * lisp.h: declare Lisp_Gui_Item.
2116 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
2118 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
2119 (print_image_instance): ditto.
2120 (image_instance_equal): ditto.
2121 (image_instance_hash): ditto.
2123 * event-msw.c (mswindows_need_event): assert badly_p status.
2124 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
2125 callbacks in tree-view and tab-control widgets.
2126 (emacs_mswindows_next_event): modify use of
2127 mswindows_dequeue_dispatch_event.
2129 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
2130 lisp-based gui_items.
2132 * glyphs-msw.c (mswindows_update_subwindow): update use of
2134 (mswindows_register_gui_item): new function.
2135 (mswindows_register_gui_item): fix to use lisp gui_items.
2136 (mswindows_widget_instantiate): ditto.
2137 (mswindows_button_instantiate): ditto.
2138 (add_tree_item): new function to recursively add tree view
2140 (add_tree_item_list): ditto.
2141 (mswindows_tree_instantiate): new function. instantiate tree view
2143 (add_tab_item): new function to add tabs to a tab control.
2144 (mswindows_tab_instantiate): new function. instantiate tab
2146 (image_instantiator_format_create_glyphs_mswindows): add tree view
2148 (vars_of_glyphs_mswindows): ditto.
2150 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
2152 (check_valid_item_list): ditto.
2153 (initialize_widget_image_instance): fix to use new lisp gui_item.
2154 (widget_instantiate_1): allow the setting of default textwidth in
2156 (widget_instantiate): change to use new widget_instantiate_1
2158 (combo_instantiate): ditto.
2159 (static_instantiate): ditto.
2160 (tab_instantiate): new function for tab widgets.
2161 (image_instantiator_format_create_glyphs_widget): add tab and tree
2164 * menubar-msw.c (displayable_menu_item): convert to use lisp
2166 (populate_menu_add_item): ditto.
2167 (populate_or_checksum_helper): ditto.
2169 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
2171 (Fmenu_find_real_submenu): ditto.
2173 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
2175 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
2176 objects, convert functions that use them accordingly.
2177 (gui_item_init): ditto.
2178 (gui_item_active_p): ditto.
2179 (gui_item_selected_p): ditto.
2180 (gui_item_included_p): ditto.
2181 (gui_item_display_flush_left): ditto.
2182 (gui_item_display_flush_right): ditto.
2183 (mark_gui_item): ditto.
2184 (allocate_gui_item): new function to create a gui_item.
2185 (make_gui_item_from_keywords_internal): ditto. create and return a
2186 gui_item as well as setting keywords.
2187 (gui_parse_item_keywords): ditto.
2188 (gui_parse_item_keywords_no_errors): ditto.
2189 (gui_add_item_keywords_to_plist): new function, not yet used.
2190 (gui_item_hash): new function.
2191 (gui_item_id_hash): use gui_item_hash.
2192 (gui_item_equal): new function.
2193 (print_gui_item): new function.
2195 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
2197 * XEmacs 21.2.16 is released
2199 1999-06-10 Andy Piper <andy@xemacs.org>
2201 * select-msw.c (mswindows_own_selection): only set the clipboard
2203 (mswindows_get_foreign_selection): only get the clipboard if
2205 (mswindows_disown_selection): only disown the clipboard if asked.
2207 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2209 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
2211 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
2212 of coding-category `no-conversion'.
2214 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2216 * file-coding.c (Qraw_text): New variable.
2217 (syms_of_mule_coding): Add new symbol `raw-text'.
2218 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
2219 define coding-system `binary' independently; define coding-system
2220 `no-conversion' as an alias for `raw-text'.
2222 * file-coding.h (Qraw_text): New variable.
2224 1999-06-08 SL Baur <steve@xemacs.org>
2226 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2228 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2230 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2232 (base64_decode_1): Signal errors instead of returning -1.
2234 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2236 * mule-charset.c (Fmake_char): Update docstring.
2238 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2240 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2242 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2244 * fns.c (base64_decode_1): Allow and ignore any non-base64
2245 characters in input.
2247 1999-05-27 Olivier Galibert <galibert@pobox.com>
2249 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2250 of report_pure_usage().
2252 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2254 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2256 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2258 * XEmacs 21.2.15 is released
2260 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2262 * frame.c (Fset_mouse_position):
2263 (Fset_mouse_pixel_position):
2264 * window.c (Fsplit_window):
2265 (Fmove_to_window_line):
2266 Fix crash when invoking functions with an already-deleted window
2269 * indent.c (vertical_motion_1):
2271 (Fvertical_motion_pixels):
2272 * window.c (Fwindow_displayed_text_pixel_height):
2273 Fix error message when invoking functions with an already-deleted
2276 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2278 * sysdep.c (request_sigio_on_device): Guard against glibc
2279 2.1's stub streams implementation.
2281 1999-06-03 SL Baur <steve@xemacs.org>
2284 * emacs.c: Implement x.y.z version numbers
2285 From Jan Vroonhof <vroonhof@math.ethz.ch>
2287 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2289 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2290 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2293 1999-06-03 SL Baur <steve@xemacs.org>
2296 * device-x.c: rename session option to wmcommand.
2297 From Oliver Graf <ograf@rhein-zeitung.de>
2299 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2301 * fns.c (Fsubstring): Don't traverse the same region twice with
2302 charcount_to_bytecount().
2304 1999-06-03 SL Baur <steve@steve1.m17n.org>
2306 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2309 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2310 doesn't really work as is implied by the commentary).
2311 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2313 1999-06-02 SL Baur <steve@steve1.m17n.org>
2315 * symsinit.h: Declare vars_of_ntproc.
2316 * emacs.c (main_1): Call it.
2318 * ntproc.c (syms_of_ntproc): Move variable initializations from
2320 (vars_of_ntproc): ... to here [new function].
2322 * file-coding.c (syms_of_file_coding): Rename.
2323 (vars_of_file_coding): Ditto.
2324 (complex_vars_of_file_coding): Ditto.
2326 * symsinit.h: Rename *_mule_coding to *_file_coding.
2328 * emacs.c (main_1): Call them by the proper name.
2330 * device-msw.c (syms_of_device_mswindows): Move variable
2331 initializations from here ...
2332 (vars_of_device_mswindows): ... to here.
2334 * chartab.c (vars_of_chartab): New function.
2336 * symsinit.h: New function, vars_of_chartab.
2338 * emacs.c (main_1): Call it.
2340 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2341 (vars_of_mule_canna): ... to here.
2343 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2344 initializations out of syms_of_mule_ccl.
2346 * symsinit.h: Declare new function vars_of_mule_ccl.
2348 * emacs.c (main_1): Call it.
2350 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2352 * fns.c (base64_decode_1): Ignore whitespace.
2354 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2356 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2359 1999-05-21 Andy Piper <andy@xemacs.org>
2361 * xselect.c: deleted.
2363 * symsinit.h: declare select initialisation.
2365 * select.h: new file. declare commonly used select functions and
2368 * select.c: new file. generalised from xselect.c.
2369 (clean_local_selection_data): moved from xselect.c.
2370 (get_local_selection): ditto. device specific pieces called via a
2372 (handle_selection_clear): ditto.
2373 (Fown_selection_internal): renamed and generalised from
2374 Fx_own_selection_internal. moved from xselect.c.
2375 (Fdisown_selection_internal): ditto.
2376 (Fselection_owner_p): ditto.
2377 (Fselection_exists_p): ditto.
2378 (Fget_selection_internal): ditto.
2379 (syms_of_select): new function. QXXXX values moved from xselect.c
2380 (vars_of_select): new function. selection_converter_alist,
2381 lost_selection_hooks moved and renamed from xselect.c
2383 * select-x.c: renamed from xselect.c.
2384 (x_own_selection): converted to device specific. non-X-specific
2385 bits moved to select.c.
2386 (x_get_foreign_selection): ditto.
2387 (x_disown_selection): ditto.
2388 (x_selection_exists_p): ditto.
2389 (console_type_create_select_x): new function.
2391 * select-msw.c (mswindows_own_selection): new device method to set
2392 the clipboard when we 'own' the selection.
2393 (mswindows_get_foreign_selection): new device method to get the
2395 (mswindows_disown_selection): new device method to delete the
2396 selection when we 'disown' it.
2397 (console_type_create_select_mswindows): new function.
2399 * emacs.c (main_1): add select to things to initialise.
2401 * console.h (struct console_methods): new console methods for
2404 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2406 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2408 * print.c (long_to_string): Install a faster version.
2410 1999-05-16 Andy Piper <andy@xemacs.org>
2412 * ntproc.c (syms_of_ntproc): default
2413 win32-start-process-share-console to t.
2415 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2417 * config.h.in: Do it here.
2419 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2421 1999-05-14 Andy Piper <andy@xemacs.org>
2423 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2426 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2428 * XEmacs 21.2.14 is released
2430 1999-05-12 Andy Piper <andy@xemacs.org>
2432 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2434 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2436 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2437 run_temacs_argv array -- fixes random memory corruption crash
2439 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2441 * window.c (Fcurrent_window_configuration):
2442 Save minibuffer height;
2444 * window.c (set_window_configuration): use it.
2446 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2448 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2450 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2452 * redisplay.c (redisplay_window): Do not put data
2453 in the line start cache if it is not guaranteed to be correct
2455 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2457 * window.c (struct window_config): Removed frame
2459 (window_config_equal): No longer compare frame sizes.
2460 (Fset_window_configuration): Resize old top window to fit in the
2461 current frame directly, no longer use a fake frame resize.
2462 (Fcurrent_window_configuration): No longer save frame size
2464 1999-05-11 Andy Piper <andy@xemacs.org>
2466 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2469 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2471 * sysdep.c (init_system_name): If gethostname gives a proper
2472 domain name, don't look further for one.
2474 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2476 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2477 (Fintern_soft): Accept a symbol argument.
2479 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2481 * symbols.c (Fintern): ...do it here.
2483 * lread.c (read_atom): Don't handle keywords here.
2485 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2487 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2489 1999-05-03 Olivier Galibert <galibert@pobox.com>
2491 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2492 is interned in the main obarray.
2494 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2496 * menubar-x.c (pre_activate_callback): set accelerator field in
2497 "No menu" entries to nil. Avoid crash in
2498 command_builder_operate_menu_accelerator
2500 1999-05-03 Olivier Galibert <galibert@pobox.com>
2502 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2504 * lisp.h (DEFUN): Fix lrecord header initialisation.
2506 1999-05-02 Andy Piper <andy@xemacs.org>
2508 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2510 * ntproc.c (sys_kill): cast using MS mandated defines.
2512 1999-04-29 Andy Piper <andy@xemacs.org>
2514 * m/intel386.h: remove redundant definitions.
2516 * s/mingw32.h: new header for mingw32.
2518 * unexnt.c: (open_input_file): function moved to nt.c.
2519 (close_file_data): ditto.
2520 (rva_to_section): function moved to ntproc.
2522 * symsinit.h: declare syms_of_ntproc();
2524 * objects-msw.c (mswindows_font_instance_truename): new function.
2526 * ntproc.c: remove many warnings.
2527 (_sys_read_ahead): moved from nt.c and made static.
2528 (rva_to_section): moved from unexnt.c but not defined under
2530 (win32_executable_type): implement what we can for mingw32
2532 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2534 * ntheap.h: remove declarations of functions that are now static.
2536 * ntheap.c: support static heap.
2538 * nt.h: conditionalise X_OK definition.
2540 * nt.c: eliminate many warnings and support mingw32.
2541 (open_input_file): function moved from unexnt.c and made static
2542 (close_file_data): ditto.
2543 (_sys_read_ahead): moved to ntproc.c
2545 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2547 * console-msw.h: support mingw32.
2548 * getloadavg.c: ditto.
2555 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2556 some systems don't have all of the encapsulated system calls.
2558 * callproc.c: warning elimination.
2559 * dired-msw.c: ditto.
2560 * process-nt.c: ditto.
2561 * realpath.c: ditto.
2563 * Makefile.in.in: tweak : and ; for building under mswindows.
2565 1999-04-26 Michael Harnois <mharnois@willinet.net>
2567 * eldap.c (allocate_ldap): Adapt to the new semantics of
2568 alloc_lcrecord_type().
2570 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2572 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2574 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2576 * Delete mule-coding.c and mule-coding.h because they are not
2579 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2581 * objects.c (print_font_instance): Check for NILP(f->device),
2582 i.e. Vthe_null_font_instance.
2583 (font_instance_truename_internal): ditto.
2584 (Ffont_instance_properties): ditto.
2586 1999-04-22 Olivier Galibert <galibert@pobox.com>
2588 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2591 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2593 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2594 it easier to add new ones.
2596 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2598 * symbols.c (reject_constant_symbols): Ditto.
2599 (init_symbols_once_early): Ditto.
2601 * print.c (print_symbol): Don't use ->obarray.
2603 * symbols.c (Funintern): Ditto.
2605 * alloc.c (Fmake_symbol): Don't set ->obarray.
2607 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2609 * symbols.c (init_symbols_once_early): Removed
2610 Vpure_uninterned_symbol_table.
2611 (Fintern): Don't store to ->obarray field.
2613 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2615 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2616 (eq_with_ebola_notice): Remove abracadabra support.
2618 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2620 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2621 retrieve the distinguished names of entries
2623 1999-03-08 Martin Buchholz <martin@xemacs.org>
2625 * lread.c (read_escape): Make hex escapes read only two hex digits.
2627 1999-04-05 Olivier Galibert <galibert@pobox.com>
2629 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2630 * make-src-depend: Remove puresize-adjust.h.
2631 * src-headers: Remove puresize-adjust.h.
2632 * config.h.in: Kill everything purespace/gung-ho related.
2634 * dbxrc: Make gung-ho mandatory.
2637 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2638 c_readonly and lisp_readonly. Remove implementation arrays.
2639 (C_READONLY_RECORD_HEADER_P): Added.
2640 (LISP_READONLY_RECORD_HEADER_P): Added.
2641 (SET_C_READONLY_RECORD_HEADER): Added.
2642 (SET_LISP_READONLY_RECORD_HEADER): Added.
2644 * lisp.h: Kill everything purespace/non gung-ho related.
2645 (CHECK_C_WRITEABLE): Added.
2646 (CHECK_LISP_WRITEABLE): Added.
2647 (C_READONLY): Added.
2648 (LISP_READONLY): Added.
2650 * lisp-union.h: Make gung-ho mandatory.
2651 * lisp-disunion.h: Ditto.
2653 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2654 set_lheader_implementation calls.
2655 (c_readonly): Added.
2656 (lisp_readonly): Added.
2657 (make_string_nocopy): Added.
2658 (Fpurecopy): Changed to do nothing. Kept the old documentation
2659 for reference purposes for the next patches.
2660 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2661 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2662 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2664 * fns.c: Make gung-ho mandatory.
2665 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2667 (Ffillarray): Ditto.
2669 * data.c: Make gung-ho mandatory.
2670 (pure_write_error): Removed.
2671 (c_write_error): Added.
2672 (lisp_write_error): Added.
2673 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2677 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2678 make_string or make_string_nocopy. Fix various
2679 alloc_lcrecord_type.
2681 * lread.c: Remove everything purespace related.
2682 (Flocate_file_clear_hashing): purified -> c_readonly.
2683 (locate_file): Ditto.
2684 (read_atom): make_pure_pname -> make_string.
2686 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2688 (Fdump_emacs): Ditto.
2690 * print.c (print_internal): Make gung-ho mandatory.
2691 * ntheap.c (sbrk): Ditto.
2692 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2693 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2695 * sheap.c (more_static_core): Remove puresize-adjust.h from
2698 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2700 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2701 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2702 * events.c (deinitialize_event): Fix set_lheader_implementation.
2703 (zero_event): Ditto.
2704 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2705 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2706 * mule-charset.c (make_charset): Ditto.
2707 * console.c (allocate_console): Ditto.
2708 (complex_vars_of_console): Ditto.
2709 * file-coding.c (allocate_coding_system): Ditto.
2710 * device.c (allocate_device): Ditto
2711 * gui-x.c (gcpro_popup_callbacks): Ditto.
2712 * extents.c (allocate_extent_auxiliary): Ditto.
2713 (allocate_extent_info): Ditto.
2714 (copy_extent): Ditto.
2715 * glyphs.c (allocate_image_instance): Ditto.
2716 (allocate_glyph): Ditto.
2717 * frame.c (allocate_frame_core): Ditto.
2718 * database.c (allocate_database): Ditto.
2719 * tooltalk.c (make_tooltalk_message): Ditto.
2720 (make_tooltalk_pattern): Ditto.
2721 * rangetab.c (Fmake_range_table): Ditto.
2722 (Fcopy_range_table): Ditto.
2723 * process.c (make_process_internal): Ditto.
2724 * chartab.c (Fmake_char_table): Ditto.
2725 (make_char_table_entry): Ditto.
2726 (copy_char_table_entry): Ditto.
2727 (Fcopy_char_table): Ditto.
2728 * elhash.c (make_general_lisp_hash_table): Ditto.
2729 (Fcopy_hash_table): Ditto.
2730 * buffer.c (allocate_buffer): Ditto.
2731 (complex_vars_of_buffer): Ditto.
2732 * event-stream.c (allocate_command_builder): Ditto.
2733 * objects.c (Fmake_color_instance): Ditto.
2734 (Fmake_font_instance): Ditto.
2735 (vars_of_objects): Ditto.
2736 * toolbar.c (update_toolbar_button): Ditto.
2737 * window.c (allocate_window): Ditto.
2738 (make_dummy_parent): Ditto.
2739 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2740 (vars_of_window): Fix make_lcrecord_list.
2741 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2743 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2744 * opaque.c (make_opaque): Fix alloc_lrecord.
2745 (make_opaque_list): Fix alloc_lrecord_type.
2747 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2749 * process.c (Fstart_process_internal): Ditto.
2751 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2754 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2756 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2759 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2760 (emodules_load): Use it when calling locate_file().
2762 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2765 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2766 (vars_of_callproc): Initialize it.
2767 (Fcall_process_internal): Use it when calling locate_file().
2769 * alloc.c (disksave_object_finalization): Use
2770 Flocate_file_clear_hashing().
2772 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2773 given `t' as argument.
2775 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2777 * lread.c (locate_file): Expand `pathel' when appropriate.
2778 (Flocate_file_clear_hashing): Expand path elements.
2779 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2781 * dired.c (make_directory_hash_table): Create the hash-table only
2782 if the directory open is successful.
2784 * lread.c (decode_mode_1): New function.
2785 (decode_mode): Ditto.
2786 (Flocate_file): Use them.
2787 (Flocate_file): Expand FILENAME.
2788 (locate_file_map_suffixes): New function.
2789 (locate_file_in_directory_mapper): New function.
2790 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2791 and locate_file_map_suffixes().
2792 (locate_file_construct_suffixed_files): Use
2793 locate_file_map_suffixes().
2794 (locate_file_without_hash): Don't GCPRO path.
2795 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2796 (syms_of_lread): Remove Qlocate_file_hash_table.
2797 (locate_file_find_directory_hash_table): Use
2798 Vlocate_file_hash_table.
2799 (locate_file_refresh_hashing): Ditto.
2801 * lread.c: Renamed read_objects to Vread_objects.
2803 1999-04-16 Olivier Galibert <galibert@pobox.com>
2805 * mule-charset.c: Generally resync with fsf 20.3 charset
2807 (make_charset): Add long and short name. Use id instead of
2809 (Fmake_charset): Ditto.
2810 (Fmake_reverse_direction_charset): Ditto.
2811 (Fcharset_property): Ditto.
2812 (Fcharset_short_name): Added.
2813 (Fcharset_long_name): Added.
2814 (Fcharset_description): Renamed from charset-doc-string.
2815 (syms_of_mule_charset): Synced symbols.
2816 (complex_vars_of_mule_charset): Synced charsets.
2818 * mule-charset.h: Removed leading byte (uses id instead), added
2819 short and long name.
2821 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2823 * file-coding.c (Fdefine_coding_system_alias): New function.
2825 1999-04-08 Olivier Galibert <galibert@pobox.com>
2827 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2828 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2830 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2832 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2833 attach to the extent is valid.
2835 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2837 * dired.c (user_name_completion): Mule-ize.
2838 (user_name_completion): Use xmalloc/xrealloc/xfree.
2839 (user_name_completion): Use DO_REALLOC.
2840 (user_name_completion): Cut down the number of static variables;
2842 (user_name_completion): Username completion is always
2845 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2847 * fns.c (base64_decode_1): Remove COUNTER.
2848 (base64_decode_1): Accept CRLF in addition to CR.
2849 (base64_decode_1): Disallow a stray character after final EOF; the
2850 check was probably a remnant of buggy recode code.
2852 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2854 * fns.c (init_provide_once): Provide `base64'.
2856 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2858 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2859 (Fbase64_encode_region): If buffer is read-only, bail out early.
2860 (Fbase64_decode_region): Ditto.
2861 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2863 (Fbase64_encode_string): Ditto.
2864 (Fbase64_decode_region): Ditto.
2865 (Fbase64_decode_string): Ditto.
2867 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2869 * dired.c (Fdirectory_files): Remove redundant code.
2871 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2873 * frame-msw.c Make raise-frame restore minimised windows.
2875 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2877 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2880 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2882 * toolbar-msw.c Consider captions when deciding whether to rebuild
2883 toolbar. This fixes the initial toolbar display for those of us
2884 who don't like captions. These patches applied by Andy Piper.
2886 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2888 * XEmacs 21.2.13 is released
2890 1999-03-12 SL Baur <steve@xemacs.org>
2892 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2894 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2896 * file-coding.c: docstring and comment improvements.
2897 (decode_ucs4) flag possible data loss with comment.
2899 1999-03-10 Martin Buchholz <martin@xemacs.org>
2901 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2905 (decode_coding_ucs4):
2906 (encode_coding_ucs4):
2907 (detect_coding_utf8):
2908 (decode_coding_utf8):
2910 (encode_coding_utf8):
2911 Add CHECK_* macros where needed to avoid crashes.
2912 #ifdef out all composite character support using
2913 #ifdef ENABLE_COMPOSITE_CHARS
2914 Use normal XEmacs coding standards.
2916 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2918 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2920 * file-coding.c (make-coding-system): Add description about
2921 `ucs-4' and `utf-8'.
2922 (detection_state): Modify to implement ucs-4 and utf-8.
2923 (detect_coding_type): Likewise.
2924 (detect_coding_ucs4): New implementation.
2925 (detect_coding_utf8): New implementation.
2926 (encode_utf8): fixed.
2927 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2930 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2932 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2933 2022 registry to private area.
2935 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2937 * file-coding.c (encode_utf8): New function.
2938 (encode_coding_utf8): New implementation.
2940 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2942 * file-coding.c (ucs_to_mule_table): New variable; abolish
2943 `Vucs_to_mule_table'
2944 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2945 (set-ucs-char): New function.
2946 (ucs_to_char): New function.
2947 (ucs-char): New function.
2948 (set-char-ucs): New function.
2949 (char-ucs): New function.
2950 (decode_ucs4): Use `ucs_to_char'.
2951 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2952 `mule-to-ucs-table'.
2954 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2956 * chartab.h: EXFUN `Fget_char_table'.
2958 * file-coding.c (encode_ucs4): New function.
2959 (encode_coding_ucs4): Use `encode_ucs4'.
2961 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2963 * file-coding.c (decode_coding_ucs4): New implementation.
2965 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2967 * file-coding.c (decode_coding_ucs4): fixed.
2969 * file-coding.c (Vmule_to_ucs_table): New variable.
2970 (mule_char_to_ucs4): New function.
2971 (encode_coding_ucs4): New implementation.
2972 (complex_vars_of_mule_coding): Define variable
2973 `mule-to-ucs-table'.
2975 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2977 * file-coding.c (decode_coding_utf8): New implementation.
2979 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2981 * file-coding.c (decode_coding_utf8): fixed.
2983 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2985 * file-coding.c (Vucs_to_mule_table): New variable.
2986 (decode_ucs4): Refer `Vucs_to_mule_table'.
2987 (complex_vars_of_mule_coding): Define variable
2988 `ucs-to-mule-table'.
2990 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2992 * file-coding.c (detect_coding_ucs4): New function (not
2994 (decode_coding_ucs4): New function.
2995 (encode_coding_ucs4): New function (not implemented yet).
2996 (detect_coding_utf8): New function (not implemented yet).
2997 (decode_coding_utf8): New function.
2998 (encode_coding_utf8): New function (not implemented yet).
2999 (make-coding-system): New type `ucs4' and `utf8'.
3000 (coding-system-type): Likewise.
3001 (detection_state): Add `ucs4' and `utf8'.
3002 (detect_coding_type): Likewise.
3003 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
3004 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
3005 (decode_ucs4): New function (very incomplete).
3006 (syms_of_mule_coding): Add `ucs4' and `utf8'.
3008 * file-coding.h: Add definitions for UCS-4 and UTF-8.
3010 1999-03-08 Martin Buchholz <martin@xemacs.org>
3013 (non_ascii_valid_char_p):
3014 (lookup_composite_char):
3015 (composite_char_string):
3016 (make-composite-char):
3017 (composite-char-string):
3018 (syms_of_mule_charset):
3019 (complex_vars_of_mule_charset):
3020 * mule-charset.h (LEADING_BYTE_COMPOSITE):
3021 (CHAR_LEADING_BYTE):
3023 * file-coding.h (CODING_STATE_COMPOSITE):
3024 (CODING_STATE_ISO2022_LOCK):
3026 (LEADING_BYTE_COMPOSITE):
3027 * file-coding.c (struct iso2022_decoder):
3030 (parse_iso2022_esc):
3031 (encode_coding_iso2022):
3032 #ifdef out all composite character support using
3033 #ifdef ENABLE_COMPOSITE_CHARS
3035 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
3037 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
3039 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
3040 way of `Fbase64_encode_region'.
3042 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
3044 * fns.c (base64_encode_1): Don't add a newline at the tail.
3046 1999-03-08 Andy Piper <andy@xemacs.org>
3048 * menubar-msw.c (displayable_menu_item): correct off-by-one &
3051 1999-03-07 Martin Buchholz <martin@xemacs.org>
3053 * console-stream.h (struct stream_console):
3054 * event-unixoid.c (event_stream_unixoid_select_console):
3055 (event_stream_unixoid_unselect_console):
3056 * print.c (Fexternal_debugging_output):
3057 * sysdep.c (reset_one_device):
3058 * console-stream.c (stream_init_console):
3059 (stream_delete_console):
3060 (allocate_stream_console_struct): move into stream_init_console.
3061 (free_stream_console_struct): move into stream_delete_console.
3062 Use `fd' only for file descriptors.
3063 Therefore, rename members of struct stream_console.
3065 * systime.h: Unix98 says sys/time.h should define select(), but
3066 some systems define that in unistd.h. So include that file always.
3068 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
3069 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
3070 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
3072 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
3076 Add #include <stdio.h>.
3077 Some versions of assert.h use printf() without #include'ing stdio.h
3079 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
3080 (log_gcpro): Remove unused variable FRAME.
3081 (show_gcprohist): Ansify.
3082 Comment the #endif's
3084 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
3085 after it's just been XtDestroy'ed!
3087 1999-02-18 Martin Buchholz <martin@xemacs.org>
3089 * opaque.c (print_opaque):
3093 Egcs 1.1.1 seems to have a bug where
3094 INTP (p->size_or_chain)
3095 will crash XEmacs. Fix by introducing intermediate variable.
3097 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
3099 * dired.c (Fdirectory_files):
3100 (Ffile_name_completion):
3101 (Ffile_name_all_completions):
3102 (file_name_completion):
3103 - Use `directory' instead of `dirname' to sync with FSF Emacs and
3104 avoid compiler warnings.
3105 - Fix up docstrings so that C variables match documentation.
3107 1999-03-05 Martin Buchholz <martin@xemacs.org>
3109 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
3110 variables as small as possible to help out the compiler and the maintainer.
3112 * alloc.c: (disksave_object_finalization):
3113 Set all the *-load-path variables to
3114 nil, not just load-path itself. This gets the locate-file hash
3115 tables garbage collected BEFORE dump, and has the side effect of
3116 preventing crashes on OSF4.0+egcs.
3121 - Clean up gdb/dbx debugging support.
3122 - Storing an EMACS_INT in an enum is not 64-bit clean!
3123 - So change the enum to a set of separate variables.
3124 - Add test cases to help debug the debugging support!
3125 - Add `lisp-shadows' and `run-temacs' targets for dbx.
3126 - Both dbx and gdb have been tested now.
3128 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3130 * XEmacs 21.2.12 is released
3132 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3134 * device-x.c: Support to find best visual without flashing.
3136 1999-03-02 Paul Keusemann <pkeusem@visi.com>
3138 * database.c (berkdb_map): Add flags argument to cursor call (must
3139 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
3141 1999-03-03 Martin Buchholz <martin@xemacs.org>
3145 General cleanup. Get free-hook.c working again.
3146 Remove unused functions:
3147 make_strings_hash_table, copy_hash, expand_hash_table.
3151 Always use new ANSI-style function prototypes.
3153 * unexalpha.c (unexec): Never use implicit int.
3155 * sgiplay.c (close_sound_file):
3157 (restore_audio_port):
3162 (write_mulaw_8_chunk):
3163 (write_linear_chunk):
3164 (write_linear_32_chunk):
3165 (initialize_audio_port):
3168 (set_output_format):
3169 (adjust_audio_volume):
3170 (get_current_volumes):
3172 Always use new ANSI-style function prototypes.
3173 Use unistd.h for missing prototypes.
3175 * unexelfsgi.c (round_up):
3177 (unexec): Always use new ANSI-style function prototypes
3179 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
3181 * console.h (struct console_methods): Always use full ANSI prototypes
3183 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
3185 1999-03-02 Andy Piper <andy@xemacs.org>
3187 * event-stream.c (init_event_stream): make sure native mswindows
3188 gets an appropriate event loop.
3190 1999-02-22 Andy Piper <andy@xemacs.org>
3192 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
3193 than SW_SHOWNORMAL to prevent resizing of maximised frames.
3194 (mswindows_raise_frame): remove comment.
3196 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
3198 * XEmacs 21.2.11 is released
3200 1999-02-25 SL Baur <steve@xemacs.org>
3202 * mule-charset.c (Qleading_byte): New variable to implement
3203 charset-leading-byte function.
3204 (Fcharset_property): Use it.
3205 (syms_of_mule_charset): Initialize it.
3206 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3208 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
3210 * glyphs-x.c (cononvert_EImage_to_XImage): correct
3211 bytes per pixel counting.
3213 1999-02-15 Andy Piper <andy@xemacs.org>
3215 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
3218 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3220 * fns.c (Fbase64_encode_string): New optional argument
3223 1999-02-16 Martin Buchholz <martin@xemacs.org>
3225 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3226 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3228 1999-02-10 Martin Buchholz <martin@xemacs.org>
3230 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3231 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3233 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3235 * XEmacs 21.2.10 is released
3237 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3239 * process-nt.c (nt_send_process):
3240 Fix for process-send-region/process-send-string breaking when size
3241 of the input > 128 chars: change maximum chunk size for process
3242 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3245 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3247 * XEmacs 21.2.9 is released
3249 1999-01-30 Martin Buchholz <martin@xemacs.org>
3251 * bytecode.c (funcall_compiled_function): Call
3252 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3254 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3255 #ifdef 0 out unused macro.
3257 1999-01-27 Martin Buchholz <martin@xemacs.org>
3259 * gui.c (gui_parse_item_keywords_internal): Make static.
3261 1999-01-21 Andy Piper <andy@xemacs.org>
3263 * glyphs-msw.c: add xface support.
3264 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3265 (image_instantiator_format_create_glyphs_mswindows): do device
3266 specific initialisation for xfaces.
3267 (xbm_create_bitmap_from_data): line data must be padded to a word
3270 * glyphs-x.c (xface_validate): moved to glyphs.c
3271 (xface_normalize): ditto.
3272 (xface_possible_dest_types): ditto.
3273 (image_instantiator_format_create_glyphs_x): do device specific
3274 initialisation for xfaces.
3276 * glyphs.h: declare xface symbol.
3278 * glyphs.c: move generic xface support here.
3279 (xface_validate): moved from glyphs-x.c
3280 (xface_normalize): ditto.
3281 (xface_possible_dest_types): ditto.
3282 (image_instantiator_format_create): xface declarations moved from
3285 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3287 * event-stream.c (vars_of_event_stream): Fixing documentation.
3289 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3291 * glyphs-eimage.c (gif_instantiate): Correct handling of
3292 interlaced gifs to avoid writing past the end of the eimage
3295 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3297 * search.c (Freplace_match): Handle single backslash at end of
3300 1999-01-12 William M. Perry <wmperry@aventail.com>
3302 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3303 avoid connection errors.
3305 1999-01-12 Andy Piper <andy@xemacs.org>
3307 * redisplay-output.c (redisplay_update_line): backout change that
3308 shouldn't have gone ine.
3310 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3312 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3313 collide with ldap.el
3315 1999-01-11 Andy Piper <andy@xemacs.org>
3317 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3318 (DISPLAY_LINE_YPOS): new macro.
3320 * redisplay-msw.c (mswindows_output_string): use it.
3321 (mswindows_output_pixmap): ditto.
3322 (mswindows_output_display_block): ditto.
3324 * redisplay-output.c (redisplay_output_display_block): new
3325 function. just call the devmeth, maybe insert some generic code
3327 (compare_display_blocks): use it.
3328 (output_display_line): ditto.
3329 (redisplay_unmap_subwindows_maybe): new function. potentially
3330 unmap subwindows in the given area.
3332 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3335 1999-01-10 J. Kean Johnston <jkj@sco.com>
3337 * Makefile.in.in: Set value of moduledir
3338 - Changed DUMPENV to include $(MODULEPATH)
3339 - Added install rule to install header files for use by ellcc.
3341 * config.h.in: Added INHIBIT_SITE_MODULES
3342 - Added HAVE__DLERROR
3343 - Added HAVE_DLFCN_H
3344 - Added DLSYM_NEEDS_UNDERSCORE
3348 * emodules.c: New file containing dynamic loading code.
3350 * emodules.h: New file.
3352 * emacs.c: Added variables Vmodule_directory,
3353 Vsite_module_directory, Vconfigure_module_directory and
3354 Vconfigure_site_module_directory.
3355 - (main_1): Added new variable inhibit_site_modules and command
3356 line options `-no-site-modules' and `--no-site-modules'.
3357 - (main_1): Call syms_of_module() instead of syms_of_dll().
3358 - (main_1): Call vars_of_module().
3359 - (vars_of_emacs): Introduce inhibit-site-modules,
3360 module-directory, configure-module-directory,
3361 site-module-directory, and configure-site-module-directory to the
3364 * lisp.h: Declare load_module and list_modules, as well as
3365 Vmodule_directory, Vsite_module_directory,
3366 Vconfigure_module_directory and Vconfigure_site_module_directory.
3368 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3369 - Added correct support for site-lisp directory.
3371 * symbols.c (defsubr): Modified to allow modules to add new subrs
3373 - (defsubr_macro): Same.
3374 - (defvar_magick): Only use purespace when not initialized, so
3375 that loaded modules can still add symbols.
3377 * symsinit.h: Add definitions for syms_of_module(),
3378 vars_of_module(). Removed syms_of_dll().
3380 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3381 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3382 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3384 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3385 explicitly pass -belf for native cc.
3387 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3388 hard-coding the library name.
3390 1999-01-01 <martin@xemacs.org>
3392 * device-x.c (Fx_set_font_path):
3393 Add proper cast to permit compilation under C++.
3395 * buffer.c (directory_is_current_directory):
3396 Add proper casts to permit compilation under C++.
3398 1998-12-30 Damon Lipparelli <lipp@primus.com>
3400 * event-msw.c (mswindows_wnd_proc):
3401 Fixed failure when building with MSVC 5.
3403 1998-12-29 Martin Buchholz <martin@xemacs.org>
3405 * file-coding.c (decode_coding_iso2022):
3406 - Prevent crash when decoding ISO7/Lock detected files
3407 - the usual martin fiddling
3409 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3413 Fixed failures when building with MSVC.
3414 * unexnt.c (dump_bss_and_heap):
3415 Removed compiler warning by removing bss_data variable.
3417 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3419 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3420 so that packages that distribute their own fonts can access them.
3422 1998-12-28 Andy Piper <andy@xemacs.org>
3424 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3425 that have an image provided.
3427 * glyphs.h: add Q_image decl.
3429 * glyphs-widget.c new functionality allowing images in
3431 (check_valid_glyph_or_image): new function to validate
3432 glyphs passed in through :image.
3433 (widget_normalize): new function. convert :image parameters into
3434 real glyphs if not already so.
3435 (widget_instantiate_1): mess with size parameters to be similar to
3437 (syms_of_glyphs_widget): new keyword :image.
3438 (image_instantiator_format_create_glyphs_widget): normalize
3439 buttons and allow :image.
3441 1998-12-27 Andy Piper <andy@xemacs.org>
3443 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3445 * glyphs-widget.c (check_valid_anything): no-op function.
3446 (check_valid_callback): check callbacks in gui_items.
3447 (check_valid_symbol): as it sounds.
3448 (check_valid_string_or_vector): ditto.
3449 (widget_validate): modified for descriptors that are vectors or
3450 sequences of keyword/val pairs.
3451 (widget_instantiate_1): ditto.
3452 (image_instantiator_format_create_glyphs_widget): allow gui_item
3453 keywords in the instantiator.
3455 * gui.c (gui_parse_item_keywords_internal): renamed from
3456 gui_parse_item_keywords but taking error behaviour.
3457 (gui_parse_item_keywords): use it.
3458 (gui_parse_item_keywords_no_errors): ditto.
3459 (gui_item_add_keyval_pair): add Error_behavior flag and only
3460 signal invalid keywords if required.
3462 * gui.h: new gui signatures.
3464 * menubar.c (menu_parse_submenu_keywords): use new
3465 gui_item_add_keyval_pair signature.
3467 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3469 1998-12-28 Martin Buchholz <martin@xemacs.org>
3471 * XEmacs 21.2.8 is released.
3473 1998-12-28 Martin Buchholz <martin@xemacs.org>
3475 * editfns.c (get_home_directory):
3476 (user-home-directory): Simplify.
3479 * callproc.c (child_setup):
3480 - Environment variables were being passed to inferior processes
3481 using internal encoding.
3482 - Convert to external encoding.
3483 - Rename local var `tem' to better name `tail'.
3484 - Use Flength instead of `manual' calculation.
3486 * buffer.c (kill-buffer):
3488 (set-buffer-major-mode):
3490 - Fix up parameter names to correspond to docstrings.
3491 - Don't use `bufname' when a buffer will do as well.
3492 - Remove one unneeded GCPRO.
3494 * buffer.h (initial_directory):
3495 * buffer.c (init_initial_directory):
3496 - use correct conversions between internal and external format.
3497 (directory_is_current_directory): new function
3498 (init_buffer): convert initial_directory to internal format.
3499 - solve crashes when current working directory is non-ASCII.
3501 * alloc.c (xmalloc):
3504 - remove stupid casts, since XEmacs requires an ANSI C system.
3505 (lrecord_type_index): replace abort() with more readable assert().
3507 (reset_lcrecord_stats): remove.
3508 (sweep_lcrecords_1):
3509 - replace call to reset_lcrecord_stats() with call to xzero().
3511 1998-12-27 Martin Buchholz <martin@xemacs.org>
3513 * process-unix.c (unix_create_process):
3514 - Fix crash invoking program with non-ASCII name.
3515 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3516 - Remove unused variable `env'.
3517 - Rename `temp' to better name `save_errno'.
3518 - Reorganize code for clarity. But still too chicken to nuke the
3521 1998-12-24 Martin Buchholz <martin@xemacs.org>
3523 * XEmacs 21.2.7 is released.
3525 1998-12-23 Martin Buchholz <martin@xemacs.org>
3527 * glyphs.c (decode_device_ii_format):
3529 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3531 * glyphs-x.c (x_subwindow_instantiate):
3532 - A image instance mask was being assigned to a image instance type!
3533 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3535 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3537 * glyphs-x.h: Make indentation consistent.
3539 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3541 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3543 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3547 Move declarations of decode_device_ii_format and
3548 decode_image_instantiator_format into glyphs.h where they belong.
3550 1998-12-22 Martin Buchholz <martin@xemacs.org>
3552 * frame-x.c (x_delete_frame): Revert part of my changes at the
3553 suggestion of Gunnar Evermann - unfortunately no one really
3554 understands this code.
3556 * callproc.c (init_callproc): code cleanup.
3558 * free-hook.c (malloc):
3563 (block_input_malloc):
3564 (block_input_realloc):
3565 * device-x.c (x_delete_device):
3566 * emacs.c (voodoo_free_hook):
3567 * events.c (print_event):
3569 (CHECK_EVENT_TYPE2):
3570 (CHECK_EVENT_TYPE3):
3571 Use proper prototypes.
3572 Make C_E_T macros a little faster.
3573 Pedantic fiddly little changes. You really don't care.
3575 1998-12-22 Andy Piper <andy@xemacs.org>
3577 * redisplay-output.c (redisplay_clear_region): make sure that
3578 fg/bg colors get set even when we are in the border area.
3580 1998-12-13 Martin Buchholz <martin@xemacs.org>
3582 * console-msw.c: Function definitions follow coding standards
3583 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3585 1998-12-11 Martin Buchholz <martin@xemacs.org>
3587 * events.h (struct timeout_data):
3588 * event-tty.c (tty_timeout_to_emacs_event):
3589 * event-msw.c (mswindows_wm_timer_callback):
3590 * event-Xt.c (Xt_timeout_to_emacs_event):
3591 * event-msw.c (mswindows_cancel_dispatch_event):
3592 Make sure Lisp_Objects inside events are initialized to Qnil, not
3593 Qnull_pointer, which is now illegal.
3595 1998-12-10 Martin Buchholz <martin@xemacs.org>
3597 * lisp.h: Fix up prototypes to match alloc.c
3599 1998-12-08 Martin Buchholz <martin@xemacs.org>
3601 * windowsnt.h: Remove `support' for using index and rindex
3603 * filelock.c (current_lock_owner):
3604 - Change uses of index -> strchr, rindex -> strrchr
3606 1998-12-07 Martin Buchholz <martin@xemacs.org>
3608 * sysdep.c (set_descriptor_non_blocking):
3609 Since O_NONBLOCK is now always #defined, make use of fcntl
3610 conditional on F_SETFL being defined.
3612 * console-msw.c (DHEADgER):
3621 - max_align_t should not be visible to the user of the
3623 - use Bufbyte instead of char
3624 - parens around (FOOP (obj)) are always redundant.
3625 If they were necessary, we should fix the macro instead.
3626 - Always use string_data(foo) instead of foo->data.
3629 1998-12-06 Martin Buchholz <martin@xemacs.org>
3631 * frame-msw.c (mswindows_init_frame_1):
3632 - use make_lisp_hash_table, not Fmake_hash_table
3636 * alloc.c (make_vector): remove travesty
3640 (make_bit_vector_internal):
3642 (make_bit_vector_from_byte_vector):
3644 - make vector_equal a little faster.
3645 - Don't use variable name `new'.
3646 - Use size_t instead of EMACS_INT.
3647 - usual Martin-style pointless bit-twiddling.
3653 Make mapcar faster. In particular, make
3654 (mapc #'identity long-string)
3655 MUCH faster under Mule.
3656 * tests/automated/lisp-tests.el: Test 'em!
3658 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3661 1998-12-01 Martin Buchholz <martin@xemacs.org>
3663 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3664 Qnil, not NULL, to initialize `null' Lisp_Objects.
3666 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3668 * specifier.c (display_table_validate): Update.
3670 * redisplay.c (create_text_block): Use them.
3672 * glyphs.c (display_table_entry): New function.
3673 (get_display_tables): Ditto.
3675 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3677 * eldap.c (toplevel): Mention that eldap.c compiles with
3679 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3680 (Fldap_search_internal): Ditto
3682 1998-12-11 Martin Buchholz <martin@xemacs.org>
3684 * event-msw.c (mswindows_cancel_dispatch_event):
3685 Gratuitous code prettification
3688 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3690 * fns.c (Fnconc): Fix use of wrong_type_argument().
3692 * floatfns.c (Ffloat): Fix docstring.
3693 (Ffloat): Fix use of wrong_type_argument().
3695 (extract_float): Ditto.
3700 1998-12-06 Martin Buchholz <martin@xemacs.org>
3702 * frame-msw.c (mswindows_init_frame_1):
3703 - use make_lisp_hash_table, not Fmake_hash_table
3707 * alloc.c (make_vector): remove travesty
3711 (make_bit_vector_internal):
3713 (make_bit_vector_from_byte_vector):
3715 - make vector_equal a little faster.
3716 - Don't use variable name `new'.
3717 - Use size_t instead of EMACS_INT.
3718 - usual Martin-style pointless bit-twiddling.
3724 Make mapcar faster. In particular, make
3725 (mapc #'identity long-string)
3726 MUCH faster under Mule.
3727 * tests/automated/lisp-tests.el: Test 'em!
3729 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3732 1998-12-02 Didier Verna <verna@inf.enst.fr>
3734 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3735 accelerator field to nil for labels.
3737 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3739 * menubar-msw.c (displayable_menu_item):
3740 Escape occurrences of '&' and support occurrences of the
3741 '%_' accelerator indicator in menus.
3743 1998-11-26 Didier Verna <verna@inf.enst.fr>
3745 * dired.c (Fdirectory_files): use make_string instead of
3746 make_ext_string on the filename. The conversion external->internal
3747 format is already done in sys_readdir.
3749 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3751 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3753 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3756 (Belatedly) added Kirill to list of file's authors.
3757 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3758 quit checking. WM_PAINT messages cause redisplay, but
3759 windows' states are not necessarily stable when this function
3762 1998-12-17 Andy Piper <andy@xemacs.org>
3764 * strftime.c (zone_name): CONSTify.
3766 1998-12-15 Andy Piper <andy@xemacs.org>
3768 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3769 (mswindows_widget_property): return Qunbound when no property available.
3770 (mswindows_button_property): ditto.
3771 (mswindows_combo_property): ditto.
3772 (mswindows_widget_set_property): ditto.
3774 * glyphs-widget.c (check_valid_item_list): use properties.
3776 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3778 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3779 (Fimage_instance_property): ditto.
3780 * glyphs-widget.c (widget_property): ditto.
3781 (widget_set_property): ditto.
3783 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3784 as setting the class cursor so that GC actually changes the
3787 * config.h: don't undef MAIL_USE_POP.
3789 1998-12-13 Andy Piper <andy@xemacs.org>
3792 (image_instantiator_format_create_glyphs_mswindows): line ->
3794 (mswindows_label_instantiate): ditto. Play with window flags.
3795 (image_instantiator_format_create_glyphs_mswindows): ditto.
3796 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3798 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3799 cope with lines and labels.
3800 (static_instantiate): use widget_instantiate_1.
3802 (image_instantiator_format_create_glyphs_widget): ditto.
3804 1998-12-10 Andy Piper <andy@xemacs.org>
3806 * Makefile.in.in (objs): add gui.o
3808 1998-12-10 Andy Piper <andy@xemacs.org>
3810 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3813 1998-12-09 Andy Piper <andy@xemacs.org>
3815 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3816 image instance is removed so that the subwindow cache gets reset
3817 and thus destroyed images get GC'd.
3819 1998-12-08 Andy Piper <andy@xemacs.org>
3821 * gui-msw.c (mswindows_handle_gui_wm_command): call
3822 MARK_SUBWINDOWS_CHANGED.
3824 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3825 subwindows really get deleted.
3827 * redisplay.c: new variable subwindows_changed[_set].
3828 (redisplay_window): use it.
3829 (redisplay_frame): ditto.
3830 (redisplay_device): ditto.
3831 (redisplay_without_hooks): ditto.
3833 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3834 subwindows redisplay as per glyphs equivalent.
3835 * redisplay.h: ditto.
3836 (MARK_SUBWINDOWS_CHANGED): ditto.
3837 (RESET_CHANGED_SET_FLAGS): ditto.
3838 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3840 1998-12-07 Andy Piper <andy@xemacs.org>
3842 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3845 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3847 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3848 messages and paint widget glyphs as appropriate with their face fg
3851 1998-12-06 Andy Piper <andy@xemacs.org>
3853 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3854 here rather than in glyphs-widget - do this because we only want
3855 to provide what is really available.
3857 * glyphs.c (Fimage_instance_property): new function to get the
3858 properties of image instances. wires through to console specific
3859 methods and then to widget specific methods.
3860 (Fset_image_instance_property): ditto but for setting widget properties.
3861 (check_valid_face): make extern so that it can be used elsewhere.
3863 * glyphs-widget.c (widget_property): new function. gets the
3864 properties of widgets in general and wires the function through to
3865 widget specific ones.
3866 (widget_set_property): ditto but for setting widget properties.
3868 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3869 add items to the list. Play with window styles a bit to get the
3871 (mswindows_widget_property): break out specific widget properties.
3872 (mswindows_button_property): new function. gets the checked state
3874 (mswindows_combo_property): new function. gets the current
3875 selection in the combo box.
3876 (mswindows_widget_set_property): new function. sets specific
3877 properties of specific widgets.
3879 * glyphs-widget.c (check_valid_item_list): new function. check
3880 that items for a combo-box are just a list of strings.
3881 (combo_validate): new function. check there is an item list.
3882 (widget_instantiate_1): new function. renamed from
3883 widget_instantiate so that we can do slightly different things for
3885 (widget_instantiate): call widget_instantiate_1.
3886 (combo_instantiate): new function to instantiate combo boxes,
3887 defaults height to the pixel height of the number of items in the
3889 (syms_of_glyphs_widget): move widget keywords here.
3890 (image_instantiator_format_create_glyphs_widget): use new combo
3893 1998-12-04 Andy Piper <andy@xemacs.org>
3895 * event-msw.c (mswindows_wnd_proc): mule-ize.
3897 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3899 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3900 (resource_name_to_resource): ditto.
3901 (mswindows_resource_instantiate): ditto.
3902 (mswindows_widget_instantiate): ditto.
3903 (mswindows_widget_set_property): ditto.
3905 * redisplay-output.c (redisplay_output_subwindow): don't show
3906 subwindows if they are obscured at the edge of the frame, emacs
3907 gets into some sort of redisplay loop otherwise.
3909 * gui.h: prototype gui_item_selected_p.
3911 * gui.c (gui_item_selected_p): new function to determine the
3912 selected state of a gui_item.
3914 * frame.h (struct frame): add subwindows_changed flag.
3916 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3918 * glyphs.c (update_subwindow): new function to update a
3920 (update_frame_subwindows): new function to update all the
3921 subwindows on a frame.
3923 * console.h (struct console_methods): add update_subwindow.
3925 * glyphs-msw.c (mswindows_widget_property): return selected state
3926 for selected property.
3927 (mswindows_update_subwindow): new function. updates widget glyphs
3928 in redisplay as per menubars or toolbars e.g. selected state.
3929 (console_type_create_glyphs_mswindows): add update_subwindow.
3931 1998-12-03 Andy Piper <andy@xemacs.org>
3933 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3934 tty coding system things are such.
3936 * glyphs-widget.c (widget_face_font_info): new function for
3937 pulling out height and width metrics for a widget's face.
3938 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3941 * event-msw.c (mswindows_drain_windows_queue): translate messages
3942 that are destined for subwindows. This makes edit fields interact
3943 with the keyboard correctly.
3944 nuke warnings by #ifndef'ing out stuff not required by msg select().
3946 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3947 macro defining the iiforma without the symbol required by widget.
3948 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3950 * general.c (syms_of_general): add Qwidget, Qselected.
3952 * faces.c (complex_vars_of_faces): add widget face inheriting from
3955 1998-11-09 Andy Piper <andy@xemacs.org>
3957 * window.h (struct window): add a cache of subwindows on a
3960 * window.c (mark_window): mark the subwindow_instance_cache.
3961 (allocate_window): initialise the subwindow instance_cache.
3963 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3964 instead of the devmeth.
3965 (x_clear_toolbar): ditto.
3967 * redisplay-x.c (x_output_display_block): call
3968 redisplay_output_subwindow for subwindows and widgets.
3970 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3971 types to do nothing for.
3973 * lisp.h: declare new widget/subwindow symbols.
3975 * glyphs.c (image_instantiate): cache subwindows on a per-window
3977 (subwindow_possible_dest_types): new function for subwindow dest
3979 (subwindow_instantiate): generic instantiation of a
3980 subwindow. specialised by device multi-methods.
3981 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3983 (Fimage_instance_subwindow_id): ditto.
3984 (Fresize_subwindow): ditto.
3985 (Fforce_subwindow_map): ditto.
3987 * glyphs-x.c (x_print_image_instance): remove subwindow
3988 stuff. Handled genrically in glyphs.c.
3989 (x_image_instance_equal): ditto.
3990 (x_image_instance_hash): ditto.
3991 (x_finalize_image_instance): delete subwindows when required.
3992 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3993 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3994 glyph-based, subwindow implementation.
3995 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3997 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3999 (x_unmap_subwindow): new function to unmap X subwindows.
4000 (x_map_subwindow): new function to map X subwindows.
4001 (x_subwindow_instantiate): new function to instantiate X
4003 (x_resize_subwindow): new function to resize X subwindows.
4004 (console_type_create_glyphs_x): add subwindow functions.
4005 (image_instantiator_format_create_glyphs_x): add device
4006 multi-methods for xpm, xbm and subwindow.
4008 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
4009 (subwindow-width): ditto.
4010 (subwindow-height): ditto.
4012 * glyphs-msw.c (mswindows_widget_instantiate): new function for
4013 generally instantiating ms subwindows. Used by
4014 mswindows_*_instantiate.
4015 (mswindows_edit_instantiate): instantiate an edit field on a
4018 1998-11-04 Andy Piper <andy@xemacs.org>
4020 * symsinit.h: declare new functions.
4022 * redisplay.h: declare new functions.
4024 * redisplay-x.c (x_output_display_block): call
4025 redisplay_clear_region rather than x_clear_region.
4026 (x_output_string): ditto.
4027 (x_output_pixmap): ditto.
4028 (x_clear_to_window_end): ditto.
4029 (x_output_eol_cursor): ditto.
4030 (x_clear_region): only do X specific things. other duties handled
4031 in redisplay_clear_region.
4033 * redisplay-tty.c (tty_clear_region): do tty specific things - some
4034 duties moved to redisplay_clear_region.
4036 * redisplay-output.c (clear_left_border): use
4037 redisplay_clear_region instead of device method.
4038 (clear_right_border): ditto.
4039 (output_display_line): ditto.
4040 (redisplay_output_subwindow): ditto.
4041 (redisplay_clear_top_of_window): ditto.
4042 (redisplay_clear_region): perform duties previously handled by
4043 device methods. call the appropriate device method at the
4044 end. unmap subwindows if necessary.
4046 * redisplay-msw.c (mswindows_output_string): use
4047 redisplay_clear_region instead of mswindows_clear_region.
4048 (mswindows_clear_to_window_end): ditto.
4049 (mswindows_output_display_block): output subwindows when required.
4050 (mswindows_clear_region): only do mswindows specific things,
4051 everything else is now handled in redisplay_clear_region.
4053 * gui.h: add item id hash defines and declare function prototypes.
4055 * gui.c (mark_gui_item): new function for marking gui_items.
4056 (gui_item_hash): generic hash function for generating command ids
4059 * gui-msw.c: new file.
4060 (mswindows_handle_gui_wm_command): new function to handle widget
4063 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
4065 (IIFORMAT_HAS_SHARED_METHOD): ditto.
4066 (DEFINE_DEVICE_IIFORMAT): ditto.
4067 (INITIALIZE_DEVICE_IIFORMAT): ditto.
4068 (struct Lisp_Image_Instance): add widget and subwindow data plus
4069 appropriate access functions.
4071 * glyphs.c (decode_device_ii_format): new function for decoding
4072 image instantiator functions based on a device type as well as an
4074 (decode_image_instantiator_format): just call
4075 decode_device_ii_format with nil device.
4076 (add_entry_to_device_ii_format_list): new function for per device
4078 (add_entry_to_image_instantiator_format_list): just call
4079 add_entry_to_device_ii_format_list with nil device.
4080 (check_valid_vector): new function.
4081 (instantiate_image_instantiator): instantiate using per-format
4082 method and then per-format-per-device method (device
4083 multi-methods). signal an error if neither is possible.
4084 (mark_image_instance): cope with subwindows and widgets.
4085 (print_image_instance): ditto.
4086 (image_instance_equal): ditto.
4087 (image_instance_hash): ditto.
4088 (allocate_glyph): ditto.
4089 (glyph_width): ditto.
4090 (glyph_height_internal): ditto.
4091 (xpm_instantiate): removed because of device multi-methods.
4092 (mark_subwindow_cachels): new cachel functions for caching
4093 instantiated subwindows on a per-frame basis. mostly copied from
4094 glyph cachel functions.
4095 (update_subwindow_cachel_data): ditto.
4096 (add_subwindow_cachel): ditto.
4097 (get_subwindow_cachel_index): ditto.
4098 (reset_subwindow_cachels): ditto.
4099 (mark_subwindow_cachels_as_not_updated): ditto.
4100 (unmap_subwindow): generic unmapping of subwindows based on cachel
4102 (map_subwindow): ditto.
4103 (initialize_subwindow_image_instance): generic initialisation of
4105 (syms_of_glyphs): add widget keywords.
4107 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
4110 1998-11-04 Andy Piper <andy@xemacs.org>
4112 * glyphs-widget.c: new file for instantiating widget type glyphs.
4113 (widget_possible_dest_types): new general dest type function for
4115 (widget_validate): ditto.
4116 (initialize_widget_image_instance): ditto
4117 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
4118 before handing on control to device multi-methods.
4119 (syms_of_glyphs_widget): new function.
4120 (image_instantiator_format_create_glyphs_widget): new function,
4121 added placeholders for button, edit, combo, scrollbar
4122 (vars_of_glyphs_widget): new function.
4124 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
4125 storing window ids of widgets.
4127 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
4128 deletion of widget and subwindow glyphs.
4129 (mswindows_unmap_subwindow): new device function for unmapping
4130 subwindows on a msw frame.
4131 (mswindows_map_subwindow): ditto.
4132 (mswindows_register_image_instance): register instantiated widgets
4133 with the widget hastable.
4134 (mswindows_button_instantiate): instantiate a button type widget
4136 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
4138 (image_instantiator_format_create_glyphs_mswindows): add device
4139 multi-methods for xbm, xpm, subwindow, edit and button.
4141 * frame.h (struct frame): add subwindow_cachels dynarr for caching
4142 information about subwindows visible on the current frame. used by
4143 redisplay_clear_region to unmap subwindows as required.
4145 * frame.c (mark_frame): mark subwindow_cachels.
4146 (allocate_frame_core): instantiate subwindow_cachels.
4148 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
4151 * event-msw.c (mswindows_wnd_proc): add call to
4152 mswindows_handle_gui_wm_command to handle widget callbacks.
4154 * emacs.c (main_1): add calls to glyphs-widget initialisation
4157 * console.h (struct console_methods): add
4158 unmap/map_subwindow_method for use be redisplay_clear_region to
4159 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
4160 with by image instantiator multi-methods. Add
4161 resize_subwindow_method.
4163 * console-stream.c (stream_clear_region): change signature to
4164 match new generic clear region function.
4166 * Makefile.in.in: add glyphs-widget.o to list of objects.
4168 * console-msw.h (struct mswindows_frame): add widget hashtable for
4169 wiring command ids to callbacks.
4171 1998-12-16 Andy Piper <andy@xemacs.org>
4173 * XEmacs 21.2.6 is released
4175 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
4177 * md5.c (Fmd5): Correctly initiate string input stream.
4179 * Makefile.in.in (tests): Add md5-tests.el.
4181 1998-12-06 Martin Buchholz <martin@xemacs.org>
4184 * alloc.c (make_vector): remove travesty
4188 (make_bit_vector_internal):
4190 (make_bit_vector_from_byte_vector):
4192 - make vector_equal a little faster.
4193 - Don't use variable name `new'.
4194 - Use size_t instead of EMACS_INT.
4195 - usual Martin-style pointless bit-twiddling.
4201 Make mapcar faster. In particular, make
4202 (mapc #'identity long-string)
4203 MUCH faster under Mule.
4204 * tests/automated/lisp-tests.el: Test 'em!
4206 1998-12-06 Martin Buchholz <martin@xemacs.org>
4208 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4211 1998-12-13 Martin Buchholz <martin@xemacs.org>
4213 * console-msw.c: Function definitions follow coding standards
4214 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4216 1998-12-11 Martin Buchholz <martin@xemacs.org>
4218 * events.h (struct timeout_data):
4219 * event-tty.c (tty_timeout_to_emacs_event):
4220 * event-msw.c (mswindows_wm_timer_callback):
4221 * event-Xt.c (Xt_timeout_to_emacs_event):
4222 * event-msw.c (mswindows_cancel_dispatch_event):
4223 Make sure Lisp_Objects inside events are initialized to Qnil, not
4224 Qnull_pointer, which is now illegal.
4226 1998-12-10 Martin Buchholz <martin@xemacs.org>
4228 * lisp.h: Fix up prototypes to match alloc.c
4230 1998-12-09 Andy Piper <andy@xemacs.org>
4232 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4233 XSETINT for assigning lisp objects.
4235 1998-12-07 Martin Buchholz <martin@xemacs.org>
4238 * console-msw.c (DHEADER):
4247 - max_align_t should not be visible to the user of the
4249 - use Bufbyte instead of char
4250 - parens around (FOOP (obj)) are always redundant.
4251 If they were necessary, we should fix the macro instead.
4252 - Always use string_data(foo) instead of foo->data.
4254 1998-12-07 Martin Buchholz <martin@xemacs.org>
4256 * sysdep.c (set_descriptor_non_blocking):
4257 Since O_NONBLOCK is now always #defined, make use of fcntl
4258 conditional on F_SETFL being defined.
4260 1998-12-09 Andy Piper <andy@xemacs.org>
4262 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4263 that got removed in the merge
4265 1998-11-30 Greg Klanderman <greg@alphatech.com>
4267 * dired.c (vars_of_dired): bugfix for previous conditionalization
4268 of user-name-completion on non- Windows NT.
4270 1998-12-08 Martin Buchholz <martin@xemacs.org>
4272 * windowsnt.h: Remove `support' for using index and rindex
4274 * filelock.c (current_lock_owner):
4275 - Change uses of index -> strchr, rindex -> strrchr
4277 1998-12-06 Martin Buchholz <martin@xemacs.org>
4279 * frame-msw.c (mswindows_init_frame_1):
4280 - use make_lisp_hash_table, not Fmake_hash_table
4283 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4285 * XEmacs 21.2.5 is released
4287 1998-11-30 Martin Buchholz <martin@xemacs.org>
4289 * xselect.c (receive_incremental_selection):
4290 * xselect.c (x_get_window_property):
4291 * xmu.c (XmuReadBitmapDataFromFile):
4292 * xmu.c (XmuCursorNameToIndex):
4293 * xgccache.c (describe_gc_cache):
4294 * xgccache.c (gc_cache_lookup):
4295 * xgccache.c (free_gc_cache):
4296 * xgccache.c (make_gc_cache):
4298 * window.c (map_windows_1):
4299 * window.c (Fother_window_for_scrolling):
4300 * window.c (window_scroll):
4301 * window.c (change_window_height):
4302 * window.c (Fsplit_window):
4303 * window.c (window_left_gutter_width):
4304 * window.c (window_modeline_height):
4305 * window.c (invalidate_vertical_divider_cache_in_window):
4306 * window.c (window_needs_vertical_divider_1):
4307 * window.c (update_mirror_internal):
4308 * window.c (SET_LAST_FACECHANGE):
4309 * widget.c (Fwidget_plist_member):
4310 * unexec.c (copy_text_and_data):
4311 * unexcw.c (copy_executable_and_dump_data_section):
4313 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4314 * tooltalk.c (struct Lisp_Tooltalk_Message):
4315 * toolbar.h (struct toolbar_button):
4316 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4317 * toolbar.c (recompute_overlaying_specifier):
4318 * toolbar.c (toolbar_validate):
4319 * toolbar.c (toolbar_button_at_pixpos):
4320 * toolbar.c (get_toolbar_coords):
4321 * toolbar.c (update_frame_toolbars):
4323 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4324 * toolbar-msw.c (mswindows_find_toolbar_pos):
4325 * toolbar-msw.c (mswindows_output_toolbar):
4326 * toolbar-msw.c (mswindows_clear_toolbar):
4335 * sysdep.c (sys_fopen):
4336 * sysdep.c (sys_open):
4337 * sysdep.c (tty_init_sys_modes_on_device):
4338 * sysdep.c (get_eof_char):
4339 * sysdep.c (child_setup_tty):
4340 * sysdep.c (set_descriptor_non_blocking):
4342 * syntax.c (scan_words):
4345 * symeval.h (struct symbol_value_varalias):
4346 * symeval.h (struct symbol_value_forward):
4347 * symbols.c (syms_of_symbols):
4348 * symbols.c (init_symbols_once_early):
4349 * symbols.c (Fbuilt_in_variable_type):
4350 * symbols.c (Fsymbol_value_in_buffer):
4351 * symbols.c (default_value):
4353 * symbols.c (find_symbol_value_quickly):
4354 * symbols.c (store_symval_forwarding):
4355 * symbols.c (set_default_console_slot_variable):
4356 * symbols.c (set_default_buffer_slot_variable):
4357 * symbols.c (verify_ok_for_buffer_local):
4358 * symbols.c (symbol_is_constant):
4359 * symbols.c (oblookup):
4360 * symbols.c (Funintern):
4361 * symbols.c (Fintern):
4362 * symbols.c (check_obarray):
4364 * specifier.h (struct specifier_methods):
4366 * specifier.c (specifier_instance):
4367 * specifier.c (specifier_instance_from_inst_list):
4368 * specifier.c (decode_locale_type):
4369 * specifier.c (specifier_equal):
4370 * specifier.c (finalize_specifier):
4371 * specifier.c (prune_specifiers):
4372 * specifier.c (kill_specifier_buffer_locals):
4373 * sound.c (init_native_sound):
4376 * search.c (Fmatch_data):
4377 * search.c (match_limit):
4378 * search.c (Freplace_match):
4379 * search.c (skip_chars):
4380 * search.c (scan_buffer):
4382 * scrollbar.c (specifier_vars_of_scrollbar):
4383 * scrollbar.c (Fscrollbar_set_hscroll):
4384 * scrollbar.c (vertical_scrollbar_changed_in_window):
4385 * scrollbar.c (release_window_mirror_scrollbars):
4386 * scrollbar.c (free_scrollbar_instance):
4389 * s/msdos.h (O_BINARY):
4391 * s/freebsd.h (LIBS_TERMCAP):
4392 * regex.c (re_match_2_internal):
4393 * regex.c (compile_extended_range):
4394 * regex.c (POP_FAILURE_POINT):
4395 * regex.c (PUSH_FAILURE_POINT):
4396 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4398 * redisplay.h (struct display_line):
4399 * redisplay.h (struct rune):
4400 * redisplay.c (vars_of_redisplay):
4401 * redisplay.c (redisplay_variable_changed):
4402 * redisplay.c (UPDATE_CACHE_RETURN):
4403 * redisplay.c (validate_line_start_cache):
4404 * redisplay.c (mark_redisplay_structs):
4405 * redisplay.c (mark_glyph_block_dynarr):
4406 * redisplay.c (window_line_number):
4407 * redisplay.c (redisplay_frame):
4408 * redisplay.c (redisplay_window):
4409 * redisplay.c (generate_modeline):
4410 * redisplay.c (create_right_glyph_block):
4411 * redisplay.c (create_left_glyph_block):
4412 * redisplay.c (create_text_block):
4414 * redisplay-x.c (x_output_hline):
4415 * redisplay-x.c (x_output_vertical_divider):
4416 * redisplay-tty.c (tty_output_display_block):
4417 * redisplay-output.c (output_display_line):
4418 * redisplay-output.c:
4419 * redisplay-msw.c (mswindows_output_vertical_divider):
4420 * redisplay-msw.c (mswindows_ring_bell):
4421 * redisplay-msw.c (mswindows_output_cursor):
4425 * puresize.h (RAW_PURESIZE):
4426 * profile.c (syms_of_profile):
4427 * profile.c (Fstart_profiling):
4428 * profile.c (sigprof_handler):
4431 * process.c (vars_of_process):
4432 * process.c (read_process_output):
4433 * process.c (get_process):
4435 * process-unix.c (unix_open_multicast_group):
4436 * process-unix.c (unix_get_tty_name):
4437 * process-unix.c (unix_send_process):
4438 * process-unix.c (unix_reap_exited_processes):
4439 * process-unix.c (unix_create_process):
4440 * process-unix.c (unix_init_process_io_handles):
4441 * process-unix.c (allocate_pty):
4443 * process-nt.c (nt_open_network_stream):
4444 * process-nt.c (nt_update_status_if_terminated):
4445 * process-nt.c (nt_finalize_process_data):
4447 * print.c (debug_short_backtrace):
4448 * print.c (debug_backtrace):
4449 * print.c (print_symbol):
4450 * print.c (print_internal):
4451 * print.c (print_cons):
4452 * print.c (Fwrite_char):
4453 * print.c (print_prepare):
4454 * print.c (canonicalize_printcharfun):
4455 * print.c (output_string):
4458 * opaque.c (allocate_managed_opaque):
4460 * offix.c (DndSetData):
4461 * objects.c (face_boolean_create):
4462 * objects.c (font_instantiate):
4463 * objects.c (font_create):
4464 * objects.c (color_create):
4465 * objects.c (finalize_font_instance):
4466 * objects.c (finalize_color_instance):
4468 * objects-x.c (x_font_instance_truename):
4470 * objects-x.c (x_initialize_font_instance):
4471 * objects-x.c (allocate_nearest_color):
4472 * objects-tty.c (tty_initialize_font_instance):
4473 * objects-tty.c (tty_initialize_color_instance):
4474 * objects-msw.c (mswindows_initialize_color_instance):
4475 * ntproc.c (syms_of_ntproc):
4476 * ntproc.c (Fwin32_set_process_priority):
4477 * ntproc.c (sys_spawnve):
4479 * ntheap.c (get_data_end):
4483 * nt.c (generate_inode_val):
4484 * nt.c (sys_rename):
4486 * mule-wnnfns.c (Fwnn_hinsi_number):
4487 * mule-wnnfns.c (Fwnn_yuragi):
4488 * mule-wnnfns.c (Fwnn_common_learn):
4489 * mule-wnnfns.c (Fwnn_suffix_learn):
4490 * mule-wnnfns.c (Fwnn_prefix_learn):
4491 * mule-wnnfns.c (Fwnn_okuri_learn):
4492 * mule-wnnfns.c (Fwnn_complex_conv):
4493 * mule-wnnfns.c (Fwnn_last_is_first):
4494 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4495 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4496 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4497 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4498 * mule-wnnfns.c (Fwnn_hinsi_list):
4499 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4500 * mule-wnnfns.c (Fwnn_dict_search):
4501 * mule-wnnfns.c (Fwnn_word_toroku):
4502 * mule-wnnfns.c (Fwnn_hindo_update):
4503 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4504 * mule-wnnfns.c (Fwnn_kakutei):
4505 * mule-wnnfns.c (Fwnn_begin_henkan):
4506 * mule-wnnfns.c (Fwnn_dict_comment):
4507 * mule-wnnfns.c (Fwnn_dict_add):
4508 * mule-wnnfns.c (Fwnn_open):
4509 * mule-mcpath.c (mc_getcwd):
4510 * mule-coding.c (vars_of_mule_coding):
4511 * mule-coding.c (convert_to_external_format):
4512 * mule-coding.c (encoding_marker):
4513 * mule-coding.c (decoding_marker):
4514 * mule-coding.c (Fcopy_coding_system):
4515 * mule-coding.c (Fmake_coding_system):
4516 * mule-coding.c (Fcoding_system_list):
4517 * mule-coding.c (Ffind_coding_system):
4518 * mule-coding.c (symbol_to_eol_type):
4520 * mule-charset.c (complex_vars_of_mule_charset):
4521 * mule-charset.c (vars_of_mule_charset):
4522 * mule-charset.c (Fset_charset_ccl_program):
4523 * mule-charset.c (struct charset_list_closure):
4524 * mule-charset.c (Ffind_charset):
4525 * mule-charset.c (make_charset):
4526 * mule-charset.c (non_ascii_valid_char_p):
4528 * mule-ccl.c (ccl_driver):
4529 * mule-canna.c (c2mu):
4530 * mule-canna.c (Fcanna_henkan_begin):
4531 * mule-canna.c (Fcanna_parse):
4532 * mule-canna.c (Fcanna_store_yomi):
4533 * mule-canna.c (Fcanna_touroku_string):
4534 * mule-canna.c (Fcanna_initialize):
4536 * menubar.c (menu_parse_submenu_keywords):
4537 * menubar-x.c (make_dummy_xbutton_event):
4538 * menubar-x.c (set_frame_menubar):
4539 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4542 * menubar-msw.c (mswindows_popup_menu):
4543 * menubar-msw.c (mswindows_update_frame_menubars):
4544 * menubar-msw.c (mswindows_handle_wm_command):
4545 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4546 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4547 * menubar-msw.c (update_frame_menubar_maybe):
4548 * menubar-msw.c (populate_or_checksum_helper):
4549 * menubar-msw.c (empty_menu):
4552 * marker.c (set_marker_internal):
4553 * marker.c (print_marker):
4556 * lstream.c (lisp_buffer_rewinder):
4557 * lstream.c (mark_lstream):
4559 * lrecord.h (struct lrecord_header):
4560 * lread.c (readevalloop):
4561 * lread.c (locate_file):
4562 * lread.c (locate_file_in_directory):
4563 * lread.c (Flocate_file):
4564 * lread.c (load_force_doc_string_unwind):
4565 * lread.c (ebolify_bytecode_constants):
4570 * linuxplay.c (linux_play_data_or_file):
4571 * linuxplay.c (audio_init):
4574 * keymap.c (describe_map):
4575 * keymap.c (describe_map_mapper):
4576 * keymap.c (Fdescribe_bindings_internal):
4577 * keymap.c (Fsingle_key_description):
4578 * keymap.c (map_keymap_sorted):
4579 * keymap.c (get_relevant_keymaps):
4580 * keymap.c (Flookup_key):
4581 * keymap.c (raw_lookup_key_mapper):
4582 * keymap.c (Fdefine_key):
4583 * keymap.c (Fevent_matches_key_specifier_p):
4584 * keymap.c (key_desc_list_to_event):
4585 * keymap.c (define_key_parser):
4586 * keymap.c (define_key_check_and_coerce_keysym):
4587 * keymap.c (keymap_submaps):
4588 * keymap.c (keymap_store_internal):
4589 * keymap.c (keymap_delete_inverse_internal):
4590 * keymap.c (keymap_store_inverse_internal):
4591 * keymap.c (print_keymap):
4592 * keymap.c (Lisp_Keymap):
4595 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4596 * insdel.c (make_gap):
4597 * input-method-xlib.c (get_XIM_input):
4598 * input-method-xlib.c (XIM_init_frame):
4603 * gui-x.c (button_item_to_widget_value):
4604 * gui-x.c (popup_selection_callback):
4605 * glyphs.h (struct image_instantiator_methods):
4606 * glyphs.c (mark_glyph_cachels):
4607 * glyphs.c (Fglyph_type):
4608 * glyphs.c (image_instantiate):
4609 * glyphs.c (image_create):
4610 * glyphs.c (make_image_instance_1):
4611 * glyphs.c (finalize_image_instance):
4613 * glyphs-x.c (finalize_subwindow):
4614 * glyphs-x.c (xface_validate):
4615 * glyphs-x.c (x_locate_pixmap_file):
4616 * glyphs-x.c (convert_EImage_to_XImage):
4618 * glyphs-msw.c (mswindows_resource_instantiate):
4619 * glyphs-msw.c (xpm_to_eimage):
4620 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4621 * glyphs-eimage.c (tiff_instantiate):
4622 * glyphs-eimage.c (png_instantiate):
4623 * glyphs-eimage.c (struct png_error_struct):
4624 * glyphs-eimage.c (gif_memory_storage):
4627 * getloadavg.c (getloadavg):
4630 * free-hook.c (log_gcpro):
4631 * free-hook.c (check_malloc):
4632 * free-hook.c (check_free):
4633 * free-hook.c (ROUND_UP_TO_PAGE):
4635 * frame.h (struct frame):
4637 * frame.c (change_frame_size_1):
4638 * frame.c (allocate_frame_core):
4640 * frame-x.c (x_focus_on_frame):
4641 * frame-x.c (x_init_frame_2):
4642 * frame-x.c (x_popup_frame):
4643 * frame-x.c (xemacs_XtPopup):
4645 * frame-x.c (Foffix_start_drag_internal):
4646 * frame-x.c (x_cde_destroy_callback):
4647 * frame-x.c (x_wm_hack_wm_protocols):
4648 * frame-tty.c (tty_frame_visible_p):
4649 * frame-msw.c (mswindows_make_frame_invisible):
4650 * frame-msw.c (mswindows_after_init_frame):
4651 * frame-msw.c (mswindows_init_frame_1):
4652 * fns.c (syms_of_fns):
4653 * fns.c (Fbase64_decode_string):
4655 * fns.c (Ffillarray):
4656 * fns.c (Fobject_plist):
4658 * fns.c (Fcanonicalize_lax_plist):
4659 * fns.c (Fcanonicalize_plist):
4660 * fns.c (Fplist_remprop):
4661 * fns.c (Fplist_get):
4662 * fns.c (advance_plist_pointers):
4663 * fns.c (internal_plist_put):
4664 * fns.c (Fnreverse):
4667 * fns.c (Fsubstring):
4668 * fns.c (Fbvconcat):
4670 * fns.c (length_with_bytecode_hack):
4671 * fns.c (print_bit_vector):
4673 * floatfns.c (Ffloor):
4675 * floatfns.c (in_float_error):
4676 * fileio.c (Ffile_modes):
4677 * fileio.c (Fexpand_file_name):
4678 * fileio.c (Fmake_temp_name):
4679 * fileio.c (Ffile_name_nondirectory):
4680 * fileio.c (Ffile_name_directory):
4682 * file-coding.c (vars_of_mule_coding):
4683 * file-coding.c (convert_to_external_format):
4684 * file-coding.c (encoding_marker):
4685 * file-coding.c (decoding_marker):
4686 * file-coding.c (Fcopy_coding_system):
4687 * file-coding.c (Fmake_coding_system):
4688 * file-coding.c (struct coding_system_list_closure):
4689 * file-coding.c (Ffind_coding_system):
4690 * file-coding.c (symbol_to_eol_type):
4692 * faces.h (struct face_cachel):
4693 * faces.c (vars_of_faces):
4694 * faces.c (face_property_was_changed):
4695 * faces.c (mark_face_cachels):
4696 * faces.c (temporary_faces_list):
4697 * faces.c (struct face_list_closure):
4699 * extents.h (struct extent):
4700 * extents.c (vars_of_extents):
4701 * extents.c (struct copy_string_extents_1_arg):
4702 * extents.c (add_string_extents_mapper):
4703 * extents.c (Fextent_property):
4704 * extents.c (Fset_extent_property):
4705 * extents.c (symbol_to_glyph_layout):
4706 * extents.c (properties_equal):
4707 * extents.c (print_extent):
4708 * extents.c (print_extent_1):
4709 * extents.c (extent_in_region_p):
4710 * extents.c (gap_array_make_gap):
4712 * events.h (struct Lisp_Event):
4714 * events.c (Fevent_properties):
4715 * events.c (format_event_object):
4716 * events.c (Fmake_event):
4717 * events.c (event_equal):
4718 * events.c (print_event):
4719 * events.c (mark_event):
4720 * event-stream.c ((read-char)
4721 * event-stream.c (vars_of_event_stream):
4722 * event-stream.c (syms_of_event_stream):
4723 * event-stream.c (Fset_recent_keys_ring_size):
4724 * event-stream.c (Fsit_for):
4725 * event-stream.c (Fnext_event):
4726 * event-stream.c (execute_help_form):
4727 * event-stream.c (maybe_kbd_translate):
4729 * event-msw.c (vars_of_event_mswindows):
4730 * event-msw.c (mswindows_wnd_proc):
4731 * event-msw.c (mswindows_need_event):
4732 * event-msw.c (mswindows_drain_windows_queue):
4733 * event-msw.c (mswindows_pump_outstanding_events):
4735 * event-msw.c (slurp_thread):
4736 * event-msw.c (struct ntpipe_slurp_stream):
4737 * event-msw.c (HANDLE_TO_USID):
4738 * event-Xt.c (emacs_Xt_handle_magic_event):
4739 * event-Xt.c (x_event_to_emacs_event):
4740 * event-Xt.c (x_reset_modifier_mapping):
4741 * event-Xt.c (x_reset_key_mapping):
4743 * eval.c (syms_of_eval):
4744 * eval.c (warn_when_safe):
4745 * eval.c (warn_when_safe_lispobj):
4746 * eval.c (Fbacktrace_frame):
4747 * eval.c (Fbacktrace):
4748 * eval.c (top_level_set):
4749 * eval.c (unbind_to_hairy):
4750 * eval.c (specbind_magic):
4751 * eval.c (specbind_unwind_wasnt_local):
4752 * eval.c (call2_trapping_errors):
4753 * eval.c (call1_trapping_errors):
4754 * eval.c (catch_them_squirmers_call2):
4755 * eval.c (call0_trapping_errors):
4756 * eval.c (run_hook_trapping_errors):
4757 * eval.c (catch_them_squirmers_eval_in_buffer):
4758 * eval.c (call4_in_buffer):
4759 * eval.c (call3_in_buffer):
4760 * eval.c (call2_in_buffer):
4761 * eval.c (call1_in_buffer):
4762 * eval.c (call0_in_buffer):
4763 * eval.c (run_hook):
4764 * eval.c (run_hook_with_args_in_buffer):
4767 * eval.c (do_autoload):
4768 * eval.c (un_autoload):
4769 * eval.c (Fautoload):
4770 * eval.c (Finteractive_p):
4771 * eval.c (Fcommand_execute):
4772 * eval.c (signal_quit):
4773 * eval.c (call_with_suspended_errors):
4774 * eval.c (signal_error):
4775 * eval.c (return_from_signal):
4776 * eval.c (Fcall_with_condition_handler):
4777 * eval.c (run_condition_case_handlers):
4778 * eval.c (condition_case_1):
4779 * eval.c (Funwind_protect):
4780 * eval.c (unwind_to_catch):
4781 * eval.c (internal_catch):
4782 * eval.c (Fmacroexpand_internal):
4783 * eval.c (Fuser_variable_p):
4784 * eval.c (Fdefconst):
4786 * eval.c (Ffunction):
4787 * eval.c (signal_call_debugger):
4788 * eval.c (call_debugger):
4791 * emacs.c (sort_args):
4795 * editfns.c (Fencode_time):
4796 * editfns.c (Fdecode_time):
4797 * editfns.c (Fuser_full_name):
4799 * editfns.c (save_excursion_restore):
4802 * doprnt.c (emacs_doprnt_1):
4803 * doc.c (verify_doc_mapper):
4804 * doc.c (Fsnarf_documentation):
4805 * doc.c (Fdocumentation):
4807 * dired.c (user_name_completion):
4808 * dired.c (Fdirectory_files):
4811 * dgif_lib.c (FreeSavedImages):
4812 * dgif_lib.c (DGifGetImageDesc):
4814 * device.h (struct device):
4815 * device.c (Fselect_device):
4816 * device.c (allocate_device):
4818 * device-x.c (Fx_keysym_on_keyboard_p):
4819 * device-x.c (Fx_valid_keysym_name_p):
4820 * device-x.c (x_IO_error_handler):
4821 * device-x.c (x_delete_device):
4822 * device-x.c (x_finish_init_device):
4823 * device-x.c (x_init_device):
4825 * device-msw.c (mswindows_init_device):
4827 * database.c (vars_of_database):
4828 * database.c (Fput_database):
4829 * database.c (Fopen_database):
4830 * database.c (berkdb_remove):
4831 * database.c (berkdb_put):
4832 * database.c (Fdatabasep):
4833 * database.c (print_database):
4835 * data.c (vars_of_data):
4836 * data.c (syms_of_data):
4837 * data.c (init_errors_once_early):
4838 * data.c (prune_weak_lists):
4839 * data.c (finish_marking_weak_lists):
4840 * data.c (print_weak_list):
4842 * data.c (Fstring_to_number):
4843 * data.c (Fnumber_to_string):
4844 * data.c (Findirect_function):
4847 * data.c (Fsubr_interactive):
4849 * data.c (Fkeywordp):
4852 * console.h (CONSOLE_NAME):
4854 * console.c (vars_of_console):
4855 * console.c (Fselect_console):
4857 * console-x.h (DEVICE_X_COLORMAP):
4858 * console-x.h (struct x_device):
4859 * console-x.c (x_device_to_console_connection):
4860 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4861 * console-tty.c (tty_init_console):
4863 * console-msw.h (struct mswindows_frame):
4866 * cmds.c (internal_self_insert):
4867 * cmds.c (Fforward_line):
4868 * cmds.c (Fforward_char):
4871 * chartab.c (mark_char_table_entry):
4873 * casefiddle.c (casify_word):
4874 * callproc.c (child_setup):
4875 * callproc.c (Fcall_process_internal):
4877 * callint.c (Fcall_interactively):
4879 * bytecode.c (execute_rare_opcode):
4880 * bytecode.c (execute_optimized_program):
4883 * buffer.h (BUFFER_REALLOC):
4884 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4885 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4887 * buffer.h (MAP_INDIRECT_BUFFERS):
4888 * buffer.h (CHECK_LIVE_BUFFER):
4889 * buffer.c (init_initial_directory):
4890 * buffer.c (complex_vars_of_buffer):
4891 * buffer.c (vars_of_buffer):
4892 * buffer.c (finish_init_buffer):
4893 * buffer.c (Fget_file_buffer):
4894 * buffer.c (Fbuffer_list):
4895 * buffer.c (mark_buffer):
4896 * balloon_help.c (balloon_help_move_to_pointer):
4897 * balloon_help.c (show_help):
4900 * alloc.c (garbage_collect_1):
4901 * alloc.c (sweep_strings):
4902 * alloc.c (sweep_compiled_functions):
4903 * alloc.c (sweep_bit_vectors_1):
4904 * alloc.c (sweep_vectors_1):
4905 * alloc.c (sweep_lcrecords_1):
4906 * alloc.c (tick_lcrecord_stats):
4907 * alloc.c (pure_string_sizeof):
4908 * alloc.c (mark_conses_in_list):
4909 * alloc.c (mark_object):
4910 * alloc.c (report_pure_usage):
4911 * alloc.c (make_pure_float):
4912 * alloc.c (make_pure_string):
4913 * alloc.c (free_managed_lcrecord):
4914 * alloc.c (mark_string):
4915 * alloc.c (noseeum_make_marker):
4916 * alloc.c (allocate_event):
4917 * alloc.c (Fbit_vector):
4918 * alloc.c (Fvector):
4919 * alloc.c (make_float):
4920 * alloc.c (Fmake_list):
4922 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4923 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4924 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4925 * alloc.c (dbg_constants):
4926 * alloc.c (gc_record_type_p):
4927 * alloc.c (free_lcrecord):
4928 * alloc.c (xmalloc):
4929 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4931 * Makefile.in.in (mostlyclean):
4932 * Makefile.in.in (external_client_xlib_objs_nonshared):
4933 * Makefile.in.in (temacs_link_args):
4934 * Makefile.in.in (release):
4935 * Makefile.in.in (dnd_objs):
4936 * Makefile.in.in (objs):
4937 * Makefile.in.in (PROGNAME):
4938 * EmacsShell.c: cast strings to (XtPointer)
4939 * EmacsFrame.c: cast strings to (XtPointer)
4941 - rewrite basic lisp functions for speed
4942 - rewrite bytecode interpreter for speed
4943 - rewrite list looping constructs for speed and safety using
4945 - use size_t where appropriate.
4946 - new hashtable implementation
4947 - cleanup implementation of opaques
4948 - opaques can now be purecopy'ed
4949 - move some cl functionality into C for speed.
4950 - remove last remaining VMS support
4952 - improve gdb/dbx debugger support
4953 - move pure.c back into alloc.c for performance
4954 - enable report_pure_usage() if --memory-usage-stats
4955 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4956 - don't use symbols with leading `_' or embedded `__'
4957 - globally cleanup duplicated semicolons `;;'
4958 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4960 - globally replace O_NDELAY with O_NONBLOCK.
4961 - globally replace CDISABLE with _POSIX_VDISABLE.
4962 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4963 - define (and maybe use!) STDERR_FILENO and friends.
4964 - add support for macros defined in C
4965 - `when', `unless', `not' and `defalias' now defined in C,
4966 so that they are universally available.
4967 - rename defvar_mumble to defvar_magic
4968 - rename RETURN__ to RETURN_SANS_WARNINGS
4969 - use consistent style of initial caps in error messages
4970 - implement last, butlast, nbutlast, copy-list in C.
4971 - provide typedefs for all struct Lisp_foo types
4972 - Lisp_Objects must be initialized to Qnil rather than 0.
4973 - make sure XEmacs runs (slowly) with always_gc == 1;
4974 - fast and safe LOOP_* macros
4975 - change calls to XSETOBJ to XSETFOO
4976 - replace calls to XSETINT by make_int()
4977 - plug up memory leaks
4978 - use style markobj (foo), not silly ((markobj) (foo))
4979 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4981 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4983 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4985 1998-11-28 SL Baur <steve@altair.xemacs.org>
4987 * XEmacs 21.2-beta4 is released.
4989 1998-11-27 SL Baur <steve@altair.xemacs.org>
4991 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4992 property in control-1 charset.
4993 From Julian Bradfield <jcb@daimi.au.dk>
4995 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4997 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4999 Add stub for :label.
5001 * gui.c (gui_item_add_keyval_pair): ditto.
5003 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
5004 :key-sequence keyword.
5006 Support :active for submenus like the Windows code and FSF Emacs.
5008 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
5010 * dired.c (make_directory_hash_table): make_string() is OK because
5011 readdir() Mule-encapsulates.
5013 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5015 * fns.c (Fbase64_encode_string): Fix docstring.
5016 (Fbase64_decode_string): Ditto.
5018 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5020 * editfns.c (Ftranslate_region): Use
5021 convert_bufbyte_string_into_emchar_string().
5023 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5025 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
5027 (Ftranslate_region): Turn table into an array of Emchars for
5030 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5032 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
5034 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5036 * chartab.c (Freset_char_table): Don't blindly fill chartables of
5037 type `char' with nils.
5039 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
5040 for tables of type `char'.
5042 1998-11-26 Didier Verna <verna@inf.enst.fr>
5044 * input-method-xlib.c (Initialize_Locale): don't call
5045 XtSetLanguageProc. We've done the whole work here.
5046 * input-method-xfs.c (Initialize_Locale): ditto.
5047 * input-method-motif.c (Initialize_Locale): ditto.
5049 1998-11-26 Didier Verna <verna@inf.enst.fr>
5051 * process-unix.c (unix_create_process): handle properly
5052 Vfile_name_coding_system for converting the program and directory
5055 1998-11-27 SL Baur <steve@altair.xemacs.org>
5057 * m/arm.h: New file.
5058 From James LewisMoss <dres@ioa.com>
5060 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5063 Fix the realpath() problem of UnixWare2.1.3.
5064 Patches for NEC's sysv4.2 machine.
5066 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5068 * dired.c (Fdirectory_files): Remove redundant code.
5070 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5072 * fns.c (free_malloced_ptr): New function.
5073 (XMALLOC_OR_ALLOCA): New macro.
5074 (XMALLOC_UNBIND): Ditto.
5075 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
5076 to be freed in case of non-local exit.
5077 (Fbase64_encode_string): Ditto.
5078 (Fbase64_decode_region): Ditto.
5079 (Fbase64_decode_string): Ditto.
5080 (STORE_BYTE): New macro.
5081 (base64_decode_1): Use it.
5083 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5085 * fns.c (base64_value_to_char): Base64 stuff.
5087 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5089 * editfns.c (Fbuffer_substring): New function.
5091 * lisp.h: Declare make_string_from_buffer_no_extents().
5093 * insdel.c (make_string_from_buffer_1): New function.
5094 (make_string_from_buffer_no_extents): Ditto.
5096 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5098 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
5099 sound work on AIX with OSS installed. Linux should still work.
5101 1998-11-03 Andy Piper <andyp@parallax.co.uk>
5103 * config.h.in: name change for cygwin/version.h
5105 * configure.in: check for cygwin/version.h now.
5107 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5108 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5109 move cygwin32/version.h to cygwin/version.h
5111 1998-11-03 Olivier Galibert <galibert@pobox.com>
5113 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
5116 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5118 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5119 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5120 enable BROKEN_SIGIO under b20 to make QUIT work.
5122 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5124 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
5125 to fit within the constraints of the screen size. I.e. make the
5126 frame small enough to fit and move it if some of it will be
5129 1998-10-19 Greg Klanderman <greg@alphatech.com>
5131 * dired.c: conditionalize inclusion of user-name-completion
5132 primitives on non-Windows NT. The needed functions don't exist on NT.
5134 1998-11-24 SL Baur <steve@altair.xemacs.org>
5136 * gifrlib.h: Clean up types for 64 bit compile.
5137 * dgif_lib.c (DGifInitRead): Ditto.
5138 (MakeSavedImage): Ditto.
5139 * emacs.c (decode_path): Ditto.
5140 From Steve Carney <carney@pa.dec.com>
5142 1998-10-16 William M. Perry <wmperry@aventail.com>
5144 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
5145 (cehckboxes instead of checkboxes).
5147 1998-10-15 SL Baur <steve@altair.xemacs.org>
5149 * XEmacs 21.2-beta3 is released.
5151 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
5153 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
5154 gnuclient. Otherwise, we run xemacs as we always did. This gets
5155 rid of the annoying DOS window when running gnuclient.
5157 1998-10-13 Andy Piper <andyp@parallax.co.uk>
5159 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
5160 HAVE_MS_WINDOWS typo.
5162 1998-10-13 SL Baur <steve@altair.xemacs.org>
5164 * process-unix.c (unix_send_process): Set closed flag on writable
5165 pipe after SIGPIPE is received and before we call deactivate_process.
5167 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
5169 * window.c (Fset_window_start): respect narrowing when
5170 checking wheter start is at the beginning of a line.
5171 (Fset_window_buffer): Ditto
5172 Fixes repeatable crash in VM.
5174 1998-10-09 SL Baur <steve@altair.xemacs.org>
5176 * window.c (specifier_vars_of_window): Set default vertical
5177 divider width to 1 on ttys.
5179 1998-10-08 Martin Buchholz <martin@xemacs.org>
5184 Add <stddef.h> to get ptrdiff_t declaration
5186 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5188 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
5189 is used for Motif or Lucid scrollbars under X.
5191 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
5193 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
5196 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5198 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
5200 1998-10-05 Andy Piper <andyp@parallax.co.uk>
5202 * s/cygwin32.h: more cygwin b20 reorganisation.
5204 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
5206 * nas.c: Added necessary support functions to be able to handle
5207 WAVE files in memory, just like the support for SND files in
5210 1998-09-30 SL Baur <steve@altair.xemacs.org>
5212 * callproc.c (child_setup): Fix spelling typo.
5214 1998-09-29 SL Baur <steve@altair.xemacs.org>
5216 * XEmacs 21.2-beta2 is released.
5218 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
5220 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
5221 to prevent memory corruption in the case of jumping out of a series of
5222 nested match patterns. This is a rather brute force approach, though.
5224 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5226 * config.h.in: ditto.
5228 * s/cygwin32.h: rearrange declarations to cope with cygwin
5229 b20. Include cygwin32/version.h if it exists.
5231 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5233 * device-msw.c (mswindows_init_device): Call new
5234 mswindows_enumerate_fonts() function in objects-msw.c instead
5235 of font_enum_callback_1() to enumerate fonts.
5237 font_enum_callback_1() and _2() moved to objects-msw.c.
5239 * faces.c (complex_vars_of_faces): Make the mswindows default
5240 face font fully specified and provide some fallbacks.
5242 * objects-msw.c: font_enum_callback_1() and _2() moved here
5243 from objects-msw.c. Obtain the enumerated font's character
5244 sets by table lookup instead of using the locale-specific
5245 string provided by Windows.
5247 New public non-method mswindows_enumerate_fonts() that fills
5248 in the supplied mswindows device's font list.
5250 mswindows_initialize_font_instance: Use the supplied name
5251 variable instead of f->name when signalling errors. Match font
5252 weights and character sets using lookup tables which handle
5253 spaces instead of by frobbing.
5255 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5257 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5258 on the size of code fragments passed to run_in_other_process.
5260 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5261 the amount of memory to allocate in the other process.
5263 Removed sigkill_code_end(), sigint_code_end() and
5264 sig_enable_code_end() since they are now redundant.
5266 send_signal() and enable_child_signals(): Don't try to work
5267 out the end of the code fragments passed to
5268 run_in_other_process()
5270 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5272 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5275 * src/unexelf.c: Partially synched with FSF's 20.3.
5277 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5279 * insdel.c (signal_after_change): Map across indirect buffers
5280 here, and not in the upper-level functions.
5281 (signal_first_change): Don't check for Armageddon.
5282 (signal_before_change): Map across indirect buffers here.
5283 (prepare_to_modify_buffer): ...and here.
5285 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5287 * insdel.c (signal_after_change): Add return value.
5288 (buffer_insert_string_1): Use it.
5289 (buffer_delete_range): Ditto.
5290 (buffer_replace_char): Ditto.
5291 (cancel_multiple_change): Map the indirect buffers.
5293 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5295 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5296 (uninit_buffer_text): Ditto.
5298 * buffer.c (Fmake_indirect_buffer): Implement stricter
5301 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5303 * insdel.c (change_function_restore): Reverse order of
5304 function-call and assignment.
5305 (first_change_hook_restore): Ditto.
5307 * extents.c (mark_extent_auxiliary): Mark them.
5308 (Fset_extent_property): Set them.
5309 (Fextent_property): Get them.
5310 (Fextent_properties): Ditto.
5311 (vars_of_extents): Set their default.
5313 * extents.h (struct extent_auxiliary): Add before_change_functions
5314 and after_change_functions.
5316 * insdel.c (signal_before_change): Use it.
5317 (signal_after_change): Ditto.
5319 * extents.c (report_extent_modification): New function.
5321 * insdel.c (signal_before_change): Don't check for Armageddon.
5322 (signal_after_change): Ditto.
5324 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5326 * redisplay.c (redisplay_window): make sure a new starting point
5327 is chosen if it somehow got moved from the beginning of the line
5328 -- this can happen because Fwiden was called recently.
5330 * window.c (Fset_window_start): set start_at_line_beg correctly
5331 (Fset_window_buffer): Ditto
5333 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5335 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5336 (uninit_buffer_text): Ditto.
5338 * buffer.c (Fmake_indirect_buffer): Implement stricter
5341 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5343 * emacs.c (main_1): Removed references to *vars_of_filelock.
5345 * lisp.h: Added Fsystem_name.
5347 * filelock.c: Replaced by version from FSF 20.2. Now implements
5348 locking by using symlinks which is NFS safe. However keep the
5349 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5350 version (and of course use ansi C, acessor macros, etc).
5352 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5354 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5355 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5356 in init_signals_very_early. However these should not be passed
5357 on to children attached to the new pty.
5359 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5361 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5363 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5365 * fileio.c (file-name-directory, file_name_as_directory):
5366 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5368 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5370 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5372 * ralloc.c: uncomment __morecore.
5374 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5376 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5377 WriteFile() to fix a winsock 1.x bug on Win95.
5379 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5381 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5383 (x_event_to_emacs_event): Ditto.
5384 (emacs_Xt_handle_focus_event): Ditto.
5385 (emacs_Xt_handle_magic_event): Ditto.
5387 * console-x.h (struct x_device): New flag being_deleted.
5388 (DEVICE_X_BEING_DELETED): New macro.
5390 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5391 returning. Before doing that, set the being_deleted flag on the
5394 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5396 * device-x.c (x-seppuku-on-epipe): Removed.
5398 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5400 * frame-x.c (x_delete_frame): Flush the X output buffer after
5401 calling XtDestroyWidget to ensure that the windows are really
5404 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5406 * menubar-x.c (my_run_hook): New unused function.
5407 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5408 since we ignore the results of the contained functions anyway.
5410 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5412 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5413 interlaced GIF files that are smaller than 4 lines high...
5415 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5417 * buffer.c (map_over_sharing_buffers): Deleted.
5419 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5421 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5424 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5426 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5428 (buffer_delete_range): Ditto.
5430 * marker.c (init_buffer_markers): Set point-marker to the value of
5431 point in an indirect buffer.
5433 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5435 * undo.c (undo_prelude): Test last-undo-buffer against base
5438 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5440 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5442 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5444 * insdel.c (init_buffer_text): Initialize it here.
5446 * line-number.c: Address line_number_cache through buffer->text.
5448 * buffer.c (mark_buffer): Mark line number cache.
5450 * bufslots.h (line_number_cache): Move to struct buffer_text.
5452 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5453 across the children buffers.
5454 (buffer_delete_range): Ditto.
5455 (buffer_replace_char): Ditto.
5459 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5461 * buffer.c (Fmake_indirect_buffer): Uncomment.
5463 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5465 * macros.c (Fend_kbd_macro): Remove trailing period from error
5467 (Fexecute_kbd_macro): Ditto.
5469 1998-08-21 Greg Klanderman <greg@alphatech.com>
5471 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5472 (Fuser_name_completion_1): new function to return uniqueness
5473 indication in addition to the user name completion.
5474 (user_name_completion): change type of `uniq' argument.
5476 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5478 * lread.c (vars_of_lread): Removed `source-directory' variable.
5480 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5482 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5485 1998-08-19 SL Baur <steve@altair.xemacs.org>
5487 * dired.c (vars_of_dired): Fix misapplied patch.
5489 1998-08-16 Martin Buchholz <martin@xemacs.org>
5491 * fns.c (Fremrassq, remrassq_no_quit):
5492 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5494 1998-07-17 Didier Verna <verna@inf.enst.fr>
5496 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5497 style as foreground GC for faces that have the `dim' property.
5498 (x_output_string): when the `dim' face property is set,
5499 ensure the gray pixmap has been created, and get a proper
5500 foreground GC to draw the text.
5502 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5504 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5505 Manually track the state of the left and right Ctrl and Alt
5508 1998-08-07 Matt Stupple <matts@tibco.com>
5510 * ntproc.c: don't wait on char_consumed at thread entry.
5511 Additionally, to get the 'process' marked as finished, ensure
5512 that the CHILD_ACTIVE macro returns false, so before exiting
5513 close char_avail and set it to NULL, and close other handles
5514 to reduce handle leak problems.
5516 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5518 * menubar-msw.c (displayable_menu_item): take account of menu
5519 depth when deciding whether to try to display accelerators.
5521 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5523 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5526 * glyphs-msw.c: fix a couple of potential handle leaks.
5528 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5530 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5531 *decoding ONLY* back into the core.
5532 * glyphs-eimage.c: Change referenced header file for GIF
5533 reading to point to the incore version.
5535 1998-07-20 Martin Buchholz <martin@xemacs.org>
5537 * casefiddle.c (casify_object):
5538 Change algorithm from O(N**2) to O(N).
5542 1998-07-22 Greg Klanderman <greg@alphatech.com>
5544 * dired.c (file_name_completion_unwind): don't leak the cons.
5546 1998-07-20 Greg Klanderman <greg@alphatech.com>
5548 * dired.c (Fuser_name_completion): new function.
5549 (Fuser_name_all_completions): new function.
5550 (user_name_completion): new function.
5551 (syms_of_dired): 2 new DEFSUBRs.
5552 (vars_of_dired): initialize user name cache vars.
5554 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5556 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5557 colors taken from the default face. Also correct a thinko in
5558 transparency (not alpha) handling.
5560 1998-07-23 Martin Buchholz <martin@xemacs.org>
5562 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5563 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5564 * lread.c (Fload_internal): Be very careful with printfs of
5566 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5569 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5571 * callint.c (Fcall_interactively): GCPRO prompt string before
5572 passing it to Fread_key_sequence
5574 1998-07-27 SL Baur <steve@altair.xemacs.org>
5576 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5577 Vvertical_divider_map.
5579 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5580 Qnil or 0, none were initialized prior to this change.
5582 Rename misnamed `V' prefixed integer variables:
5583 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5584 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5585 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5586 Vcanna_ichiran_revLen.
5588 Rename misnamed `V' prefixed integer variables and initialize
5589 properly in the vars_of routine.
5590 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5591 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5592 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5593 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5594 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5595 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5596 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5597 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5598 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5599 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5600 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5601 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5602 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5603 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5604 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5605 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5606 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5607 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5608 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5609 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5610 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5611 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5612 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5613 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5614 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5615 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5616 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5617 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5618 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5619 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5620 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5621 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5622 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5623 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5624 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5625 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5626 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5627 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5628 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5629 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5630 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5631 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5632 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5633 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5634 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5635 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5637 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5639 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5640 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5641 keys thus no longer considering all keysyms on a key.
5643 1998-07-19 SL Baur <steve@altair.xemacs.org>
5645 * XEmacs 21.2-beta1 is released.
5647 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5649 * eldap.c (Fldap_search_internal): When converting the list of
5650 attributes to search Copy the final 0 from Lisp strings to C
5652 Check base, not Vldap_default_base as a a string
5654 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5656 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5658 * unexnt.c: Unconditionally define bss_start and bss_size, and
5659 ensure that they don't go in the .bss section.
5661 1998-07-17 Olivier Galibert <galibert@pobox.com>
5663 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5664 byte order is dependant of the local byte order).
5665 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5667 1998-07-18 SL Baur <steve@altair.xemacs.org>
5669 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5670 Qmswindows_resource.
5671 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5673 1998-07-12 SL Baur <steve@altair.xemacs.org>
5675 * general.c (syms_of_general): Add defsymbol for Qresource.
5677 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5678 Qmswindows_resource.
5679 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5680 (mswindows_resource_validate): Rename.
5681 (mswindows_resource_normalize): Rename.
5682 (mswindows_resource_possible_dest_types): Rename.
5683 (mswindows_resource_instantiate): Rename.
5684 (image_instantiator_format_create_glyphs_mswindows): Replace
5685 `resource' with `mswindows.resource'.
5687 * XEmacs 21.0-pre5 is released.
5689 1998-07-10 SL Baur <steve@altair.xemacs.org>
5691 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5692 server type in environment.
5693 Use alloca-ed strings instead of tiny fixed size ones.
5695 1998-07-09 SL Baur <steve@altair.xemacs.org>
5697 * XEmacs 21.0-pre4 is released.
5699 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5701 * fileio.c: (expand_file_name): under win32: Don't treat names
5702 as UNC names if a drive letter has been specified. If a drive
5703 has been specified, strip out extra directory-seperators that
5704 reportedly cause problems under Win95.
5706 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5708 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5709 MSVC >= 5.0. Put emacs init and zero-init data in a special
5710 section of the executable when this is defined.
5712 * unexnt.c, ntheap.h:
5713 Removed unused find_section() and get_section_size().
5716 Fix up the executable's checksum after dumping otherwise the
5718 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5719 zero-init data separately from init data. Dump emacs data
5720 into a special section of the executable.
5721 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5722 my_ebss instead of up to the end of bss.
5724 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5726 * filelock.c: Removed Vconfigure_lock_directory - already
5729 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5730 defined in frame.c and general.c respectively.
5732 * glyphs-msw.c: Removed Qresource - already defined in
5735 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5737 * eldap.c (Fldap_search_internal): Docstring fixes
5739 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5741 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5742 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5743 EMACSPACKAGEPATH and INFOPATH variables.
5744 Removed unused get_emacs_configuration function.
5746 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5747 it is now defined at build-time by the makefile.
5749 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5751 * fileio.c: (expand_file_name): under win32: Don't treat names as
5752 UNC names if a drive letter has been specified. If a drive has
5753 been specified, strip out extra directory-seperators that
5754 reportedly cause problems under Win95.
5756 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5758 * faces.c (complex_vars_of_faces): for the gui-element face don't
5759 fallback to the default face, instead provide reasonable default
5760 fallbacks that were previously hardcoded elsewhere.
5762 1998-07-06 Olivier Galibert <galibert@pobox.com>
5764 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5765 when the X server endianness is different than the client's one.
5767 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5769 * eval.c (run_hook_with_args_in_buffer): Check
5770 default (non-buffer-local) value of hook for
5771 nil before treating it as a function. Don't initialize
5772 the `globals' variable twice.
5774 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5776 * fileio.c: Don't do directory seperator canonicalisation in
5777 substitute-in-file-name because we don't know that the
5778 filename refers to a local file.
5780 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5782 * process-nt.c (nt_create_process): Try appending the standard
5783 executable file extensions to the filename if none supplied.
5785 1998-06-29 SL Baur <steve@altair.xemacs.org>
5787 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5789 From Keisuke Mori <ksk@ntts.com>
5791 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5793 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5794 images if we have masks. This handles the xbm case (have masks)
5795 and avoids overuse of resources in the xpm case (generally no masks).
5796 Don't output small toolbars.
5798 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5800 * eval.c (run_hook_with_args_in_buffer): Don't treat
5801 the default value of a buffer local hook as a list of
5802 hooks unless it is both a cons and the car of that cons
5805 1998-06-29 SL Baur <steve@altair.xemacs.org>
5807 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5808 * process-unix.c: Ditto.
5809 * mule-coding.h: Ditto.
5810 * mule-coding.c: Ditto.
5811 * mule-charset.c: Ditto.
5812 * mule-charset.h: Ditto.
5813 * file-coding.c: Ditto.
5814 * file-coding.h: Ditto.
5816 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5818 * event-msw.c: Guard against recursion when freeing
5819 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5821 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5822 Call ShowWindow twice in init_frame_3 to get round runemacs
5825 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5827 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5829 * winslots.h: Rename.
5831 * window.c (specifier_vars_of_window): Renamed
5832 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5833 as suggested by Ben Wing.
5834 (specifier_vars_of_window): Fix docstrings.
5836 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5838 * unexaix.c: Line number information works correctly again.
5840 1998-06-22 Olivier Galibert <galibert@pobox.com>
5842 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5844 1998-06-21 Martin Buchholz <martin@xemacs.org>
5846 * editfns.c (get_home_directory): ANSIfy.
5847 XEmacs is compilable under C *and* C++.
5848 It's XEmacs, not Xemacs!
5850 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5852 * console-msw.h: added a list of fonts to device data.
5854 * device-msw.c: enumerate list of available fonts in
5855 mswindows_init_device. Free list in mswindows_delete_device.
5857 * objects-msw.c: Added helper function match_font used by
5858 mswindows_initialize_font_instance and mswindows_list_fonts.
5859 Allow a charset to be specified in a font string, even if
5860 previous fields havn't been specified.
5862 1998-06-23 Greg Klanderman <greg@alphatech.com>
5864 * indent.c (column_at_point): column cache bugfix.
5865 Set last_known_column_point to the buffer position for
5866 which the column was requested, not buffer's point.
5868 * redisplay.c (decode_mode_spec): for current-column, show
5869 window's point's column, not buffer's point's column.
5871 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5873 * menubar-msw.c (mswindows_handle_wm_command): use
5874 enqueue_misc_user event rather than
5875 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5878 * console-msw.h: declare mswindows_enqueue_magic_event.
5880 * event-msw.c (mswindows_enqueue_magic_event): make global.
5882 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5884 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5885 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5886 (add_position_to_cache): Use EMACS_INT instead of int.
5888 1998-06-21 Olivier Galibert <galibert@pobox.com>
5890 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5891 suitable for an int used as a boolean (btw, C sucks.).
5893 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5895 * object-msw.c: remove warnings.
5897 * device-msw.c: #define wrongly named cygwin structure elements.
5899 * s/cygwin32.h: define DEMI_BOLD
5901 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5903 * redisplay-msw.c: new function mswindows_apply_face_effects.
5904 This is called by output_string and output_cursor to display
5905 underline and strikeout on faces.
5907 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5909 * console-msw.h: added a list of fonts to device data.
5911 * device-msw.c: enumerate list of available fonts in
5912 mswindows_init_device. Free list in mswindows_delete_device.
5914 * objects-msw.c: Added helper function match_font used by
5915 mswindows_initialize_font_instance and mswindows_list_fonts.
5916 Allow a charset to be specified in a font string, even if
5917 previous fields havn't been specified.
5919 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5922 Removed compilation warnings from mswindows_string_to_color.
5923 mswindows_list_fonts returns a more general bogus font.
5924 New lisp-visible function mswindows-color-list.
5926 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5928 * editfns.c (Fuser_login_name): Modify to user new function
5930 (user_login_name): C only function to avoid Lisp object overhead
5931 Returns "unknown" instead of nil in Cygwin environment
5933 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5934 equivalent for current user in Cygwin environment. Use new
5935 function user_login_name to get username.
5937 * lisp.h: Declare user_login_name
5939 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5941 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5943 Some other insignificant nitpicks.
5945 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5947 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5948 creating the image list and make sure he bk color is transparent.
5950 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5952 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5953 completed_timeouts. The timer could have expired.
5955 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5957 * console-msw.h: move XEMACS_RECT_WH inside frame
5958 parameters. define macors to access it.
5960 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5961 parameter to intialise desired sizing. (mswindows_init_frame_2):
5962 enable and size the frame to something sensible when we get
5963 here. (mswindows_set_frame_properites): use new
5964 mswindows_size_frame_internal function and size frame if frame
5965 parameters not just if init is finished - WM_SIZE happens too
5966 early for some specs. (mswindows_size_frame_internal): new
5967 function abstracted from mswindows_set_frame_properties.
5968 (Vmswindows_use_system_frame_size_defaults):
5969 new variable controls whether to allow the system to pick frame
5970 size defaults, defaults to nil.
5972 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5973 than duplicated code.
5975 1998-06-15 Colin Rafferty <colin@xemacs.org>
5977 * Makefile.in.in: Made EXTW_LINK expand properly.
5979 1998-06-12 Martin Buchholz <martin@xemacs.org>
5981 * redisplay.c (vars_of_redisplay): default value of
5982 column-number-start-at-one should be NIL!
5984 1998-06-11 Martin Buchholz <martin@xemacs.org>
5987 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5989 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5991 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5992 build_string to avoid crashes under Mule.
5994 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5996 * ntplay.c (play_sound_data_1): don't delete the sound data until
5997 the next sound is played and the previous one finished.
5999 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
6001 * fileio.c (directory-sep-char): Escape backslashes.
6003 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
6005 * event-stream.c: Fix docstring reference.
6007 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
6009 * alloc.c (make_float): Remove useless initialization of `next'
6011 (make_pure_float): Ditto.
6013 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
6015 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6017 * fileio.c (Fmake_directory_internal): Remove conditionals
6018 on WINDOWSNT when calling mkdir.
6020 * ntproc.c: Deleted the following unused functions:
6021 register_child, reap_subprocess, sys_wait.
6023 * nt.c (sys_rename): Ifzeroed this implementation.
6024 Deleted the following unused functions:
6025 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
6026 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
6027 sys_read, sys_write.
6028 Merger sys_fopen and sys_open with sysdep.c implementation.
6030 * sysdep.c: Removed MS-DOS code.
6031 (sys_rename): Deal with Microsoft rename weirdness.
6032 (sys_open): Implemented for Windows.
6036 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6038 * buffer.c (complex_vars_of_buffer): Removed %t description from
6041 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6043 * scrollbar-msw.c: initialize the cbSize element of the
6044 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
6045 to ignore the value of cbSize, but Win95 (and I presume Win98)
6046 appear to want it set to sizeof(SCROLLINFO).
6048 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
6050 * event-stream.c: Defined Qcancel_mode_internal.
6051 (syms_of_event_stream): defsymbol'ed it.
6053 * events.h: Externed it.
6055 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
6057 1998-06-04 Oliver Graf <ograf@fga.de>
6059 * frame-x.c (x_cde_destroy_callback): free the data
6060 (cde-start-drag-internal) corrected root position, 21.1 needs this
6061 hardcoded in Button events
6062 (offix-start-drag-internal) corrected root position
6064 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6066 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
6069 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6071 * dialog-msw.c (button_width): Removed `inline' from the function
6074 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6076 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
6077 Note that adding this flag to subsequent frames causes problems.
6079 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6081 * glyphs-eimage.c (png_instantiate) move 'struct
6082 png_memory_storage tbr' out of nested block to avoid dangling
6085 1998-06-02 Andy Piper <andyp@parallax.co.uk>
6088 * faces.c: rename 3d-object -> gui-element. add toolbar face which
6089 inherits from gui-element.
6091 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
6092 with existing code, generate masks correctly.
6094 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
6096 * glyphs-eimage.c: Changed included header for gifs to use
6097 Gifreader instead of giflib.
6099 * glyphs-x.c: removed the image-related functions that were
6100 moved into glyphs-eimage.
6102 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
6104 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
6105 if built without X Windows support.
6107 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
6109 * fns.c (Fconcat): Synch docstring with new reality.
6111 1998-06-03 SL Baur <steve@altair.xemacs.org>
6113 * frame.c: Remove reference to msdos.h (which is going away).
6114 Suggested by Hrvoje Niksic and Kirill Katsnelson.
6116 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
6118 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
6122 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6124 * events.h: Fixed commentary about misc-user scrollbar events.
6126 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
6127 object as an event channel, instead of window object.
6128 (x_update_horizontal_scrollbar_callback): Ditto.
6130 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6132 * ntplay.c (play_sound_data_1) new function. convert alloca data
6133 to malloc if necessary.
6134 (play_sound_file): if the file is not in our path then convert to
6137 1998-06-01 SL Baur <steve@altair.xemacs.org>
6139 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
6140 * msdos.c (Frecent_doskeys): Ditto.
6142 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
6143 Suggested by Reggie Perry <perry@zso.dec.com>
6145 * buffer.h: Eliminate size in declaration.
6147 1998-06-01 Olivier Galibert <galibert@pobox.com>
6149 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
6151 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
6153 * gui.c (gui_item_init): Changed the default value for config member
6154 from Qunbound to Qnil.
6156 1998-06-01 Greg Klanderman <greg@alphatech.com>
6158 * indent.c (vmotion_pixels): Don't #define abs().
6160 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6162 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
6165 1998-05-30 Andy Piper <andyp@parallax.co.uk>
6167 * glyphs.h: add xbm declarations.
6169 * console.h: add xbm_instantiate_method device method.
6171 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
6172 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
6173 (xbm_possible_dest_types): moved here from glyphs-x.c. use
6174 locate_pixmap_file device method and read_bitmap_data_from_file
6175 instead of XmuReadBitmapDataFromFile.
6176 (xbm_instatntiate): make a device method.
6178 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
6179 new function that just calls XmuReadBitmapDataFromFile.
6180 (x_xbm_instatntiate): device method from xbm_instantiate.
6182 * glyphs-msw.c (read_bitmap_data) (NextInt)
6183 (read_bitmap_data_from_file): new functions copied from Xmu
6185 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
6186 inline data to an mswindows bitmap.
6187 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
6188 (mswindows_xbm_instantiate): mswindows-ized versions of the X
6191 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6193 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
6194 `modeline-visible-p'.
6195 Declared specifier lisp variables at the beginning oh the file
6198 * procimpl.h (struct process_methods): Changed semantics of
6199 create_process method so it accepts lisp strings instead of
6202 * process.c (Fstart_process_internal): Moved building of
6203 unix style argv from here to process-unix.c, ...
6205 * process-unix.c (unix_create_process): ... right here.
6207 * process-nt.c (nt_create_process): Changed this function to
6208 support new semantics, so avoided a GC problem.
6210 * events.c (Fmake_event): Document misc-user events properties.
6211 (Fmake_event): Do not allow arbitrary objects for channel property
6212 of misc-user events.
6213 (Fmake_event): Change misc-user event validation: it is function
6214 which is required, not button.
6216 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
6218 (mswindows_enqueue_misc_user_event): Added function.
6219 (mswindows_bump_queue): Removed function.
6220 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
6221 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
6222 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
6223 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
6224 really nothing, which is my personal favorite thing.
6226 * console-msw.h: Removed prototype for mswindows_bump_queue().
6227 Added prototype for mswindows_enqueue_misc_user_event().
6229 * menubar-msw.c (mswindows_handle_wm_command): Use
6230 mswindows_enqueue_misc_user_event().
6232 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6234 * dialog-msw.c (dialog_proc): Ditto.
6236 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6237 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6238 user events channel.
6240 1998-05-29 Greg Klanderman <greg@alphatech.com>
6242 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6243 incorrect semantics of vmotion_pixels which has been fixed. don't
6244 use it anymore as it can't easily be used.
6246 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6247 the motion was reported incorrectly if you tried to go past end of
6250 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6252 * toolbar.h: Removed misleading commentary, as Martin suggested.
6254 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6256 * lisp.h: Extern Qactivate_menubar_hook.
6258 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6261 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6263 * glyphs-msw.c: use BPLINE macro.
6265 * select-msw.c (mswindows-selection-exists-p)
6266 (mswindows-delete-selection): doc string fixes.
6268 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6269 unpressable. warning elimination.
6271 1998-05-28 Martin Buchholz <martin@xemacs.org>
6273 * alloc.c (dbg_constants):
6276 Remove toolbar_data debugging code, since that lrecord has
6279 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6281 * alloc.c: zap cached value of (user-home-directory), so that
6284 * buffer.c: From init_buffer(), separated out code that
6285 determined the initial directory for the *scratch* buffer, and
6286 put them into a function called "init_initial_directory()".
6287 The initial directory is now available as a global "char *"
6288 called initial_directory.
6290 * buffer.h: Added extern entries for initial_directory[] and
6291 init_initial_directory().
6293 * editfns.c: added new elisp function "user-home-directory",
6294 which basically returns getenv("HOME"), but attempts to use
6295 other values if $HOME isn't set.This may have to be tweaked in
6296 the future as, under Unix, "/" is used if $HOME isn't set (this
6297 probably should be set to the current directory). To support
6298 this, a new C function, "get_home_directory()", now exists,
6299 which returns the "home directory", as a "char *" string.
6301 * emacs.c: Rearrange NT initialization order so that
6302 environment/registry variables will be properly entered into
6303 Vprocess_enviroment.
6305 * fileio.c: replaced egetenv("HOME") with calls to the new
6306 get_home_directory().
6308 * lisp.h: Added function prototypes for uncache_home_directory()
6309 and get_home_directory(), along with lisp prototypes for
6310 Fuser_home_directory() and friends.
6312 * nt.c: replaced getenv("HOME") with calls to the new
6313 get_home_directory().
6315 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6316 warnings about getcwd(), etc. not having prototypes.
6318 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6320 * process-nt.c (send_signal): Emulate SIGHUP.
6321 (validate_signal_number): Ditto.
6323 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6324 remove MOD_SHIFT from ASCII characters.
6325 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6328 1998-05-24 Oliver Graf <ograf@fga.de>
6330 * frame-x.c (cde-start-drag-internal): added filename and multi-
6332 (x_cde_convert_callback) dito
6334 1998-05-26 Oliver Graf <ograf@fga.de>
6336 * frame-x.c: include event-mod.h also with CDE
6337 (x_cde_convert_callback) made the thing working
6338 (cde-start-drag-internal) also debugging
6340 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6347 - add __OpenBSD__ where __NetBSD__ was found.
6348 - TODO: replace platform-specific conditional compilation by
6349 feature tests in configure.in.
6351 1998-05-15 Greg Klanderman <greg@alphatech.com>
6353 * window.c (Fwindow_displayed_text_pixel_height): New function.
6354 (syms_of_window): DEFSUBR it.
6356 * indent.c (Fvertical_motion_pixels): New function - request
6358 (vmotion_pixels): helper.
6359 (syms_of_indent): DEFSUBR.
6360 * lisp.h: declaration for vmotion_pixels().
6362 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6363 to request returning motion in pixels.
6364 (Fvertical_motion_pixels): Remove, functionality merged into
6366 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6367 (Fmove_to_window_line): ditto.
6368 * lisp.h: Change declaration for Fvertical_motion.
6370 * window.c: rename window-text-pixel-{height,width,edges} to
6371 window-text-area-pixel-*.
6373 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6375 * tooltalk.c (vars_of_tooltalk) added staticpro for
6376 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6378 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6380 * faces.c: create a new 3d_object_face, make modeline and
6381 vertical_divider faces fallback to this rather than the default.
6383 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6385 * s/cygwin32.h: define charsets for cygwin.
6387 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6389 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6390 and coordinates. resize bitmaps if we have already settled on a
6393 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6395 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6397 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6399 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6403 * gui-x.c (popup_selection_callback): Ditto.
6405 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6407 * gui.c (get_callback): Renamed to get_gui_callback.
6409 1998-05-17 Martin Buchholz <martin@xemacs.org>
6411 * glyphs.h: order rearrangement.
6413 * device-tty.c (tty_asynch_device_change): Warning suppression.
6414 * device-x.c (x_device_system_metrics): Warning suppression.
6415 Make Doc strings consistent with coding standards.
6417 1998-05-24 Martin Buchholz <martin@xemacs.org>
6419 * general.c: multiple definition of `Qicon'. general.c seems
6420 like a good home for Qicon.
6422 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6424 * This patch is to fix compilation warnings under Windows.
6426 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6427 Added prototypes for FSF inherited functions, with which XEmacs is
6428 sprinkled thoroughly.
6429 Removed some #if 0 code. Bracketed some more definitions, probably
6430 related to Visual C versions prior to 4 (we do not support them).
6432 * sysfloat.h (logb): Finally, get logb() prototyped.
6434 * sysfile.h: Added Windows specific includes.
6435 Removed old Windows specific code bracketed with #if 0.
6437 * sysdep.h: Added prototype for xrealpath().
6439 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6441 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6442 vars_of_dired_mswindows and init_ntproc (Grrr).
6444 * realpath.c: Added Windows specific include files.
6445 (xrealpath): Conditionalized declaration of some auto variables on
6446 S_IFLNK, to avoid warnings.
6448 * ntproc.c: Disabled some compiler warnings. This file is going to
6449 die, so I have not cleaned it up much.
6450 (set_process_dir): Const parameter.
6451 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6452 (Fwin32_long_file_name): Ditto.
6453 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6456 * nt.h: Added prototypes for set_process_dir and convert_time.
6458 * nt.c: More include files.
6459 (getpwnam): Consted char* argument.
6460 (get_emacs_configuration): Const return value.
6461 (opendir): Const argument.
6462 (stat): Casted converstion long->short.
6463 (stat): Removed ad hoc and questionable support for non-MSC compile.
6464 (sys_pipe): Removed unused auto variable.
6465 (_sys_read_ahead): Removed calls to DebPrint.
6466 (sys_read): Ditto, in 2 places.
6467 (term_ntproc): Added unused int parameter to signal handler, to
6468 avoid a warning when compiling a call to signal().
6469 (msw_sigset): Properly return old signandler or NULL instead of void.
6471 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6473 * gmalloc.c (morecore): Ditto.
6474 (_free_internal): Ditto.
6476 * lread.c (parse_integer): Ditto.
6478 * dired-msw.c: Added several include files.
6480 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6481 of Compilers to Shut Up.
6483 * callproc.c: Added #includes to suppress warnings under Windows.
6484 (init_callproc): Removed #if0'ed code and unused variables.
6486 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6488 * device-msw.c (mswindows_device_system_metrics): do planes in a
6489 way consistent with X.
6491 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6492 use SetPixel, use DIBits functions.
6493 (xpm_to_eimage): frob colors more closely like xpm deos.
6495 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6496 to be closer to X version.
6498 * event-msw.c: use tooltip string directly.
6500 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6502 * objects-msw.c: frob rgb colors that only Kyle uses.
6504 * dialog-msw.c (button_width): INLINE -> inline.
6506 1998-05-23 SL Baur <steve@altair.xemacs.org>
6508 * getloadavg.c (getloadavg): Fix typo.
6510 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6512 * objects-msw.c (mswindows_initialize_font_instance): Added support
6513 for font character sets.
6514 Replaced 'XXX' with '####' in comments throughout the file.
6516 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6518 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6519 console_type_create_dialog_mswindows(), to initialize Windows dialog
6522 * symsinit.h: Prototyped the above functions.
6524 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6525 checks to dialog.c...
6527 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6528 device must support dialog boxes, and the descriptor must supply at
6531 * dialog-msw.c: New file, dialogs for Windows.
6533 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6535 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6536 (Fldap_search_internal): Removed unused variable `err'
6538 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6541 1998-05-17 Martin Buchholz <martin@xemacs.org>
6543 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6544 defined. Therefore there is no need to handle the case when
6545 HAVE_LDAP is undefined. Similarily, there is no reason to have
6546 any code wrapped within `#ifdef emacs', since this code is only
6547 useful within an emacs. This simplifies the code significantly.
6549 * inline.c: Include eldap.h only if HAVE_LDAP.
6550 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6553 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6555 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6556 printing dump stats when building without DEBUG_XEMACS.
6557 (dump_bss_and_heap): Ditto.
6559 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6561 * gnuclient.c: don't suppress window system if there is no display
6562 and we are running under mswindows. send 'mswindows device type if
6563 we are in this situation.
6565 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6568 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6570 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6573 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6575 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6576 {top,bottom}-{left,right} values in addition to
6577 {top,bottom}_{left,right}.
6579 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6581 * fileio.c (Fmake_temp_name): Remove unreached code.
6583 * process-nt.c (validate_signal_number): Use
6584 signal_simple_error().
6586 1998-05-19 Martin Buchholz <martin@xemacs.org>
6589 * sound.c (vars_of_sound):
6590 * sysdep.c (reset_sigio_on_device):
6591 * window.c (window_bottom_gutter_height):
6592 unexhp9k800.c:258: warning: implicit declaration of function
6593 `calculate_checksum'
6594 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6595 sysdep.c:1012: warning: unused variable `owner'
6596 window.c:993: warning: `window_right_toolbar_width' defined but not used
6598 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6600 * glyphs-msw.c (mswindows_create_resized_mask)
6601 (mswindows_create_resized_bitmap): new funnctions split out from
6602 mswindows_resize_dibitmap_instance.
6604 * glyphs-msw.h: declare new resize functions.
6606 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6607 functions so that the original bitmaps are preserved.
6609 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6611 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6612 color if we are trying to output 0 depth bg pixmap.
6614 * scrollbar-msw.c: warning elimination.
6616 1998-05-18 Martin Buchholz <martin@xemacs.org>
6618 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6619 directives in column 1.
6621 * search.c (skip_chars): Avoid using xzero with arrays, since some
6622 compilers get confused by the construct &array.
6624 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6627 * objects-msw.c: Changed the charset value for a new font from
6628 "don't care" to "ansi".
6630 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6632 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6634 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6635 modifier on control chars.
6636 Use IsCharAlpha() instead of isaplha().
6638 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6640 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6642 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6644 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6645 charset when creating font.
6646 (mswindows_initialize_color_instance): Do not create brush along
6648 (mswindows_finalize_color_instance): Do not delete it then.
6650 * objects-msw.h (struct mswindows_color_instance_data): Removed
6651 brush slot, and corresponding accessor macro.
6653 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6655 * toolbar.c: Removed toolbar_data lrecord implementation.
6656 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6657 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6658 (compute_frame_toolbar_buttons): Ditto.
6659 (CHECK_TOOLBAR): Ditto.
6660 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6661 (update_frame_toolbars): Do not check for changed buffer
6662 here. Toolbar information is provided by cached specs in
6663 windows. The check for buffer is eliminated becuase toolbars are
6664 marked changed in set_frame_selected_window() in frame.c
6665 Added check for changed toolbars geometry.
6666 (compute_frame_toolbars_data): Removed unused second parameter;
6667 Adjusted callers of this static function throughout the file.
6668 (init_frame_toolbars): Initialize current_toolbar_size.
6669 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6670 what is its current expansion, for clarity.
6671 (init_frame_toolbars): Ditto.
6672 (init_device_toolbars): Ditto.
6673 (init_global_toolbars): Ditto.
6675 * toolbar.h: Removed definition of toolbar_data lrecord.
6676 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6677 FRAME_CURRENT_TOOLBAR_SIZE.
6678 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6680 * toolbar-x.c (x_output_toolbar): The same change as in
6682 (x_output_toolbar): Ditto.
6683 (x_redraw_exposed_toolbar): Ditto.
6685 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6686 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6687 (mswindows_output_toolbar): Ditto.
6688 (mswindows_output_toolbar): Ditto.
6690 * frame.c (mark_frame): Removed marking of arrays, according to
6691 frameslots.h change.
6692 (nuke_all_frame_slots): Ditto.
6693 (set_frame_selected_window): Mark toolbars changed when
6694 last_nonminibuf_window changes.
6696 * frame.h (struct frame): Moved some slots to frameslots.h.
6697 Added current_toolbar_size array.
6698 Changed references from toolbar_data to toolbar_buttons in macros
6699 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6700 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6701 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6703 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6704 Moved arrays of lisp objects here from frame.h: toolbar_size,
6705 toolbar_visible_p, toolbar_border_width.
6706 Removed toolbar_data slot and added toolbar_buttons.
6708 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6710 * symsinit.h: Externed syms_of_process_nt()
6712 * emacs.c (main_1): Call syms_of_process_nt()
6714 * process-nt.c: Quote process arguments by a call to Lisp function
6715 `nt-quote-process-args'.
6716 (syms_of_process_nt): New function.
6717 (nt_send_process): Flush data stream after each write, to avoid
6718 leaving buffered data.
6719 (nt_send_process): When blocked on process output, wait for
6720 process to slurp more for progressively increasing time intervals.
6722 1998-05-17 Martin Buchholz <martin@xemacs.org>
6724 * window.c (have_undivided_common_edge): Make file-local function
6726 (map_windows): Return 0 if all map functions successful.
6729 * winslots.h: Use unlikely names for local variables in macros to
6730 avoid shadowing warnings.
6732 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6734 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6735 so that we re-output if the toolbar size has changed.
6737 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6739 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6741 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6743 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6746 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6748 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6749 get bitmap manifest constants defined.
6751 * console-msw.h: Include system files in angle brackets, not in
6754 * window.c (specifier_vars_of_window): Fixed a typo in
6755 `vertical-divider-line-width' docstirng.
6757 1998-05-16 Olivier Galibert <galibert@pobox.com>
6759 * line-number.c (delete_invalidate_line_number_cache): Use an
6761 (buffer_line_number): Remove dangerous, plain wrong when using
6762 64bits emacs ints, cast.
6764 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6766 * cmds.c (Fforward_line): Use EMACS_INTs.
6768 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6769 (scan_buffer): Ditto.
6770 (bi_find_next_newline_no_quit): Remove useless cast.
6771 (find_next_newline_no_quit): Ditto.
6772 (find_next_newline): Ditto.
6773 (find_before_next_newline): Use an EMACS_INT.
6775 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6777 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6779 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6781 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6783 * gui-x.c (popup_selection_callback): Use it.
6785 * gui.h (get_callback): Declare it.
6787 * gui.c (get_callback): New function.
6789 1998-05-15 SL Baur <steve@altair.xemacs.org>
6791 * window.c (have_undivided_common_edge): Guard scrollbar specific
6793 (window_needs_vertical_divider_1): Ditto.
6795 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6797 * emacs.c (decode_path): Eliminate compiler warning.
6798 (Fdecode_path): Renamed to Fsplit_path.
6799 (Fsplit_string_by_char): New function.
6801 1998-05-14 Damon Lipparelli <lipp@primus.com>
6803 * winslots.h: close comment
6805 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6807 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6809 * bufslots.h: Removed buffer_file_type slot.
6811 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6813 (complex_vars_of_buffer): Removed buffer-file-type variable and
6814 its default reference.
6816 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6818 * faces.c (complex_vars_of_faces): Defined
6819 Vvertical_divider_face.
6820 (vars_of_faces): Staticpro it.
6822 * faces.h: Externed Vvertical_divider_face.
6824 * redisplay-x.c (x_output_vertical_divider): Use
6825 Vvertical_divider_face to draw the divider instead of modeline
6828 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6829 divider face using Vvertical_divider_face background.
6830 Fix drawing spacing gaps around the divider.
6832 1998-05-14 Didier Verna <verna@inf.enst.fr>
6834 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6835 values for the vertical divider line width and spacing. Use the
6836 cached values from the window structure instead.
6837 (x_divider_width): ditto.
6839 * window.c (specifier_vars_of_window): new specifiers:
6840 vertical-divier -line-width and -spacing.
6841 (vertical_divider_global_width_changed): formerly known as
6842 vertical_divider_shadow_thickness_changed.
6844 * winslots.h: new slots: vertical_specifier _line_width and
6845 _spacing. Plus corrected a comment typo.
6847 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6849 * window.h: Declared window_divider_width().
6851 * console-stream.c (stream_divider_width): Removed method.
6852 (console_type_create_stream): And declaration for it.
6854 * redisplay.c (pixel_to_glyph_translation): Use
6855 window_divider_width() instead of divider_width redisplay method.
6856 (pixel_to_glyph_translation): Fix top divider edge calculation
6857 when scrollbar is on top.
6859 * window.c (window_divider_width): New function, an outphaser for
6860 divider_width redisplay method.
6861 (window_right_gutter_width): Use it.
6862 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6863 specifiers, set fallback values differently on TTYs, and document
6864 the behavior of these on TTYs in the docstrings.
6866 * scrollbar.c (update_scrollbar_instance): Use
6867 window_divider_width() instead of divider_width redisplay method.
6869 * console.h (struct console_methods): Removed divider_width_method.
6871 * redisplay-tty.c (tty_divider_width): Removed device method.
6872 (console_type_create_redisplay_tty): Removed definition for it.
6873 (tty_output_vertical_divider): Respect the value returned by
6874 window_divider_width thus divider line width specification.
6876 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6877 (console_type_create_redisplay_mswindows): Removed definition for it.
6878 (mswinodws_output_vertical_divider): Respect the value returned by
6879 window_divider_width thus divider line width specification.
6881 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6883 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6885 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6887 * glyphs-msw.c: resource loading implementation.
6888 (cursor_normalize): new function.
6889 (cursor_validate): ditto.
6890 (cursor_instantiate): ditto.
6891 (cursor_name_to_resource): ditto.
6892 (cursor_possible_dest_types): ditto.
6893 (check_valid_symbol): ditto.
6894 (check_valid_string_or_int): ditto.
6896 1998-05-14 Martin Buchholz <martin@xemacs.org>
6898 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6901 * process-unix.c (process_signal_char): Use VSUSP instead of
6902 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6904 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6906 * specifier.c (specifier_instance): Change locale precedence of
6907 instantiation so window locale has higher priority than buffer
6909 (Fspecifier_instance): Reflect this in docstring.
6910 (Fadd_spec_list_to_specifier): Ditto.
6911 (Fadd_spec_to_specifier): Ditto.
6912 (Fremove_specifier): Ditto.
6914 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6916 ** Dialog separation into a device method from Andy Piper
6918 * emacs.c (main_1): Call console_type_create_dialog_x().
6920 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6921 into this device method.
6922 (console_type_create_dialog_x): New function.
6924 * dialog.c (Fpopup_dialog_box): New function.
6925 (syms_of_dialog): Defsubr it.
6927 * console.h (struct console_methods): Declared
6928 popup_dialog_box_method().
6930 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6932 1998-05-14 Oliver Graf <ograf@fga.de>
6934 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6935 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6937 1998-05-13 Oliver Graf <ograf@fga.de>
6939 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6941 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6943 * console.h (device_metrics): Removed dbcs, input-method-editor
6944 and right-to-left metrics.
6946 * device.c (Fdevice_system_metric): Ditto.
6947 (Fdevice_system_metrics): Ditto.
6948 (syms_of_device): Ditto.
6949 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6952 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6954 * line-number.h (mark_line_number_cache): Remove unused
6957 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6958 (get_nearest_line_number): Simplify.
6959 (add_position_to_cache): Make the old marker point nowhere.
6961 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6963 ** Renamed window-divider-map => vertical-divider-map
6964 and event-over-divider-p => event-over-vertical-divider-p,
6965 in the following files/functions:
6967 * events.c (Fevent_over_divider_p):
6968 * keymap.c (get_relevant_keymaps):
6971 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6973 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6975 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6977 * window.c (vertical_divider_changed_in_window): Renamed so.
6978 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6979 (window_needs_vertical_divider_1): Decide whether we need it based
6980 on the value of the above specifier. If separators are unwanted,
6981 put them only if there's no scrollbar between this window and its
6983 (have_undivided_common_edge): New function, helper for the above.
6984 (window_needs_vertical_divider): Return either a cached value,
6985 or clauclate and cache one.
6986 (invalidate_vertical_divider_cache_in_window): Implemented.
6987 (map_windows): Changed return type to int, return the value from
6990 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6991 (struct window): Added need_vertical_divider_p and
6992 need_vertical_divider_valid_p.
6994 * winslots.h: Added vertical_divider_draggable_p slot.
6996 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6997 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6999 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
7001 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
7002 invalidate_vertical_divider_cache_in_frame().
7005 1998-05-14 Andy Piper <andyp@parallax.co.uk>
7007 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
7009 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
7010 masks correctly and don't select 0.
7012 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7014 * winslots.h: New file, declaration of some struct window and
7015 struct saved_window members.
7017 * window.h (struct window): Include it, with required preprocessor
7020 * window.c (mark_window): Ditto.
7021 (allocate_window): Ditto.
7022 (struct saved_window): Ditto.
7023 (mark_window_config): Ditto.
7024 (saved_window_equal): Ditto.
7025 (Fset_window_configuration): Ditto.
7027 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7029 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
7031 1998-05-12 Didier Verna <verna@inf.enst.fr>
7033 * redisplay-x.c (x_output_vertical_divider): draw shadows around
7034 the divider line. The shadow thickness is currently
7035 hard-wired. This will probably be turned into a specifier soon.
7037 1998-05-12 Didier Verna <verna@inf.enst.fr>
7039 * console.h (struct console_methods): the divider_width console
7040 method now requires a struct window * argument.
7042 * redisplay-x.c (x_divider_width): ditto. Plus remove
7043 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
7044 (x_output_vertical_divider): give a depressed look when the shadow
7045 thickness is negative.
7047 * console-stream.c (stream_divider_width): pass a struct window *
7050 * redisplay-tty.c (tty_divider_width): ditto.
7052 * window.c (window_right_gutter_width): totdi.
7054 * redisplay.c (generate_modeline): ittod.
7056 * scrollbar.c (update_scrollbar_instance): ttido.
7058 * redisplay-msw.c (mswindows_divider_width): ottid.
7059 WARNING: this enables to compile, but the feature is not functional.
7061 * window.h (struct window): new field
7062 vertical_divider_shadow_thickness.
7064 * window.c (specifier_vars_of_window): new specifier
7065 vertical-divider-shadow-thickness.
7066 (vertical_divider_shadow_thickness_changed): new function to
7067 inform redisplay that the window has changed.
7068 (mark_window): handle new field vertical_divider_shadow_thickness
7070 (allocate_window): ditto.
7071 (saved_window_equal): toddi.
7072 (Fset_window_configuration): totid.
7073 (save_window_save): ttdio.
7074 (struct saved_window): new field vertical_divider_shadow_thickness.
7076 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7078 * device-msw.c (mswindows_device_system_metrics): Support a deluge
7081 1998-05-12 Oliver Graf <ograf@fga.de>
7083 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
7084 * event-Xt.c (x_event_to_emacs_event): C++ compability
7086 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7088 * emacs.c (Fdecode_path): Default SEPCHAR to value of
7091 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7093 * emacs.c (vars_of_emacs): Do it here; change the meaning of
7096 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
7098 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7100 * emacs.c (decode_path_1): New function.
7101 (decode_path): Use it.
7102 (Fdecode_path): Renamed from Fdecode_path_internal; use
7105 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7107 * macros.c (Fzap_last_kbd_macro_event): New function.
7108 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
7110 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7112 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
7113 multiple bitmaps are output vertically as well as horizontally.
7114 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
7115 crossing lines this is handled by
7116 mswindows_output_dibitmap_region.
7118 1998-05-12 Martin Buchholz <martin@xemacs.org>
7120 * inline.c: Include eldap.h
7122 * menubar-x.c (x_update_frame_menubar_internal):
7123 Remove: unused variable `container'
7125 1998-05-11 Martin Buchholz <martin@xemacs.org>
7127 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
7128 Unfortunately, the resulting temacs still cannot dump.
7130 * symbols.c (symbol_is_constant):
7131 (verify_ok_for_buffer_local):
7132 -Wswitch Warning suppression - add default case to switches.
7134 * redisplay.c (decode_mode_spec): Remove unused variables,
7135 Replace Fcoding_system_property (codesys, Qmnemonic) with
7136 XCODING_SYSTEM_MNEMONIC (codesys);
7137 Fcoding_system_property is for users.
7143 Change empty docstrings into no doc strings at all.
7144 Fix bogus FSF-format docstrings.
7147 Standardize docstrings.
7150 Explain problems with matherr.
7152 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
7155 if BROKEN_SIGIO, then SIGIO wants to be undefined.
7156 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
7157 Fix the weird resultant interaction (causes windows problems)
7161 Take new EMACSBOOTSTRAPLOADPATH into account.
7162 Update documentation strings
7165 - Adjust for luser's CDPATH being set to something weird.
7166 - Take into account bash 2.02's tendency to print the cwd when
7167 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
7168 - fix the run-temacs target to use $(DUMPENV)
7169 - fix the run-puremacs target to use $(DUMPENV)
7170 - fix the `depend' target to properly $(RM) the right files
7171 - Generate a better TAGS file for XEmacs' lisp code using
7172 hand-crafted regexps.
7173 - Use standard coding conventions for modules/Makefile.in
7175 1998-05-12 Didier Verna <verna@inf.enst.fr>
7177 * redisplay.c: removed the scrolling modeline code that didn't
7178 make it for 21.0. To be continued ...
7180 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7182 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
7183 and empty string inputs.
7185 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7187 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
7189 1998-05-10 Oliver Graf <ograf@fga.de>
7191 * event-stream.c (enqueue_misc_user_event_pos): created
7192 * lisp.h (enqueue_misc_user_event_pos): prototype added
7193 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
7194 * emacs.c: call vars_of_dragdrop
7195 * dragdrop.c (vars_of_dragdrop): provide dragdrop
7197 1998-05-11 Oliver Graf <ograf@fga.de>
7199 * frame-x.c (x_cde_transfer_callback): return at correct pos
7200 * event-Xt.c (x_event_to_emacs_event): changed format of drop
7201 object for MIME (see comment in dragdrop.c)
7202 * dragdrop.c: API change documented in comment
7203 removed provide of dragdrop [is provided by dragdrop.el]
7205 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7207 * window.c (window_needs_vertical_divider): Enable vertical
7208 dividers for every non-rightmost window.
7209 (window_left_gutter_width): Left gutter consists of mythical
7210 toolbar and a virtual scrollbar.
7211 (window_right_gutter_width): The right one may have a divider
7214 * scrollbar.c (update_scrollbar_instance): Position vertical
7215 scrollbar left to divider if the latter present.
7217 * redisplay.h: Declared OVER_DIVIER constant.
7219 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
7222 * redisplay-x.c (x_output_vertical_divider): Output divider along
7223 the right side of the window, down to window bottom. Swapped
7224 foreground and background colors so it is visible by default.
7226 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7227 stick the divider to the right window side.
7229 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7231 (mswindows_divider_width): Ask system for user preferred value.
7232 (mswindows_output_vertical_divider): Always output the divider on
7233 the right side of a window, down to bottom.
7235 * keymap.c (get_relevant_keymaps): Route mouse button events which
7236 happened over a window divider through window-divider-map.
7237 (Fkey_binding): Documented that in the docstring.
7238 Defined the variable Vwindow_divider_map.
7240 * events.c (Fevent_over_divider_p): Added this function.
7242 * events.h: EXFUNed it.
7244 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7246 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7247 toolbar geometry is suspected to change.
7249 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7253 Condition dnd and dde code on HAVE_DRAGNDROP.
7255 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7257 * events.c (format_event_object): Print space as SPC etc.
7259 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7261 * print.c (print_internal): In the default case, abort() if
7262 ERROR_CHECK_TYPECHECK.
7264 * fileio.c (Fmake_temp_name): Doc fix.
7266 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7268 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7270 * undo.c (Fprimitive_undo): Fixed typo.
7272 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7274 * fns.c (concat): Signal error on integer argument.
7276 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7278 * console.h (device_metrics): Prefixed each constatnt with DM_
7280 * device.c: (Fdevice_system_metric): Renamed so from plural form
7281 (metrics); Changed parameters order and added DEFAULT parameter;
7282 Unabbreviated some metric constants; Fixed and untabified doc string.
7283 (Fdevice_system_metrics): Added. Returns a plist of all provided
7286 * device-msw.c (mswindows_device_system_metrics): Renamed
7287 device_metrics enum constants.
7288 Return Qunbound instead of Qnil.
7290 * device-tty.c (tty_device_system_metrics): Ditto.
7292 * device-x.c (x_device_system_metrics): Ditto.
7294 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7296 * redisplay-msw.c: implement background pixmaps (really!). Make
7297 sure bg color is transparent if we have bg pmaps.
7298 * (mswindows_output_string) (mswindows_clear_region): output bg
7300 * (mswindows_output_dibitmap_region): new function.
7301 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7302 the bg color rather than transparently.
7304 * toolbar-msw.c: use masks if they exist.
7306 * glyphs-msw.c: set up masks correctly.
7308 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7310 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7312 * regex.c (re_match_2_internal): Check for quit.
7314 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7316 * frame.c (Ffocus_frame): New function.