1 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (Fmake_charset): Delete unused local variable
6 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
7 (breakup_char_1): Find a charset and code-point in
8 `Vcharacter_attribute_table'.
10 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
12 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
15 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
17 * mule-charset.c (Vcharacter_attribute_table): New variable.
18 (Fchar_attribute_alist): New function.
19 (Fget_char_attribute): New function.
20 (Fput_char_attribute): New function.
21 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
23 (syms_of_mule_charset): Add new function `char-attribute-alist',
24 `get-char-attribute' and `put-char-attribute'.
25 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
27 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
29 * mule-charset.c (Fmake_charset): Just use
30 `get_unallocated_leading_byte'.
32 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
33 sets; don't use final-byte based number for private sets.
35 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
37 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
40 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
42 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
45 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
47 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
48 of `CHAR_LEADING_BYTE' in UTF-2000.
50 * insdel.c (find_charsets_in_bufbyte_string): Use
51 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
52 (find_charsets_in_emchar_string): Likewise.
54 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
55 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
57 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
58 (CHAR_CHARSET_ID): New macro.
60 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
62 * chartab.c (get_char_table): Don't use type `Charset_ID' for
63 charset-id - MIN_LEADING_BYTE.
64 (put_char_table): Likewise.
66 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
68 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
69 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
70 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
71 (CHARSET_ID_OFFSET): New macro.
72 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
73 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
74 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
75 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
77 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
79 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
80 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
81 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
82 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
83 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
85 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
87 * mule-charset.c (next_allocated_leading_byte): New variable in
89 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
90 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
91 (get_unallocated_leading_byte): Simply use
92 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
93 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
96 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
97 (MAX_LEADING_BYTE_PRIVATE): New macro.
98 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
99 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
101 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
103 * mule-charset.c (Fmake_charset): Allocate final-byte based
104 charset-id for 94-set, 96-set and 94x94-set.
106 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
108 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
110 (Fmake_charset): Likewise.
111 (complex_vars_of_mule_charset): Modify the font registry of
112 `ucs-bmp' not to match `Ethiopic-Unicode'.
114 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
116 * mule-charset.c (complex_vars_of_mule_charset): Add font
117 registory of `ucs-bmp'.
119 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
121 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
122 coded-charsets in `default-coded-charset-priority-list' when
123 breaking up a character.
125 * mule-charset.c (Vcharset_latin_viscii): New variable.
126 (Qlatin_viscii): New variable.
127 (make_charset): Don't use `decoding_table'.
128 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
130 (Fset_charset_mapping_table): New implementation.
131 (syms_of_mule_charset): Add new symbol `latin-viscii'.
132 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
133 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
134 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
135 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
136 charset `latin_viscii'.
138 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
139 (CHARSET_TYPE_94X94): Change to 1 from 2.
140 (CHARSET_TYPE_96): Change to 2 from 1.
141 (CHARSET_TYPE_128): New macro.
142 (CHARSET_TYPE_128X128): Change to 5 from 4.
143 (CHARSET_TYPE_256): New macro.
144 (CHARSET_TYPE_256X256): Change to 7 from 5.
145 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
147 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
149 * text-coding.c (char_encode_shift_jis): Refer
150 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
151 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
153 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
154 (char_byte_table_equal): New function in UTF-2000.
155 (char_byte_table_hash): New function in UTF-2000.
156 (char_byte_table_description): New constant in UTF-2000.
157 (char_byte_table): New type in UTF-2000.
158 (make_char_byte_table): New function in UTF-2000.
159 (copy_char_byte_table): New function in UTF-2000.
160 (make_char_code_table): New macro in UTF-2000.
161 (get_char_code_table): New function in UTF-2000.
162 (put_char_code_table): New function in UTF-2000.
163 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
164 (charset_description): Add setting in UTF-2000.
165 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
166 `CHARSET_TO_BYTE1_TABLE(cs)'.
167 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
168 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
169 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
170 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
171 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
172 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
173 `CHARSET_TO_BYTE2_TABLE(cs)'.
175 * char-ucs.h (char_byte_table): New type.
176 (XCHAR_BYTE_TABLE): New macro.
177 (XSETCHAR_BYTE_TABLE): New macro.
178 (CHAR_BYTE_TABLE_P): New macro.
179 (GC_CHAR_BYTE_TABLE_P): New macro.
180 (struct Lisp_Char_Byte_Table): New structure.
181 (get_char_code_table): New interface.
182 (Emchar_to_byte_table): Deleted.
183 (get_byte_from_character_table): Deleted.
184 (struct Lisp_Charset): Add `encoding_table'; delete
185 `to_byte1_table' and `to_byte2_table'.
186 (CHARSET_ENCODING_TABLE): New macro.
187 (CHARSET_TO_BYTE1_TABLE): Deleted.
188 (CHARSET_TO_BYTE2_TABLE): Deleted.
189 (XCHARSET_ENCODING_TABLE): New macro.
190 (XCHARSET_TO_BYTE1_TABLE): Deleted.
191 (XCHARSET_TO_BYTE2_TABLE): Deleted.
193 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
195 * mule-charset.c (syms_of_mule_charset): Delete charset alias
196 `vietnamese-viscii-*'.
198 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
200 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
201 (Qvietnamese_viscii_upper): New variable.
202 (Fdefine_charset_alias): New function.
203 (syms_of_mule_charset): Add new function `define-charset-alias'.
204 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
205 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
208 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
210 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
211 (MAX_CHAR_OBS_94x94): New macro.
212 (breakup_char_1): Support obsolete XEmacs-UCS private code space
215 * mule-charset.c (put_byte_from_character_table): Change unit size
217 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
219 (Fmake_reverse_direction_charset): Modify dummy argument of
220 `make_charset' for non-UTF-2000 environment.
222 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
224 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
226 * mule-charset.c (destroy_byte_from_character_table): New macro.
227 (latin_jisx0201_to_ucs): Deleted.
228 (latin_iso8859_2_to_ucs): Deleted.
229 (latin_iso8859_3_to_ucs): Deleted.
230 (latin_iso8859_4_to_ucs): Deleted.
231 (latin_iso8859_9_to_ucs): Deleted.
232 (latin_viscii_lower_to_ucs): Deleted.
233 (latin_viscii_upper_to_ucs): Deleted.
234 (mark_charset): Mark `cs->decoding_table'.
235 (Fcharset_mapping_table): Fix DOC-string.
236 (Fset_charset_mapping_table): New function.
237 (syms_of_mule_charset): Add nwe function
238 `set-charset-mapping-table'.
239 (complex_vars_of_mule_charset): Don't setup and use
242 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
244 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
247 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
249 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
250 (Vcharset_katakana_jisx0208): New variable.
251 (Qhiragana_jisx0208): New variable.
252 (Qkatakana_jisx0208): New variable.
253 (make_charset): Add new argument `byte_offset'.
254 (charset_get_byte1): Modify for new coded-charset definition; use
255 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
256 `XCHARSET_BYTE_OFFSET'.
257 (Fmake_charset): Modify for `make_charset'.
258 (Fmake_reverse_direction_charset): Likewise.
259 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
261 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
262 `.' in font registry of charset `katakana-jisx0201',
263 `latin-jisx0201', `vietnamese-viscii-lower' and
264 `vietnamese-viscii-upper'; modify DOC-string of charset
265 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
266 registry of charset `japanese-jisx0208' not to use font for JIS
267 X0208:1990; add new charset `hiragana-jisx0208' and
270 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
271 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
272 (struct Lisp_Charset): Add `byte_offset'.
273 (CHARSET_BYTE_OFFSET): New macro.
274 (XCHARSET_UCS_MIN): New macro.
275 (XCHARSET_UCS_MAX): New macro.
276 (XCHARSET_CODE_OFFSET): New macro.
277 (XCHARSET_BYTE_OFFSET): New macro.
278 (MIN_CHAR_HIRAGANA): New macro.
279 (MAX_CHAR_HIRAGANA): New macro.
280 (MIN_CHAR_KATAKANA): New macro.
281 (MAX_CHAR_KATAKANA): New macro.
282 (MAKE_CHAR): Modify for new coded-charset definition; use
283 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
284 `XCHARSET_BYTE_OFFSET'.
286 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
288 * mule-charset.c (CHAR96): Deleted.
289 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
291 (latin_iso8859_2_to_ucs): Likewise.
292 (latin_iso8859_3_to_ucs): Likewise.
293 (latin_iso8859_4_to_ucs): Likewise.
294 (latin_iso8859_9_to_ucs): Likewise.
295 (latin_viscii_lower_to_ucs): Likewise.
296 (latin_viscii_upper_to_ucs): Likewise.
297 (latin_tcvn5712_to_ucs): Commented out.
298 (make_charset): Change type of argument `decoding_table' from
299 <Emchar*> to <Lisp_Object> [vector of characters].
300 (Fmake_charset): Modify for `make_charset'.
301 (Fmake_reverse_direction_charset): Likewise.
302 (Fcharset_mapping_table): New function in UTF-2000.
303 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
305 (complex_vars_of_mule_charset): Modify for type change of
306 `*_to_ucs'; modify for `make_charset'.
308 * char-ucs.h (struct Lisp_Charset): Change type of
309 `decoding_table' from <Emchar*> to <Lisp_Object>.
310 (MAKE_CHAR): Modify for new specification of `decoding_table'.
312 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
314 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
315 error with non-UTF-2000-Mule.
317 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
319 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
321 (Vcharset_chinese_cns11643_4): Likewise.
322 (Vcharset_chinese_cns11643_5): Likewise.
323 (Vcharset_chinese_cns11643_6): Likewise.
324 (Vcharset_chinese_cns11643_7): Likewise.
325 (Qchinese_cns11643_3): Likewise.
326 (Qchinese_cns11643_4): Likewise.
327 (Qchinese_cns11643_5): Likewise.
328 (Qchinese_cns11643_6): Likewise.
329 (Qchinese_cns11643_7): Likewise.
330 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
331 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
332 and `chinese-cns11643-7' to lisp/mule/chinese.el.
333 (complex_vars_of_mule_charset): Likewise.
335 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
337 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
339 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
340 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
342 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
344 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
346 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
347 (breakup_char_1): Likewise.
349 * text-coding.c (char_encode_iso2022): Keep designated charsets if
350 one of them includes the specified character.
352 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
354 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
356 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
358 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
360 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
362 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
363 definition for non-UTF-2000 Mule.
364 (latin_iso8859_3_to_ucs): Likewise.
365 (latin_iso8859_4_to_ucs): Likewise.
366 (latin_iso8859_9_to_ucs): Likewise.
367 (latin_jisx0201_to_ucs): Likewise.
368 (MIN_CHAR_THAI): Likewise.
369 (MAX_CHAR_THAI): Likewise.
370 (MIN_CHAR_GREEK): Likewise.
371 (MAX_CHAR_GREEK): Likewise.
372 (MIN_CHAR_HEBREW): Likewise.
373 (MAX_CHAR_HEBREW): Likewise.
374 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
375 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
376 (MIN_CHAR_CYRILLIC): Likewise.
377 (MAX_CHAR_CYRILLIC): Likewise.
379 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
381 * char-ucs.h (breakup_char_1): Use
382 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
383 thai-tis620 and katakana-jisx0201 area.
385 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
387 * char-ucs.h (breakup_char_1): Use
388 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
391 * text-coding.c (reset_encoding_stream): Fixed.
392 (char_encode_ucs4): Delete `& 255'.
394 * char-ucs.h (breakup_char_1): Use
395 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
397 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
399 * file-coding.c (Fmake_coding_system): Don't set up
400 `codesys->fixed.size'.
401 (encode_coding_no_conversion): Don't refer
402 `str->codesys->fixed.size'.
404 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
406 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
407 (latin_a_char_to_byte1): Deleted.
408 (latin_a_char_to_byte2): Deleted.
410 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
412 * mule-charset.c (make_charset): Add new argument `ucs_min',
413 `ucs_max' and `code_offset'.
414 (charset_get_byte1): New implementation [delete specific charset
415 depended implementations].
416 (Fmake_charset): Modify for `make_charset'.
417 (Fmake_reverse_direction_charset): Likewise.
418 (complex_vars_of_mule_charset): Likewise.
420 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
422 (CHARSET_UCS_MIN): New macro.
423 (CHARSET_UCS_MAX): New macro.
424 (CHARSET_CODE_OFFSET): New macro.
425 (MAKE_CHAR): Delete charset depended definitions [except
428 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
430 * char-ucs.h (breakup_char_1): Use
431 `Vdefault_coded_charset_priority_list' for C0-Controls,
432 Basic-Latin, C1-Controls and Latin-1-Supplement area.
434 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
436 * char-ucs.h (charset_get_byte1): New function.
437 (XCHARSET_GET_BYTE1): Deleted.
438 (charset_get_byte2): New function.
439 (XCHARSET_GET_BYTE2): Deleted.
440 (Vdefault_coded_charset_priority_list): New external variable.
441 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
442 `Vdefault_preferred_coded_charset_list'.
444 * mule-charset.c (charset_get_byte1): New function.
445 (charset_get_byte2): New function.
446 (Vdefault_coded_charset_priority_list): New variable.
447 (vars_of_mule_charset): Add new variable
448 `default-coded-charset-priority-list'.
450 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
452 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
453 (XCHARSET_GET_BYTE2): New inline function.
454 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
455 `XCHARSET_GET_BYTE2'.
457 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
459 * mule-charset.c (make_charset): Initialize
460 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
461 NULL if table is not defined.
463 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
465 * text-coding.c (char_encode_shift_jis): Use
466 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
467 `ucs_to_latin_jisx0201'.
469 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
470 (ucs_to_latin_iso8859_2): Deleted.
471 (ucs_to_latin_iso8859_3): Deleted.
472 (ucs_to_latin_iso8859_4): Deleted.
473 (ucs_to_latin_iso8859_9): Deleted.
474 (ucs_to_latin_viscii_lower): Deleted.
475 (ucs_to_latin_viscii_upper): Deleted.
476 (ucs_to_latin_tcvn5712): Deleted.
477 (make_charset): Add new argument `decoding_table'; set up
478 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
479 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
480 `decoding_table' is defined in UTF-2000.
481 (Fmake_charset): Modify for `make_charset'.
482 (Fmake_reverse_direction_charset): Likewise.
483 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
484 and `GENERATE_96_SET'.
486 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
487 (ucs_to_latin_jisx0201): Deleted.
488 (latin_iso8859_2_to_ucs): Deleted.
489 (ucs_to_latin_iso8859_2): Deleted.
490 (latin_iso8859_3_to_ucs): Deleted.
491 (ucs_to_latin_iso8859_3): Deleted.
492 (latin_iso8859_4_to_ucs): Deleted.
493 (ucs_to_latin_iso8859_4): Deleted.
494 (latin_iso8859_9_to_ucs): Deleted.
495 (ucs_to_latin_iso8859_9): Deleted.
496 (latin_viscii_lower_to_ucs): Deleted.
497 (ucs_to_latin_viscii_lower): Deleted.
498 (latin_viscii_upper_to_ucs): Deleted.
499 (ucs_to_latin_viscii_upper): Deleted.
500 (struct Lisp_Charset): Renamed `encoding_table' to
501 `to_byte1_table'; add `to_byte2_table'.
502 (CHARSET_DECODING_TABLE): New macro.
503 (CHARSET_TO_BYTE1_TABLE): New macro.
504 (CHARSET_TO_BYTE2_TABLE): New macro.
505 (XCHARSET_DECODING_TABLE): New macro.
506 (XCHARSET_TO_BYTE1_TABLE): New macro.
507 (XCHARSET_TO_BYTE2_TABLE): New macro.
508 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
510 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
511 don't use `ucs_to_*' tables.
513 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
515 * text-coding.c (Fmake_coding_system): Don't set up
516 `codesys->fixed.size'.
517 (encode_coding_no_conversion): Use `if' instead of `switch'.
519 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
521 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
523 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
524 (Fmake_charset): Modify for `make_charset'.
525 (Fmake_reverse_direction_charset): Likewise.
526 (complex_vars_of_mule_charset): Likewise.
528 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
530 * text-coding.c (char_encode_shift_jis): Use table
531 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
533 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
535 * text-coding.c (text_encode_generic): Use `if' instead of
537 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
540 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
542 * text-coding.c (encode_coding_sjis): Deleted.
543 (char_encode_shift_jis): New function.
544 (char_finish_shift_jis): New function.
545 (reset_encoding_stream): Set up `encode_char' and `finish' for
546 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
547 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
548 (char_encode_utf8): Treat `eol_type'.
550 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
552 * file-coding.c (decode_coding_iso2022): Use
553 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
555 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
557 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
560 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
562 * char-lb.h (CHAR_COLUMNS): New macro.
564 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
566 * text-coding.c (char_encode_ucs4): New function.
567 (char_finish_ucs4): New function.
568 (encode_coding_ucs4): Deleted.
569 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
570 (text_encode_generic): Delete local variable `charset' and `half'.
571 (ucs_to_mule_table): Deleted.
572 (mule_to_ucs_table): Deleted.
573 (Fset_ucs_char): Deleted.
574 (ucs_to_char): Deleted.
575 (Fucs_char): Deleted.
576 (Fset_char_ucs): Deleted.
577 (Fchar_ucs): Deleted.
578 (decode_ucs4): Deleted.
579 (mule_char_to_ucs4): Deleted.
580 (encode_ucs4): Deleted.
581 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
582 (decode_coding_utf8): Likewise.
583 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
584 (char_encode_iso2022): Fixed.
585 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
586 `Fset_char_ucs' and `Fchar_ucs'.
587 (complex_vars_of_file_coding): Don't initialize
590 * objects-tty.c (tty_initialize_font_instance): Don't use
593 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
596 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
597 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
599 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
600 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
601 (emchar_string_displayed_columns): Likewise.
603 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
604 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
605 (string_column_at_point): Likewise.
606 (Fmove_to_column): Likewise.
608 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
609 `encoding_table' and `decoding_table'.
610 (CHARSET_REP_BYTES): Deleted.
611 (XCHARSET_REP_BYTES): Deleted.
612 (XCHARSET_COLUMNS): Deleted.
613 (CHAR_COLUMNS): New macro.
614 (lookup_composite_char): Deleted unconditionally.
615 (composite_char_string): Likewise.
617 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
619 * char-ucs.h (Emchar_to_byte_table): New type.
620 (get_byte_from_character_table): New function interface.
621 (Vcharset_latin_jisx0201): New variable.
622 (latin_jisx0201_to_ucs): New variable.
623 (ucs_to_latin_jisx0201): New variable.
624 (Vcharset_latin_iso8859_2): New variable.
625 (latin_iso8859_2_to_ucs): New variable.
626 (ucs_to_latin_iso8859_2): New variable.
627 (Vcharset_latin_iso8859_3): New variable.
628 (latin_iso8859_3_to_ucs): New variable.
629 (ucs_to_latin_iso8859_3): New variable.
630 (Vcharset_latin_iso8859_4): New variable.
631 (latin_iso8859_4_to_ucs): New variable.
632 (ucs_to_latin_iso8859_4): New variable.
633 (Vcharset_latin_iso8859_9): New variable.
634 (latin_iso8859_9_to_ucs): New variable.
635 (ucs_to_latin_iso8859_9): New variable.
636 (Vcharset_latin_viscii_lower): New variable.
637 (latin_viscii_lower_to_ucs): New variable.
638 (ucs_to_latin_viscii_lower): New variable.
639 (Vcharset_latin_viscii_upper): New variable.
640 (latin_viscii_upper_to_ucs): New variable.
641 (ucs_to_latin_viscii_upper): New variable.
642 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
643 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
644 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
645 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
646 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
647 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
648 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
649 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
650 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
651 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
653 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
654 (Vcharset_latin_viscii_upper): New variable.
655 (make_byte_from_character_table): New function.
656 (put_byte_from_character_table): New function.
657 (get_byte_from_character_table): New function.
659 (ucs_to_latin_jisx0201): New variable.
660 (latin_jisx0201_to_ucs): New variable.
661 (ucs_to_latin_iso8859_2): New variable.
662 (latin_iso8859_2_to_ucs): New variable.
663 (ucs_to_latin_iso8859_3): New variable.
664 (latin_iso8859_3_to_ucs): New variable.
665 (ucs_to_latin_iso8859_4): New variable.
666 (latin_iso8859_4_to_ucs): New variable.
667 (ucs_to_latin_iso8859_9): New variable.
668 (latin_iso8859_9_to_ucs): New variable.
669 (ucs_to_latin_viscii_lower): New variable.
670 (latin_viscii_lower_to_ucs): New variable.
671 (ucs_to_latin_viscii_upper): New variable.
672 (latin_viscii_upper_to_ucs): New variable.
673 (ucs_to_latin_tcvn5712): New variable.
674 (latin_tcvn5712_to_ucs): New variable.
675 (Qlatin_viscii_lower): New variable.
676 (Qlatin_viscii_upper): New variable.
677 (syms_of_mule_charset): Set up new symbol
678 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
679 (complex_vars_of_mule_charset): Set up new charset
680 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
681 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
682 `ucs_to_<CHARSET>' tables.
684 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
686 * text-coding.c: New file.
688 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
690 * mule-charset.c (Fmake_char): Fix problem of 256-set.
692 * char-ucs.h (Vcharset_ucs_bmp): New variable.
693 (MAKE_CHAR): Modify for `ucs-bmp'.
694 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
695 non-MULE characters of BMP.
697 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
699 * mule-charset.c (vars_of_mule_charset):
700 Update `utf-2000-version' to 0.6.
702 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
705 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
706 - Include character.h for `CHAR_ASCII_P'.
708 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
710 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
711 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
713 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
714 (BYTE_C0_P): Likewise.
715 (BYTE_C1_P): Likewise.
716 (Lstream_get_emchar_1): Likewise.
717 (Lstream_fput_emchar): Likewise.
718 (Lstream_funget_emchar): Likewise.
719 (copy_internal_to_external): Likewise.
720 (copy_external_to_internal): Likewise.
722 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
723 (BYTE_C0_P): Likewise.
724 (BYTE_C1_P): Likewise.
725 (Lstream_get_emchar_1): Likewise.
726 (Lstream_fput_emchar): Likewise.
727 (Lstream_funget_emchar): Likewise.
728 (copy_internal_to_external): Likewise.
729 (copy_external_to_internal): Likewise.
731 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
732 (REP_BYTES_BY_FIRST_BYTE): Likewise.
734 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
735 (BYTE_ASCII_P): Moved to mb-1byte.h.
737 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
739 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
741 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
742 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
743 (VALID_CHARPTR_P): Moved to mb-*byte.h.
744 (VALIDATE_CHARPTR_BACKWARD): Likewise.
745 (VALIDATE_CHARPTR_FORWARD): Likewise.
746 (simple_charptr_emchar): Moved to mb-multibyte.h.
747 (simple_set_charptr_emchar): Likewise.
748 (simple_charptr_copy_char): Likewise.
749 (non_ascii_charptr_emchar): Likewise.
750 (non_ascii_set_charptr_emchar): Likewise.
751 (non_ascii_charptr_copy_char): Likewise.
752 (charptr_emchar): Moved to mb-*byte.h.
753 (set_charptr_emchar): Likewise.
754 (charptr_copy_char): Likewise.
756 * mb-1byte.h, mb-multibyte.h: New files.
758 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
760 * mb-utf-8.h (MULTIBYTE): New macro.
761 (MAX_EMCHAR_LEN): Moved from buffer.h.
762 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
764 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
766 * mb-lb.h, multibyte.h: New files.
768 * char-1byte.h (Charset_ID): Moved from buffer.h.
769 (MIN_LEADING_BYTE): Likewise.
770 (LEADING_BYTE_ASCII): Likewise.
771 (NUM_LEADING_BYTES): Likewise.
772 (CHARSETP): Likewise.
773 (CHARSET_BY_LEADING_BYTE): Likewise.
774 (XCHARSET_LEADING_BYTE): Likewise.
775 (XCHARSET_GRAPHIC): Likewise.
776 (XCHARSET_COLUMNS): Likewise.
777 (XCHARSET_DIMENSION): Likewise.
778 (CHAR_CHARSET): Likewise.
779 (CHAR_LEADING_BYTE): Likewise.
780 (BREAKUP_CHAR): Likewise.
781 (Vcharset_ascii): Likewise.
783 * buffer.h: Include multibyte.h unconditionally.
784 (VALID_CHARPTR_P): Moved to multibyte.h.
785 (ASSERT_VALID_CHARPTR): Likewise.
786 (REAL_INC_CHARPTR): Likewise.
787 (REAL_INC_CHARBYTIND): Likewise.
788 (REAL_DEC_CHARPTR): Likewise.
789 (INC_CHARPTR): Likewise.
790 (INC_CHARBYTIND): Likewise.
791 (DEC_CHARPTR): Likewise.
792 (VALIDATE_CHARPTR_BACKWARD): Likewise.
793 (VALIDATE_CHARPTR_FORWARD): Likewise.
794 (charptr_n_addr): Likewise.
795 (MAX_EMCHAR_LEN): Moved to mb-*.h.
796 (simple_charptr_emchar): Moved to multibyte.h.
797 (simple_set_charptr_emchar): Likewise.
798 (simple_charptr_copy_char): Likewise.
799 (non_ascii_charptr_emchar): Likewise.
800 (non_ascii_set_charptr_emchar): Likewise.
801 (non_ascii_charptr_copy_char): Likewise.
802 (charptr_emchar): Likewise.
803 (set_charptr_emchar): Likewise.
804 (charptr_copy_char): Likewise.
805 (charptr_emchar_n): Likewise.
806 (Charset_ID): Moved to char-1byte.h.
807 (Vcharset_ascii): Likewise.
808 (CHAR_CHARSET): Likewise.
809 (CHAR_LEADING_BYTE): Likewise.
810 (LEADING_BYTE_ASCII): Likewise.
811 (NUM_LEADING_BYTES): Likewise.
812 (MIN_LEADING_BYTE): Likewise.
813 (CHARSETP): Likewise.
814 (CHARSET_BY_LEADING_BYTE): Likewise.
815 (XCHARSET_LEADING_BYTE): Likewise.
816 (XCHARSET_GRAPHIC): Likewise.
817 (XCHARSET_COLUMNS): Likewise.
818 (XCHARSET_DIMENSION): Likewise.
819 (BREAKUP_CHAR): Likewise.
821 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
823 * character.h: Add document about interface for characters.
825 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
826 (MAKE_CHAR): Delete comment about
827 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
828 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
829 (BREAKUP_CHAR): Modify name of arguments.
830 (CHAR_CHARSET): Modify name of argument.
832 * buffer.h: Delete document about Emchar accessors.
834 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
836 * character.h (CHAR_INTP): Moved from buffer.h
837 (CHAR_OR_CHAR_INTP): Likewise.
838 (XCHAR_OR_CHAR_INT): Likewise.
839 (CHECK_CHAR_COERCE_INT): Likewise.
841 * buffer.h (CHAR_INTP): Moved to character.h
842 (CHAR_OR_CHAR_INTP): Likewise.
843 (XCHAR_OR_CHAR_INT): Likewise.
844 (CHECK_CHAR_COERCE_INT): Likewise.
846 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
849 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
850 - Include char-1byte.h, char-lb.h or char-ucs.h.
852 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
854 * buffer.h: Include character unconditionally.
855 (valid_char_p): Moved to char-*.h.
856 (non_ascii_valid_char_p): Moved to char-lb.h.
858 * char-1byte.h, char-lb.h, char-ucs.h: New files.
860 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
862 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
863 in UTF-2000 because it is not ported yet and not to use
864 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
865 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
866 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
868 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
869 (CHAR_ASCII_P): Moved from character.h.
871 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
872 (CHAR_ASCII_P): Likewise.
873 (CHAR_FIELD1_MASK): Deleted.
874 (CHAR_FIELD2_MASK): Deleted.
875 (CHAR_FIELD3_MASK): Deleted.
876 (MAX_CHAR_BASIC_LATIN): New macro.
877 (CHAR_FIELD1): Deleted.
878 (CHAR_FIELD2_INTERNAL): Deleted.
879 (CHAR_FIELD3_INTERNAL): Deleted.
880 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
881 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
882 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
883 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
884 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
885 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
886 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
887 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
888 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
889 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
890 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
891 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
892 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
893 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
894 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
895 (MIN_CHAR_COMPOSITION): Deleted.
896 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
897 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
899 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
901 * buffer.h: Include mb-utf-8.h in UTF-2000.
903 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
905 * mb-utf-8.h: New file.
907 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
909 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
912 * mule-charset.h, buffer.h (Charset_ID): New type.
914 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
916 * mule-canna.c (c2mu): Use `MAKE_CHAR',
917 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
918 instead of `MULE_CHAR_PRIVATE_OFFSET',
919 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
920 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
921 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
923 * character.h (Vcharset_japanese_jisx0212): New variable
926 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
928 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
929 (charset_by_attributes): Delete array about direction.
930 (latin_a_char_to_charset): New variable in UTF-2000.
931 (latin_a_char_to_byte1): New variable in UTF-2000.
932 (latin_a_char_to_byte2): New variable in UTF-2000.
933 (Qucs_bmp): New variable.
934 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
936 (next_allocated_2_byte_leading_byte): Likewise.
937 (non_ascii_set_charptr_emchar): Likewise.
938 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
939 `CHARSET_TYPE_256X256' in UTF-2000; modify for
940 `charset_by_attributes'.
941 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
942 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
943 and `CHARSET_BY_LEADING_BYTE'.
944 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
945 `utf-2000-version' to `vars_of_mule_charset'.
946 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
947 define `leading-code-private-11' in UTF-2000; move setting of
948 `utf-2000-version' from `syms_of_mule_charset'.
949 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
952 * character.h (Charset_ID): New type.
953 (LEADING_BYTE_UCS_BMP): New macro.
954 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
955 (CHARSET_ID_OFFSET_94): New macro.
956 (MIN_CHARSET_ID_PRIVATE_94): New macro.
957 (MAX_CHARSET_ID_PRIVATE_94): New macro.
958 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
960 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
961 (LEADING_BYTE_LATIN_JISX0201): Likewise.
962 (CHARSET_ID_OFFSET_96): New macro.
963 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
964 CHARSET_ID_OFFSET_96 and final-byte.
965 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
966 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
967 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
968 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
969 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
970 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
971 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
972 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
973 (LEADING_BYTE_THAI_TIS620): Likewise.
974 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
975 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
976 (CHARSET_ID_OFFSET_94x94): New macro.
977 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
978 CHARSET_ID_OFFSET_94x94 and final-byte.
979 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
980 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
981 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
982 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
983 (LEADING_BYTE_CHINESE_GB2312): Likewise.
984 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
985 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
986 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
987 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
988 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
989 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
990 (CHARSET_TYPE_128X128): New macro.
991 (CHARSET_TYPE_256X256): New macro.
992 (XCHARSET_PRIVATE_P): Delete unconditionally.
993 (charset_by_attributes): Delete array about direction.
994 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
995 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
996 (MIN_CHAR_94): New macro.
997 (MAX_CHAR_94): New macro.
998 (MIN_CHAR_96): New macro.
999 (MAX_CHAR_96): New macro.
1000 (MIN_CHAR_94x94): New macro.
1001 (MAX_CHAR_94x94): New macro.
1002 (MIN_CHAR_96x96): New macro.
1003 (MAX_CHAR_96x96): New macro.
1004 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
1005 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1006 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
1008 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
1009 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
1010 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
1011 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
1012 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
1013 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
1014 `XCHARSET_LEADING_BYTE' to make code-point.
1015 (latin_a_char_to_charset): New variable.
1016 (latin_a_char_to_byte1): New variable.
1017 (latin_a_char_to_byte2): New variable.
1018 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
1019 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
1020 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
1022 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
1023 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
1024 (find_charsets_in_emchar_string): Likewise.
1025 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
1027 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
1029 (decode_coding_iso2022): Likewise.
1031 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
1034 * redisplay.c (redisplay_text_width_emchar_string): Use
1035 `Charset_ID' instead of `unsigned char'.
1036 (redisplay_frame_text_width_string): Likewise.
1038 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
1041 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
1042 instead of `unsigned char'.
1043 (face_cachel_charset_font_metric_info): Likewise.
1045 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
1046 (get_non_ascii_char_table_value): Likewise.
1047 (get_char_table): Likewise.
1048 (put_char_table): Likewise.
1049 (map_over_other_charset): Likewise.
1050 (map_char_table): Likewise.
1052 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
1053 instead of `unsigned char'.
1055 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
1057 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
1058 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
1060 * mule-charset.c (leading_code_private_11): Don't define in
1063 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
1064 in UTF-2000 because it is not ported yet and not to use
1065 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
1067 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
1069 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
1071 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1073 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
1076 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
1077 of unsigned char to store leading-byte.
1079 * chartab.c (get_non_ascii_char_table_value): Don't use
1080 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
1082 * file-coding.c (encode_coding_big5): Delete bogus implementation
1085 * character.h (LEADING_BYTE_*): Delete definition for
1087 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
1088 (LEADING_BYTE_PREFIX_P): Deleted.
1089 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
1090 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
1091 (BUFBYTE_LEADING_BYTE_P): Deleted.
1092 (CHARSET_PRIVATE_P): Deleted unconditionally.
1093 (rep_bytes_by_first_byte): Deleted unconditionally.
1094 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
1095 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
1096 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1097 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
1098 (CHAR_FIELD2): Deleted.
1099 (CHAR_FIELD3): Deleted.
1100 (MAKE_CHAR): Delete definition for non-UTF-2000.
1101 (BREAKUP_CHAR_1_UNSAFE): Deleted.
1102 (breakup_char_1): New implementation.
1103 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
1104 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1106 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1108 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1111 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1113 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1114 (CHARSET_PRIVATE_P): Likewise.
1115 (XCHARSET_PRIVATE_P): Likewise.
1116 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1118 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1120 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1122 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1124 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1125 (NUM_LEADING_BYTES): Changed from 128 to 256.
1126 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1127 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1129 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1131 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1133 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1134 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1135 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1136 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1137 (Qchinese_cns11643_3): New variable in UTF2000.
1138 (Qchinese_cns11643_4): New variable in UTF2000.
1139 (Qchinese_cns11643_5): New variable in UTF2000.
1140 (Qchinese_cns11643_6): New variable in UTF2000.
1141 (Qchinese_cns11643_7): New variable in UTF2000.
1142 (syms_of_mule_charset): Define `chinese-cns11643-3',
1143 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1144 and `chinese-cns11643-7' in UTF2000.
1145 (vars_of_mule_charset): Initialize
1146 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1148 (complex_vars_of_mule_charset): Setup charset
1149 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1150 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1152 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1154 * mule-charset.c: Move setting for `leading-code-private-11' from
1155 `syms_of_mule_charset' to `vars_of_mule_charset'.
1157 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1159 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1160 and `NUM_LEADING_BYTES' in assert.
1162 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1164 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1166 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1167 `NUM_LEADING_BYTES' instead of 128.
1169 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1171 * mule-charset.h (charset_by_leading_byte): Use
1172 `NUM_LEADING_BYTES' instead of 128.
1173 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1175 * mule-charset.c (charset_by_leading_byte): Use
1176 `NUM_LEADING_BYTES' instead of 128.
1177 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1179 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1182 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1184 * mule-charset.c (syms_of_mule_charset): Update to
1187 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1189 * file-coding.c (encode_coding_sjis): New implementation for
1190 UTF2000. (decode_coding_sjis): Ditto.
1192 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1194 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1195 Don't define in UTF2000.
1197 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1200 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1201 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1204 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1206 * config.h.in (CHAR_IS_UCS4): New macro.
1208 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1209 conventional MULE representation.
1210 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1212 * mule-charset.h: Reverted to original.
1214 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1215 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1216 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1218 * character.h: New file.
1220 * file-coding.c (Fmake_coding_system): Set 1 to
1221 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1223 (encode_coding_no_conversion): New implementation for UTF2000.
1225 * file-coding.h (struct Lisp_Coding_System): Add new member
1228 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1230 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1231 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1232 (encode_coding_iso2022): New implementation for UTF2000.
1234 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1236 * mule-canna.c (c2mu): New implementation for UTF2000.
1239 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1241 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1243 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1245 * file-coding.c (reset_encoding_stream): Set 0 to
1246 `str->iso2022.current_char_boundary' in UTF2000.
1247 (encode_utf8): Don't define in UTF2000.
1248 (encode_coding_utf8): New implementation for UTF-8 representation
1250 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1252 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1254 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1256 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1258 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1260 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1262 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1263 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1264 as UTF-8 in UTF2000.
1265 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1266 (non_ascii_valid_char_p): Don't define in UTF2000.
1267 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1268 (Lstream_get_emchar_1): Likewise.
1269 (utf-2000-version): New variable in UTF2000.
1271 * lread.c (read_escape): Add new reader `u'.
1273 * insdel.c (three_to_one_table): Don't define in UTF2000.
1274 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1275 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1277 (bytind_to_bufpos_func): Likewise.
1278 (buffer_mule_signal_inserted_region): Likewise.
1279 (vars_of_insdel): Don't initialize `three_to_one_table'.
1280 (init_buffer_text): Use `buf->text->mule_size' instead of
1281 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1284 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1285 UTF-8 representation in UTF2000.
1286 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1287 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1288 (decode_coding_iso2022): Don't define local variable `lb' in
1289 UTF2000; don't use LEADING_BYTE in UTF2000; use
1290 `DECODE_ADD_UCS_CHAR' in UTF2000.
1291 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1293 * config.h.in (UTF2000): New macro.
1295 * buffer.h (struct buffer_text): Add new member `mule_size' and
1296 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1297 (valid_char_p): Return always 1 in UTF2000.
1298 (MAX_EMCHAR_LEN): 6 in UTF2000.
1299 (three_to_one_table): Don't define in UTF2000.
1300 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1302 (real_bytind_to_bufpos): Likewise.
1304 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1306 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1308 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1309 representation change.
1310 (Vutf_2000_version): New variable.
1311 (leading_code_private_11): New variable.
1312 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1313 `leading-code-private-11'.
1315 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1316 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1317 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1318 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1319 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1320 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1321 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1322 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1323 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1324 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1325 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1326 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1327 (MIN_CHAR_GREEK): New macro.
1328 (MAX_CHAR_GREEK): New macro.
1329 (MIN_CHAR_CYRILLIC): New macro.
1330 (MAX_CHAR_CYRILLIC): New macro.
1331 (MIN_CHAR_HEBREW): New macro.
1332 (MAX_CHAR_HEBREW): New macro.
1333 (MIN_CHAR_THAI): New macro.
1334 (MAX_CHAR_THAI): New macro.
1335 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1336 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1337 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1338 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1339 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1340 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1341 (CHAR_FIELD2): New inline function.
1342 (CHAR_FIELD3): New inline function.
1343 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1344 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1345 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1346 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1347 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1348 (MIN_CHAR_COMPOSITION): Likewise.
1349 (CHAR_LEADING_BYTE): Modified for character representation change.
1350 (MAKE_CHAR): Likewise.
1352 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1353 (Vcharset_greek_iso8859_7): Likewise.
1354 (Vcharset_cyrillic_iso8859_5): Likewise.
1355 (Vcharset_hebrew_iso8859_8): Likewise.
1356 (Vcharset_thai_tis620): Likewise.
1357 (Vcharset_katakana_jisx0201): Likewise.
1359 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1361 * file-coding.c (determine_real_coding_system): Treat `coding:'
1364 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1366 * file-coding.c (struct decoding_stream): New member `counter'.
1367 (reset_decoding_stream): Initialize `counter'.
1368 (decode_coding_ucs4): Use `counter'.
1369 (decode_coding_utf8): Likewise.
1371 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1373 * XEmacs 21.2.19 is released
1375 1999-07-27 Jeff Miller <jmiller@smart.net>
1377 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1378 menubar_show_keybindings.
1380 1999-07-23 SL Baur <steve@miho>
1382 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1383 definition of Qccl_program.
1385 * mule-ccl.h: Make a global declaration of it here.
1387 1999-07-20 Bob Weiner <weiner@beopen.com>
1389 * s/sco7.h: Added from rr@sco.com.
1391 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1393 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1395 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1397 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1398 (mule_encode): Likewise.
1400 * mule-ccl.c (Qccl_program): New variable.
1401 (CCL_SUSPEND): New macro.
1402 (CCL_INVALID_CMD): New macro.
1403 (CCL_READ_CHAR): Don't regard as invalid command while processing
1404 the last block even if input is empty; use
1405 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1406 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1408 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1409 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1410 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1411 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1412 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1414 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1416 * mule-ccl.h (struct ccl_program): New member stack_idx.
1418 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1419 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1421 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1423 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1425 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1428 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1430 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1431 processing the last block, don't just finish but processes eol
1432 block of the current CCL program.
1433 (ccl_driver): Add a new jump label ccl_repeat for the above
1436 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1438 * mule-ccl.c: Typo in comments fixed.
1439 (Qccl_program_idx): New variables.
1440 (CCL_ReadMultibyteChar2): Macro name changed from
1441 CCL_ReadMultibyteCharacter.
1442 (CCL_WriteMultibyteChar2): Macro name changed from
1443 CCL_WriteMultibyteChar2.
1444 (ccl_driver): Adjusted for the above changes.
1445 (resolve_symbol_ccl_program): New function.
1446 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1447 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1448 numbers by resolve_symbol_ccl_program.
1449 (Fccl_execute_on_string): Likewise.
1450 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1451 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1453 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1455 * mule-ccl.h: (struct ccl_program): New member private_state.
1458 (CCL_Call): Fix the comment.
1459 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1460 macros for CCL Commands.
1462 (ccl_driver): New case lable `CCL_Extention'.
1463 (setup_ccl_program): Initialize the member `private_state' of CCL.
1465 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1467 * keymap.c (copy_keymap_internal): Inherit the default binding.
1469 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1471 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1472 focus the event (XIM_focus_event).
1473 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1474 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1475 the interface for future use (XIM_SetGeometry).
1476 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1477 location (XIM_SetSpotLocation).
1478 (x_output_eol_cursor): Ditto.
1480 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1482 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1483 Olivier's change to lrecord.h of 1999-04-22
1485 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1487 * gutter.c (redraw_exposed_gutter): Change type of pos from
1488 enum toolbar_pos -> enum gutter_pos, since former is only defined
1489 if toolbar support is.
1491 1999-07-19 Andy Piper <andy@xemacs.org>
1493 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1496 * gutter.c (gutter_validate): new function for the gutter specifier.
1497 (specifier_type_create_gutter): declare specifier validator.
1499 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1501 1999-07-18 Andy Piper <andy@xemacs.org>
1503 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1505 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1507 (mswindows_resize_subwindow): new function.
1509 * gutter.c (redraw_exposed_gutter): only reset the
1510 current_display_lines if non-zero.
1511 (Fgutter_pixel_height): new function.
1512 (Fgutter_pixel_width): new function.
1514 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1515 we want to retrive from the tab control.
1517 1999-07-17 Andy Piper <andy@xemacs.org>
1519 * window.c (change_window_height): mark gutters changed when we're
1522 * gutter.c (specifier_vars_of_gutter): make defaults more
1525 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1527 (DEFAULT_GUTTER_WIDTH): change.
1528 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1530 1999-07-18 Andy Piper <andy@xemacs.org>
1532 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1534 1999-07-16 Andy Piper <andy@xemacs.org>
1536 * frame.c (Fmake_frame): call init_frame_gutters().
1538 * redisplay.c (add_emchar_rune): use string functions if we are
1539 working with a string.
1540 (position_redisplay_data_type): add string element.
1542 1999-07-15 Andy Piper <andy@xemacs.org>
1544 * winslots.h: add real_gutter_size slots to hold the actual gutter
1545 size. This is important for autodetected sizes.
1547 * gutter.c (calculate_gutter_size): calculate size for gutters
1548 that have 'autodetect size.
1550 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1551 extent of divider for gutters.
1553 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1554 divider for gutters.
1556 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1557 position to take into account the gutters.
1559 * redisplay.c (generate_modeline): adjust modeline position to
1560 take into account the gutters.
1562 1999-07-14 Andy Piper <andy@xemacs.org>
1564 * gutter.c (frame_topmost_window): new function.
1565 (frame_bottommost_window): ditto.
1566 (frame_leftmost_window): ditto.
1567 (frame_rightmost_window): ditto.
1569 1999-07-13 Andy Piper <andy@xemacs.org>
1571 * redisplay.c (calculate_display_line_boundaries): use text
1572 boundaries so that gutters get handled properly.
1574 1999-07-12 Andy Piper <andy@xemacs.org>
1576 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1579 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1582 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1585 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1587 * gutter.c: new file - implements gutters. All new functions are
1588 semantically equivalent to the toolbar functions.
1589 (gutter_was_visible): new function.
1590 (get_gutter_coords): ditto.
1591 (output_gutter): ditto.
1592 (clear_gutter): ditto.
1593 (update_frame_gutters): ditto.
1594 (redraw_exposed_gutter): ditto.
1595 (redraw_exposed_gutters): ditto.
1596 (free_frame_gutters): ditto.
1597 (init_frame_gutters): ditto.
1598 (decode_gutter_position): ditto.
1599 (Fset_default_gutter_position): ditto.
1600 (Fset_default_gutter_position): ditto.
1601 (Fdefault_gutter_position): ditto.
1602 (gutter_after_change): ditto.
1603 (Fgutter_specifier_p): ditto.
1604 (recompute_overlaying_specifier): ditto.
1605 (gutter_specs_changed): ditto.
1606 (default_gutter_specs_changed): ditto.
1607 (gutter_geometry_changed_in_window): ditto.
1608 (default_gutter_size_changed_in_window): ditto.
1609 (default_gutter_border_width_changed_in_window): ditto.
1610 (default_gutter_visible_p_changed_in_window): ditto.
1611 (syms_of_gutter): ditto.
1612 (vars_of_gutter): ditto.
1613 (specifier_type_create_gutter): ditto.
1614 (specifier_vars_of_gutter): ditto.
1616 * gutter.h: new file. Contains gutter constants and sizing macros
1617 similar to those for the toolbar.
1619 * winslots.h: add gutter variables.
1621 * window.h: declare window_is_* functions.
1623 * window.c (window_is_lowest): make non-static.
1624 (window_is_highest): ditto.
1625 (window_top_toolbar_height): deleted.
1626 (window_bottom_toolbar_height): deleted.
1627 (window_left_toolbar_width): deleted.
1628 (window_right_toolbar_width): deleted.
1629 (window_top_gutter_height): add gutter sizing.
1630 (window_bottom_gutter_height): ditto.
1631 (window_left_gutter_width): ditto.
1632 (window_right_gutter_width): ditto.
1634 * symsinit.h: declarations for gutters vars etc.
1636 * search.c (bi_find_next_emchar_in_string): new function.
1638 * scrollbar.c (update_scrollbar_instance): remove reference to
1639 window_bottom_toolbar_height which did nothing.
1641 * redisplay.h (struct display_line): add face indices for
1642 overriding defaults in output_display_line.
1643 Add gutter_changed flags and declarations.
1645 * redisplay.c (create_string_text_block): new function, similar to
1646 create_text_block but for strings. Display tables etc are used
1647 from the currently selected window.
1648 (generate_string_display_line): ditto. Similar to
1649 generate_display_line.
1650 (generate_displayable_area): generate display lines for a given
1651 area on a frame. Input is the string, with associated extents, to
1653 (redisplay_frame): add gutter_changed check.
1654 (redisplay_device): ditto.
1655 (redisplay_without_hooks): ditto.
1657 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1658 (x_redraw_exposed_area): redraw exposed gutters.
1659 (x_bevel_area): new redisplay device method.
1660 (x_type_create_redisplay_mswindows): add bevel_area device method.
1661 (x_output_display_block): fiddly Martin-style cleanup.
1662 (x_output_vertical_divider): use bevel_area.
1664 * redisplay-output.c (output_display_line): check display_lines
1665 for face information before using defaults.
1666 (bevel_modeline): new function, calls bevel_area with appropriate
1669 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1670 (mswindows_redraw_exposed_area): redraw exposed gutters.
1671 (mswindows_bevel_area): new redisplay device method.
1672 (console_type_create_redisplay_mswindows): add bevel_area device
1675 * indent.c (string_column_at_point): add column_at_point but for
1678 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1679 instantiate widgets that we have a toolkit for.
1681 * general.c: add Qgutter.
1683 * frame.h (struct frame): add display lines for gutters and
1686 * frame.c (set_frame_selected_window): mark gutters changed.
1688 * emacs.c (main_1): add gutter initialisation.
1690 * device.h (struct device): add gutter_changed flag and macros to
1693 * console.h (struct console_methods): new bevel area redisplay
1696 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1697 REAL_INC_BYTIND is for buffers.
1698 (INC_CHARPTR): ditto.
1700 * Makefile.in.in (objs): add gutter.o
1702 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1704 * XEmacs 21.2.18 is released
1706 1999-07-08 SL Baur <steve@mule.m17n.org>
1708 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1710 (emacs_Xt_handle_magic_event): Ditto.
1711 * redisplay-x.c (x_output_string): Ditto.
1712 (x_output_eol_cursor): Ditto.
1714 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1716 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1717 problem that when XIM is destroyed or missed with some reason,
1718 xemacs will die. Now xim=xlib waits the XIM will be ready and
1719 endures the case of XIM end up.
1721 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1723 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1724 SIGINT and SIGCHLD before calling tt_open and restore the
1725 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1727 1999-07-06 SL Baur <steve@xemacs.org>
1729 * s/linux.h: gcc-2.8 changes for powerpc
1730 From Justin Vallon <vallon@mindspring.com>
1732 1999-07-05 Didier Verna <verna@inf.enst.fr>
1734 * indent.c: new symbol Qcoerce.
1735 (Fmove_to_column): use it + doc string update.
1737 1999-07-04 Andy Piper <andy@xemacs.org>
1739 * console.c: undo earlier Fprovide changes.
1743 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1744 function. validate appropriate image formats for tty.
1746 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1747 initialize consoles parameter.
1748 (struct image_instantiator_methods): add consoles parameter.
1749 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1751 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1754 * glyphs-msw.c: declare instantiators for later use.
1755 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1756 and friends on the mswindows console.
1757 * glyphs-x.c: ditto.
1759 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1760 that have not been registered on the supplied device.
1761 (Fvalid_image_instantiator_format_p): add locale argument.
1762 (instantiate_image_instantiator): valid image instantiator on the
1765 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1768 * emacs.c (main_1): add call to
1769 image_instantiator_format_create_glyphs_tty().
1771 1999-06-29 Olivier Galibert <galibert@pobox.com>
1773 * lisp.h: Add #include <stddef.h>.
1775 * sysdep.c: Remove #include <stddef.h>.
1776 * symbols.c: Remove #include <stddef.h>.
1777 * sheap.c: Remove #include <stddef.h>.
1778 * opaque.c: Remove #include <stddef.h>.
1779 * nt.c: Remove #include <stddef.h>.
1780 * mule-charset.c: Remove #include <stddef.h>.
1781 * marker.c: Remove #include <stddef.h>.
1782 * file-coding.c: Remove #include <stddef.h>.
1783 * extents.c: Remove #include <stddef.h>.
1784 * elhash.c: Remove #include <stddef.h>.
1785 * data.c: Remove #include <stddef.h>.
1786 * chartab.c: Remove #include <stddef.h>.
1787 * bytecode.c: Remove #include <stddef.h>.
1788 * alloc.c: Remove #include <stddef.h>. Fix vector description
1790 1999-06-30 SL Baur <steve@miho.m17n.org>
1792 * editfns.c: Document "%s" format spec.
1793 Suggested by Bob Weiner <weiner@altrasoft.com>
1795 1999-06-29 Andy Piper <andy@xemacs.org>
1797 * event-msw.c: fix definition booboo.
1799 1999-06-28 Andy Piper <andy@xemacs.org>
1801 * glyphs-x.c: change tree -> tree-view, progress ->
1802 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1804 (complex_vars_of_glyphs_x): provide-on-console the implemented
1807 * glyphs-msw.c: ditto.
1808 (complex_vars_of_glyphs_mswindows): ditto.
1810 * lisp.h: add Fprovide_on_console.
1812 * fns.c (Ffeaturep): add extra optional console argument.
1813 (Fprovide_on_console): like Fprovide but provides only on the
1814 specified console-type.
1815 (Frequire): check console-features as well as global features.
1817 * console.c (Fconsole_features): new function. return features for
1819 (syms_of_console): add Fconsole_features.
1821 * console.h (CONMETH_FEATURES): new function for accessing features.
1822 (CONSOLE_FEATURES): ditto.
1823 (struct console_methods): add features slot.
1824 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1826 1999-06-28 Andy Piper <andy@xemacs.org>
1828 * event-Xt.c (handle_focus_event_1): conditionally compile for
1831 * s/cygwin32.h: fix me website address.
1833 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1835 * gui-x.c (button_item_to_widget_value): only add callback if it
1838 * glyphs-x.c: add progress, edit and combo instantiators.
1839 (x_widget_set_property): new function. uses lwlib to set widget
1841 (x_widget_property): new function. uses lwlib to get widget
1843 (x_button_instantiate): support images in buttons.
1844 (x_button_property): new function. use lwlib to get the selected
1846 (x_progress_instantiate): new function for instantiating progress
1848 (x_progress_set_property): new function. sets the progress gauge
1850 (x_edit_instantiate): new function. for instantiating edit fields.
1851 (x_combo_instantiate): new function. for instantiating combo
1853 (image_instantiator_format_create_glyphs_x): add new device ii
1856 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1858 * console.h (CONSOLE_FEATURES): new features accesor.
1860 * conslots.h (MARKED_SLOT): add features entry.
1862 1999-06-25 Andy Piper <andy@xemacs.org>
1864 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1867 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1869 * gui.h (struct Lisp_Gui_Item): add accelerator.
1871 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1872 (gui_item_init): ditto.
1873 (gui_add_item_keywords_to_plist): ditto.
1874 (mark_gui_item): ditto.
1875 (gui_item_hash): ditto.
1876 (gui_item_accelerator): new function.
1877 (gui_name_accelerator): new function stolen from gui-x.c
1879 * gui-x.c (popup_selection_callback): always define. mark
1880 subwindows changed after calling a callback.
1881 (menu_name_to_accelerator): deleted.
1882 (button_item_to_widget_value): forward gui_item things to gui_item
1885 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1886 appropriate accesors.
1888 * glyphs-x.c: declare new glyph formats.
1889 (x_finalize_image_instance): unmanage and destroy widgets if they
1891 (x_unmap_subwindow): handle widgets specially.
1892 (x_map_subwindow): ditto. offset display of widgets by offset of
1893 text widget within container.
1894 (x_update_subwindow): new function. call lw_modify_all_widgets
1895 when we are a widget.
1896 (x_widget_instantiate): new function for generically creating
1897 widgets-glyphs. toolkit specifics forwarded to lwlib.
1898 (x_button_instantiate): new function for instantiating
1899 widgets-glyph buttons.
1900 (console_type_create_glyphs_x): register update_subwindow.
1901 (image_instantiator_format_create_glyphs_x): register widget and
1904 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1906 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1907 when we get a button press in case we do not have the focus.
1908 (handle_focus_event_1): set the keyboard focus to the text widget
1909 if we do not have it.
1911 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1914 1999-06-24 SL Baur <steve@miho.m17n.org>
1916 * syntax.c (scan_words): Restore non-Mule code.
1917 (word_constituent_p): Restore.
1919 1999-06-23 Olivier Galibert <galibert@pobox.com>
1921 * config.h.in: Add missing #undef *_USER_DEFINED.
1923 1999-06-23 SL Baur <steve@miho.m17n.org>
1925 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1926 int (fixes a 64-bit problem).
1928 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1931 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1933 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1935 1999-06-22 Olivier Galibert <galibert@pobox.com>
1937 * lrecord.h: Added basic external description system.
1939 * symbols.c: Added symbol, symbol-value-buffer-local,
1940 symbol-value-lisp-magic and symbol-value-varalias description.
1941 * mule-charset.c: Added charset description.
1942 * marker.c: Added marker description.
1943 * keymap.c: Added keymap description.
1944 * glyphs.c: Added glyph description.
1945 * floatfns.c: Added float description.
1946 * file-coding.c: Added coding-system description.
1947 * extents.c: Added extent description.
1948 * elhash.c: Added hash-table description.
1949 * data.c: Added weak-list desciption.
1950 * chartab.c: Added char-table-entry and char-table description.
1951 * bytecode.c: Added compiled-function description.
1952 * alloc.c: Added cons, vector and string description.
1954 1999-06-22 Olivier Galibert <galibert@pobox.com>
1956 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1957 Updated everything to the removal of the "flags" substructure.
1959 * lisp.h (subr_lheader_initializer): Updated.
1960 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1962 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1964 * syntax.c (word_constituent_p): Deleted.
1965 (scan_words): Use `WORD_BOUNDARY_P'.
1967 * chartab.c (Vword_combining_categories): New variable.
1968 (Vword_separating_categories): Likewise.
1969 (CATEGORYP): New macro.
1970 (CATEGORY_SET): Likewise.
1971 (CATEGORY_MEMBER): Likewise.
1972 (word_boundary_p): New function.
1973 (complex_vars_of_chartab): Set up new variable
1974 `word-combining-categories' and `word-separating-categories'.
1976 1999-06-18 Olivier Galibert <galibert@pobox.com>
1978 * lrecord.h: Added description as a placehold in the lrecord
1979 implementation structures. Added the parameter to all constructor
1982 * alloc.c: Added placeholders.
1984 * bytecode.c: Ditto.
1988 * database.c: Ditto.
1993 * event-stream.c: Ditto.
1997 * file-coding.c: Ditto.
1998 * floatfns.c: Ditto.
2006 * mule-charset.c: Ditto.
2010 * rangetab.c: Ditto.
2011 * specifier.c: Ditto.
2014 * tooltalk.c: Ditto.
2017 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
2019 * XEmacs 21.2.17 is released
2021 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
2023 * config.h.in (HAVE_LDAP_SET_OPTION): New define
2024 (HAVE_LDAP_GET_LDERRNO): Ditto
2025 (HAVE_LDAP_RESULT2ERROR): Ditto
2026 (HAVE_LDAP_PARSE_RESULT): Ditto
2027 (HAVE_UMICH_LDAP): Removed
2028 (HAVE_NS_LDAP): Removed
2030 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
2031 suggested by Olivier Galibert
2032 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
2034 * eldap.c: Take the removal of `livep' into account in all the
2036 (signal_ldap_error): Take two additional parameters
2037 Added new finer compilation conditions in order to use
2038 ldap_parse_result or ldap_result2error if available
2039 (Fldap_open): Conform to this new API
2040 (Fldap_search_internal): Ditto
2042 1999-06-17 SL Baur <steve@miho.m17n.org>
2044 * data.c (struct int_or_double): Should use EMACS_INT not int.
2046 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
2048 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
2051 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2053 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
2054 `CCL_MODE_ENCODING'.
2056 * file-coding.c (mule_decode): Run `ccl_driver' with
2057 `CCL_MODE_DECODING'.
2058 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2060 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
2061 (ccl_driver): Add new argument `conversion_mode'.
2062 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2063 (Fccl_execute_on_string): Likewise [perhaps it is better to add
2064 new optional argument].
2066 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
2067 (CCL_MODE_DECODING): New macro.
2068 (ccl_driver): Add new argument `conversion_mode'.
2070 1999-06-15 SL Baur <steve@miho.m17n.org>
2072 * mule-charset.c (Fsplit_char): New subr.
2073 (Fchar_octet): delete.
2074 (syms_of_mule_charset): DEFSUBR it.
2076 1999-06-13 Andy Piper <andy@xemacs.org>
2078 * menubar.h: update declarations involving gui_items.
2080 * lisp.h: declare Lisp_Gui_Item.
2082 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
2084 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
2085 (print_image_instance): ditto.
2086 (image_instance_equal): ditto.
2087 (image_instance_hash): ditto.
2089 * event-msw.c (mswindows_need_event): assert badly_p status.
2090 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
2091 callbacks in tree-view and tab-control widgets.
2092 (emacs_mswindows_next_event): modify use of
2093 mswindows_dequeue_dispatch_event.
2095 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
2096 lisp-based gui_items.
2098 * glyphs-msw.c (mswindows_update_subwindow): update use of
2100 (mswindows_register_gui_item): new function.
2101 (mswindows_register_gui_item): fix to use lisp gui_items.
2102 (mswindows_widget_instantiate): ditto.
2103 (mswindows_button_instantiate): ditto.
2104 (add_tree_item): new function to recursively add tree view
2106 (add_tree_item_list): ditto.
2107 (mswindows_tree_instantiate): new function. instantiate tree view
2109 (add_tab_item): new function to add tabs to a tab control.
2110 (mswindows_tab_instantiate): new function. instantiate tab
2112 (image_instantiator_format_create_glyphs_mswindows): add tree view
2114 (vars_of_glyphs_mswindows): ditto.
2116 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
2118 (check_valid_item_list): ditto.
2119 (initialize_widget_image_instance): fix to use new lisp gui_item.
2120 (widget_instantiate_1): allow the setting of default textwidth in
2122 (widget_instantiate): change to use new widget_instantiate_1
2124 (combo_instantiate): ditto.
2125 (static_instantiate): ditto.
2126 (tab_instantiate): new function for tab widgets.
2127 (image_instantiator_format_create_glyphs_widget): add tab and tree
2130 * menubar-msw.c (displayable_menu_item): convert to use lisp
2132 (populate_menu_add_item): ditto.
2133 (populate_or_checksum_helper): ditto.
2135 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
2137 (Fmenu_find_real_submenu): ditto.
2139 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
2141 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
2142 objects, convert functions that use them accordingly.
2143 (gui_item_init): ditto.
2144 (gui_item_active_p): ditto.
2145 (gui_item_selected_p): ditto.
2146 (gui_item_included_p): ditto.
2147 (gui_item_display_flush_left): ditto.
2148 (gui_item_display_flush_right): ditto.
2149 (mark_gui_item): ditto.
2150 (allocate_gui_item): new function to create a gui_item.
2151 (make_gui_item_from_keywords_internal): ditto. create and return a
2152 gui_item as well as setting keywords.
2153 (gui_parse_item_keywords): ditto.
2154 (gui_parse_item_keywords_no_errors): ditto.
2155 (gui_add_item_keywords_to_plist): new function, not yet used.
2156 (gui_item_hash): new function.
2157 (gui_item_id_hash): use gui_item_hash.
2158 (gui_item_equal): new function.
2159 (print_gui_item): new function.
2161 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
2163 * XEmacs 21.2.16 is released
2165 1999-06-10 Andy Piper <andy@xemacs.org>
2167 * select-msw.c (mswindows_own_selection): only set the clipboard
2169 (mswindows_get_foreign_selection): only get the clipboard if
2171 (mswindows_disown_selection): only disown the clipboard if asked.
2173 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2175 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
2177 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
2178 of coding-category `no-conversion'.
2180 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2182 * file-coding.c (Qraw_text): New variable.
2183 (syms_of_mule_coding): Add new symbol `raw-text'.
2184 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
2185 define coding-system `binary' independently; define coding-system
2186 `no-conversion' as an alias for `raw-text'.
2188 * file-coding.h (Qraw_text): New variable.
2190 1999-06-08 SL Baur <steve@xemacs.org>
2192 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2194 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2196 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2198 (base64_decode_1): Signal errors instead of returning -1.
2200 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2202 * mule-charset.c (Fmake_char): Update docstring.
2204 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2206 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2208 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2210 * fns.c (base64_decode_1): Allow and ignore any non-base64
2211 characters in input.
2213 1999-05-27 Olivier Galibert <galibert@pobox.com>
2215 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2216 of report_pure_usage().
2218 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2220 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2222 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2224 * XEmacs 21.2.15 is released
2226 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2228 * frame.c (Fset_mouse_position):
2229 (Fset_mouse_pixel_position):
2230 * window.c (Fsplit_window):
2231 (Fmove_to_window_line):
2232 Fix crash when invoking functions with an already-deleted window
2235 * indent.c (vertical_motion_1):
2237 (Fvertical_motion_pixels):
2238 * window.c (Fwindow_displayed_text_pixel_height):
2239 Fix error message when invoking functions with an already-deleted
2242 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2244 * sysdep.c (request_sigio_on_device): Guard against glibc
2245 2.1's stub streams implementation.
2247 1999-06-03 SL Baur <steve@xemacs.org>
2250 * emacs.c: Implement x.y.z version numbers
2251 From Jan Vroonhof <vroonhof@math.ethz.ch>
2253 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2255 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2256 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2259 1999-06-03 SL Baur <steve@xemacs.org>
2262 * device-x.c: rename session option to wmcommand.
2263 From Oliver Graf <ograf@rhein-zeitung.de>
2265 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2267 * fns.c (Fsubstring): Don't traverse the same region twice with
2268 charcount_to_bytecount().
2270 1999-06-03 SL Baur <steve@steve1.m17n.org>
2272 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2275 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2276 doesn't really work as is implied by the commentary).
2277 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2279 1999-06-02 SL Baur <steve@steve1.m17n.org>
2281 * symsinit.h: Declare vars_of_ntproc.
2282 * emacs.c (main_1): Call it.
2284 * ntproc.c (syms_of_ntproc): Move variable initializations from
2286 (vars_of_ntproc): ... to here [new function].
2288 * file-coding.c (syms_of_file_coding): Rename.
2289 (vars_of_file_coding): Ditto.
2290 (complex_vars_of_file_coding): Ditto.
2292 * symsinit.h: Rename *_mule_coding to *_file_coding.
2294 * emacs.c (main_1): Call them by the proper name.
2296 * device-msw.c (syms_of_device_mswindows): Move variable
2297 initializations from here ...
2298 (vars_of_device_mswindows): ... to here.
2300 * chartab.c (vars_of_chartab): New function.
2302 * symsinit.h: New function, vars_of_chartab.
2304 * emacs.c (main_1): Call it.
2306 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2307 (vars_of_mule_canna): ... to here.
2309 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2310 initializations out of syms_of_mule_ccl.
2312 * symsinit.h: Declare new function vars_of_mule_ccl.
2314 * emacs.c (main_1): Call it.
2316 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2318 * fns.c (base64_decode_1): Ignore whitespace.
2320 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2322 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2325 1999-05-21 Andy Piper <andy@xemacs.org>
2327 * xselect.c: deleted.
2329 * symsinit.h: declare select initialisation.
2331 * select.h: new file. declare commonly used select functions and
2334 * select.c: new file. generalised from xselect.c.
2335 (clean_local_selection_data): moved from xselect.c.
2336 (get_local_selection): ditto. device specific pieces called via a
2338 (handle_selection_clear): ditto.
2339 (Fown_selection_internal): renamed and generalised from
2340 Fx_own_selection_internal. moved from xselect.c.
2341 (Fdisown_selection_internal): ditto.
2342 (Fselection_owner_p): ditto.
2343 (Fselection_exists_p): ditto.
2344 (Fget_selection_internal): ditto.
2345 (syms_of_select): new function. QXXXX values moved from xselect.c
2346 (vars_of_select): new function. selection_converter_alist,
2347 lost_selection_hooks moved and renamed from xselect.c
2349 * select-x.c: renamed from xselect.c.
2350 (x_own_selection): converted to device specific. non-X-specific
2351 bits moved to select.c.
2352 (x_get_foreign_selection): ditto.
2353 (x_disown_selection): ditto.
2354 (x_selection_exists_p): ditto.
2355 (console_type_create_select_x): new function.
2357 * select-msw.c (mswindows_own_selection): new device method to set
2358 the clipboard when we 'own' the selection.
2359 (mswindows_get_foreign_selection): new device method to get the
2361 (mswindows_disown_selection): new device method to delete the
2362 selection when we 'disown' it.
2363 (console_type_create_select_mswindows): new function.
2365 * emacs.c (main_1): add select to things to initialise.
2367 * console.h (struct console_methods): new console methods for
2370 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2372 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2374 * print.c (long_to_string): Install a faster version.
2376 1999-05-16 Andy Piper <andy@xemacs.org>
2378 * ntproc.c (syms_of_ntproc): default
2379 win32-start-process-share-console to t.
2381 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2383 * config.h.in: Do it here.
2385 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2387 1999-05-14 Andy Piper <andy@xemacs.org>
2389 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2392 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2394 * XEmacs 21.2.14 is released
2396 1999-05-12 Andy Piper <andy@xemacs.org>
2398 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2400 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2402 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2403 run_temacs_argv array -- fixes random memory corruption crash
2405 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2407 * window.c (Fcurrent_window_configuration):
2408 Save minibuffer height;
2410 * window.c (set_window_configuration): use it.
2412 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2414 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2416 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2418 * redisplay.c (redisplay_window): Do not put data
2419 in the line start cache if it is not guaranteed to be correct
2421 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2423 * window.c (struct window_config): Removed frame
2425 (window_config_equal): No longer compare frame sizes.
2426 (Fset_window_configuration): Resize old top window to fit in the
2427 current frame directly, no longer use a fake frame resize.
2428 (Fcurrent_window_configuration): No longer save frame size
2430 1999-05-11 Andy Piper <andy@xemacs.org>
2432 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2435 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2437 * sysdep.c (init_system_name): If gethostname gives a proper
2438 domain name, don't look further for one.
2440 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2442 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2443 (Fintern_soft): Accept a symbol argument.
2445 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2447 * symbols.c (Fintern): ...do it here.
2449 * lread.c (read_atom): Don't handle keywords here.
2451 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2453 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2455 1999-05-03 Olivier Galibert <galibert@pobox.com>
2457 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2458 is interned in the main obarray.
2460 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2462 * menubar-x.c (pre_activate_callback): set accelerator field in
2463 "No menu" entries to nil. Avoid crash in
2464 command_builder_operate_menu_accelerator
2466 1999-05-03 Olivier Galibert <galibert@pobox.com>
2468 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2470 * lisp.h (DEFUN): Fix lrecord header initialisation.
2472 1999-05-02 Andy Piper <andy@xemacs.org>
2474 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2476 * ntproc.c (sys_kill): cast using MS mandated defines.
2478 1999-04-29 Andy Piper <andy@xemacs.org>
2480 * m/intel386.h: remove redundant definitions.
2482 * s/mingw32.h: new header for mingw32.
2484 * unexnt.c: (open_input_file): function moved to nt.c.
2485 (close_file_data): ditto.
2486 (rva_to_section): function moved to ntproc.
2488 * symsinit.h: declare syms_of_ntproc();
2490 * objects-msw.c (mswindows_font_instance_truename): new function.
2492 * ntproc.c: remove many warnings.
2493 (_sys_read_ahead): moved from nt.c and made static.
2494 (rva_to_section): moved from unexnt.c but not defined under
2496 (win32_executable_type): implement what we can for mingw32
2498 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2500 * ntheap.h: remove declarations of functions that are now static.
2502 * ntheap.c: support static heap.
2504 * nt.h: conditionalise X_OK definition.
2506 * nt.c: eliminate many warnings and support mingw32.
2507 (open_input_file): function moved from unexnt.c and made static
2508 (close_file_data): ditto.
2509 (_sys_read_ahead): moved to ntproc.c
2511 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2513 * console-msw.h: support mingw32.
2514 * getloadavg.c: ditto.
2521 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2522 some systems don't have all of the encapsulated system calls.
2524 * callproc.c: warning elimination.
2525 * dired-msw.c: ditto.
2526 * process-nt.c: ditto.
2527 * realpath.c: ditto.
2529 * Makefile.in.in: tweak : and ; for building under mswindows.
2531 1999-04-26 Michael Harnois <mharnois@willinet.net>
2533 * eldap.c (allocate_ldap): Adapt to the new semantics of
2534 alloc_lcrecord_type().
2536 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2538 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2540 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2542 * Delete mule-coding.c and mule-coding.h because they are not
2545 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2547 * objects.c (print_font_instance): Check for NILP(f->device),
2548 i.e. Vthe_null_font_instance.
2549 (font_instance_truename_internal): ditto.
2550 (Ffont_instance_properties): ditto.
2552 1999-04-22 Olivier Galibert <galibert@pobox.com>
2554 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2557 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2559 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2560 it easier to add new ones.
2562 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2564 * symbols.c (reject_constant_symbols): Ditto.
2565 (init_symbols_once_early): Ditto.
2567 * print.c (print_symbol): Don't use ->obarray.
2569 * symbols.c (Funintern): Ditto.
2571 * alloc.c (Fmake_symbol): Don't set ->obarray.
2573 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2575 * symbols.c (init_symbols_once_early): Removed
2576 Vpure_uninterned_symbol_table.
2577 (Fintern): Don't store to ->obarray field.
2579 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2581 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2582 (eq_with_ebola_notice): Remove abracadabra support.
2584 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2586 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2587 retrieve the distinguished names of entries
2589 1999-03-08 Martin Buchholz <martin@xemacs.org>
2591 * lread.c (read_escape): Make hex escapes read only two hex digits.
2593 1999-04-05 Olivier Galibert <galibert@pobox.com>
2595 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2596 * make-src-depend: Remove puresize-adjust.h.
2597 * src-headers: Remove puresize-adjust.h.
2598 * config.h.in: Kill everything purespace/gung-ho related.
2600 * dbxrc: Make gung-ho mandatory.
2603 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2604 c_readonly and lisp_readonly. Remove implementation arrays.
2605 (C_READONLY_RECORD_HEADER_P): Added.
2606 (LISP_READONLY_RECORD_HEADER_P): Added.
2607 (SET_C_READONLY_RECORD_HEADER): Added.
2608 (SET_LISP_READONLY_RECORD_HEADER): Added.
2610 * lisp.h: Kill everything purespace/non gung-ho related.
2611 (CHECK_C_WRITEABLE): Added.
2612 (CHECK_LISP_WRITEABLE): Added.
2613 (C_READONLY): Added.
2614 (LISP_READONLY): Added.
2616 * lisp-union.h: Make gung-ho mandatory.
2617 * lisp-disunion.h: Ditto.
2619 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2620 set_lheader_implementation calls.
2621 (c_readonly): Added.
2622 (lisp_readonly): Added.
2623 (make_string_nocopy): Added.
2624 (Fpurecopy): Changed to do nothing. Kept the old documentation
2625 for reference purposes for the next patches.
2626 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2627 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2628 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2630 * fns.c: Make gung-ho mandatory.
2631 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2633 (Ffillarray): Ditto.
2635 * data.c: Make gung-ho mandatory.
2636 (pure_write_error): Removed.
2637 (c_write_error): Added.
2638 (lisp_write_error): Added.
2639 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2643 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2644 make_string or make_string_nocopy. Fix various
2645 alloc_lcrecord_type.
2647 * lread.c: Remove everything purespace related.
2648 (Flocate_file_clear_hashing): purified -> c_readonly.
2649 (locate_file): Ditto.
2650 (read_atom): make_pure_pname -> make_string.
2652 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2654 (Fdump_emacs): Ditto.
2656 * print.c (print_internal): Make gung-ho mandatory.
2657 * ntheap.c (sbrk): Ditto.
2658 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2659 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2661 * sheap.c (more_static_core): Remove puresize-adjust.h from
2664 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2666 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2667 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2668 * events.c (deinitialize_event): Fix set_lheader_implementation.
2669 (zero_event): Ditto.
2670 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2671 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2672 * mule-charset.c (make_charset): Ditto.
2673 * console.c (allocate_console): Ditto.
2674 (complex_vars_of_console): Ditto.
2675 * file-coding.c (allocate_coding_system): Ditto.
2676 * device.c (allocate_device): Ditto
2677 * gui-x.c (gcpro_popup_callbacks): Ditto.
2678 * extents.c (allocate_extent_auxiliary): Ditto.
2679 (allocate_extent_info): Ditto.
2680 (copy_extent): Ditto.
2681 * glyphs.c (allocate_image_instance): Ditto.
2682 (allocate_glyph): Ditto.
2683 * frame.c (allocate_frame_core): Ditto.
2684 * database.c (allocate_database): Ditto.
2685 * tooltalk.c (make_tooltalk_message): Ditto.
2686 (make_tooltalk_pattern): Ditto.
2687 * rangetab.c (Fmake_range_table): Ditto.
2688 (Fcopy_range_table): Ditto.
2689 * process.c (make_process_internal): Ditto.
2690 * chartab.c (Fmake_char_table): Ditto.
2691 (make_char_table_entry): Ditto.
2692 (copy_char_table_entry): Ditto.
2693 (Fcopy_char_table): Ditto.
2694 * elhash.c (make_general_lisp_hash_table): Ditto.
2695 (Fcopy_hash_table): Ditto.
2696 * buffer.c (allocate_buffer): Ditto.
2697 (complex_vars_of_buffer): Ditto.
2698 * event-stream.c (allocate_command_builder): Ditto.
2699 * objects.c (Fmake_color_instance): Ditto.
2700 (Fmake_font_instance): Ditto.
2701 (vars_of_objects): Ditto.
2702 * toolbar.c (update_toolbar_button): Ditto.
2703 * window.c (allocate_window): Ditto.
2704 (make_dummy_parent): Ditto.
2705 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2706 (vars_of_window): Fix make_lcrecord_list.
2707 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2709 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2710 * opaque.c (make_opaque): Fix alloc_lrecord.
2711 (make_opaque_list): Fix alloc_lrecord_type.
2713 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2715 * process.c (Fstart_process_internal): Ditto.
2717 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2720 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2722 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2725 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2726 (emodules_load): Use it when calling locate_file().
2728 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2731 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2732 (vars_of_callproc): Initialize it.
2733 (Fcall_process_internal): Use it when calling locate_file().
2735 * alloc.c (disksave_object_finalization): Use
2736 Flocate_file_clear_hashing().
2738 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2739 given `t' as argument.
2741 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2743 * lread.c (locate_file): Expand `pathel' when appropriate.
2744 (Flocate_file_clear_hashing): Expand path elements.
2745 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2747 * dired.c (make_directory_hash_table): Create the hash-table only
2748 if the directory open is successful.
2750 * lread.c (decode_mode_1): New function.
2751 (decode_mode): Ditto.
2752 (Flocate_file): Use them.
2753 (Flocate_file): Expand FILENAME.
2754 (locate_file_map_suffixes): New function.
2755 (locate_file_in_directory_mapper): New function.
2756 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2757 and locate_file_map_suffixes().
2758 (locate_file_construct_suffixed_files): Use
2759 locate_file_map_suffixes().
2760 (locate_file_without_hash): Don't GCPRO path.
2761 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2762 (syms_of_lread): Remove Qlocate_file_hash_table.
2763 (locate_file_find_directory_hash_table): Use
2764 Vlocate_file_hash_table.
2765 (locate_file_refresh_hashing): Ditto.
2767 * lread.c: Renamed read_objects to Vread_objects.
2769 1999-04-16 Olivier Galibert <galibert@pobox.com>
2771 * mule-charset.c: Generally resync with fsf 20.3 charset
2773 (make_charset): Add long and short name. Use id instead of
2775 (Fmake_charset): Ditto.
2776 (Fmake_reverse_direction_charset): Ditto.
2777 (Fcharset_property): Ditto.
2778 (Fcharset_short_name): Added.
2779 (Fcharset_long_name): Added.
2780 (Fcharset_description): Renamed from charset-doc-string.
2781 (syms_of_mule_charset): Synced symbols.
2782 (complex_vars_of_mule_charset): Synced charsets.
2784 * mule-charset.h: Removed leading byte (uses id instead), added
2785 short and long name.
2787 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2789 * file-coding.c (Fdefine_coding_system_alias): New function.
2791 1999-04-08 Olivier Galibert <galibert@pobox.com>
2793 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2794 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2796 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2798 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2799 attach to the extent is valid.
2801 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2803 * dired.c (user_name_completion): Mule-ize.
2804 (user_name_completion): Use xmalloc/xrealloc/xfree.
2805 (user_name_completion): Use DO_REALLOC.
2806 (user_name_completion): Cut down the number of static variables;
2808 (user_name_completion): Username completion is always
2811 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2813 * fns.c (base64_decode_1): Remove COUNTER.
2814 (base64_decode_1): Accept CRLF in addition to CR.
2815 (base64_decode_1): Disallow a stray character after final EOF; the
2816 check was probably a remnant of buggy recode code.
2818 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2820 * fns.c (init_provide_once): Provide `base64'.
2822 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2824 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2825 (Fbase64_encode_region): If buffer is read-only, bail out early.
2826 (Fbase64_decode_region): Ditto.
2827 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2829 (Fbase64_encode_string): Ditto.
2830 (Fbase64_decode_region): Ditto.
2831 (Fbase64_decode_string): Ditto.
2833 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2835 * dired.c (Fdirectory_files): Remove redundant code.
2837 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2839 * frame-msw.c Make raise-frame restore minimised windows.
2841 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2843 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2846 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2848 * toolbar-msw.c Consider captions when deciding whether to rebuild
2849 toolbar. This fixes the initial toolbar display for those of us
2850 who don't like captions. These patches applied by Andy Piper.
2852 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2854 * XEmacs 21.2.13 is released
2856 1999-03-12 SL Baur <steve@xemacs.org>
2858 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2860 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2862 * file-coding.c: docstring and comment improvements.
2863 (decode_ucs4) flag possible data loss with comment.
2865 1999-03-10 Martin Buchholz <martin@xemacs.org>
2867 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2871 (decode_coding_ucs4):
2872 (encode_coding_ucs4):
2873 (detect_coding_utf8):
2874 (decode_coding_utf8):
2876 (encode_coding_utf8):
2877 Add CHECK_* macros where needed to avoid crashes.
2878 #ifdef out all composite character support using
2879 #ifdef ENABLE_COMPOSITE_CHARS
2880 Use normal XEmacs coding standards.
2882 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2884 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2886 * file-coding.c (make-coding-system): Add description about
2887 `ucs-4' and `utf-8'.
2888 (detection_state): Modify to implement ucs-4 and utf-8.
2889 (detect_coding_type): Likewise.
2890 (detect_coding_ucs4): New implementation.
2891 (detect_coding_utf8): New implementation.
2892 (encode_utf8): fixed.
2893 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2896 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2898 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2899 2022 registry to private area.
2901 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2903 * file-coding.c (encode_utf8): New function.
2904 (encode_coding_utf8): New implementation.
2906 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2908 * file-coding.c (ucs_to_mule_table): New variable; abolish
2909 `Vucs_to_mule_table'
2910 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2911 (set-ucs-char): New function.
2912 (ucs_to_char): New function.
2913 (ucs-char): New function.
2914 (set-char-ucs): New function.
2915 (char-ucs): New function.
2916 (decode_ucs4): Use `ucs_to_char'.
2917 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2918 `mule-to-ucs-table'.
2920 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2922 * chartab.h: EXFUN `Fget_char_table'.
2924 * file-coding.c (encode_ucs4): New function.
2925 (encode_coding_ucs4): Use `encode_ucs4'.
2927 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2929 * file-coding.c (decode_coding_ucs4): New implementation.
2931 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2933 * file-coding.c (decode_coding_ucs4): fixed.
2935 * file-coding.c (Vmule_to_ucs_table): New variable.
2936 (mule_char_to_ucs4): New function.
2937 (encode_coding_ucs4): New implementation.
2938 (complex_vars_of_mule_coding): Define variable
2939 `mule-to-ucs-table'.
2941 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2943 * file-coding.c (decode_coding_utf8): New implementation.
2945 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2947 * file-coding.c (decode_coding_utf8): fixed.
2949 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2951 * file-coding.c (Vucs_to_mule_table): New variable.
2952 (decode_ucs4): Refer `Vucs_to_mule_table'.
2953 (complex_vars_of_mule_coding): Define variable
2954 `ucs-to-mule-table'.
2956 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2958 * file-coding.c (detect_coding_ucs4): New function (not
2960 (decode_coding_ucs4): New function.
2961 (encode_coding_ucs4): New function (not implemented yet).
2962 (detect_coding_utf8): New function (not implemented yet).
2963 (decode_coding_utf8): New function.
2964 (encode_coding_utf8): New function (not implemented yet).
2965 (make-coding-system): New type `ucs4' and `utf8'.
2966 (coding-system-type): Likewise.
2967 (detection_state): Add `ucs4' and `utf8'.
2968 (detect_coding_type): Likewise.
2969 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2970 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2971 (decode_ucs4): New function (very incomplete).
2972 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2974 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2976 1999-03-08 Martin Buchholz <martin@xemacs.org>
2979 (non_ascii_valid_char_p):
2980 (lookup_composite_char):
2981 (composite_char_string):
2982 (make-composite-char):
2983 (composite-char-string):
2984 (syms_of_mule_charset):
2985 (complex_vars_of_mule_charset):
2986 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2987 (CHAR_LEADING_BYTE):
2989 * file-coding.h (CODING_STATE_COMPOSITE):
2990 (CODING_STATE_ISO2022_LOCK):
2992 (LEADING_BYTE_COMPOSITE):
2993 * file-coding.c (struct iso2022_decoder):
2996 (parse_iso2022_esc):
2997 (encode_coding_iso2022):
2998 #ifdef out all composite character support using
2999 #ifdef ENABLE_COMPOSITE_CHARS
3001 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
3003 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
3005 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
3006 way of `Fbase64_encode_region'.
3008 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
3010 * fns.c (base64_encode_1): Don't add a newline at the tail.
3012 1999-03-08 Andy Piper <andy@xemacs.org>
3014 * menubar-msw.c (displayable_menu_item): correct off-by-one &
3017 1999-03-07 Martin Buchholz <martin@xemacs.org>
3019 * console-stream.h (struct stream_console):
3020 * event-unixoid.c (event_stream_unixoid_select_console):
3021 (event_stream_unixoid_unselect_console):
3022 * print.c (Fexternal_debugging_output):
3023 * sysdep.c (reset_one_device):
3024 * console-stream.c (stream_init_console):
3025 (stream_delete_console):
3026 (allocate_stream_console_struct): move into stream_init_console.
3027 (free_stream_console_struct): move into stream_delete_console.
3028 Use `fd' only for file descriptors.
3029 Therefore, rename members of struct stream_console.
3031 * systime.h: Unix98 says sys/time.h should define select(), but
3032 some systems define that in unistd.h. So include that file always.
3034 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
3035 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
3036 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
3038 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
3042 Add #include <stdio.h>.
3043 Some versions of assert.h use printf() without #include'ing stdio.h
3045 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
3046 (log_gcpro): Remove unused variable FRAME.
3047 (show_gcprohist): Ansify.
3048 Comment the #endif's
3050 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
3051 after it's just been XtDestroy'ed!
3053 1999-02-18 Martin Buchholz <martin@xemacs.org>
3055 * opaque.c (print_opaque):
3059 Egcs 1.1.1 seems to have a bug where
3060 INTP (p->size_or_chain)
3061 will crash XEmacs. Fix by introducing intermediate variable.
3063 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
3065 * dired.c (Fdirectory_files):
3066 (Ffile_name_completion):
3067 (Ffile_name_all_completions):
3068 (file_name_completion):
3069 - Use `directory' instead of `dirname' to sync with FSF Emacs and
3070 avoid compiler warnings.
3071 - Fix up docstrings so that C variables match documentation.
3073 1999-03-05 Martin Buchholz <martin@xemacs.org>
3075 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
3076 variables as small as possible to help out the compiler and the maintainer.
3078 * alloc.c: (disksave_object_finalization):
3079 Set all the *-load-path variables to
3080 nil, not just load-path itself. This gets the locate-file hash
3081 tables garbage collected BEFORE dump, and has the side effect of
3082 preventing crashes on OSF4.0+egcs.
3087 - Clean up gdb/dbx debugging support.
3088 - Storing an EMACS_INT in an enum is not 64-bit clean!
3089 - So change the enum to a set of separate variables.
3090 - Add test cases to help debug the debugging support!
3091 - Add `lisp-shadows' and `run-temacs' targets for dbx.
3092 - Both dbx and gdb have been tested now.
3094 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3096 * XEmacs 21.2.12 is released
3098 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3100 * device-x.c: Support to find best visual without flashing.
3102 1999-03-02 Paul Keusemann <pkeusem@visi.com>
3104 * database.c (berkdb_map): Add flags argument to cursor call (must
3105 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
3107 1999-03-03 Martin Buchholz <martin@xemacs.org>
3111 General cleanup. Get free-hook.c working again.
3112 Remove unused functions:
3113 make_strings_hash_table, copy_hash, expand_hash_table.
3117 Always use new ANSI-style function prototypes.
3119 * unexalpha.c (unexec): Never use implicit int.
3121 * sgiplay.c (close_sound_file):
3123 (restore_audio_port):
3128 (write_mulaw_8_chunk):
3129 (write_linear_chunk):
3130 (write_linear_32_chunk):
3131 (initialize_audio_port):
3134 (set_output_format):
3135 (adjust_audio_volume):
3136 (get_current_volumes):
3138 Always use new ANSI-style function prototypes.
3139 Use unistd.h for missing prototypes.
3141 * unexelfsgi.c (round_up):
3143 (unexec): Always use new ANSI-style function prototypes
3145 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
3147 * console.h (struct console_methods): Always use full ANSI prototypes
3149 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
3151 1999-03-02 Andy Piper <andy@xemacs.org>
3153 * event-stream.c (init_event_stream): make sure native mswindows
3154 gets an appropriate event loop.
3156 1999-02-22 Andy Piper <andy@xemacs.org>
3158 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
3159 than SW_SHOWNORMAL to prevent resizing of maximised frames.
3160 (mswindows_raise_frame): remove comment.
3162 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
3164 * XEmacs 21.2.11 is released
3166 1999-02-25 SL Baur <steve@xemacs.org>
3168 * mule-charset.c (Qleading_byte): New variable to implement
3169 charset-leading-byte function.
3170 (Fcharset_property): Use it.
3171 (syms_of_mule_charset): Initialize it.
3172 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3174 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
3176 * glyphs-x.c (cononvert_EImage_to_XImage): correct
3177 bytes per pixel counting.
3179 1999-02-15 Andy Piper <andy@xemacs.org>
3181 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
3184 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3186 * fns.c (Fbase64_encode_string): New optional argument
3189 1999-02-16 Martin Buchholz <martin@xemacs.org>
3191 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3192 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3194 1999-02-10 Martin Buchholz <martin@xemacs.org>
3196 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3197 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3199 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3201 * XEmacs 21.2.10 is released
3203 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3205 * process-nt.c (nt_send_process):
3206 Fix for process-send-region/process-send-string breaking when size
3207 of the input > 128 chars: change maximum chunk size for process
3208 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3211 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3213 * XEmacs 21.2.9 is released
3215 1999-01-30 Martin Buchholz <martin@xemacs.org>
3217 * bytecode.c (funcall_compiled_function): Call
3218 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3220 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3221 #ifdef 0 out unused macro.
3223 1999-01-27 Martin Buchholz <martin@xemacs.org>
3225 * gui.c (gui_parse_item_keywords_internal): Make static.
3227 1999-01-21 Andy Piper <andy@xemacs.org>
3229 * glyphs-msw.c: add xface support.
3230 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3231 (image_instantiator_format_create_glyphs_mswindows): do device
3232 specific initialisation for xfaces.
3233 (xbm_create_bitmap_from_data): line data must be padded to a word
3236 * glyphs-x.c (xface_validate): moved to glyphs.c
3237 (xface_normalize): ditto.
3238 (xface_possible_dest_types): ditto.
3239 (image_instantiator_format_create_glyphs_x): do device specific
3240 initialisation for xfaces.
3242 * glyphs.h: declare xface symbol.
3244 * glyphs.c: move generic xface support here.
3245 (xface_validate): moved from glyphs-x.c
3246 (xface_normalize): ditto.
3247 (xface_possible_dest_types): ditto.
3248 (image_instantiator_format_create): xface declarations moved from
3251 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3253 * event-stream.c (vars_of_event_stream): Fixing documentation.
3255 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3257 * glyphs-eimage.c (gif_instantiate): Correct handling of
3258 interlaced gifs to avoid writing past the end of the eimage
3261 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3263 * search.c (Freplace_match): Handle single backslash at end of
3266 1999-01-12 William M. Perry <wmperry@aventail.com>
3268 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3269 avoid connection errors.
3271 1999-01-12 Andy Piper <andy@xemacs.org>
3273 * redisplay-output.c (redisplay_update_line): backout change that
3274 shouldn't have gone ine.
3276 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3278 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3279 collide with ldap.el
3281 1999-01-11 Andy Piper <andy@xemacs.org>
3283 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3284 (DISPLAY_LINE_YPOS): new macro.
3286 * redisplay-msw.c (mswindows_output_string): use it.
3287 (mswindows_output_pixmap): ditto.
3288 (mswindows_output_display_block): ditto.
3290 * redisplay-output.c (redisplay_output_display_block): new
3291 function. just call the devmeth, maybe insert some generic code
3293 (compare_display_blocks): use it.
3294 (output_display_line): ditto.
3295 (redisplay_unmap_subwindows_maybe): new function. potentially
3296 unmap subwindows in the given area.
3298 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3301 1999-01-10 J. Kean Johnston <jkj@sco.com>
3303 * Makefile.in.in: Set value of moduledir
3304 - Changed DUMPENV to include $(MODULEPATH)
3305 - Added install rule to install header files for use by ellcc.
3307 * config.h.in: Added INHIBIT_SITE_MODULES
3308 - Added HAVE__DLERROR
3309 - Added HAVE_DLFCN_H
3310 - Added DLSYM_NEEDS_UNDERSCORE
3314 * emodules.c: New file containing dynamic loading code.
3316 * emodules.h: New file.
3318 * emacs.c: Added variables Vmodule_directory,
3319 Vsite_module_directory, Vconfigure_module_directory and
3320 Vconfigure_site_module_directory.
3321 - (main_1): Added new variable inhibit_site_modules and command
3322 line options `-no-site-modules' and `--no-site-modules'.
3323 - (main_1): Call syms_of_module() instead of syms_of_dll().
3324 - (main_1): Call vars_of_module().
3325 - (vars_of_emacs): Introduce inhibit-site-modules,
3326 module-directory, configure-module-directory,
3327 site-module-directory, and configure-site-module-directory to the
3330 * lisp.h: Declare load_module and list_modules, as well as
3331 Vmodule_directory, Vsite_module_directory,
3332 Vconfigure_module_directory and Vconfigure_site_module_directory.
3334 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3335 - Added correct support for site-lisp directory.
3337 * symbols.c (defsubr): Modified to allow modules to add new subrs
3339 - (defsubr_macro): Same.
3340 - (defvar_magick): Only use purespace when not initialized, so
3341 that loaded modules can still add symbols.
3343 * symsinit.h: Add definitions for syms_of_module(),
3344 vars_of_module(). Removed syms_of_dll().
3346 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3347 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3348 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3350 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3351 explicitly pass -belf for native cc.
3353 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3354 hard-coding the library name.
3356 1999-01-01 <martin@xemacs.org>
3358 * device-x.c (Fx_set_font_path):
3359 Add proper cast to permit compilation under C++.
3361 * buffer.c (directory_is_current_directory):
3362 Add proper casts to permit compilation under C++.
3364 1998-12-30 Damon Lipparelli <lipp@primus.com>
3366 * event-msw.c (mswindows_wnd_proc):
3367 Fixed failure when building with MSVC 5.
3369 1998-12-29 Martin Buchholz <martin@xemacs.org>
3371 * file-coding.c (decode_coding_iso2022):
3372 - Prevent crash when decoding ISO7/Lock detected files
3373 - the usual martin fiddling
3375 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3379 Fixed failures when building with MSVC.
3380 * unexnt.c (dump_bss_and_heap):
3381 Removed compiler warning by removing bss_data variable.
3383 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3385 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3386 so that packages that distribute their own fonts can access them.
3388 1998-12-28 Andy Piper <andy@xemacs.org>
3390 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3391 that have an image provided.
3393 * glyphs.h: add Q_image decl.
3395 * glyphs-widget.c new functionality allowing images in
3397 (check_valid_glyph_or_image): new function to validate
3398 glyphs passed in through :image.
3399 (widget_normalize): new function. convert :image parameters into
3400 real glyphs if not already so.
3401 (widget_instantiate_1): mess with size parameters to be similar to
3403 (syms_of_glyphs_widget): new keyword :image.
3404 (image_instantiator_format_create_glyphs_widget): normalize
3405 buttons and allow :image.
3407 1998-12-27 Andy Piper <andy@xemacs.org>
3409 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3411 * glyphs-widget.c (check_valid_anything): no-op function.
3412 (check_valid_callback): check callbacks in gui_items.
3413 (check_valid_symbol): as it sounds.
3414 (check_valid_string_or_vector): ditto.
3415 (widget_validate): modified for descriptors that are vectors or
3416 sequences of keyword/val pairs.
3417 (widget_instantiate_1): ditto.
3418 (image_instantiator_format_create_glyphs_widget): allow gui_item
3419 keywords in the instantiator.
3421 * gui.c (gui_parse_item_keywords_internal): renamed from
3422 gui_parse_item_keywords but taking error behaviour.
3423 (gui_parse_item_keywords): use it.
3424 (gui_parse_item_keywords_no_errors): ditto.
3425 (gui_item_add_keyval_pair): add Error_behavior flag and only
3426 signal invalid keywords if required.
3428 * gui.h: new gui signatures.
3430 * menubar.c (menu_parse_submenu_keywords): use new
3431 gui_item_add_keyval_pair signature.
3433 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3435 1998-12-28 Martin Buchholz <martin@xemacs.org>
3437 * XEmacs 21.2.8 is released.
3439 1998-12-28 Martin Buchholz <martin@xemacs.org>
3441 * editfns.c (get_home_directory):
3442 (user-home-directory): Simplify.
3445 * callproc.c (child_setup):
3446 - Environment variables were being passed to inferior processes
3447 using internal encoding.
3448 - Convert to external encoding.
3449 - Rename local var `tem' to better name `tail'.
3450 - Use Flength instead of `manual' calculation.
3452 * buffer.c (kill-buffer):
3454 (set-buffer-major-mode):
3456 - Fix up parameter names to correspond to docstrings.
3457 - Don't use `bufname' when a buffer will do as well.
3458 - Remove one unneeded GCPRO.
3460 * buffer.h (initial_directory):
3461 * buffer.c (init_initial_directory):
3462 - use correct conversions between internal and external format.
3463 (directory_is_current_directory): new function
3464 (init_buffer): convert initial_directory to internal format.
3465 - solve crashes when current working directory is non-ASCII.
3467 * alloc.c (xmalloc):
3470 - remove stupid casts, since XEmacs requires an ANSI C system.
3471 (lrecord_type_index): replace abort() with more readable assert().
3473 (reset_lcrecord_stats): remove.
3474 (sweep_lcrecords_1):
3475 - replace call to reset_lcrecord_stats() with call to xzero().
3477 1998-12-27 Martin Buchholz <martin@xemacs.org>
3479 * process-unix.c (unix_create_process):
3480 - Fix crash invoking program with non-ASCII name.
3481 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3482 - Remove unused variable `env'.
3483 - Rename `temp' to better name `save_errno'.
3484 - Reorganize code for clarity. But still too chicken to nuke the
3487 1998-12-24 Martin Buchholz <martin@xemacs.org>
3489 * XEmacs 21.2.7 is released.
3491 1998-12-23 Martin Buchholz <martin@xemacs.org>
3493 * glyphs.c (decode_device_ii_format):
3495 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3497 * glyphs-x.c (x_subwindow_instantiate):
3498 - A image instance mask was being assigned to a image instance type!
3499 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3501 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3503 * glyphs-x.h: Make indentation consistent.
3505 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3507 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3509 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3513 Move declarations of decode_device_ii_format and
3514 decode_image_instantiator_format into glyphs.h where they belong.
3516 1998-12-22 Martin Buchholz <martin@xemacs.org>
3518 * frame-x.c (x_delete_frame): Revert part of my changes at the
3519 suggestion of Gunnar Evermann - unfortunately no one really
3520 understands this code.
3522 * callproc.c (init_callproc): code cleanup.
3524 * free-hook.c (malloc):
3529 (block_input_malloc):
3530 (block_input_realloc):
3531 * device-x.c (x_delete_device):
3532 * emacs.c (voodoo_free_hook):
3533 * events.c (print_event):
3535 (CHECK_EVENT_TYPE2):
3536 (CHECK_EVENT_TYPE3):
3537 Use proper prototypes.
3538 Make C_E_T macros a little faster.
3539 Pedantic fiddly little changes. You really don't care.
3541 1998-12-22 Andy Piper <andy@xemacs.org>
3543 * redisplay-output.c (redisplay_clear_region): make sure that
3544 fg/bg colors get set even when we are in the border area.
3546 1998-12-13 Martin Buchholz <martin@xemacs.org>
3548 * console-msw.c: Function definitions follow coding standards
3549 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3551 1998-12-11 Martin Buchholz <martin@xemacs.org>
3553 * events.h (struct timeout_data):
3554 * event-tty.c (tty_timeout_to_emacs_event):
3555 * event-msw.c (mswindows_wm_timer_callback):
3556 * event-Xt.c (Xt_timeout_to_emacs_event):
3557 * event-msw.c (mswindows_cancel_dispatch_event):
3558 Make sure Lisp_Objects inside events are initialized to Qnil, not
3559 Qnull_pointer, which is now illegal.
3561 1998-12-10 Martin Buchholz <martin@xemacs.org>
3563 * lisp.h: Fix up prototypes to match alloc.c
3565 1998-12-08 Martin Buchholz <martin@xemacs.org>
3567 * windowsnt.h: Remove `support' for using index and rindex
3569 * filelock.c (current_lock_owner):
3570 - Change uses of index -> strchr, rindex -> strrchr
3572 1998-12-07 Martin Buchholz <martin@xemacs.org>
3574 * sysdep.c (set_descriptor_non_blocking):
3575 Since O_NONBLOCK is now always #defined, make use of fcntl
3576 conditional on F_SETFL being defined.
3578 * console-msw.c (DHEADgER):
3587 - max_align_t should not be visible to the user of the
3589 - use Bufbyte instead of char
3590 - parens around (FOOP (obj)) are always redundant.
3591 If they were necessary, we should fix the macro instead.
3592 - Always use string_data(foo) instead of foo->data.
3595 1998-12-06 Martin Buchholz <martin@xemacs.org>
3597 * frame-msw.c (mswindows_init_frame_1):
3598 - use make_lisp_hash_table, not Fmake_hash_table
3602 * alloc.c (make_vector): remove travesty
3606 (make_bit_vector_internal):
3608 (make_bit_vector_from_byte_vector):
3610 - make vector_equal a little faster.
3611 - Don't use variable name `new'.
3612 - Use size_t instead of EMACS_INT.
3613 - usual Martin-style pointless bit-twiddling.
3619 Make mapcar faster. In particular, make
3620 (mapc #'identity long-string)
3621 MUCH faster under Mule.
3622 * tests/automated/lisp-tests.el: Test 'em!
3624 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3627 1998-12-01 Martin Buchholz <martin@xemacs.org>
3629 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3630 Qnil, not NULL, to initialize `null' Lisp_Objects.
3632 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3634 * specifier.c (display_table_validate): Update.
3636 * redisplay.c (create_text_block): Use them.
3638 * glyphs.c (display_table_entry): New function.
3639 (get_display_tables): Ditto.
3641 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3643 * eldap.c (toplevel): Mention that eldap.c compiles with
3645 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3646 (Fldap_search_internal): Ditto
3648 1998-12-11 Martin Buchholz <martin@xemacs.org>
3650 * event-msw.c (mswindows_cancel_dispatch_event):
3651 Gratuitous code prettification
3654 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3656 * fns.c (Fnconc): Fix use of wrong_type_argument().
3658 * floatfns.c (Ffloat): Fix docstring.
3659 (Ffloat): Fix use of wrong_type_argument().
3661 (extract_float): Ditto.
3666 1998-12-06 Martin Buchholz <martin@xemacs.org>
3668 * frame-msw.c (mswindows_init_frame_1):
3669 - use make_lisp_hash_table, not Fmake_hash_table
3673 * alloc.c (make_vector): remove travesty
3677 (make_bit_vector_internal):
3679 (make_bit_vector_from_byte_vector):
3681 - make vector_equal a little faster.
3682 - Don't use variable name `new'.
3683 - Use size_t instead of EMACS_INT.
3684 - usual Martin-style pointless bit-twiddling.
3690 Make mapcar faster. In particular, make
3691 (mapc #'identity long-string)
3692 MUCH faster under Mule.
3693 * tests/automated/lisp-tests.el: Test 'em!
3695 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3698 1998-12-02 Didier Verna <verna@inf.enst.fr>
3700 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3701 accelerator field to nil for labels.
3703 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3705 * menubar-msw.c (displayable_menu_item):
3706 Escape occurrences of '&' and support occurrences of the
3707 '%_' accelerator indicator in menus.
3709 1998-11-26 Didier Verna <verna@inf.enst.fr>
3711 * dired.c (Fdirectory_files): use make_string instead of
3712 make_ext_string on the filename. The conversion external->internal
3713 format is already done in sys_readdir.
3715 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3717 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3719 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3722 (Belatedly) added Kirill to list of file's authors.
3723 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3724 quit checking. WM_PAINT messages cause redisplay, but
3725 windows' states are not necessarily stable when this function
3728 1998-12-17 Andy Piper <andy@xemacs.org>
3730 * strftime.c (zone_name): CONSTify.
3732 1998-12-15 Andy Piper <andy@xemacs.org>
3734 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3735 (mswindows_widget_property): return Qunbound when no property available.
3736 (mswindows_button_property): ditto.
3737 (mswindows_combo_property): ditto.
3738 (mswindows_widget_set_property): ditto.
3740 * glyphs-widget.c (check_valid_item_list): use properties.
3742 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3744 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3745 (Fimage_instance_property): ditto.
3746 * glyphs-widget.c (widget_property): ditto.
3747 (widget_set_property): ditto.
3749 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3750 as setting the class cursor so that GC actually changes the
3753 * config.h: don't undef MAIL_USE_POP.
3755 1998-12-13 Andy Piper <andy@xemacs.org>
3758 (image_instantiator_format_create_glyphs_mswindows): line ->
3760 (mswindows_label_instantiate): ditto. Play with window flags.
3761 (image_instantiator_format_create_glyphs_mswindows): ditto.
3762 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3764 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3765 cope with lines and labels.
3766 (static_instantiate): use widget_instantiate_1.
3768 (image_instantiator_format_create_glyphs_widget): ditto.
3770 1998-12-10 Andy Piper <andy@xemacs.org>
3772 * Makefile.in.in (objs): add gui.o
3774 1998-12-10 Andy Piper <andy@xemacs.org>
3776 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3779 1998-12-09 Andy Piper <andy@xemacs.org>
3781 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3782 image instance is removed so that the subwindow cache gets reset
3783 and thus destroyed images get GC'd.
3785 1998-12-08 Andy Piper <andy@xemacs.org>
3787 * gui-msw.c (mswindows_handle_gui_wm_command): call
3788 MARK_SUBWINDOWS_CHANGED.
3790 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3791 subwindows really get deleted.
3793 * redisplay.c: new variable subwindows_changed[_set].
3794 (redisplay_window): use it.
3795 (redisplay_frame): ditto.
3796 (redisplay_device): ditto.
3797 (redisplay_without_hooks): ditto.
3799 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3800 subwindows redisplay as per glyphs equivalent.
3801 * redisplay.h: ditto.
3802 (MARK_SUBWINDOWS_CHANGED): ditto.
3803 (RESET_CHANGED_SET_FLAGS): ditto.
3804 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3806 1998-12-07 Andy Piper <andy@xemacs.org>
3808 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3811 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3813 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3814 messages and paint widget glyphs as appropriate with their face fg
3817 1998-12-06 Andy Piper <andy@xemacs.org>
3819 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3820 here rather than in glyphs-widget - do this because we only want
3821 to provide what is really available.
3823 * glyphs.c (Fimage_instance_property): new function to get the
3824 properties of image instances. wires through to console specific
3825 methods and then to widget specific methods.
3826 (Fset_image_instance_property): ditto but for setting widget properties.
3827 (check_valid_face): make extern so that it can be used elsewhere.
3829 * glyphs-widget.c (widget_property): new function. gets the
3830 properties of widgets in general and wires the function through to
3831 widget specific ones.
3832 (widget_set_property): ditto but for setting widget properties.
3834 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3835 add items to the list. Play with window styles a bit to get the
3837 (mswindows_widget_property): break out specific widget properties.
3838 (mswindows_button_property): new function. gets the checked state
3840 (mswindows_combo_property): new function. gets the current
3841 selection in the combo box.
3842 (mswindows_widget_set_property): new function. sets specific
3843 properties of specific widgets.
3845 * glyphs-widget.c (check_valid_item_list): new function. check
3846 that items for a combo-box are just a list of strings.
3847 (combo_validate): new function. check there is an item list.
3848 (widget_instantiate_1): new function. renamed from
3849 widget_instantiate so that we can do slightly different things for
3851 (widget_instantiate): call widget_instantiate_1.
3852 (combo_instantiate): new function to instantiate combo boxes,
3853 defaults height to the pixel height of the number of items in the
3855 (syms_of_glyphs_widget): move widget keywords here.
3856 (image_instantiator_format_create_glyphs_widget): use new combo
3859 1998-12-04 Andy Piper <andy@xemacs.org>
3861 * event-msw.c (mswindows_wnd_proc): mule-ize.
3863 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3865 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3866 (resource_name_to_resource): ditto.
3867 (mswindows_resource_instantiate): ditto.
3868 (mswindows_widget_instantiate): ditto.
3869 (mswindows_widget_set_property): ditto.
3871 * redisplay-output.c (redisplay_output_subwindow): don't show
3872 subwindows if they are obscured at the edge of the frame, emacs
3873 gets into some sort of redisplay loop otherwise.
3875 * gui.h: prototype gui_item_selected_p.
3877 * gui.c (gui_item_selected_p): new function to determine the
3878 selected state of a gui_item.
3880 * frame.h (struct frame): add subwindows_changed flag.
3882 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3884 * glyphs.c (update_subwindow): new function to update a
3886 (update_frame_subwindows): new function to update all the
3887 subwindows on a frame.
3889 * console.h (struct console_methods): add update_subwindow.
3891 * glyphs-msw.c (mswindows_widget_property): return selected state
3892 for selected property.
3893 (mswindows_update_subwindow): new function. updates widget glyphs
3894 in redisplay as per menubars or toolbars e.g. selected state.
3895 (console_type_create_glyphs_mswindows): add update_subwindow.
3897 1998-12-03 Andy Piper <andy@xemacs.org>
3899 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3900 tty coding system things are such.
3902 * glyphs-widget.c (widget_face_font_info): new function for
3903 pulling out height and width metrics for a widget's face.
3904 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3907 * event-msw.c (mswindows_drain_windows_queue): translate messages
3908 that are destined for subwindows. This makes edit fields interact
3909 with the keyboard correctly.
3910 nuke warnings by #ifndef'ing out stuff not required by msg select().
3912 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3913 macro defining the iiforma without the symbol required by widget.
3914 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3916 * general.c (syms_of_general): add Qwidget, Qselected.
3918 * faces.c (complex_vars_of_faces): add widget face inheriting from
3921 1998-11-09 Andy Piper <andy@xemacs.org>
3923 * window.h (struct window): add a cache of subwindows on a
3926 * window.c (mark_window): mark the subwindow_instance_cache.
3927 (allocate_window): initialise the subwindow instance_cache.
3929 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3930 instead of the devmeth.
3931 (x_clear_toolbar): ditto.
3933 * redisplay-x.c (x_output_display_block): call
3934 redisplay_output_subwindow for subwindows and widgets.
3936 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3937 types to do nothing for.
3939 * lisp.h: declare new widget/subwindow symbols.
3941 * glyphs.c (image_instantiate): cache subwindows on a per-window
3943 (subwindow_possible_dest_types): new function for subwindow dest
3945 (subwindow_instantiate): generic instantiation of a
3946 subwindow. specialised by device multi-methods.
3947 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3949 (Fimage_instance_subwindow_id): ditto.
3950 (Fresize_subwindow): ditto.
3951 (Fforce_subwindow_map): ditto.
3953 * glyphs-x.c (x_print_image_instance): remove subwindow
3954 stuff. Handled genrically in glyphs.c.
3955 (x_image_instance_equal): ditto.
3956 (x_image_instance_hash): ditto.
3957 (x_finalize_image_instance): delete subwindows when required.
3958 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3959 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3960 glyph-based, subwindow implementation.
3961 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3963 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3965 (x_unmap_subwindow): new function to unmap X subwindows.
3966 (x_map_subwindow): new function to map X subwindows.
3967 (x_subwindow_instantiate): new function to instantiate X
3969 (x_resize_subwindow): new function to resize X subwindows.
3970 (console_type_create_glyphs_x): add subwindow functions.
3971 (image_instantiator_format_create_glyphs_x): add device
3972 multi-methods for xpm, xbm and subwindow.
3974 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3975 (subwindow-width): ditto.
3976 (subwindow-height): ditto.
3978 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3979 generally instantiating ms subwindows. Used by
3980 mswindows_*_instantiate.
3981 (mswindows_edit_instantiate): instantiate an edit field on a
3984 1998-11-04 Andy Piper <andy@xemacs.org>
3986 * symsinit.h: declare new functions.
3988 * redisplay.h: declare new functions.
3990 * redisplay-x.c (x_output_display_block): call
3991 redisplay_clear_region rather than x_clear_region.
3992 (x_output_string): ditto.
3993 (x_output_pixmap): ditto.
3994 (x_clear_to_window_end): ditto.
3995 (x_output_eol_cursor): ditto.
3996 (x_clear_region): only do X specific things. other duties handled
3997 in redisplay_clear_region.
3999 * redisplay-tty.c (tty_clear_region): do tty specific things - some
4000 duties moved to redisplay_clear_region.
4002 * redisplay-output.c (clear_left_border): use
4003 redisplay_clear_region instead of device method.
4004 (clear_right_border): ditto.
4005 (output_display_line): ditto.
4006 (redisplay_output_subwindow): ditto.
4007 (redisplay_clear_top_of_window): ditto.
4008 (redisplay_clear_region): perform duties previously handled by
4009 device methods. call the appropriate device method at the
4010 end. unmap subwindows if necessary.
4012 * redisplay-msw.c (mswindows_output_string): use
4013 redisplay_clear_region instead of mswindows_clear_region.
4014 (mswindows_clear_to_window_end): ditto.
4015 (mswindows_output_display_block): output subwindows when required.
4016 (mswindows_clear_region): only do mswindows specific things,
4017 everything else is now handled in redisplay_clear_region.
4019 * gui.h: add item id hash defines and declare function prototypes.
4021 * gui.c (mark_gui_item): new function for marking gui_items.
4022 (gui_item_hash): generic hash function for generating command ids
4025 * gui-msw.c: new file.
4026 (mswindows_handle_gui_wm_command): new function to handle widget
4029 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
4031 (IIFORMAT_HAS_SHARED_METHOD): ditto.
4032 (DEFINE_DEVICE_IIFORMAT): ditto.
4033 (INITIALIZE_DEVICE_IIFORMAT): ditto.
4034 (struct Lisp_Image_Instance): add widget and subwindow data plus
4035 appropriate access functions.
4037 * glyphs.c (decode_device_ii_format): new function for decoding
4038 image instantiator functions based on a device type as well as an
4040 (decode_image_instantiator_format): just call
4041 decode_device_ii_format with nil device.
4042 (add_entry_to_device_ii_format_list): new function for per device
4044 (add_entry_to_image_instantiator_format_list): just call
4045 add_entry_to_device_ii_format_list with nil device.
4046 (check_valid_vector): new function.
4047 (instantiate_image_instantiator): instantiate using per-format
4048 method and then per-format-per-device method (device
4049 multi-methods). signal an error if neither is possible.
4050 (mark_image_instance): cope with subwindows and widgets.
4051 (print_image_instance): ditto.
4052 (image_instance_equal): ditto.
4053 (image_instance_hash): ditto.
4054 (allocate_glyph): ditto.
4055 (glyph_width): ditto.
4056 (glyph_height_internal): ditto.
4057 (xpm_instantiate): removed because of device multi-methods.
4058 (mark_subwindow_cachels): new cachel functions for caching
4059 instantiated subwindows on a per-frame basis. mostly copied from
4060 glyph cachel functions.
4061 (update_subwindow_cachel_data): ditto.
4062 (add_subwindow_cachel): ditto.
4063 (get_subwindow_cachel_index): ditto.
4064 (reset_subwindow_cachels): ditto.
4065 (mark_subwindow_cachels_as_not_updated): ditto.
4066 (unmap_subwindow): generic unmapping of subwindows based on cachel
4068 (map_subwindow): ditto.
4069 (initialize_subwindow_image_instance): generic initialisation of
4071 (syms_of_glyphs): add widget keywords.
4073 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
4076 1998-11-04 Andy Piper <andy@xemacs.org>
4078 * glyphs-widget.c: new file for instantiating widget type glyphs.
4079 (widget_possible_dest_types): new general dest type function for
4081 (widget_validate): ditto.
4082 (initialize_widget_image_instance): ditto
4083 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
4084 before handing on control to device multi-methods.
4085 (syms_of_glyphs_widget): new function.
4086 (image_instantiator_format_create_glyphs_widget): new function,
4087 added placeholders for button, edit, combo, scrollbar
4088 (vars_of_glyphs_widget): new function.
4090 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
4091 storing window ids of widgets.
4093 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
4094 deletion of widget and subwindow glyphs.
4095 (mswindows_unmap_subwindow): new device function for unmapping
4096 subwindows on a msw frame.
4097 (mswindows_map_subwindow): ditto.
4098 (mswindows_register_image_instance): register instantiated widgets
4099 with the widget hastable.
4100 (mswindows_button_instantiate): instantiate a button type widget
4102 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
4104 (image_instantiator_format_create_glyphs_mswindows): add device
4105 multi-methods for xbm, xpm, subwindow, edit and button.
4107 * frame.h (struct frame): add subwindow_cachels dynarr for caching
4108 information about subwindows visible on the current frame. used by
4109 redisplay_clear_region to unmap subwindows as required.
4111 * frame.c (mark_frame): mark subwindow_cachels.
4112 (allocate_frame_core): instantiate subwindow_cachels.
4114 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
4117 * event-msw.c (mswindows_wnd_proc): add call to
4118 mswindows_handle_gui_wm_command to handle widget callbacks.
4120 * emacs.c (main_1): add calls to glyphs-widget initialisation
4123 * console.h (struct console_methods): add
4124 unmap/map_subwindow_method for use be redisplay_clear_region to
4125 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
4126 with by image instantiator multi-methods. Add
4127 resize_subwindow_method.
4129 * console-stream.c (stream_clear_region): change signature to
4130 match new generic clear region function.
4132 * Makefile.in.in: add glyphs-widget.o to list of objects.
4134 * console-msw.h (struct mswindows_frame): add widget hashtable for
4135 wiring command ids to callbacks.
4137 1998-12-16 Andy Piper <andy@xemacs.org>
4139 * XEmacs 21.2.6 is released
4141 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
4143 * md5.c (Fmd5): Correctly initiate string input stream.
4145 * Makefile.in.in (tests): Add md5-tests.el.
4147 1998-12-06 Martin Buchholz <martin@xemacs.org>
4150 * alloc.c (make_vector): remove travesty
4154 (make_bit_vector_internal):
4156 (make_bit_vector_from_byte_vector):
4158 - make vector_equal a little faster.
4159 - Don't use variable name `new'.
4160 - Use size_t instead of EMACS_INT.
4161 - usual Martin-style pointless bit-twiddling.
4167 Make mapcar faster. In particular, make
4168 (mapc #'identity long-string)
4169 MUCH faster under Mule.
4170 * tests/automated/lisp-tests.el: Test 'em!
4172 1998-12-06 Martin Buchholz <martin@xemacs.org>
4174 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4177 1998-12-13 Martin Buchholz <martin@xemacs.org>
4179 * console-msw.c: Function definitions follow coding standards
4180 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4182 1998-12-11 Martin Buchholz <martin@xemacs.org>
4184 * events.h (struct timeout_data):
4185 * event-tty.c (tty_timeout_to_emacs_event):
4186 * event-msw.c (mswindows_wm_timer_callback):
4187 * event-Xt.c (Xt_timeout_to_emacs_event):
4188 * event-msw.c (mswindows_cancel_dispatch_event):
4189 Make sure Lisp_Objects inside events are initialized to Qnil, not
4190 Qnull_pointer, which is now illegal.
4192 1998-12-10 Martin Buchholz <martin@xemacs.org>
4194 * lisp.h: Fix up prototypes to match alloc.c
4196 1998-12-09 Andy Piper <andy@xemacs.org>
4198 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4199 XSETINT for assigning lisp objects.
4201 1998-12-07 Martin Buchholz <martin@xemacs.org>
4204 * console-msw.c (DHEADER):
4213 - max_align_t should not be visible to the user of the
4215 - use Bufbyte instead of char
4216 - parens around (FOOP (obj)) are always redundant.
4217 If they were necessary, we should fix the macro instead.
4218 - Always use string_data(foo) instead of foo->data.
4220 1998-12-07 Martin Buchholz <martin@xemacs.org>
4222 * sysdep.c (set_descriptor_non_blocking):
4223 Since O_NONBLOCK is now always #defined, make use of fcntl
4224 conditional on F_SETFL being defined.
4226 1998-12-09 Andy Piper <andy@xemacs.org>
4228 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4229 that got removed in the merge
4231 1998-11-30 Greg Klanderman <greg@alphatech.com>
4233 * dired.c (vars_of_dired): bugfix for previous conditionalization
4234 of user-name-completion on non- Windows NT.
4236 1998-12-08 Martin Buchholz <martin@xemacs.org>
4238 * windowsnt.h: Remove `support' for using index and rindex
4240 * filelock.c (current_lock_owner):
4241 - Change uses of index -> strchr, rindex -> strrchr
4243 1998-12-06 Martin Buchholz <martin@xemacs.org>
4245 * frame-msw.c (mswindows_init_frame_1):
4246 - use make_lisp_hash_table, not Fmake_hash_table
4249 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4251 * XEmacs 21.2.5 is released
4253 1998-11-30 Martin Buchholz <martin@xemacs.org>
4255 * xselect.c (receive_incremental_selection):
4256 * xselect.c (x_get_window_property):
4257 * xmu.c (XmuReadBitmapDataFromFile):
4258 * xmu.c (XmuCursorNameToIndex):
4259 * xgccache.c (describe_gc_cache):
4260 * xgccache.c (gc_cache_lookup):
4261 * xgccache.c (free_gc_cache):
4262 * xgccache.c (make_gc_cache):
4264 * window.c (map_windows_1):
4265 * window.c (Fother_window_for_scrolling):
4266 * window.c (window_scroll):
4267 * window.c (change_window_height):
4268 * window.c (Fsplit_window):
4269 * window.c (window_left_gutter_width):
4270 * window.c (window_modeline_height):
4271 * window.c (invalidate_vertical_divider_cache_in_window):
4272 * window.c (window_needs_vertical_divider_1):
4273 * window.c (update_mirror_internal):
4274 * window.c (SET_LAST_FACECHANGE):
4275 * widget.c (Fwidget_plist_member):
4276 * unexec.c (copy_text_and_data):
4277 * unexcw.c (copy_executable_and_dump_data_section):
4279 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4280 * tooltalk.c (struct Lisp_Tooltalk_Message):
4281 * toolbar.h (struct toolbar_button):
4282 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4283 * toolbar.c (recompute_overlaying_specifier):
4284 * toolbar.c (toolbar_validate):
4285 * toolbar.c (toolbar_button_at_pixpos):
4286 * toolbar.c (get_toolbar_coords):
4287 * toolbar.c (update_frame_toolbars):
4289 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4290 * toolbar-msw.c (mswindows_find_toolbar_pos):
4291 * toolbar-msw.c (mswindows_output_toolbar):
4292 * toolbar-msw.c (mswindows_clear_toolbar):
4301 * sysdep.c (sys_fopen):
4302 * sysdep.c (sys_open):
4303 * sysdep.c (tty_init_sys_modes_on_device):
4304 * sysdep.c (get_eof_char):
4305 * sysdep.c (child_setup_tty):
4306 * sysdep.c (set_descriptor_non_blocking):
4308 * syntax.c (scan_words):
4311 * symeval.h (struct symbol_value_varalias):
4312 * symeval.h (struct symbol_value_forward):
4313 * symbols.c (syms_of_symbols):
4314 * symbols.c (init_symbols_once_early):
4315 * symbols.c (Fbuilt_in_variable_type):
4316 * symbols.c (Fsymbol_value_in_buffer):
4317 * symbols.c (default_value):
4319 * symbols.c (find_symbol_value_quickly):
4320 * symbols.c (store_symval_forwarding):
4321 * symbols.c (set_default_console_slot_variable):
4322 * symbols.c (set_default_buffer_slot_variable):
4323 * symbols.c (verify_ok_for_buffer_local):
4324 * symbols.c (symbol_is_constant):
4325 * symbols.c (oblookup):
4326 * symbols.c (Funintern):
4327 * symbols.c (Fintern):
4328 * symbols.c (check_obarray):
4330 * specifier.h (struct specifier_methods):
4332 * specifier.c (specifier_instance):
4333 * specifier.c (specifier_instance_from_inst_list):
4334 * specifier.c (decode_locale_type):
4335 * specifier.c (specifier_equal):
4336 * specifier.c (finalize_specifier):
4337 * specifier.c (prune_specifiers):
4338 * specifier.c (kill_specifier_buffer_locals):
4339 * sound.c (init_native_sound):
4342 * search.c (Fmatch_data):
4343 * search.c (match_limit):
4344 * search.c (Freplace_match):
4345 * search.c (skip_chars):
4346 * search.c (scan_buffer):
4348 * scrollbar.c (specifier_vars_of_scrollbar):
4349 * scrollbar.c (Fscrollbar_set_hscroll):
4350 * scrollbar.c (vertical_scrollbar_changed_in_window):
4351 * scrollbar.c (release_window_mirror_scrollbars):
4352 * scrollbar.c (free_scrollbar_instance):
4355 * s/msdos.h (O_BINARY):
4357 * s/freebsd.h (LIBS_TERMCAP):
4358 * regex.c (re_match_2_internal):
4359 * regex.c (compile_extended_range):
4360 * regex.c (POP_FAILURE_POINT):
4361 * regex.c (PUSH_FAILURE_POINT):
4362 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4364 * redisplay.h (struct display_line):
4365 * redisplay.h (struct rune):
4366 * redisplay.c (vars_of_redisplay):
4367 * redisplay.c (redisplay_variable_changed):
4368 * redisplay.c (UPDATE_CACHE_RETURN):
4369 * redisplay.c (validate_line_start_cache):
4370 * redisplay.c (mark_redisplay_structs):
4371 * redisplay.c (mark_glyph_block_dynarr):
4372 * redisplay.c (window_line_number):
4373 * redisplay.c (redisplay_frame):
4374 * redisplay.c (redisplay_window):
4375 * redisplay.c (generate_modeline):
4376 * redisplay.c (create_right_glyph_block):
4377 * redisplay.c (create_left_glyph_block):
4378 * redisplay.c (create_text_block):
4380 * redisplay-x.c (x_output_hline):
4381 * redisplay-x.c (x_output_vertical_divider):
4382 * redisplay-tty.c (tty_output_display_block):
4383 * redisplay-output.c (output_display_line):
4384 * redisplay-output.c:
4385 * redisplay-msw.c (mswindows_output_vertical_divider):
4386 * redisplay-msw.c (mswindows_ring_bell):
4387 * redisplay-msw.c (mswindows_output_cursor):
4391 * puresize.h (RAW_PURESIZE):
4392 * profile.c (syms_of_profile):
4393 * profile.c (Fstart_profiling):
4394 * profile.c (sigprof_handler):
4397 * process.c (vars_of_process):
4398 * process.c (read_process_output):
4399 * process.c (get_process):
4401 * process-unix.c (unix_open_multicast_group):
4402 * process-unix.c (unix_get_tty_name):
4403 * process-unix.c (unix_send_process):
4404 * process-unix.c (unix_reap_exited_processes):
4405 * process-unix.c (unix_create_process):
4406 * process-unix.c (unix_init_process_io_handles):
4407 * process-unix.c (allocate_pty):
4409 * process-nt.c (nt_open_network_stream):
4410 * process-nt.c (nt_update_status_if_terminated):
4411 * process-nt.c (nt_finalize_process_data):
4413 * print.c (debug_short_backtrace):
4414 * print.c (debug_backtrace):
4415 * print.c (print_symbol):
4416 * print.c (print_internal):
4417 * print.c (print_cons):
4418 * print.c (Fwrite_char):
4419 * print.c (print_prepare):
4420 * print.c (canonicalize_printcharfun):
4421 * print.c (output_string):
4424 * opaque.c (allocate_managed_opaque):
4426 * offix.c (DndSetData):
4427 * objects.c (face_boolean_create):
4428 * objects.c (font_instantiate):
4429 * objects.c (font_create):
4430 * objects.c (color_create):
4431 * objects.c (finalize_font_instance):
4432 * objects.c (finalize_color_instance):
4434 * objects-x.c (x_font_instance_truename):
4436 * objects-x.c (x_initialize_font_instance):
4437 * objects-x.c (allocate_nearest_color):
4438 * objects-tty.c (tty_initialize_font_instance):
4439 * objects-tty.c (tty_initialize_color_instance):
4440 * objects-msw.c (mswindows_initialize_color_instance):
4441 * ntproc.c (syms_of_ntproc):
4442 * ntproc.c (Fwin32_set_process_priority):
4443 * ntproc.c (sys_spawnve):
4445 * ntheap.c (get_data_end):
4449 * nt.c (generate_inode_val):
4450 * nt.c (sys_rename):
4452 * mule-wnnfns.c (Fwnn_hinsi_number):
4453 * mule-wnnfns.c (Fwnn_yuragi):
4454 * mule-wnnfns.c (Fwnn_common_learn):
4455 * mule-wnnfns.c (Fwnn_suffix_learn):
4456 * mule-wnnfns.c (Fwnn_prefix_learn):
4457 * mule-wnnfns.c (Fwnn_okuri_learn):
4458 * mule-wnnfns.c (Fwnn_complex_conv):
4459 * mule-wnnfns.c (Fwnn_last_is_first):
4460 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4461 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4462 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4463 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4464 * mule-wnnfns.c (Fwnn_hinsi_list):
4465 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4466 * mule-wnnfns.c (Fwnn_dict_search):
4467 * mule-wnnfns.c (Fwnn_word_toroku):
4468 * mule-wnnfns.c (Fwnn_hindo_update):
4469 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4470 * mule-wnnfns.c (Fwnn_kakutei):
4471 * mule-wnnfns.c (Fwnn_begin_henkan):
4472 * mule-wnnfns.c (Fwnn_dict_comment):
4473 * mule-wnnfns.c (Fwnn_dict_add):
4474 * mule-wnnfns.c (Fwnn_open):
4475 * mule-mcpath.c (mc_getcwd):
4476 * mule-coding.c (vars_of_mule_coding):
4477 * mule-coding.c (convert_to_external_format):
4478 * mule-coding.c (encoding_marker):
4479 * mule-coding.c (decoding_marker):
4480 * mule-coding.c (Fcopy_coding_system):
4481 * mule-coding.c (Fmake_coding_system):
4482 * mule-coding.c (Fcoding_system_list):
4483 * mule-coding.c (Ffind_coding_system):
4484 * mule-coding.c (symbol_to_eol_type):
4486 * mule-charset.c (complex_vars_of_mule_charset):
4487 * mule-charset.c (vars_of_mule_charset):
4488 * mule-charset.c (Fset_charset_ccl_program):
4489 * mule-charset.c (struct charset_list_closure):
4490 * mule-charset.c (Ffind_charset):
4491 * mule-charset.c (make_charset):
4492 * mule-charset.c (non_ascii_valid_char_p):
4494 * mule-ccl.c (ccl_driver):
4495 * mule-canna.c (c2mu):
4496 * mule-canna.c (Fcanna_henkan_begin):
4497 * mule-canna.c (Fcanna_parse):
4498 * mule-canna.c (Fcanna_store_yomi):
4499 * mule-canna.c (Fcanna_touroku_string):
4500 * mule-canna.c (Fcanna_initialize):
4502 * menubar.c (menu_parse_submenu_keywords):
4503 * menubar-x.c (make_dummy_xbutton_event):
4504 * menubar-x.c (set_frame_menubar):
4505 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4508 * menubar-msw.c (mswindows_popup_menu):
4509 * menubar-msw.c (mswindows_update_frame_menubars):
4510 * menubar-msw.c (mswindows_handle_wm_command):
4511 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4512 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4513 * menubar-msw.c (update_frame_menubar_maybe):
4514 * menubar-msw.c (populate_or_checksum_helper):
4515 * menubar-msw.c (empty_menu):
4518 * marker.c (set_marker_internal):
4519 * marker.c (print_marker):
4522 * lstream.c (lisp_buffer_rewinder):
4523 * lstream.c (mark_lstream):
4525 * lrecord.h (struct lrecord_header):
4526 * lread.c (readevalloop):
4527 * lread.c (locate_file):
4528 * lread.c (locate_file_in_directory):
4529 * lread.c (Flocate_file):
4530 * lread.c (load_force_doc_string_unwind):
4531 * lread.c (ebolify_bytecode_constants):
4536 * linuxplay.c (linux_play_data_or_file):
4537 * linuxplay.c (audio_init):
4540 * keymap.c (describe_map):
4541 * keymap.c (describe_map_mapper):
4542 * keymap.c (Fdescribe_bindings_internal):
4543 * keymap.c (Fsingle_key_description):
4544 * keymap.c (map_keymap_sorted):
4545 * keymap.c (get_relevant_keymaps):
4546 * keymap.c (Flookup_key):
4547 * keymap.c (raw_lookup_key_mapper):
4548 * keymap.c (Fdefine_key):
4549 * keymap.c (Fevent_matches_key_specifier_p):
4550 * keymap.c (key_desc_list_to_event):
4551 * keymap.c (define_key_parser):
4552 * keymap.c (define_key_check_and_coerce_keysym):
4553 * keymap.c (keymap_submaps):
4554 * keymap.c (keymap_store_internal):
4555 * keymap.c (keymap_delete_inverse_internal):
4556 * keymap.c (keymap_store_inverse_internal):
4557 * keymap.c (print_keymap):
4558 * keymap.c (Lisp_Keymap):
4561 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4562 * insdel.c (make_gap):
4563 * input-method-xlib.c (get_XIM_input):
4564 * input-method-xlib.c (XIM_init_frame):
4569 * gui-x.c (button_item_to_widget_value):
4570 * gui-x.c (popup_selection_callback):
4571 * glyphs.h (struct image_instantiator_methods):
4572 * glyphs.c (mark_glyph_cachels):
4573 * glyphs.c (Fglyph_type):
4574 * glyphs.c (image_instantiate):
4575 * glyphs.c (image_create):
4576 * glyphs.c (make_image_instance_1):
4577 * glyphs.c (finalize_image_instance):
4579 * glyphs-x.c (finalize_subwindow):
4580 * glyphs-x.c (xface_validate):
4581 * glyphs-x.c (x_locate_pixmap_file):
4582 * glyphs-x.c (convert_EImage_to_XImage):
4584 * glyphs-msw.c (mswindows_resource_instantiate):
4585 * glyphs-msw.c (xpm_to_eimage):
4586 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4587 * glyphs-eimage.c (tiff_instantiate):
4588 * glyphs-eimage.c (png_instantiate):
4589 * glyphs-eimage.c (struct png_error_struct):
4590 * glyphs-eimage.c (gif_memory_storage):
4593 * getloadavg.c (getloadavg):
4596 * free-hook.c (log_gcpro):
4597 * free-hook.c (check_malloc):
4598 * free-hook.c (check_free):
4599 * free-hook.c (ROUND_UP_TO_PAGE):
4601 * frame.h (struct frame):
4603 * frame.c (change_frame_size_1):
4604 * frame.c (allocate_frame_core):
4606 * frame-x.c (x_focus_on_frame):
4607 * frame-x.c (x_init_frame_2):
4608 * frame-x.c (x_popup_frame):
4609 * frame-x.c (xemacs_XtPopup):
4611 * frame-x.c (Foffix_start_drag_internal):
4612 * frame-x.c (x_cde_destroy_callback):
4613 * frame-x.c (x_wm_hack_wm_protocols):
4614 * frame-tty.c (tty_frame_visible_p):
4615 * frame-msw.c (mswindows_make_frame_invisible):
4616 * frame-msw.c (mswindows_after_init_frame):
4617 * frame-msw.c (mswindows_init_frame_1):
4618 * fns.c (syms_of_fns):
4619 * fns.c (Fbase64_decode_string):
4621 * fns.c (Ffillarray):
4622 * fns.c (Fobject_plist):
4624 * fns.c (Fcanonicalize_lax_plist):
4625 * fns.c (Fcanonicalize_plist):
4626 * fns.c (Fplist_remprop):
4627 * fns.c (Fplist_get):
4628 * fns.c (advance_plist_pointers):
4629 * fns.c (internal_plist_put):
4630 * fns.c (Fnreverse):
4633 * fns.c (Fsubstring):
4634 * fns.c (Fbvconcat):
4636 * fns.c (length_with_bytecode_hack):
4637 * fns.c (print_bit_vector):
4639 * floatfns.c (Ffloor):
4641 * floatfns.c (in_float_error):
4642 * fileio.c (Ffile_modes):
4643 * fileio.c (Fexpand_file_name):
4644 * fileio.c (Fmake_temp_name):
4645 * fileio.c (Ffile_name_nondirectory):
4646 * fileio.c (Ffile_name_directory):
4648 * file-coding.c (vars_of_mule_coding):
4649 * file-coding.c (convert_to_external_format):
4650 * file-coding.c (encoding_marker):
4651 * file-coding.c (decoding_marker):
4652 * file-coding.c (Fcopy_coding_system):
4653 * file-coding.c (Fmake_coding_system):
4654 * file-coding.c (struct coding_system_list_closure):
4655 * file-coding.c (Ffind_coding_system):
4656 * file-coding.c (symbol_to_eol_type):
4658 * faces.h (struct face_cachel):
4659 * faces.c (vars_of_faces):
4660 * faces.c (face_property_was_changed):
4661 * faces.c (mark_face_cachels):
4662 * faces.c (temporary_faces_list):
4663 * faces.c (struct face_list_closure):
4665 * extents.h (struct extent):
4666 * extents.c (vars_of_extents):
4667 * extents.c (struct copy_string_extents_1_arg):
4668 * extents.c (add_string_extents_mapper):
4669 * extents.c (Fextent_property):
4670 * extents.c (Fset_extent_property):
4671 * extents.c (symbol_to_glyph_layout):
4672 * extents.c (properties_equal):
4673 * extents.c (print_extent):
4674 * extents.c (print_extent_1):
4675 * extents.c (extent_in_region_p):
4676 * extents.c (gap_array_make_gap):
4678 * events.h (struct Lisp_Event):
4680 * events.c (Fevent_properties):
4681 * events.c (format_event_object):
4682 * events.c (Fmake_event):
4683 * events.c (event_equal):
4684 * events.c (print_event):
4685 * events.c (mark_event):
4686 * event-stream.c ((read-char)
4687 * event-stream.c (vars_of_event_stream):
4688 * event-stream.c (syms_of_event_stream):
4689 * event-stream.c (Fset_recent_keys_ring_size):
4690 * event-stream.c (Fsit_for):
4691 * event-stream.c (Fnext_event):
4692 * event-stream.c (execute_help_form):
4693 * event-stream.c (maybe_kbd_translate):
4695 * event-msw.c (vars_of_event_mswindows):
4696 * event-msw.c (mswindows_wnd_proc):
4697 * event-msw.c (mswindows_need_event):
4698 * event-msw.c (mswindows_drain_windows_queue):
4699 * event-msw.c (mswindows_pump_outstanding_events):
4701 * event-msw.c (slurp_thread):
4702 * event-msw.c (struct ntpipe_slurp_stream):
4703 * event-msw.c (HANDLE_TO_USID):
4704 * event-Xt.c (emacs_Xt_handle_magic_event):
4705 * event-Xt.c (x_event_to_emacs_event):
4706 * event-Xt.c (x_reset_modifier_mapping):
4707 * event-Xt.c (x_reset_key_mapping):
4709 * eval.c (syms_of_eval):
4710 * eval.c (warn_when_safe):
4711 * eval.c (warn_when_safe_lispobj):
4712 * eval.c (Fbacktrace_frame):
4713 * eval.c (Fbacktrace):
4714 * eval.c (top_level_set):
4715 * eval.c (unbind_to_hairy):
4716 * eval.c (specbind_magic):
4717 * eval.c (specbind_unwind_wasnt_local):
4718 * eval.c (call2_trapping_errors):
4719 * eval.c (call1_trapping_errors):
4720 * eval.c (catch_them_squirmers_call2):
4721 * eval.c (call0_trapping_errors):
4722 * eval.c (run_hook_trapping_errors):
4723 * eval.c (catch_them_squirmers_eval_in_buffer):
4724 * eval.c (call4_in_buffer):
4725 * eval.c (call3_in_buffer):
4726 * eval.c (call2_in_buffer):
4727 * eval.c (call1_in_buffer):
4728 * eval.c (call0_in_buffer):
4729 * eval.c (run_hook):
4730 * eval.c (run_hook_with_args_in_buffer):
4733 * eval.c (do_autoload):
4734 * eval.c (un_autoload):
4735 * eval.c (Fautoload):
4736 * eval.c (Finteractive_p):
4737 * eval.c (Fcommand_execute):
4738 * eval.c (signal_quit):
4739 * eval.c (call_with_suspended_errors):
4740 * eval.c (signal_error):
4741 * eval.c (return_from_signal):
4742 * eval.c (Fcall_with_condition_handler):
4743 * eval.c (run_condition_case_handlers):
4744 * eval.c (condition_case_1):
4745 * eval.c (Funwind_protect):
4746 * eval.c (unwind_to_catch):
4747 * eval.c (internal_catch):
4748 * eval.c (Fmacroexpand_internal):
4749 * eval.c (Fuser_variable_p):
4750 * eval.c (Fdefconst):
4752 * eval.c (Ffunction):
4753 * eval.c (signal_call_debugger):
4754 * eval.c (call_debugger):
4757 * emacs.c (sort_args):
4761 * editfns.c (Fencode_time):
4762 * editfns.c (Fdecode_time):
4763 * editfns.c (Fuser_full_name):
4765 * editfns.c (save_excursion_restore):
4768 * doprnt.c (emacs_doprnt_1):
4769 * doc.c (verify_doc_mapper):
4770 * doc.c (Fsnarf_documentation):
4771 * doc.c (Fdocumentation):
4773 * dired.c (user_name_completion):
4774 * dired.c (Fdirectory_files):
4777 * dgif_lib.c (FreeSavedImages):
4778 * dgif_lib.c (DGifGetImageDesc):
4780 * device.h (struct device):
4781 * device.c (Fselect_device):
4782 * device.c (allocate_device):
4784 * device-x.c (Fx_keysym_on_keyboard_p):
4785 * device-x.c (Fx_valid_keysym_name_p):
4786 * device-x.c (x_IO_error_handler):
4787 * device-x.c (x_delete_device):
4788 * device-x.c (x_finish_init_device):
4789 * device-x.c (x_init_device):
4791 * device-msw.c (mswindows_init_device):
4793 * database.c (vars_of_database):
4794 * database.c (Fput_database):
4795 * database.c (Fopen_database):
4796 * database.c (berkdb_remove):
4797 * database.c (berkdb_put):
4798 * database.c (Fdatabasep):
4799 * database.c (print_database):
4801 * data.c (vars_of_data):
4802 * data.c (syms_of_data):
4803 * data.c (init_errors_once_early):
4804 * data.c (prune_weak_lists):
4805 * data.c (finish_marking_weak_lists):
4806 * data.c (print_weak_list):
4808 * data.c (Fstring_to_number):
4809 * data.c (Fnumber_to_string):
4810 * data.c (Findirect_function):
4813 * data.c (Fsubr_interactive):
4815 * data.c (Fkeywordp):
4818 * console.h (CONSOLE_NAME):
4820 * console.c (vars_of_console):
4821 * console.c (Fselect_console):
4823 * console-x.h (DEVICE_X_COLORMAP):
4824 * console-x.h (struct x_device):
4825 * console-x.c (x_device_to_console_connection):
4826 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4827 * console-tty.c (tty_init_console):
4829 * console-msw.h (struct mswindows_frame):
4832 * cmds.c (internal_self_insert):
4833 * cmds.c (Fforward_line):
4834 * cmds.c (Fforward_char):
4837 * chartab.c (mark_char_table_entry):
4839 * casefiddle.c (casify_word):
4840 * callproc.c (child_setup):
4841 * callproc.c (Fcall_process_internal):
4843 * callint.c (Fcall_interactively):
4845 * bytecode.c (execute_rare_opcode):
4846 * bytecode.c (execute_optimized_program):
4849 * buffer.h (BUFFER_REALLOC):
4850 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4851 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4853 * buffer.h (MAP_INDIRECT_BUFFERS):
4854 * buffer.h (CHECK_LIVE_BUFFER):
4855 * buffer.c (init_initial_directory):
4856 * buffer.c (complex_vars_of_buffer):
4857 * buffer.c (vars_of_buffer):
4858 * buffer.c (finish_init_buffer):
4859 * buffer.c (Fget_file_buffer):
4860 * buffer.c (Fbuffer_list):
4861 * buffer.c (mark_buffer):
4862 * balloon_help.c (balloon_help_move_to_pointer):
4863 * balloon_help.c (show_help):
4866 * alloc.c (garbage_collect_1):
4867 * alloc.c (sweep_strings):
4868 * alloc.c (sweep_compiled_functions):
4869 * alloc.c (sweep_bit_vectors_1):
4870 * alloc.c (sweep_vectors_1):
4871 * alloc.c (sweep_lcrecords_1):
4872 * alloc.c (tick_lcrecord_stats):
4873 * alloc.c (pure_string_sizeof):
4874 * alloc.c (mark_conses_in_list):
4875 * alloc.c (mark_object):
4876 * alloc.c (report_pure_usage):
4877 * alloc.c (make_pure_float):
4878 * alloc.c (make_pure_string):
4879 * alloc.c (free_managed_lcrecord):
4880 * alloc.c (mark_string):
4881 * alloc.c (noseeum_make_marker):
4882 * alloc.c (allocate_event):
4883 * alloc.c (Fbit_vector):
4884 * alloc.c (Fvector):
4885 * alloc.c (make_float):
4886 * alloc.c (Fmake_list):
4888 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4889 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4890 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4891 * alloc.c (dbg_constants):
4892 * alloc.c (gc_record_type_p):
4893 * alloc.c (free_lcrecord):
4894 * alloc.c (xmalloc):
4895 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4897 * Makefile.in.in (mostlyclean):
4898 * Makefile.in.in (external_client_xlib_objs_nonshared):
4899 * Makefile.in.in (temacs_link_args):
4900 * Makefile.in.in (release):
4901 * Makefile.in.in (dnd_objs):
4902 * Makefile.in.in (objs):
4903 * Makefile.in.in (PROGNAME):
4904 * EmacsShell.c: cast strings to (XtPointer)
4905 * EmacsFrame.c: cast strings to (XtPointer)
4907 - rewrite basic lisp functions for speed
4908 - rewrite bytecode interpreter for speed
4909 - rewrite list looping constructs for speed and safety using
4911 - use size_t where appropriate.
4912 - new hashtable implementation
4913 - cleanup implementation of opaques
4914 - opaques can now be purecopy'ed
4915 - move some cl functionality into C for speed.
4916 - remove last remaining VMS support
4918 - improve gdb/dbx debugger support
4919 - move pure.c back into alloc.c for performance
4920 - enable report_pure_usage() if --memory-usage-stats
4921 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4922 - don't use symbols with leading `_' or embedded `__'
4923 - globally cleanup duplicated semicolons `;;'
4924 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4926 - globally replace O_NDELAY with O_NONBLOCK.
4927 - globally replace CDISABLE with _POSIX_VDISABLE.
4928 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4929 - define (and maybe use!) STDERR_FILENO and friends.
4930 - add support for macros defined in C
4931 - `when', `unless', `not' and `defalias' now defined in C,
4932 so that they are universally available.
4933 - rename defvar_mumble to defvar_magic
4934 - rename RETURN__ to RETURN_SANS_WARNINGS
4935 - use consistent style of initial caps in error messages
4936 - implement last, butlast, nbutlast, copy-list in C.
4937 - provide typedefs for all struct Lisp_foo types
4938 - Lisp_Objects must be initialized to Qnil rather than 0.
4939 - make sure XEmacs runs (slowly) with always_gc == 1;
4940 - fast and safe LOOP_* macros
4941 - change calls to XSETOBJ to XSETFOO
4942 - replace calls to XSETINT by make_int()
4943 - plug up memory leaks
4944 - use style markobj (foo), not silly ((markobj) (foo))
4945 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4947 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4949 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4951 1998-11-28 SL Baur <steve@altair.xemacs.org>
4953 * XEmacs 21.2-beta4 is released.
4955 1998-11-27 SL Baur <steve@altair.xemacs.org>
4957 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4958 property in control-1 charset.
4959 From Julian Bradfield <jcb@daimi.au.dk>
4961 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4963 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4965 Add stub for :label.
4967 * gui.c (gui_item_add_keyval_pair): ditto.
4969 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4970 :key-sequence keyword.
4972 Support :active for submenus like the Windows code and FSF Emacs.
4974 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4976 * dired.c (make_directory_hash_table): make_string() is OK because
4977 readdir() Mule-encapsulates.
4979 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4981 * fns.c (Fbase64_encode_string): Fix docstring.
4982 (Fbase64_decode_string): Ditto.
4984 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4986 * editfns.c (Ftranslate_region): Use
4987 convert_bufbyte_string_into_emchar_string().
4989 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4991 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4993 (Ftranslate_region): Turn table into an array of Emchars for
4996 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4998 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
5000 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5002 * chartab.c (Freset_char_table): Don't blindly fill chartables of
5003 type `char' with nils.
5005 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
5006 for tables of type `char'.
5008 1998-11-26 Didier Verna <verna@inf.enst.fr>
5010 * input-method-xlib.c (Initialize_Locale): don't call
5011 XtSetLanguageProc. We've done the whole work here.
5012 * input-method-xfs.c (Initialize_Locale): ditto.
5013 * input-method-motif.c (Initialize_Locale): ditto.
5015 1998-11-26 Didier Verna <verna@inf.enst.fr>
5017 * process-unix.c (unix_create_process): handle properly
5018 Vfile_name_coding_system for converting the program and directory
5021 1998-11-27 SL Baur <steve@altair.xemacs.org>
5023 * m/arm.h: New file.
5024 From James LewisMoss <dres@ioa.com>
5026 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5029 Fix the realpath() problem of UnixWare2.1.3.
5030 Patches for NEC's sysv4.2 machine.
5032 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5034 * dired.c (Fdirectory_files): Remove redundant code.
5036 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5038 * fns.c (free_malloced_ptr): New function.
5039 (XMALLOC_OR_ALLOCA): New macro.
5040 (XMALLOC_UNBIND): Ditto.
5041 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
5042 to be freed in case of non-local exit.
5043 (Fbase64_encode_string): Ditto.
5044 (Fbase64_decode_region): Ditto.
5045 (Fbase64_decode_string): Ditto.
5046 (STORE_BYTE): New macro.
5047 (base64_decode_1): Use it.
5049 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5051 * fns.c (base64_value_to_char): Base64 stuff.
5053 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5055 * editfns.c (Fbuffer_substring): New function.
5057 * lisp.h: Declare make_string_from_buffer_no_extents().
5059 * insdel.c (make_string_from_buffer_1): New function.
5060 (make_string_from_buffer_no_extents): Ditto.
5062 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5064 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
5065 sound work on AIX with OSS installed. Linux should still work.
5067 1998-11-03 Andy Piper <andyp@parallax.co.uk>
5069 * config.h.in: name change for cygwin/version.h
5071 * configure.in: check for cygwin/version.h now.
5073 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5074 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5075 move cygwin32/version.h to cygwin/version.h
5077 1998-11-03 Olivier Galibert <galibert@pobox.com>
5079 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
5082 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5084 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5085 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5086 enable BROKEN_SIGIO under b20 to make QUIT work.
5088 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5090 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
5091 to fit within the constraints of the screen size. I.e. make the
5092 frame small enough to fit and move it if some of it will be
5095 1998-10-19 Greg Klanderman <greg@alphatech.com>
5097 * dired.c: conditionalize inclusion of user-name-completion
5098 primitives on non-Windows NT. The needed functions don't exist on NT.
5100 1998-11-24 SL Baur <steve@altair.xemacs.org>
5102 * gifrlib.h: Clean up types for 64 bit compile.
5103 * dgif_lib.c (DGifInitRead): Ditto.
5104 (MakeSavedImage): Ditto.
5105 * emacs.c (decode_path): Ditto.
5106 From Steve Carney <carney@pa.dec.com>
5108 1998-10-16 William M. Perry <wmperry@aventail.com>
5110 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
5111 (cehckboxes instead of checkboxes).
5113 1998-10-15 SL Baur <steve@altair.xemacs.org>
5115 * XEmacs 21.2-beta3 is released.
5117 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
5119 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
5120 gnuclient. Otherwise, we run xemacs as we always did. This gets
5121 rid of the annoying DOS window when running gnuclient.
5123 1998-10-13 Andy Piper <andyp@parallax.co.uk>
5125 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
5126 HAVE_MS_WINDOWS typo.
5128 1998-10-13 SL Baur <steve@altair.xemacs.org>
5130 * process-unix.c (unix_send_process): Set closed flag on writable
5131 pipe after SIGPIPE is received and before we call deactivate_process.
5133 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
5135 * window.c (Fset_window_start): respect narrowing when
5136 checking wheter start is at the beginning of a line.
5137 (Fset_window_buffer): Ditto
5138 Fixes repeatable crash in VM.
5140 1998-10-09 SL Baur <steve@altair.xemacs.org>
5142 * window.c (specifier_vars_of_window): Set default vertical
5143 divider width to 1 on ttys.
5145 1998-10-08 Martin Buchholz <martin@xemacs.org>
5150 Add <stddef.h> to get ptrdiff_t declaration
5152 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5154 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
5155 is used for Motif or Lucid scrollbars under X.
5157 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
5159 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
5162 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5164 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
5166 1998-10-05 Andy Piper <andyp@parallax.co.uk>
5168 * s/cygwin32.h: more cygwin b20 reorganisation.
5170 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
5172 * nas.c: Added necessary support functions to be able to handle
5173 WAVE files in memory, just like the support for SND files in
5176 1998-09-30 SL Baur <steve@altair.xemacs.org>
5178 * callproc.c (child_setup): Fix spelling typo.
5180 1998-09-29 SL Baur <steve@altair.xemacs.org>
5182 * XEmacs 21.2-beta2 is released.
5184 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
5186 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
5187 to prevent memory corruption in the case of jumping out of a series of
5188 nested match patterns. This is a rather brute force approach, though.
5190 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5192 * config.h.in: ditto.
5194 * s/cygwin32.h: rearrange declarations to cope with cygwin
5195 b20. Include cygwin32/version.h if it exists.
5197 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5199 * device-msw.c (mswindows_init_device): Call new
5200 mswindows_enumerate_fonts() function in objects-msw.c instead
5201 of font_enum_callback_1() to enumerate fonts.
5203 font_enum_callback_1() and _2() moved to objects-msw.c.
5205 * faces.c (complex_vars_of_faces): Make the mswindows default
5206 face font fully specified and provide some fallbacks.
5208 * objects-msw.c: font_enum_callback_1() and _2() moved here
5209 from objects-msw.c. Obtain the enumerated font's character
5210 sets by table lookup instead of using the locale-specific
5211 string provided by Windows.
5213 New public non-method mswindows_enumerate_fonts() that fills
5214 in the supplied mswindows device's font list.
5216 mswindows_initialize_font_instance: Use the supplied name
5217 variable instead of f->name when signalling errors. Match font
5218 weights and character sets using lookup tables which handle
5219 spaces instead of by frobbing.
5221 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5223 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5224 on the size of code fragments passed to run_in_other_process.
5226 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5227 the amount of memory to allocate in the other process.
5229 Removed sigkill_code_end(), sigint_code_end() and
5230 sig_enable_code_end() since they are now redundant.
5232 send_signal() and enable_child_signals(): Don't try to work
5233 out the end of the code fragments passed to
5234 run_in_other_process()
5236 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5238 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5241 * src/unexelf.c: Partially synched with FSF's 20.3.
5243 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5245 * insdel.c (signal_after_change): Map across indirect buffers
5246 here, and not in the upper-level functions.
5247 (signal_first_change): Don't check for Armageddon.
5248 (signal_before_change): Map across indirect buffers here.
5249 (prepare_to_modify_buffer): ...and here.
5251 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5253 * insdel.c (signal_after_change): Add return value.
5254 (buffer_insert_string_1): Use it.
5255 (buffer_delete_range): Ditto.
5256 (buffer_replace_char): Ditto.
5257 (cancel_multiple_change): Map the indirect buffers.
5259 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5261 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5262 (uninit_buffer_text): Ditto.
5264 * buffer.c (Fmake_indirect_buffer): Implement stricter
5267 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5269 * insdel.c (change_function_restore): Reverse order of
5270 function-call and assignment.
5271 (first_change_hook_restore): Ditto.
5273 * extents.c (mark_extent_auxiliary): Mark them.
5274 (Fset_extent_property): Set them.
5275 (Fextent_property): Get them.
5276 (Fextent_properties): Ditto.
5277 (vars_of_extents): Set their default.
5279 * extents.h (struct extent_auxiliary): Add before_change_functions
5280 and after_change_functions.
5282 * insdel.c (signal_before_change): Use it.
5283 (signal_after_change): Ditto.
5285 * extents.c (report_extent_modification): New function.
5287 * insdel.c (signal_before_change): Don't check for Armageddon.
5288 (signal_after_change): Ditto.
5290 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5292 * redisplay.c (redisplay_window): make sure a new starting point
5293 is chosen if it somehow got moved from the beginning of the line
5294 -- this can happen because Fwiden was called recently.
5296 * window.c (Fset_window_start): set start_at_line_beg correctly
5297 (Fset_window_buffer): Ditto
5299 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5301 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5302 (uninit_buffer_text): Ditto.
5304 * buffer.c (Fmake_indirect_buffer): Implement stricter
5307 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5309 * emacs.c (main_1): Removed references to *vars_of_filelock.
5311 * lisp.h: Added Fsystem_name.
5313 * filelock.c: Replaced by version from FSF 20.2. Now implements
5314 locking by using symlinks which is NFS safe. However keep the
5315 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5316 version (and of course use ansi C, acessor macros, etc).
5318 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5320 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5321 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5322 in init_signals_very_early. However these should not be passed
5323 on to children attached to the new pty.
5325 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5327 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5329 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5331 * fileio.c (file-name-directory, file_name_as_directory):
5332 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5334 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5336 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5338 * ralloc.c: uncomment __morecore.
5340 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5342 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5343 WriteFile() to fix a winsock 1.x bug on Win95.
5345 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5347 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5349 (x_event_to_emacs_event): Ditto.
5350 (emacs_Xt_handle_focus_event): Ditto.
5351 (emacs_Xt_handle_magic_event): Ditto.
5353 * console-x.h (struct x_device): New flag being_deleted.
5354 (DEVICE_X_BEING_DELETED): New macro.
5356 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5357 returning. Before doing that, set the being_deleted flag on the
5360 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5362 * device-x.c (x-seppuku-on-epipe): Removed.
5364 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5366 * frame-x.c (x_delete_frame): Flush the X output buffer after
5367 calling XtDestroyWidget to ensure that the windows are really
5370 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5372 * menubar-x.c (my_run_hook): New unused function.
5373 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5374 since we ignore the results of the contained functions anyway.
5376 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5378 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5379 interlaced GIF files that are smaller than 4 lines high...
5381 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5383 * buffer.c (map_over_sharing_buffers): Deleted.
5385 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5387 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5390 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5392 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5394 (buffer_delete_range): Ditto.
5396 * marker.c (init_buffer_markers): Set point-marker to the value of
5397 point in an indirect buffer.
5399 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5401 * undo.c (undo_prelude): Test last-undo-buffer against base
5404 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5406 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5408 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5410 * insdel.c (init_buffer_text): Initialize it here.
5412 * line-number.c: Address line_number_cache through buffer->text.
5414 * buffer.c (mark_buffer): Mark line number cache.
5416 * bufslots.h (line_number_cache): Move to struct buffer_text.
5418 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5419 across the children buffers.
5420 (buffer_delete_range): Ditto.
5421 (buffer_replace_char): Ditto.
5425 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5427 * buffer.c (Fmake_indirect_buffer): Uncomment.
5429 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5431 * macros.c (Fend_kbd_macro): Remove trailing period from error
5433 (Fexecute_kbd_macro): Ditto.
5435 1998-08-21 Greg Klanderman <greg@alphatech.com>
5437 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5438 (Fuser_name_completion_1): new function to return uniqueness
5439 indication in addition to the user name completion.
5440 (user_name_completion): change type of `uniq' argument.
5442 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5444 * lread.c (vars_of_lread): Removed `source-directory' variable.
5446 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5448 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5451 1998-08-19 SL Baur <steve@altair.xemacs.org>
5453 * dired.c (vars_of_dired): Fix misapplied patch.
5455 1998-08-16 Martin Buchholz <martin@xemacs.org>
5457 * fns.c (Fremrassq, remrassq_no_quit):
5458 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5460 1998-07-17 Didier Verna <verna@inf.enst.fr>
5462 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5463 style as foreground GC for faces that have the `dim' property.
5464 (x_output_string): when the `dim' face property is set,
5465 ensure the gray pixmap has been created, and get a proper
5466 foreground GC to draw the text.
5468 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5470 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5471 Manually track the state of the left and right Ctrl and Alt
5474 1998-08-07 Matt Stupple <matts@tibco.com>
5476 * ntproc.c: don't wait on char_consumed at thread entry.
5477 Additionally, to get the 'process' marked as finished, ensure
5478 that the CHILD_ACTIVE macro returns false, so before exiting
5479 close char_avail and set it to NULL, and close other handles
5480 to reduce handle leak problems.
5482 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5484 * menubar-msw.c (displayable_menu_item): take account of menu
5485 depth when deciding whether to try to display accelerators.
5487 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5489 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5492 * glyphs-msw.c: fix a couple of potential handle leaks.
5494 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5496 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5497 *decoding ONLY* back into the core.
5498 * glyphs-eimage.c: Change referenced header file for GIF
5499 reading to point to the incore version.
5501 1998-07-20 Martin Buchholz <martin@xemacs.org>
5503 * casefiddle.c (casify_object):
5504 Change algorithm from O(N**2) to O(N).
5508 1998-07-22 Greg Klanderman <greg@alphatech.com>
5510 * dired.c (file_name_completion_unwind): don't leak the cons.
5512 1998-07-20 Greg Klanderman <greg@alphatech.com>
5514 * dired.c (Fuser_name_completion): new function.
5515 (Fuser_name_all_completions): new function.
5516 (user_name_completion): new function.
5517 (syms_of_dired): 2 new DEFSUBRs.
5518 (vars_of_dired): initialize user name cache vars.
5520 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5522 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5523 colors taken from the default face. Also correct a thinko in
5524 transparency (not alpha) handling.
5526 1998-07-23 Martin Buchholz <martin@xemacs.org>
5528 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5529 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5530 * lread.c (Fload_internal): Be very careful with printfs of
5532 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5535 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5537 * callint.c (Fcall_interactively): GCPRO prompt string before
5538 passing it to Fread_key_sequence
5540 1998-07-27 SL Baur <steve@altair.xemacs.org>
5542 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5543 Vvertical_divider_map.
5545 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5546 Qnil or 0, none were initialized prior to this change.
5548 Rename misnamed `V' prefixed integer variables:
5549 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5550 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5551 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5552 Vcanna_ichiran_revLen.
5554 Rename misnamed `V' prefixed integer variables and initialize
5555 properly in the vars_of routine.
5556 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5557 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5558 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5559 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5560 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5561 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5562 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5563 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5564 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5565 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5566 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5567 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5568 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5569 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5570 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5571 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5572 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5573 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5574 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5575 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5576 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5577 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5578 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5579 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5580 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5581 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5582 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5583 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5584 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5585 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5586 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5587 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5588 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5589 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5590 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5591 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5592 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5593 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5594 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5595 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5596 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5597 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5598 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5599 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5600 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5601 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5603 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5605 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5606 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5607 keys thus no longer considering all keysyms on a key.
5609 1998-07-19 SL Baur <steve@altair.xemacs.org>
5611 * XEmacs 21.2-beta1 is released.
5613 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5615 * eldap.c (Fldap_search_internal): When converting the list of
5616 attributes to search Copy the final 0 from Lisp strings to C
5618 Check base, not Vldap_default_base as a a string
5620 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5622 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5624 * unexnt.c: Unconditionally define bss_start and bss_size, and
5625 ensure that they don't go in the .bss section.
5627 1998-07-17 Olivier Galibert <galibert@pobox.com>
5629 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5630 byte order is dependant of the local byte order).
5631 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5633 1998-07-18 SL Baur <steve@altair.xemacs.org>
5635 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5636 Qmswindows_resource.
5637 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5639 1998-07-12 SL Baur <steve@altair.xemacs.org>
5641 * general.c (syms_of_general): Add defsymbol for Qresource.
5643 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5644 Qmswindows_resource.
5645 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5646 (mswindows_resource_validate): Rename.
5647 (mswindows_resource_normalize): Rename.
5648 (mswindows_resource_possible_dest_types): Rename.
5649 (mswindows_resource_instantiate): Rename.
5650 (image_instantiator_format_create_glyphs_mswindows): Replace
5651 `resource' with `mswindows.resource'.
5653 * XEmacs 21.0-pre5 is released.
5655 1998-07-10 SL Baur <steve@altair.xemacs.org>
5657 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5658 server type in environment.
5659 Use alloca-ed strings instead of tiny fixed size ones.
5661 1998-07-09 SL Baur <steve@altair.xemacs.org>
5663 * XEmacs 21.0-pre4 is released.
5665 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5667 * fileio.c: (expand_file_name): under win32: Don't treat names
5668 as UNC names if a drive letter has been specified. If a drive
5669 has been specified, strip out extra directory-seperators that
5670 reportedly cause problems under Win95.
5672 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5674 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5675 MSVC >= 5.0. Put emacs init and zero-init data in a special
5676 section of the executable when this is defined.
5678 * unexnt.c, ntheap.h:
5679 Removed unused find_section() and get_section_size().
5682 Fix up the executable's checksum after dumping otherwise the
5684 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5685 zero-init data separately from init data. Dump emacs data
5686 into a special section of the executable.
5687 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5688 my_ebss instead of up to the end of bss.
5690 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5692 * filelock.c: Removed Vconfigure_lock_directory - already
5695 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5696 defined in frame.c and general.c respectively.
5698 * glyphs-msw.c: Removed Qresource - already defined in
5701 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5703 * eldap.c (Fldap_search_internal): Docstring fixes
5705 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5707 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5708 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5709 EMACSPACKAGEPATH and INFOPATH variables.
5710 Removed unused get_emacs_configuration function.
5712 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5713 it is now defined at build-time by the makefile.
5715 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5717 * fileio.c: (expand_file_name): under win32: Don't treat names as
5718 UNC names if a drive letter has been specified. If a drive has
5719 been specified, strip out extra directory-seperators that
5720 reportedly cause problems under Win95.
5722 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5724 * faces.c (complex_vars_of_faces): for the gui-element face don't
5725 fallback to the default face, instead provide reasonable default
5726 fallbacks that were previously hardcoded elsewhere.
5728 1998-07-06 Olivier Galibert <galibert@pobox.com>
5730 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5731 when the X server endianness is different than the client's one.
5733 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5735 * eval.c (run_hook_with_args_in_buffer): Check
5736 default (non-buffer-local) value of hook for
5737 nil before treating it as a function. Don't initialize
5738 the `globals' variable twice.
5740 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5742 * fileio.c: Don't do directory seperator canonicalisation in
5743 substitute-in-file-name because we don't know that the
5744 filename refers to a local file.
5746 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5748 * process-nt.c (nt_create_process): Try appending the standard
5749 executable file extensions to the filename if none supplied.
5751 1998-06-29 SL Baur <steve@altair.xemacs.org>
5753 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5755 From Keisuke Mori <ksk@ntts.com>
5757 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5759 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5760 images if we have masks. This handles the xbm case (have masks)
5761 and avoids overuse of resources in the xpm case (generally no masks).
5762 Don't output small toolbars.
5764 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5766 * eval.c (run_hook_with_args_in_buffer): Don't treat
5767 the default value of a buffer local hook as a list of
5768 hooks unless it is both a cons and the car of that cons
5771 1998-06-29 SL Baur <steve@altair.xemacs.org>
5773 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5774 * process-unix.c: Ditto.
5775 * mule-coding.h: Ditto.
5776 * mule-coding.c: Ditto.
5777 * mule-charset.c: Ditto.
5778 * mule-charset.h: Ditto.
5779 * file-coding.c: Ditto.
5780 * file-coding.h: Ditto.
5782 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5784 * event-msw.c: Guard against recursion when freeing
5785 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5787 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5788 Call ShowWindow twice in init_frame_3 to get round runemacs
5791 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5793 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5795 * winslots.h: Rename.
5797 * window.c (specifier_vars_of_window): Renamed
5798 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5799 as suggested by Ben Wing.
5800 (specifier_vars_of_window): Fix docstrings.
5802 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5804 * unexaix.c: Line number information works correctly again.
5806 1998-06-22 Olivier Galibert <galibert@pobox.com>
5808 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5810 1998-06-21 Martin Buchholz <martin@xemacs.org>
5812 * editfns.c (get_home_directory): ANSIfy.
5813 XEmacs is compilable under C *and* C++.
5814 It's XEmacs, not Xemacs!
5816 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5818 * console-msw.h: added a list of fonts to device data.
5820 * device-msw.c: enumerate list of available fonts in
5821 mswindows_init_device. Free list in mswindows_delete_device.
5823 * objects-msw.c: Added helper function match_font used by
5824 mswindows_initialize_font_instance and mswindows_list_fonts.
5825 Allow a charset to be specified in a font string, even if
5826 previous fields havn't been specified.
5828 1998-06-23 Greg Klanderman <greg@alphatech.com>
5830 * indent.c (column_at_point): column cache bugfix.
5831 Set last_known_column_point to the buffer position for
5832 which the column was requested, not buffer's point.
5834 * redisplay.c (decode_mode_spec): for current-column, show
5835 window's point's column, not buffer's point's column.
5837 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5839 * menubar-msw.c (mswindows_handle_wm_command): use
5840 enqueue_misc_user event rather than
5841 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5844 * console-msw.h: declare mswindows_enqueue_magic_event.
5846 * event-msw.c (mswindows_enqueue_magic_event): make global.
5848 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5850 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5851 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5852 (add_position_to_cache): Use EMACS_INT instead of int.
5854 1998-06-21 Olivier Galibert <galibert@pobox.com>
5856 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5857 suitable for an int used as a boolean (btw, C sucks.).
5859 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5861 * object-msw.c: remove warnings.
5863 * device-msw.c: #define wrongly named cygwin structure elements.
5865 * s/cygwin32.h: define DEMI_BOLD
5867 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5869 * redisplay-msw.c: new function mswindows_apply_face_effects.
5870 This is called by output_string and output_cursor to display
5871 underline and strikeout on faces.
5873 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5875 * console-msw.h: added a list of fonts to device data.
5877 * device-msw.c: enumerate list of available fonts in
5878 mswindows_init_device. Free list in mswindows_delete_device.
5880 * objects-msw.c: Added helper function match_font used by
5881 mswindows_initialize_font_instance and mswindows_list_fonts.
5882 Allow a charset to be specified in a font string, even if
5883 previous fields havn't been specified.
5885 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5888 Removed compilation warnings from mswindows_string_to_color.
5889 mswindows_list_fonts returns a more general bogus font.
5890 New lisp-visible function mswindows-color-list.
5892 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5894 * editfns.c (Fuser_login_name): Modify to user new function
5896 (user_login_name): C only function to avoid Lisp object overhead
5897 Returns "unknown" instead of nil in Cygwin environment
5899 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5900 equivalent for current user in Cygwin environment. Use new
5901 function user_login_name to get username.
5903 * lisp.h: Declare user_login_name
5905 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5907 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5909 Some other insignificant nitpicks.
5911 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5913 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5914 creating the image list and make sure he bk color is transparent.
5916 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5918 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5919 completed_timeouts. The timer could have expired.
5921 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5923 * console-msw.h: move XEMACS_RECT_WH inside frame
5924 parameters. define macors to access it.
5926 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5927 parameter to intialise desired sizing. (mswindows_init_frame_2):
5928 enable and size the frame to something sensible when we get
5929 here. (mswindows_set_frame_properites): use new
5930 mswindows_size_frame_internal function and size frame if frame
5931 parameters not just if init is finished - WM_SIZE happens too
5932 early for some specs. (mswindows_size_frame_internal): new
5933 function abstracted from mswindows_set_frame_properties.
5934 (Vmswindows_use_system_frame_size_defaults):
5935 new variable controls whether to allow the system to pick frame
5936 size defaults, defaults to nil.
5938 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5939 than duplicated code.
5941 1998-06-15 Colin Rafferty <colin@xemacs.org>
5943 * Makefile.in.in: Made EXTW_LINK expand properly.
5945 1998-06-12 Martin Buchholz <martin@xemacs.org>
5947 * redisplay.c (vars_of_redisplay): default value of
5948 column-number-start-at-one should be NIL!
5950 1998-06-11 Martin Buchholz <martin@xemacs.org>
5953 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5955 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5957 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5958 build_string to avoid crashes under Mule.
5960 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5962 * ntplay.c (play_sound_data_1): don't delete the sound data until
5963 the next sound is played and the previous one finished.
5965 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5967 * fileio.c (directory-sep-char): Escape backslashes.
5969 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5971 * event-stream.c: Fix docstring reference.
5973 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5975 * alloc.c (make_float): Remove useless initialization of `next'
5977 (make_pure_float): Ditto.
5979 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5981 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5983 * fileio.c (Fmake_directory_internal): Remove conditionals
5984 on WINDOWSNT when calling mkdir.
5986 * ntproc.c: Deleted the following unused functions:
5987 register_child, reap_subprocess, sys_wait.
5989 * nt.c (sys_rename): Ifzeroed this implementation.
5990 Deleted the following unused functions:
5991 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5992 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5993 sys_read, sys_write.
5994 Merger sys_fopen and sys_open with sysdep.c implementation.
5996 * sysdep.c: Removed MS-DOS code.
5997 (sys_rename): Deal with Microsoft rename weirdness.
5998 (sys_open): Implemented for Windows.
6002 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6004 * buffer.c (complex_vars_of_buffer): Removed %t description from
6007 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6009 * scrollbar-msw.c: initialize the cbSize element of the
6010 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
6011 to ignore the value of cbSize, but Win95 (and I presume Win98)
6012 appear to want it set to sizeof(SCROLLINFO).
6014 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
6016 * event-stream.c: Defined Qcancel_mode_internal.
6017 (syms_of_event_stream): defsymbol'ed it.
6019 * events.h: Externed it.
6021 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
6023 1998-06-04 Oliver Graf <ograf@fga.de>
6025 * frame-x.c (x_cde_destroy_callback): free the data
6026 (cde-start-drag-internal) corrected root position, 21.1 needs this
6027 hardcoded in Button events
6028 (offix-start-drag-internal) corrected root position
6030 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6032 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
6035 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6037 * dialog-msw.c (button_width): Removed `inline' from the function
6040 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6042 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
6043 Note that adding this flag to subsequent frames causes problems.
6045 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6047 * glyphs-eimage.c (png_instantiate) move 'struct
6048 png_memory_storage tbr' out of nested block to avoid dangling
6051 1998-06-02 Andy Piper <andyp@parallax.co.uk>
6054 * faces.c: rename 3d-object -> gui-element. add toolbar face which
6055 inherits from gui-element.
6057 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
6058 with existing code, generate masks correctly.
6060 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
6062 * glyphs-eimage.c: Changed included header for gifs to use
6063 Gifreader instead of giflib.
6065 * glyphs-x.c: removed the image-related functions that were
6066 moved into glyphs-eimage.
6068 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
6070 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
6071 if built without X Windows support.
6073 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
6075 * fns.c (Fconcat): Synch docstring with new reality.
6077 1998-06-03 SL Baur <steve@altair.xemacs.org>
6079 * frame.c: Remove reference to msdos.h (which is going away).
6080 Suggested by Hrvoje Niksic and Kirill Katsnelson.
6082 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
6084 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
6088 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6090 * events.h: Fixed commentary about misc-user scrollbar events.
6092 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
6093 object as an event channel, instead of window object.
6094 (x_update_horizontal_scrollbar_callback): Ditto.
6096 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6098 * ntplay.c (play_sound_data_1) new function. convert alloca data
6099 to malloc if necessary.
6100 (play_sound_file): if the file is not in our path then convert to
6103 1998-06-01 SL Baur <steve@altair.xemacs.org>
6105 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
6106 * msdos.c (Frecent_doskeys): Ditto.
6108 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
6109 Suggested by Reggie Perry <perry@zso.dec.com>
6111 * buffer.h: Eliminate size in declaration.
6113 1998-06-01 Olivier Galibert <galibert@pobox.com>
6115 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
6117 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
6119 * gui.c (gui_item_init): Changed the default value for config member
6120 from Qunbound to Qnil.
6122 1998-06-01 Greg Klanderman <greg@alphatech.com>
6124 * indent.c (vmotion_pixels): Don't #define abs().
6126 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6128 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
6131 1998-05-30 Andy Piper <andyp@parallax.co.uk>
6133 * glyphs.h: add xbm declarations.
6135 * console.h: add xbm_instantiate_method device method.
6137 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
6138 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
6139 (xbm_possible_dest_types): moved here from glyphs-x.c. use
6140 locate_pixmap_file device method and read_bitmap_data_from_file
6141 instead of XmuReadBitmapDataFromFile.
6142 (xbm_instatntiate): make a device method.
6144 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
6145 new function that just calls XmuReadBitmapDataFromFile.
6146 (x_xbm_instatntiate): device method from xbm_instantiate.
6148 * glyphs-msw.c (read_bitmap_data) (NextInt)
6149 (read_bitmap_data_from_file): new functions copied from Xmu
6151 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
6152 inline data to an mswindows bitmap.
6153 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
6154 (mswindows_xbm_instantiate): mswindows-ized versions of the X
6157 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6159 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
6160 `modeline-visible-p'.
6161 Declared specifier lisp variables at the beginning oh the file
6164 * procimpl.h (struct process_methods): Changed semantics of
6165 create_process method so it accepts lisp strings instead of
6168 * process.c (Fstart_process_internal): Moved building of
6169 unix style argv from here to process-unix.c, ...
6171 * process-unix.c (unix_create_process): ... right here.
6173 * process-nt.c (nt_create_process): Changed this function to
6174 support new semantics, so avoided a GC problem.
6176 * events.c (Fmake_event): Document misc-user events properties.
6177 (Fmake_event): Do not allow arbitrary objects for channel property
6178 of misc-user events.
6179 (Fmake_event): Change misc-user event validation: it is function
6180 which is required, not button.
6182 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
6184 (mswindows_enqueue_misc_user_event): Added function.
6185 (mswindows_bump_queue): Removed function.
6186 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
6187 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
6188 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
6189 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
6190 really nothing, which is my personal favorite thing.
6192 * console-msw.h: Removed prototype for mswindows_bump_queue().
6193 Added prototype for mswindows_enqueue_misc_user_event().
6195 * menubar-msw.c (mswindows_handle_wm_command): Use
6196 mswindows_enqueue_misc_user_event().
6198 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6200 * dialog-msw.c (dialog_proc): Ditto.
6202 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6203 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6204 user events channel.
6206 1998-05-29 Greg Klanderman <greg@alphatech.com>
6208 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6209 incorrect semantics of vmotion_pixels which has been fixed. don't
6210 use it anymore as it can't easily be used.
6212 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6213 the motion was reported incorrectly if you tried to go past end of
6216 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6218 * toolbar.h: Removed misleading commentary, as Martin suggested.
6220 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6222 * lisp.h: Extern Qactivate_menubar_hook.
6224 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6227 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6229 * glyphs-msw.c: use BPLINE macro.
6231 * select-msw.c (mswindows-selection-exists-p)
6232 (mswindows-delete-selection): doc string fixes.
6234 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6235 unpressable. warning elimination.
6237 1998-05-28 Martin Buchholz <martin@xemacs.org>
6239 * alloc.c (dbg_constants):
6242 Remove toolbar_data debugging code, since that lrecord has
6245 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6247 * alloc.c: zap cached value of (user-home-directory), so that
6250 * buffer.c: From init_buffer(), separated out code that
6251 determined the initial directory for the *scratch* buffer, and
6252 put them into a function called "init_initial_directory()".
6253 The initial directory is now available as a global "char *"
6254 called initial_directory.
6256 * buffer.h: Added extern entries for initial_directory[] and
6257 init_initial_directory().
6259 * editfns.c: added new elisp function "user-home-directory",
6260 which basically returns getenv("HOME"), but attempts to use
6261 other values if $HOME isn't set.This may have to be tweaked in
6262 the future as, under Unix, "/" is used if $HOME isn't set (this
6263 probably should be set to the current directory). To support
6264 this, a new C function, "get_home_directory()", now exists,
6265 which returns the "home directory", as a "char *" string.
6267 * emacs.c: Rearrange NT initialization order so that
6268 environment/registry variables will be properly entered into
6269 Vprocess_enviroment.
6271 * fileio.c: replaced egetenv("HOME") with calls to the new
6272 get_home_directory().
6274 * lisp.h: Added function prototypes for uncache_home_directory()
6275 and get_home_directory(), along with lisp prototypes for
6276 Fuser_home_directory() and friends.
6278 * nt.c: replaced getenv("HOME") with calls to the new
6279 get_home_directory().
6281 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6282 warnings about getcwd(), etc. not having prototypes.
6284 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6286 * process-nt.c (send_signal): Emulate SIGHUP.
6287 (validate_signal_number): Ditto.
6289 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6290 remove MOD_SHIFT from ASCII characters.
6291 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6294 1998-05-24 Oliver Graf <ograf@fga.de>
6296 * frame-x.c (cde-start-drag-internal): added filename and multi-
6298 (x_cde_convert_callback) dito
6300 1998-05-26 Oliver Graf <ograf@fga.de>
6302 * frame-x.c: include event-mod.h also with CDE
6303 (x_cde_convert_callback) made the thing working
6304 (cde-start-drag-internal) also debugging
6306 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6313 - add __OpenBSD__ where __NetBSD__ was found.
6314 - TODO: replace platform-specific conditional compilation by
6315 feature tests in configure.in.
6317 1998-05-15 Greg Klanderman <greg@alphatech.com>
6319 * window.c (Fwindow_displayed_text_pixel_height): New function.
6320 (syms_of_window): DEFSUBR it.
6322 * indent.c (Fvertical_motion_pixels): New function - request
6324 (vmotion_pixels): helper.
6325 (syms_of_indent): DEFSUBR.
6326 * lisp.h: declaration for vmotion_pixels().
6328 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6329 to request returning motion in pixels.
6330 (Fvertical_motion_pixels): Remove, functionality merged into
6332 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6333 (Fmove_to_window_line): ditto.
6334 * lisp.h: Change declaration for Fvertical_motion.
6336 * window.c: rename window-text-pixel-{height,width,edges} to
6337 window-text-area-pixel-*.
6339 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6341 * tooltalk.c (vars_of_tooltalk) added staticpro for
6342 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6344 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6346 * faces.c: create a new 3d_object_face, make modeline and
6347 vertical_divider faces fallback to this rather than the default.
6349 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6351 * s/cygwin32.h: define charsets for cygwin.
6353 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6355 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6356 and coordinates. resize bitmaps if we have already settled on a
6359 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6361 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6363 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6365 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6369 * gui-x.c (popup_selection_callback): Ditto.
6371 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6373 * gui.c (get_callback): Renamed to get_gui_callback.
6375 1998-05-17 Martin Buchholz <martin@xemacs.org>
6377 * glyphs.h: order rearrangement.
6379 * device-tty.c (tty_asynch_device_change): Warning suppression.
6380 * device-x.c (x_device_system_metrics): Warning suppression.
6381 Make Doc strings consistent with coding standards.
6383 1998-05-24 Martin Buchholz <martin@xemacs.org>
6385 * general.c: multiple definition of `Qicon'. general.c seems
6386 like a good home for Qicon.
6388 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6390 * This patch is to fix compilation warnings under Windows.
6392 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6393 Added prototypes for FSF inherited functions, with which XEmacs is
6394 sprinkled thoroughly.
6395 Removed some #if 0 code. Bracketed some more definitions, probably
6396 related to Visual C versions prior to 4 (we do not support them).
6398 * sysfloat.h (logb): Finally, get logb() prototyped.
6400 * sysfile.h: Added Windows specific includes.
6401 Removed old Windows specific code bracketed with #if 0.
6403 * sysdep.h: Added prototype for xrealpath().
6405 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6407 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6408 vars_of_dired_mswindows and init_ntproc (Grrr).
6410 * realpath.c: Added Windows specific include files.
6411 (xrealpath): Conditionalized declaration of some auto variables on
6412 S_IFLNK, to avoid warnings.
6414 * ntproc.c: Disabled some compiler warnings. This file is going to
6415 die, so I have not cleaned it up much.
6416 (set_process_dir): Const parameter.
6417 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6418 (Fwin32_long_file_name): Ditto.
6419 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6422 * nt.h: Added prototypes for set_process_dir and convert_time.
6424 * nt.c: More include files.
6425 (getpwnam): Consted char* argument.
6426 (get_emacs_configuration): Const return value.
6427 (opendir): Const argument.
6428 (stat): Casted converstion long->short.
6429 (stat): Removed ad hoc and questionable support for non-MSC compile.
6430 (sys_pipe): Removed unused auto variable.
6431 (_sys_read_ahead): Removed calls to DebPrint.
6432 (sys_read): Ditto, in 2 places.
6433 (term_ntproc): Added unused int parameter to signal handler, to
6434 avoid a warning when compiling a call to signal().
6435 (msw_sigset): Properly return old signandler or NULL instead of void.
6437 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6439 * gmalloc.c (morecore): Ditto.
6440 (_free_internal): Ditto.
6442 * lread.c (parse_integer): Ditto.
6444 * dired-msw.c: Added several include files.
6446 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6447 of Compilers to Shut Up.
6449 * callproc.c: Added #includes to suppress warnings under Windows.
6450 (init_callproc): Removed #if0'ed code and unused variables.
6452 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6454 * device-msw.c (mswindows_device_system_metrics): do planes in a
6455 way consistent with X.
6457 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6458 use SetPixel, use DIBits functions.
6459 (xpm_to_eimage): frob colors more closely like xpm deos.
6461 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6462 to be closer to X version.
6464 * event-msw.c: use tooltip string directly.
6466 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6468 * objects-msw.c: frob rgb colors that only Kyle uses.
6470 * dialog-msw.c (button_width): INLINE -> inline.
6472 1998-05-23 SL Baur <steve@altair.xemacs.org>
6474 * getloadavg.c (getloadavg): Fix typo.
6476 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6478 * objects-msw.c (mswindows_initialize_font_instance): Added support
6479 for font character sets.
6480 Replaced 'XXX' with '####' in comments throughout the file.
6482 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6484 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6485 console_type_create_dialog_mswindows(), to initialize Windows dialog
6488 * symsinit.h: Prototyped the above functions.
6490 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6491 checks to dialog.c...
6493 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6494 device must support dialog boxes, and the descriptor must supply at
6497 * dialog-msw.c: New file, dialogs for Windows.
6499 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6501 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6502 (Fldap_search_internal): Removed unused variable `err'
6504 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6507 1998-05-17 Martin Buchholz <martin@xemacs.org>
6509 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6510 defined. Therefore there is no need to handle the case when
6511 HAVE_LDAP is undefined. Similarily, there is no reason to have
6512 any code wrapped within `#ifdef emacs', since this code is only
6513 useful within an emacs. This simplifies the code significantly.
6515 * inline.c: Include eldap.h only if HAVE_LDAP.
6516 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6519 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6521 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6522 printing dump stats when building without DEBUG_XEMACS.
6523 (dump_bss_and_heap): Ditto.
6525 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6527 * gnuclient.c: don't suppress window system if there is no display
6528 and we are running under mswindows. send 'mswindows device type if
6529 we are in this situation.
6531 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6534 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6536 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6539 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6541 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6542 {top,bottom}-{left,right} values in addition to
6543 {top,bottom}_{left,right}.
6545 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6547 * fileio.c (Fmake_temp_name): Remove unreached code.
6549 * process-nt.c (validate_signal_number): Use
6550 signal_simple_error().
6552 1998-05-19 Martin Buchholz <martin@xemacs.org>
6555 * sound.c (vars_of_sound):
6556 * sysdep.c (reset_sigio_on_device):
6557 * window.c (window_bottom_gutter_height):
6558 unexhp9k800.c:258: warning: implicit declaration of function
6559 `calculate_checksum'
6560 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6561 sysdep.c:1012: warning: unused variable `owner'
6562 window.c:993: warning: `window_right_toolbar_width' defined but not used
6564 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6566 * glyphs-msw.c (mswindows_create_resized_mask)
6567 (mswindows_create_resized_bitmap): new funnctions split out from
6568 mswindows_resize_dibitmap_instance.
6570 * glyphs-msw.h: declare new resize functions.
6572 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6573 functions so that the original bitmaps are preserved.
6575 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6577 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6578 color if we are trying to output 0 depth bg pixmap.
6580 * scrollbar-msw.c: warning elimination.
6582 1998-05-18 Martin Buchholz <martin@xemacs.org>
6584 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6585 directives in column 1.
6587 * search.c (skip_chars): Avoid using xzero with arrays, since some
6588 compilers get confused by the construct &array.
6590 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6593 * objects-msw.c: Changed the charset value for a new font from
6594 "don't care" to "ansi".
6596 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6598 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6600 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6601 modifier on control chars.
6602 Use IsCharAlpha() instead of isaplha().
6604 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6606 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6608 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6610 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6611 charset when creating font.
6612 (mswindows_initialize_color_instance): Do not create brush along
6614 (mswindows_finalize_color_instance): Do not delete it then.
6616 * objects-msw.h (struct mswindows_color_instance_data): Removed
6617 brush slot, and corresponding accessor macro.
6619 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6621 * toolbar.c: Removed toolbar_data lrecord implementation.
6622 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6623 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6624 (compute_frame_toolbar_buttons): Ditto.
6625 (CHECK_TOOLBAR): Ditto.
6626 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6627 (update_frame_toolbars): Do not check for changed buffer
6628 here. Toolbar information is provided by cached specs in
6629 windows. The check for buffer is eliminated becuase toolbars are
6630 marked changed in set_frame_selected_window() in frame.c
6631 Added check for changed toolbars geometry.
6632 (compute_frame_toolbars_data): Removed unused second parameter;
6633 Adjusted callers of this static function throughout the file.
6634 (init_frame_toolbars): Initialize current_toolbar_size.
6635 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6636 what is its current expansion, for clarity.
6637 (init_frame_toolbars): Ditto.
6638 (init_device_toolbars): Ditto.
6639 (init_global_toolbars): Ditto.
6641 * toolbar.h: Removed definition of toolbar_data lrecord.
6642 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6643 FRAME_CURRENT_TOOLBAR_SIZE.
6644 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6646 * toolbar-x.c (x_output_toolbar): The same change as in
6648 (x_output_toolbar): Ditto.
6649 (x_redraw_exposed_toolbar): Ditto.
6651 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6652 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6653 (mswindows_output_toolbar): Ditto.
6654 (mswindows_output_toolbar): Ditto.
6656 * frame.c (mark_frame): Removed marking of arrays, according to
6657 frameslots.h change.
6658 (nuke_all_frame_slots): Ditto.
6659 (set_frame_selected_window): Mark toolbars changed when
6660 last_nonminibuf_window changes.
6662 * frame.h (struct frame): Moved some slots to frameslots.h.
6663 Added current_toolbar_size array.
6664 Changed references from toolbar_data to toolbar_buttons in macros
6665 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6666 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6667 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6669 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6670 Moved arrays of lisp objects here from frame.h: toolbar_size,
6671 toolbar_visible_p, toolbar_border_width.
6672 Removed toolbar_data slot and added toolbar_buttons.
6674 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6676 * symsinit.h: Externed syms_of_process_nt()
6678 * emacs.c (main_1): Call syms_of_process_nt()
6680 * process-nt.c: Quote process arguments by a call to Lisp function
6681 `nt-quote-process-args'.
6682 (syms_of_process_nt): New function.
6683 (nt_send_process): Flush data stream after each write, to avoid
6684 leaving buffered data.
6685 (nt_send_process): When blocked on process output, wait for
6686 process to slurp more for progressively increasing time intervals.
6688 1998-05-17 Martin Buchholz <martin@xemacs.org>
6690 * window.c (have_undivided_common_edge): Make file-local function
6692 (map_windows): Return 0 if all map functions successful.
6695 * winslots.h: Use unlikely names for local variables in macros to
6696 avoid shadowing warnings.
6698 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6700 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6701 so that we re-output if the toolbar size has changed.
6703 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6705 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6707 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6709 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6712 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6714 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6715 get bitmap manifest constants defined.
6717 * console-msw.h: Include system files in angle brackets, not in
6720 * window.c (specifier_vars_of_window): Fixed a typo in
6721 `vertical-divider-line-width' docstirng.
6723 1998-05-16 Olivier Galibert <galibert@pobox.com>
6725 * line-number.c (delete_invalidate_line_number_cache): Use an
6727 (buffer_line_number): Remove dangerous, plain wrong when using
6728 64bits emacs ints, cast.
6730 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6732 * cmds.c (Fforward_line): Use EMACS_INTs.
6734 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6735 (scan_buffer): Ditto.
6736 (bi_find_next_newline_no_quit): Remove useless cast.
6737 (find_next_newline_no_quit): Ditto.
6738 (find_next_newline): Ditto.
6739 (find_before_next_newline): Use an EMACS_INT.
6741 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6743 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6745 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6747 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6749 * gui-x.c (popup_selection_callback): Use it.
6751 * gui.h (get_callback): Declare it.
6753 * gui.c (get_callback): New function.
6755 1998-05-15 SL Baur <steve@altair.xemacs.org>
6757 * window.c (have_undivided_common_edge): Guard scrollbar specific
6759 (window_needs_vertical_divider_1): Ditto.
6761 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6763 * emacs.c (decode_path): Eliminate compiler warning.
6764 (Fdecode_path): Renamed to Fsplit_path.
6765 (Fsplit_string_by_char): New function.
6767 1998-05-14 Damon Lipparelli <lipp@primus.com>
6769 * winslots.h: close comment
6771 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6773 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6775 * bufslots.h: Removed buffer_file_type slot.
6777 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6779 (complex_vars_of_buffer): Removed buffer-file-type variable and
6780 its default reference.
6782 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6784 * faces.c (complex_vars_of_faces): Defined
6785 Vvertical_divider_face.
6786 (vars_of_faces): Staticpro it.
6788 * faces.h: Externed Vvertical_divider_face.
6790 * redisplay-x.c (x_output_vertical_divider): Use
6791 Vvertical_divider_face to draw the divider instead of modeline
6794 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6795 divider face using Vvertical_divider_face background.
6796 Fix drawing spacing gaps around the divider.
6798 1998-05-14 Didier Verna <verna@inf.enst.fr>
6800 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6801 values for the vertical divider line width and spacing. Use the
6802 cached values from the window structure instead.
6803 (x_divider_width): ditto.
6805 * window.c (specifier_vars_of_window): new specifiers:
6806 vertical-divier -line-width and -spacing.
6807 (vertical_divider_global_width_changed): formerly known as
6808 vertical_divider_shadow_thickness_changed.
6810 * winslots.h: new slots: vertical_specifier _line_width and
6811 _spacing. Plus corrected a comment typo.
6813 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6815 * window.h: Declared window_divider_width().
6817 * console-stream.c (stream_divider_width): Removed method.
6818 (console_type_create_stream): And declaration for it.
6820 * redisplay.c (pixel_to_glyph_translation): Use
6821 window_divider_width() instead of divider_width redisplay method.
6822 (pixel_to_glyph_translation): Fix top divider edge calculation
6823 when scrollbar is on top.
6825 * window.c (window_divider_width): New function, an outphaser for
6826 divider_width redisplay method.
6827 (window_right_gutter_width): Use it.
6828 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6829 specifiers, set fallback values differently on TTYs, and document
6830 the behavior of these on TTYs in the docstrings.
6832 * scrollbar.c (update_scrollbar_instance): Use
6833 window_divider_width() instead of divider_width redisplay method.
6835 * console.h (struct console_methods): Removed divider_width_method.
6837 * redisplay-tty.c (tty_divider_width): Removed device method.
6838 (console_type_create_redisplay_tty): Removed definition for it.
6839 (tty_output_vertical_divider): Respect the value returned by
6840 window_divider_width thus divider line width specification.
6842 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6843 (console_type_create_redisplay_mswindows): Removed definition for it.
6844 (mswinodws_output_vertical_divider): Respect the value returned by
6845 window_divider_width thus divider line width specification.
6847 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6849 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6851 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6853 * glyphs-msw.c: resource loading implementation.
6854 (cursor_normalize): new function.
6855 (cursor_validate): ditto.
6856 (cursor_instantiate): ditto.
6857 (cursor_name_to_resource): ditto.
6858 (cursor_possible_dest_types): ditto.
6859 (check_valid_symbol): ditto.
6860 (check_valid_string_or_int): ditto.
6862 1998-05-14 Martin Buchholz <martin@xemacs.org>
6864 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6867 * process-unix.c (process_signal_char): Use VSUSP instead of
6868 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6870 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6872 * specifier.c (specifier_instance): Change locale precedence of
6873 instantiation so window locale has higher priority than buffer
6875 (Fspecifier_instance): Reflect this in docstring.
6876 (Fadd_spec_list_to_specifier): Ditto.
6877 (Fadd_spec_to_specifier): Ditto.
6878 (Fremove_specifier): Ditto.
6880 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6882 ** Dialog separation into a device method from Andy Piper
6884 * emacs.c (main_1): Call console_type_create_dialog_x().
6886 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6887 into this device method.
6888 (console_type_create_dialog_x): New function.
6890 * dialog.c (Fpopup_dialog_box): New function.
6891 (syms_of_dialog): Defsubr it.
6893 * console.h (struct console_methods): Declared
6894 popup_dialog_box_method().
6896 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6898 1998-05-14 Oliver Graf <ograf@fga.de>
6900 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6901 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6903 1998-05-13 Oliver Graf <ograf@fga.de>
6905 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6907 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6909 * console.h (device_metrics): Removed dbcs, input-method-editor
6910 and right-to-left metrics.
6912 * device.c (Fdevice_system_metric): Ditto.
6913 (Fdevice_system_metrics): Ditto.
6914 (syms_of_device): Ditto.
6915 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6918 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6920 * line-number.h (mark_line_number_cache): Remove unused
6923 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6924 (get_nearest_line_number): Simplify.
6925 (add_position_to_cache): Make the old marker point nowhere.
6927 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6929 ** Renamed window-divider-map => vertical-divider-map
6930 and event-over-divider-p => event-over-vertical-divider-p,
6931 in the following files/functions:
6933 * events.c (Fevent_over_divider_p):
6934 * keymap.c (get_relevant_keymaps):
6937 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6939 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6941 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6943 * window.c (vertical_divider_changed_in_window): Renamed so.
6944 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6945 (window_needs_vertical_divider_1): Decide whether we need it based
6946 on the value of the above specifier. If separators are unwanted,
6947 put them only if there's no scrollbar between this window and its
6949 (have_undivided_common_edge): New function, helper for the above.
6950 (window_needs_vertical_divider): Return either a cached value,
6951 or clauclate and cache one.
6952 (invalidate_vertical_divider_cache_in_window): Implemented.
6953 (map_windows): Changed return type to int, return the value from
6956 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6957 (struct window): Added need_vertical_divider_p and
6958 need_vertical_divider_valid_p.
6960 * winslots.h: Added vertical_divider_draggable_p slot.
6962 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6963 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6965 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6967 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6968 invalidate_vertical_divider_cache_in_frame().
6971 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6973 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6975 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6976 masks correctly and don't select 0.
6978 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6980 * winslots.h: New file, declaration of some struct window and
6981 struct saved_window members.
6983 * window.h (struct window): Include it, with required preprocessor
6986 * window.c (mark_window): Ditto.
6987 (allocate_window): Ditto.
6988 (struct saved_window): Ditto.
6989 (mark_window_config): Ditto.
6990 (saved_window_equal): Ditto.
6991 (Fset_window_configuration): Ditto.
6993 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6995 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6997 1998-05-12 Didier Verna <verna@inf.enst.fr>
6999 * redisplay-x.c (x_output_vertical_divider): draw shadows around
7000 the divider line. The shadow thickness is currently
7001 hard-wired. This will probably be turned into a specifier soon.
7003 1998-05-12 Didier Verna <verna@inf.enst.fr>
7005 * console.h (struct console_methods): the divider_width console
7006 method now requires a struct window * argument.
7008 * redisplay-x.c (x_divider_width): ditto. Plus remove
7009 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
7010 (x_output_vertical_divider): give a depressed look when the shadow
7011 thickness is negative.
7013 * console-stream.c (stream_divider_width): pass a struct window *
7016 * redisplay-tty.c (tty_divider_width): ditto.
7018 * window.c (window_right_gutter_width): totdi.
7020 * redisplay.c (generate_modeline): ittod.
7022 * scrollbar.c (update_scrollbar_instance): ttido.
7024 * redisplay-msw.c (mswindows_divider_width): ottid.
7025 WARNING: this enables to compile, but the feature is not functional.
7027 * window.h (struct window): new field
7028 vertical_divider_shadow_thickness.
7030 * window.c (specifier_vars_of_window): new specifier
7031 vertical-divider-shadow-thickness.
7032 (vertical_divider_shadow_thickness_changed): new function to
7033 inform redisplay that the window has changed.
7034 (mark_window): handle new field vertical_divider_shadow_thickness
7036 (allocate_window): ditto.
7037 (saved_window_equal): toddi.
7038 (Fset_window_configuration): totid.
7039 (save_window_save): ttdio.
7040 (struct saved_window): new field vertical_divider_shadow_thickness.
7042 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7044 * device-msw.c (mswindows_device_system_metrics): Support a deluge
7047 1998-05-12 Oliver Graf <ograf@fga.de>
7049 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
7050 * event-Xt.c (x_event_to_emacs_event): C++ compability
7052 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7054 * emacs.c (Fdecode_path): Default SEPCHAR to value of
7057 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7059 * emacs.c (vars_of_emacs): Do it here; change the meaning of
7062 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
7064 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7066 * emacs.c (decode_path_1): New function.
7067 (decode_path): Use it.
7068 (Fdecode_path): Renamed from Fdecode_path_internal; use
7071 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7073 * macros.c (Fzap_last_kbd_macro_event): New function.
7074 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
7076 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7078 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
7079 multiple bitmaps are output vertically as well as horizontally.
7080 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
7081 crossing lines this is handled by
7082 mswindows_output_dibitmap_region.
7084 1998-05-12 Martin Buchholz <martin@xemacs.org>
7086 * inline.c: Include eldap.h
7088 * menubar-x.c (x_update_frame_menubar_internal):
7089 Remove: unused variable `container'
7091 1998-05-11 Martin Buchholz <martin@xemacs.org>
7093 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
7094 Unfortunately, the resulting temacs still cannot dump.
7096 * symbols.c (symbol_is_constant):
7097 (verify_ok_for_buffer_local):
7098 -Wswitch Warning suppression - add default case to switches.
7100 * redisplay.c (decode_mode_spec): Remove unused variables,
7101 Replace Fcoding_system_property (codesys, Qmnemonic) with
7102 XCODING_SYSTEM_MNEMONIC (codesys);
7103 Fcoding_system_property is for users.
7109 Change empty docstrings into no doc strings at all.
7110 Fix bogus FSF-format docstrings.
7113 Standardize docstrings.
7116 Explain problems with matherr.
7118 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
7121 if BROKEN_SIGIO, then SIGIO wants to be undefined.
7122 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
7123 Fix the weird resultant interaction (causes windows problems)
7127 Take new EMACSBOOTSTRAPLOADPATH into account.
7128 Update documentation strings
7131 - Adjust for luser's CDPATH being set to something weird.
7132 - Take into account bash 2.02's tendency to print the cwd when
7133 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
7134 - fix the run-temacs target to use $(DUMPENV)
7135 - fix the run-puremacs target to use $(DUMPENV)
7136 - fix the `depend' target to properly $(RM) the right files
7137 - Generate a better TAGS file for XEmacs' lisp code using
7138 hand-crafted regexps.
7139 - Use standard coding conventions for modules/Makefile.in
7141 1998-05-12 Didier Verna <verna@inf.enst.fr>
7143 * redisplay.c: removed the scrolling modeline code that didn't
7144 make it for 21.0. To be continued ...
7146 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7148 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
7149 and empty string inputs.
7151 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7153 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
7155 1998-05-10 Oliver Graf <ograf@fga.de>
7157 * event-stream.c (enqueue_misc_user_event_pos): created
7158 * lisp.h (enqueue_misc_user_event_pos): prototype added
7159 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
7160 * emacs.c: call vars_of_dragdrop
7161 * dragdrop.c (vars_of_dragdrop): provide dragdrop
7163 1998-05-11 Oliver Graf <ograf@fga.de>
7165 * frame-x.c (x_cde_transfer_callback): return at correct pos
7166 * event-Xt.c (x_event_to_emacs_event): changed format of drop
7167 object for MIME (see comment in dragdrop.c)
7168 * dragdrop.c: API change documented in comment
7169 removed provide of dragdrop [is provided by dragdrop.el]
7171 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7173 * window.c (window_needs_vertical_divider): Enable vertical
7174 dividers for every non-rightmost window.
7175 (window_left_gutter_width): Left gutter consists of mythical
7176 toolbar and a virtual scrollbar.
7177 (window_right_gutter_width): The right one may have a divider
7180 * scrollbar.c (update_scrollbar_instance): Position vertical
7181 scrollbar left to divider if the latter present.
7183 * redisplay.h: Declared OVER_DIVIER constant.
7185 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
7188 * redisplay-x.c (x_output_vertical_divider): Output divider along
7189 the right side of the window, down to window bottom. Swapped
7190 foreground and background colors so it is visible by default.
7192 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7193 stick the divider to the right window side.
7195 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7197 (mswindows_divider_width): Ask system for user preferred value.
7198 (mswindows_output_vertical_divider): Always output the divider on
7199 the right side of a window, down to bottom.
7201 * keymap.c (get_relevant_keymaps): Route mouse button events which
7202 happened over a window divider through window-divider-map.
7203 (Fkey_binding): Documented that in the docstring.
7204 Defined the variable Vwindow_divider_map.
7206 * events.c (Fevent_over_divider_p): Added this function.
7208 * events.h: EXFUNed it.
7210 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7212 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7213 toolbar geometry is suspected to change.
7215 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7219 Condition dnd and dde code on HAVE_DRAGNDROP.
7221 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7223 * events.c (format_event_object): Print space as SPC etc.
7225 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7227 * print.c (print_internal): In the default case, abort() if
7228 ERROR_CHECK_TYPECHECK.
7230 * fileio.c (Fmake_temp_name): Doc fix.
7232 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7234 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7236 * undo.c (Fprimitive_undo): Fixed typo.
7238 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7240 * fns.c (concat): Signal error on integer argument.
7242 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7244 * console.h (device_metrics): Prefixed each constatnt with DM_
7246 * device.c: (Fdevice_system_metric): Renamed so from plural form
7247 (metrics); Changed parameters order and added DEFAULT parameter;
7248 Unabbreviated some metric constants; Fixed and untabified doc string.
7249 (Fdevice_system_metrics): Added. Returns a plist of all provided
7252 * device-msw.c (mswindows_device_system_metrics): Renamed
7253 device_metrics enum constants.
7254 Return Qunbound instead of Qnil.
7256 * device-tty.c (tty_device_system_metrics): Ditto.
7258 * device-x.c (x_device_system_metrics): Ditto.
7260 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7262 * redisplay-msw.c: implement background pixmaps (really!). Make
7263 sure bg color is transparent if we have bg pmaps.
7264 * (mswindows_output_string) (mswindows_clear_region): output bg
7266 * (mswindows_output_dibitmap_region): new function.
7267 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7268 the bg color rather than transparently.
7270 * toolbar-msw.c: use masks if they exist.
7272 * glyphs-msw.c: set up masks correctly.
7274 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7276 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7278 * regex.c (re_match_2_internal): Check for quit.
7280 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7282 * frame.c (Ffocus_frame): New function.