1 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
6 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
8 * mule-charset.c (split_builtin_char): Delete builtin support for
10 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
11 BMP area in builtin representation.
13 * char-ucs.h (MAKE_CHAR): Delete builtin support for
14 `Vcharset_katakana_jisx0201'.
16 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
18 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
19 (Qisolated): New variable.
20 (Qinitial): New variable.
21 (Qmedial): New variable.
22 (Qfinal): New variable.
23 (Qvertical): New variable.
24 (Qsmall): New variable.
25 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
26 `Qvertical' and `Qsmall'.
27 (Qmojikyo_pj_[1 .. 21]): New variable.
28 (syms_of_mule_charset): Add new symbols `isolated', `initial',
29 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
30 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
33 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
35 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
36 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
37 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
39 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
41 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
42 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
44 (Qjapanese_jisx0208_1990): New variable.
45 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
46 (complex_vars_of_mule_charset): Add new coded-charset
47 `japanese-jisx0208-1990'.
49 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
50 (MIN_CHAR_JIS_X0208_1990): New macro.
51 (MAX_CHAR_JIS_X0208_1990): New macro.
53 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
55 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
56 coded-charset is not found.
58 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
60 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
61 (Fdefine_char): Use `Fmake_char'.
63 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
65 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
66 (Vcharset_hiragana_jisx0208): Deleted.
67 (Vcharset_katakana_jisx0208): Deleted.
68 (Qideograph_daikanwa): New variable.
69 (Qhiragana_jisx0208): Deleted.
70 (Qkatakana_jisx0208): Deleted.
71 (split_builtin_char): Split `ideograph-daikanwa'.
72 (Fsplit_char): New implementation for UTF-2000.
73 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
74 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
75 (complex_vars_of_mule_charset): Add new coded-charset
76 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
79 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
80 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
81 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
82 (MIN_CHAR_DAIKANWA): New macro.
83 (MAX_CHAR_DAIKANWA): New macro.
85 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
87 * data.c (Fstring_to_number): Don't recognize floating point if
90 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
92 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
94 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
96 * mule-charset.c (Qsquare): New variable.
97 (to_char_code): Add `Qsquare'.
98 (syms_of_mule_charset): Add new symbol `square'.
100 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
102 * mule-charset.c (Qcircle): New variable.
103 (to_char_code): Add `Qcircle'.
104 (syms_of_mule_charset): Add new symbol `circle'.
106 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
108 * mule-charset.c (Qfont): New variable.
109 (to_char_code): Add `Qfont'.
110 (syms_of_mule_charset): Add new symbol `font'.
112 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
114 * mule-charset.c (Qsub): New variable.
115 (to_char_code): Add `Qsub'.
116 (syms_of_mule_charset): Add new symbol `sub'.
118 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
120 * mule-charset.c (Fput_char_attribute): Convert each element of
121 VALUE to GL position if ATTRIBUTE is a GR-set,
123 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
125 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
126 coded-charset is a GR-set.
128 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
130 * mule-charset.c (Fput_char_attribute): Check each element of
131 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
133 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
135 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
137 (Qethiopic_ucs): New variable in UTF-2000.
138 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
139 (complex_vars_of_mule_charset): Add new coded-charset
140 `ethiopic-ucs' in UTF-2000.
142 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
143 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
145 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
147 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
149 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
151 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
154 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
156 * mule-charset.c (Vcharacter_variant_table): New variable.
157 (Q_ucs): New variable.
158 (Fchar_variants): New function.
159 (Fput_char_attribute): Register `->ucs' value to
160 `Vcharacter_variant_table'.
161 (syms_of_mule_charset): Add new function `char-variants' and new
163 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
165 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
167 * mule-charset.c (get_char_code_table): Allow negative character
169 (put_char_code_table): Likewise.
170 (Vcharacter_composition_table): New variable.
171 (Q_decomposition): New variable.
172 (Qwide): New variable.
173 (Qnarrow): New variable.
174 (Qcompat): New variable.
175 (QnoBreak): New variable.
176 (Qsuper): New variable.
177 (Qfraction): New variable.
178 (to_char_code): New function.
179 (Fget_composite_char): New function.
180 (Fput_char_attribute): Register `->decomposition' value to
181 `Vcharacter_composition_table'.
182 (syms_of_mule_charset): Add new function `get-composite-char', new
183 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
184 `super' and `fraction'.
185 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
187 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
189 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
190 character; copy the return value.
192 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
194 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
196 * mule-charset.c (range_charset_code_point): Must use make_int.
197 (split_builtin_char): New function.
199 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
201 * mule-charset.c (char_byte_table): Change name from
202 "char-code-table" to "char-byte-table".
203 (mark_char_code_table): New function.
204 (char_code_table_equal): New function.
205 (char_code_table_hash): New function.
206 (char_code_table_description): New constant.
207 (char_code_table): New type.
208 (make_char_code_table): New function.
209 (copy_char_code_table): New function.
210 (get_char_code_table): Modify for `char_code_table' type.
211 (put_char_code_table): Likewise.
212 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
215 * char-ucs.h (char_code_table): New type.
216 (XCHAR_CODE_TABLE): New macro.
217 (XSETCHAR_CODE_TABLE): New macro.
218 (CHAR_CODE_TABLE_P): New macro.
219 (GC_CHAR_CODE_TABLE_P): New macro.
220 (struct Lisp_Char_Code_Table): New structure.
222 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
224 * mule-charset.c (Fmake_charset): Setup byte_offset for
227 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
229 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
232 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
234 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
237 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
239 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
240 charset, it is regarded as a charset.
241 (put_char_attribute): New function in UTF-2000.
242 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
243 charset, mapping-table of the charset is modified.
244 (Fdefine_char): New function in UTF-2000.
245 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
246 `Fput_char_attribute'.
247 (syms_of_mule_charset): Add new function `define-char' and new
248 symbol `ucs' in UTF-2000.
249 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
251 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
253 * mule-charset.c (Fcharset_name): Define `byte_offset' in
254 non-UTF-2000 configuration.
256 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
258 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
259 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
261 * mule-charset.c (mark_charset): `cs->encoding_table' has been
263 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
264 (Fset_charset_mapping_table): Likewise.
266 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
267 (CHARSET_ENCODING_TABLE): Delete.
268 (XCHARSET_ENCODING_TABLE): Delete.
269 (charset_code_point): New interface.
271 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
273 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
274 instead of `charset_get_byte1' and `charset_get_byte2'.
276 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
277 (charset_get_byte2): Deleted.
279 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
281 * char-ucs.h (SPLIT_CHAR): New inline function.
282 (breakup_char_1): Use `SPLIT_CHAR'.
284 * mule-charset.c (range_charset_code_point): New function.
285 (charset_code_point): New function.
287 * char-ucs.h (range_charset_code_point): New interface.
288 (breakup_char_1): Use `range_charset_code_point'.
290 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
292 * mule-charset.c (Fmake_charset): Delete unused local variable
295 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
296 (breakup_char_1): Find a charset and code-point in
297 `Vcharacter_attribute_table'.
299 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
301 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
304 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
306 * mule-charset.c (Vcharacter_attribute_table): New variable.
307 (Fchar_attribute_alist): New function.
308 (Fget_char_attribute): New function.
309 (Fput_char_attribute): New function.
310 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
312 (syms_of_mule_charset): Add new function `char-attribute-alist',
313 `get-char-attribute' and `put-char-attribute'.
314 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
316 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
318 * mule-charset.c (Fmake_charset): Just use
319 `get_unallocated_leading_byte'.
321 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
322 sets; don't use final-byte based number for private sets.
324 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
326 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
329 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
331 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
334 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
336 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
337 of `CHAR_LEADING_BYTE' in UTF-2000.
339 * insdel.c (find_charsets_in_bufbyte_string): Use
340 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
341 (find_charsets_in_emchar_string): Likewise.
343 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
344 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
346 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
347 (CHAR_CHARSET_ID): New macro.
349 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
351 * chartab.c (get_char_table): Don't use type `Charset_ID' for
352 charset-id - MIN_LEADING_BYTE.
353 (put_char_table): Likewise.
355 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
357 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
358 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
359 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
360 (CHARSET_ID_OFFSET): New macro.
361 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
362 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
363 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
364 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
366 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
368 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
369 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
370 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
371 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
372 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
374 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
376 * mule-charset.c (next_allocated_leading_byte): New variable in
378 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
379 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
380 (get_unallocated_leading_byte): Simply use
381 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
382 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
385 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
386 (MAX_LEADING_BYTE_PRIVATE): New macro.
387 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
388 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
390 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
392 * mule-charset.c (Fmake_charset): Allocate final-byte based
393 charset-id for 94-set, 96-set and 94x94-set.
395 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
397 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
399 (Fmake_charset): Likewise.
400 (complex_vars_of_mule_charset): Modify the font registry of
401 `ucs-bmp' not to match `Ethiopic-Unicode'.
403 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
405 * mule-charset.c (complex_vars_of_mule_charset): Add font
406 registory of `ucs-bmp'.
408 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
410 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
411 coded-charsets in `default-coded-charset-priority-list' when
412 breaking up a character.
414 * mule-charset.c (Vcharset_latin_viscii): New variable.
415 (Qlatin_viscii): New variable.
416 (make_charset): Don't use `decoding_table'.
417 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
419 (Fset_charset_mapping_table): New implementation.
420 (syms_of_mule_charset): Add new symbol `latin-viscii'.
421 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
422 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
423 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
424 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
425 charset `latin_viscii'.
427 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
428 (CHARSET_TYPE_94X94): Change to 1 from 2.
429 (CHARSET_TYPE_96): Change to 2 from 1.
430 (CHARSET_TYPE_128): New macro.
431 (CHARSET_TYPE_128X128): Change to 5 from 4.
432 (CHARSET_TYPE_256): New macro.
433 (CHARSET_TYPE_256X256): Change to 7 from 5.
434 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
436 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
438 * text-coding.c (char_encode_shift_jis): Refer
439 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
440 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
442 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
443 (char_byte_table_equal): New function in UTF-2000.
444 (char_byte_table_hash): New function in UTF-2000.
445 (char_byte_table_description): New constant in UTF-2000.
446 (char_byte_table): New type in UTF-2000.
447 (make_char_byte_table): New function in UTF-2000.
448 (copy_char_byte_table): New function in UTF-2000.
449 (make_char_code_table): New macro in UTF-2000.
450 (get_char_code_table): New function in UTF-2000.
451 (put_char_code_table): New function in UTF-2000.
452 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
453 (charset_description): Add setting in UTF-2000.
454 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
455 `CHARSET_TO_BYTE1_TABLE(cs)'.
456 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
457 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
458 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
459 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
460 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
461 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
462 `CHARSET_TO_BYTE2_TABLE(cs)'.
464 * char-ucs.h (char_byte_table): New type.
465 (XCHAR_BYTE_TABLE): New macro.
466 (XSETCHAR_BYTE_TABLE): New macro.
467 (CHAR_BYTE_TABLE_P): New macro.
468 (GC_CHAR_BYTE_TABLE_P): New macro.
469 (struct Lisp_Char_Byte_Table): New structure.
470 (get_char_code_table): New interface.
471 (Emchar_to_byte_table): Deleted.
472 (get_byte_from_character_table): Deleted.
473 (struct Lisp_Charset): Add `encoding_table'; delete
474 `to_byte1_table' and `to_byte2_table'.
475 (CHARSET_ENCODING_TABLE): New macro.
476 (CHARSET_TO_BYTE1_TABLE): Deleted.
477 (CHARSET_TO_BYTE2_TABLE): Deleted.
478 (XCHARSET_ENCODING_TABLE): New macro.
479 (XCHARSET_TO_BYTE1_TABLE): Deleted.
480 (XCHARSET_TO_BYTE2_TABLE): Deleted.
482 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
484 * mule-charset.c (syms_of_mule_charset): Delete charset alias
485 `vietnamese-viscii-*'.
487 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
489 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
490 (Qvietnamese_viscii_upper): New variable.
491 (Fdefine_charset_alias): New function.
492 (syms_of_mule_charset): Add new function `define-charset-alias'.
493 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
494 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
497 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
499 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
500 (MAX_CHAR_OBS_94x94): New macro.
501 (breakup_char_1): Support obsolete XEmacs-UCS private code space
504 * mule-charset.c (put_byte_from_character_table): Change unit size
506 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
508 (Fmake_reverse_direction_charset): Modify dummy argument of
509 `make_charset' for non-UTF-2000 environment.
511 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
513 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
515 * mule-charset.c (destroy_byte_from_character_table): New macro.
516 (latin_jisx0201_to_ucs): Deleted.
517 (latin_iso8859_2_to_ucs): Deleted.
518 (latin_iso8859_3_to_ucs): Deleted.
519 (latin_iso8859_4_to_ucs): Deleted.
520 (latin_iso8859_9_to_ucs): Deleted.
521 (latin_viscii_lower_to_ucs): Deleted.
522 (latin_viscii_upper_to_ucs): Deleted.
523 (mark_charset): Mark `cs->decoding_table'.
524 (Fcharset_mapping_table): Fix DOC-string.
525 (Fset_charset_mapping_table): New function.
526 (syms_of_mule_charset): Add nwe function
527 `set-charset-mapping-table'.
528 (complex_vars_of_mule_charset): Don't setup and use
531 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
533 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
536 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
538 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
539 (Vcharset_katakana_jisx0208): New variable.
540 (Qhiragana_jisx0208): New variable.
541 (Qkatakana_jisx0208): New variable.
542 (make_charset): Add new argument `byte_offset'.
543 (charset_get_byte1): Modify for new coded-charset definition; use
544 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
545 `XCHARSET_BYTE_OFFSET'.
546 (Fmake_charset): Modify for `make_charset'.
547 (Fmake_reverse_direction_charset): Likewise.
548 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
550 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
551 `.' in font registry of charset `katakana-jisx0201',
552 `latin-jisx0201', `vietnamese-viscii-lower' and
553 `vietnamese-viscii-upper'; modify DOC-string of charset
554 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
555 registry of charset `japanese-jisx0208' not to use font for JIS
556 X0208:1990; add new charset `hiragana-jisx0208' and
559 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
560 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
561 (struct Lisp_Charset): Add `byte_offset'.
562 (CHARSET_BYTE_OFFSET): New macro.
563 (XCHARSET_UCS_MIN): New macro.
564 (XCHARSET_UCS_MAX): New macro.
565 (XCHARSET_CODE_OFFSET): New macro.
566 (XCHARSET_BYTE_OFFSET): New macro.
567 (MIN_CHAR_HIRAGANA): New macro.
568 (MAX_CHAR_HIRAGANA): New macro.
569 (MIN_CHAR_KATAKANA): New macro.
570 (MAX_CHAR_KATAKANA): New macro.
571 (MAKE_CHAR): Modify for new coded-charset definition; use
572 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
573 `XCHARSET_BYTE_OFFSET'.
575 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
577 * mule-charset.c (CHAR96): Deleted.
578 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
580 (latin_iso8859_2_to_ucs): Likewise.
581 (latin_iso8859_3_to_ucs): Likewise.
582 (latin_iso8859_4_to_ucs): Likewise.
583 (latin_iso8859_9_to_ucs): Likewise.
584 (latin_viscii_lower_to_ucs): Likewise.
585 (latin_viscii_upper_to_ucs): Likewise.
586 (latin_tcvn5712_to_ucs): Commented out.
587 (make_charset): Change type of argument `decoding_table' from
588 <Emchar*> to <Lisp_Object> [vector of characters].
589 (Fmake_charset): Modify for `make_charset'.
590 (Fmake_reverse_direction_charset): Likewise.
591 (Fcharset_mapping_table): New function in UTF-2000.
592 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
594 (complex_vars_of_mule_charset): Modify for type change of
595 `*_to_ucs'; modify for `make_charset'.
597 * char-ucs.h (struct Lisp_Charset): Change type of
598 `decoding_table' from <Emchar*> to <Lisp_Object>.
599 (MAKE_CHAR): Modify for new specification of `decoding_table'.
601 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
603 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
604 error with non-UTF-2000-Mule.
606 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
608 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
610 (Vcharset_chinese_cns11643_4): Likewise.
611 (Vcharset_chinese_cns11643_5): Likewise.
612 (Vcharset_chinese_cns11643_6): Likewise.
613 (Vcharset_chinese_cns11643_7): Likewise.
614 (Qchinese_cns11643_3): Likewise.
615 (Qchinese_cns11643_4): Likewise.
616 (Qchinese_cns11643_5): Likewise.
617 (Qchinese_cns11643_6): Likewise.
618 (Qchinese_cns11643_7): Likewise.
619 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
620 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
621 and `chinese-cns11643-7' to lisp/mule/chinese.el.
622 (complex_vars_of_mule_charset): Likewise.
624 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
626 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
628 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
629 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
631 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
633 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
635 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
636 (breakup_char_1): Likewise.
638 * text-coding.c (char_encode_iso2022): Keep designated charsets if
639 one of them includes the specified character.
641 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
643 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
645 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
647 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
649 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
651 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
652 definition for non-UTF-2000 Mule.
653 (latin_iso8859_3_to_ucs): Likewise.
654 (latin_iso8859_4_to_ucs): Likewise.
655 (latin_iso8859_9_to_ucs): Likewise.
656 (latin_jisx0201_to_ucs): Likewise.
657 (MIN_CHAR_THAI): Likewise.
658 (MAX_CHAR_THAI): Likewise.
659 (MIN_CHAR_GREEK): Likewise.
660 (MAX_CHAR_GREEK): Likewise.
661 (MIN_CHAR_HEBREW): Likewise.
662 (MAX_CHAR_HEBREW): Likewise.
663 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
664 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
665 (MIN_CHAR_CYRILLIC): Likewise.
666 (MAX_CHAR_CYRILLIC): Likewise.
668 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
670 * char-ucs.h (breakup_char_1): Use
671 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
672 thai-tis620 and katakana-jisx0201 area.
674 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
676 * char-ucs.h (breakup_char_1): Use
677 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
680 * text-coding.c (reset_encoding_stream): Fixed.
681 (char_encode_ucs4): Delete `& 255'.
683 * char-ucs.h (breakup_char_1): Use
684 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
686 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
688 * file-coding.c (Fmake_coding_system): Don't set up
689 `codesys->fixed.size'.
690 (encode_coding_no_conversion): Don't refer
691 `str->codesys->fixed.size'.
693 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
695 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
696 (latin_a_char_to_byte1): Deleted.
697 (latin_a_char_to_byte2): Deleted.
699 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
701 * mule-charset.c (make_charset): Add new argument `ucs_min',
702 `ucs_max' and `code_offset'.
703 (charset_get_byte1): New implementation [delete specific charset
704 depended implementations].
705 (Fmake_charset): Modify for `make_charset'.
706 (Fmake_reverse_direction_charset): Likewise.
707 (complex_vars_of_mule_charset): Likewise.
709 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
711 (CHARSET_UCS_MIN): New macro.
712 (CHARSET_UCS_MAX): New macro.
713 (CHARSET_CODE_OFFSET): New macro.
714 (MAKE_CHAR): Delete charset depended definitions [except
717 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
719 * char-ucs.h (breakup_char_1): Use
720 `Vdefault_coded_charset_priority_list' for C0-Controls,
721 Basic-Latin, C1-Controls and Latin-1-Supplement area.
723 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
725 * char-ucs.h (charset_get_byte1): New function.
726 (XCHARSET_GET_BYTE1): Deleted.
727 (charset_get_byte2): New function.
728 (XCHARSET_GET_BYTE2): Deleted.
729 (Vdefault_coded_charset_priority_list): New external variable.
730 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
731 `Vdefault_preferred_coded_charset_list'.
733 * mule-charset.c (charset_get_byte1): New function.
734 (charset_get_byte2): New function.
735 (Vdefault_coded_charset_priority_list): New variable.
736 (vars_of_mule_charset): Add new variable
737 `default-coded-charset-priority-list'.
739 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
741 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
742 (XCHARSET_GET_BYTE2): New inline function.
743 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
744 `XCHARSET_GET_BYTE2'.
746 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
748 * mule-charset.c (make_charset): Initialize
749 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
750 NULL if table is not defined.
752 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
754 * text-coding.c (char_encode_shift_jis): Use
755 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
756 `ucs_to_latin_jisx0201'.
758 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
759 (ucs_to_latin_iso8859_2): Deleted.
760 (ucs_to_latin_iso8859_3): Deleted.
761 (ucs_to_latin_iso8859_4): Deleted.
762 (ucs_to_latin_iso8859_9): Deleted.
763 (ucs_to_latin_viscii_lower): Deleted.
764 (ucs_to_latin_viscii_upper): Deleted.
765 (ucs_to_latin_tcvn5712): Deleted.
766 (make_charset): Add new argument `decoding_table'; set up
767 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
768 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
769 `decoding_table' is defined in UTF-2000.
770 (Fmake_charset): Modify for `make_charset'.
771 (Fmake_reverse_direction_charset): Likewise.
772 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
773 and `GENERATE_96_SET'.
775 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
776 (ucs_to_latin_jisx0201): Deleted.
777 (latin_iso8859_2_to_ucs): Deleted.
778 (ucs_to_latin_iso8859_2): Deleted.
779 (latin_iso8859_3_to_ucs): Deleted.
780 (ucs_to_latin_iso8859_3): Deleted.
781 (latin_iso8859_4_to_ucs): Deleted.
782 (ucs_to_latin_iso8859_4): Deleted.
783 (latin_iso8859_9_to_ucs): Deleted.
784 (ucs_to_latin_iso8859_9): Deleted.
785 (latin_viscii_lower_to_ucs): Deleted.
786 (ucs_to_latin_viscii_lower): Deleted.
787 (latin_viscii_upper_to_ucs): Deleted.
788 (ucs_to_latin_viscii_upper): Deleted.
789 (struct Lisp_Charset): Renamed `encoding_table' to
790 `to_byte1_table'; add `to_byte2_table'.
791 (CHARSET_DECODING_TABLE): New macro.
792 (CHARSET_TO_BYTE1_TABLE): New macro.
793 (CHARSET_TO_BYTE2_TABLE): New macro.
794 (XCHARSET_DECODING_TABLE): New macro.
795 (XCHARSET_TO_BYTE1_TABLE): New macro.
796 (XCHARSET_TO_BYTE2_TABLE): New macro.
797 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
799 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
800 don't use `ucs_to_*' tables.
802 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
804 * text-coding.c (Fmake_coding_system): Don't set up
805 `codesys->fixed.size'.
806 (encode_coding_no_conversion): Use `if' instead of `switch'.
808 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
810 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
812 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
813 (Fmake_charset): Modify for `make_charset'.
814 (Fmake_reverse_direction_charset): Likewise.
815 (complex_vars_of_mule_charset): Likewise.
817 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
819 * text-coding.c (char_encode_shift_jis): Use table
820 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
822 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
824 * text-coding.c (text_encode_generic): Use `if' instead of
826 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
829 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
831 * text-coding.c (encode_coding_sjis): Deleted.
832 (char_encode_shift_jis): New function.
833 (char_finish_shift_jis): New function.
834 (reset_encoding_stream): Set up `encode_char' and `finish' for
835 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
836 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
837 (char_encode_utf8): Treat `eol_type'.
839 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
841 * file-coding.c (decode_coding_iso2022): Use
842 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
844 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
846 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
849 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
851 * char-lb.h (CHAR_COLUMNS): New macro.
853 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
855 * text-coding.c (char_encode_ucs4): New function.
856 (char_finish_ucs4): New function.
857 (encode_coding_ucs4): Deleted.
858 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
859 (text_encode_generic): Delete local variable `charset' and `half'.
860 (ucs_to_mule_table): Deleted.
861 (mule_to_ucs_table): Deleted.
862 (Fset_ucs_char): Deleted.
863 (ucs_to_char): Deleted.
864 (Fucs_char): Deleted.
865 (Fset_char_ucs): Deleted.
866 (Fchar_ucs): Deleted.
867 (decode_ucs4): Deleted.
868 (mule_char_to_ucs4): Deleted.
869 (encode_ucs4): Deleted.
870 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
871 (decode_coding_utf8): Likewise.
872 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
873 (char_encode_iso2022): Fixed.
874 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
875 `Fset_char_ucs' and `Fchar_ucs'.
876 (complex_vars_of_file_coding): Don't initialize
879 * objects-tty.c (tty_initialize_font_instance): Don't use
882 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
885 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
886 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
888 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
889 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
890 (emchar_string_displayed_columns): Likewise.
892 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
893 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
894 (string_column_at_point): Likewise.
895 (Fmove_to_column): Likewise.
897 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
898 `encoding_table' and `decoding_table'.
899 (CHARSET_REP_BYTES): Deleted.
900 (XCHARSET_REP_BYTES): Deleted.
901 (XCHARSET_COLUMNS): Deleted.
902 (CHAR_COLUMNS): New macro.
903 (lookup_composite_char): Deleted unconditionally.
904 (composite_char_string): Likewise.
906 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
908 * char-ucs.h (Emchar_to_byte_table): New type.
909 (get_byte_from_character_table): New function interface.
910 (Vcharset_latin_jisx0201): New variable.
911 (latin_jisx0201_to_ucs): New variable.
912 (ucs_to_latin_jisx0201): New variable.
913 (Vcharset_latin_iso8859_2): New variable.
914 (latin_iso8859_2_to_ucs): New variable.
915 (ucs_to_latin_iso8859_2): New variable.
916 (Vcharset_latin_iso8859_3): New variable.
917 (latin_iso8859_3_to_ucs): New variable.
918 (ucs_to_latin_iso8859_3): New variable.
919 (Vcharset_latin_iso8859_4): New variable.
920 (latin_iso8859_4_to_ucs): New variable.
921 (ucs_to_latin_iso8859_4): New variable.
922 (Vcharset_latin_iso8859_9): New variable.
923 (latin_iso8859_9_to_ucs): New variable.
924 (ucs_to_latin_iso8859_9): New variable.
925 (Vcharset_latin_viscii_lower): New variable.
926 (latin_viscii_lower_to_ucs): New variable.
927 (ucs_to_latin_viscii_lower): New variable.
928 (Vcharset_latin_viscii_upper): New variable.
929 (latin_viscii_upper_to_ucs): New variable.
930 (ucs_to_latin_viscii_upper): New variable.
931 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
932 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
933 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
934 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
935 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
936 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
937 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
938 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
939 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
940 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
942 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
943 (Vcharset_latin_viscii_upper): New variable.
944 (make_byte_from_character_table): New function.
945 (put_byte_from_character_table): New function.
946 (get_byte_from_character_table): New function.
948 (ucs_to_latin_jisx0201): New variable.
949 (latin_jisx0201_to_ucs): New variable.
950 (ucs_to_latin_iso8859_2): New variable.
951 (latin_iso8859_2_to_ucs): New variable.
952 (ucs_to_latin_iso8859_3): New variable.
953 (latin_iso8859_3_to_ucs): New variable.
954 (ucs_to_latin_iso8859_4): New variable.
955 (latin_iso8859_4_to_ucs): New variable.
956 (ucs_to_latin_iso8859_9): New variable.
957 (latin_iso8859_9_to_ucs): New variable.
958 (ucs_to_latin_viscii_lower): New variable.
959 (latin_viscii_lower_to_ucs): New variable.
960 (ucs_to_latin_viscii_upper): New variable.
961 (latin_viscii_upper_to_ucs): New variable.
962 (ucs_to_latin_tcvn5712): New variable.
963 (latin_tcvn5712_to_ucs): New variable.
964 (Qlatin_viscii_lower): New variable.
965 (Qlatin_viscii_upper): New variable.
966 (syms_of_mule_charset): Set up new symbol
967 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
968 (complex_vars_of_mule_charset): Set up new charset
969 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
970 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
971 `ucs_to_<CHARSET>' tables.
973 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
975 * text-coding.c: New file.
977 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
979 * mule-charset.c (Fmake_char): Fix problem of 256-set.
981 * char-ucs.h (Vcharset_ucs_bmp): New variable.
982 (MAKE_CHAR): Modify for `ucs-bmp'.
983 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
984 non-MULE characters of BMP.
986 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
988 * mule-charset.c (vars_of_mule_charset):
989 Update `utf-2000-version' to 0.6.
991 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
994 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
995 - Include character.h for `CHAR_ASCII_P'.
997 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
999 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
1000 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
1002 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
1003 (BYTE_C0_P): Likewise.
1004 (BYTE_C1_P): Likewise.
1005 (Lstream_get_emchar_1): Likewise.
1006 (Lstream_fput_emchar): Likewise.
1007 (Lstream_funget_emchar): Likewise.
1008 (copy_internal_to_external): Likewise.
1009 (copy_external_to_internal): Likewise.
1011 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
1012 (BYTE_C0_P): Likewise.
1013 (BYTE_C1_P): Likewise.
1014 (Lstream_get_emchar_1): Likewise.
1015 (Lstream_fput_emchar): Likewise.
1016 (Lstream_funget_emchar): Likewise.
1017 (copy_internal_to_external): Likewise.
1018 (copy_external_to_internal): Likewise.
1020 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
1021 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1023 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
1024 (BYTE_ASCII_P): Moved to mb-1byte.h.
1026 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
1028 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
1030 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
1031 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
1032 (VALID_CHARPTR_P): Moved to mb-*byte.h.
1033 (VALIDATE_CHARPTR_BACKWARD): Likewise.
1034 (VALIDATE_CHARPTR_FORWARD): Likewise.
1035 (simple_charptr_emchar): Moved to mb-multibyte.h.
1036 (simple_set_charptr_emchar): Likewise.
1037 (simple_charptr_copy_char): Likewise.
1038 (non_ascii_charptr_emchar): Likewise.
1039 (non_ascii_set_charptr_emchar): Likewise.
1040 (non_ascii_charptr_copy_char): Likewise.
1041 (charptr_emchar): Moved to mb-*byte.h.
1042 (set_charptr_emchar): Likewise.
1043 (charptr_copy_char): Likewise.
1045 * mb-1byte.h, mb-multibyte.h: New files.
1047 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1049 * mb-utf-8.h (MULTIBYTE): New macro.
1050 (MAX_EMCHAR_LEN): Moved from buffer.h.
1051 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
1053 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
1055 * mb-lb.h, multibyte.h: New files.
1057 * char-1byte.h (Charset_ID): Moved from buffer.h.
1058 (MIN_LEADING_BYTE): Likewise.
1059 (LEADING_BYTE_ASCII): Likewise.
1060 (NUM_LEADING_BYTES): Likewise.
1061 (CHARSETP): Likewise.
1062 (CHARSET_BY_LEADING_BYTE): Likewise.
1063 (XCHARSET_LEADING_BYTE): Likewise.
1064 (XCHARSET_GRAPHIC): Likewise.
1065 (XCHARSET_COLUMNS): Likewise.
1066 (XCHARSET_DIMENSION): Likewise.
1067 (CHAR_CHARSET): Likewise.
1068 (CHAR_LEADING_BYTE): Likewise.
1069 (BREAKUP_CHAR): Likewise.
1070 (Vcharset_ascii): Likewise.
1072 * buffer.h: Include multibyte.h unconditionally.
1073 (VALID_CHARPTR_P): Moved to multibyte.h.
1074 (ASSERT_VALID_CHARPTR): Likewise.
1075 (REAL_INC_CHARPTR): Likewise.
1076 (REAL_INC_CHARBYTIND): Likewise.
1077 (REAL_DEC_CHARPTR): Likewise.
1078 (INC_CHARPTR): Likewise.
1079 (INC_CHARBYTIND): Likewise.
1080 (DEC_CHARPTR): Likewise.
1081 (VALIDATE_CHARPTR_BACKWARD): Likewise.
1082 (VALIDATE_CHARPTR_FORWARD): Likewise.
1083 (charptr_n_addr): Likewise.
1084 (MAX_EMCHAR_LEN): Moved to mb-*.h.
1085 (simple_charptr_emchar): Moved to multibyte.h.
1086 (simple_set_charptr_emchar): Likewise.
1087 (simple_charptr_copy_char): Likewise.
1088 (non_ascii_charptr_emchar): Likewise.
1089 (non_ascii_set_charptr_emchar): Likewise.
1090 (non_ascii_charptr_copy_char): Likewise.
1091 (charptr_emchar): Likewise.
1092 (set_charptr_emchar): Likewise.
1093 (charptr_copy_char): Likewise.
1094 (charptr_emchar_n): Likewise.
1095 (Charset_ID): Moved to char-1byte.h.
1096 (Vcharset_ascii): Likewise.
1097 (CHAR_CHARSET): Likewise.
1098 (CHAR_LEADING_BYTE): Likewise.
1099 (LEADING_BYTE_ASCII): Likewise.
1100 (NUM_LEADING_BYTES): Likewise.
1101 (MIN_LEADING_BYTE): Likewise.
1102 (CHARSETP): Likewise.
1103 (CHARSET_BY_LEADING_BYTE): Likewise.
1104 (XCHARSET_LEADING_BYTE): Likewise.
1105 (XCHARSET_GRAPHIC): Likewise.
1106 (XCHARSET_COLUMNS): Likewise.
1107 (XCHARSET_DIMENSION): Likewise.
1108 (BREAKUP_CHAR): Likewise.
1110 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1112 * character.h: Add document about interface for characters.
1114 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
1115 (MAKE_CHAR): Delete comment about
1116 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
1117 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
1118 (BREAKUP_CHAR): Modify name of arguments.
1119 (CHAR_CHARSET): Modify name of argument.
1121 * buffer.h: Delete document about Emchar accessors.
1123 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1125 * character.h (CHAR_INTP): Moved from buffer.h
1126 (CHAR_OR_CHAR_INTP): Likewise.
1127 (XCHAR_OR_CHAR_INT): Likewise.
1128 (CHECK_CHAR_COERCE_INT): Likewise.
1130 * buffer.h (CHAR_INTP): Moved to character.h
1131 (CHAR_OR_CHAR_INTP): Likewise.
1132 (XCHAR_OR_CHAR_INT): Likewise.
1133 (CHECK_CHAR_COERCE_INT): Likewise.
1135 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1138 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
1139 - Include char-1byte.h, char-lb.h or char-ucs.h.
1141 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
1143 * buffer.h: Include character unconditionally.
1144 (valid_char_p): Moved to char-*.h.
1145 (non_ascii_valid_char_p): Moved to char-lb.h.
1147 * char-1byte.h, char-lb.h, char-ucs.h: New files.
1149 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1151 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
1152 in UTF-2000 because it is not ported yet and not to use
1153 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
1154 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
1155 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
1157 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
1158 (CHAR_ASCII_P): Moved from character.h.
1160 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
1161 (CHAR_ASCII_P): Likewise.
1162 (CHAR_FIELD1_MASK): Deleted.
1163 (CHAR_FIELD2_MASK): Deleted.
1164 (CHAR_FIELD3_MASK): Deleted.
1165 (MAX_CHAR_BASIC_LATIN): New macro.
1166 (CHAR_FIELD1): Deleted.
1167 (CHAR_FIELD2_INTERNAL): Deleted.
1168 (CHAR_FIELD3_INTERNAL): Deleted.
1169 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
1170 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
1171 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
1172 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
1173 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
1174 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
1175 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
1176 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
1177 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
1178 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
1179 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
1180 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
1181 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
1182 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
1183 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
1184 (MIN_CHAR_COMPOSITION): Deleted.
1185 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
1186 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
1188 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
1190 * buffer.h: Include mb-utf-8.h in UTF-2000.
1192 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
1194 * mb-utf-8.h: New file.
1196 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
1198 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
1201 * mule-charset.h, buffer.h (Charset_ID): New type.
1203 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1205 * mule-canna.c (c2mu): Use `MAKE_CHAR',
1206 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
1207 instead of `MULE_CHAR_PRIVATE_OFFSET',
1208 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
1209 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
1210 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
1212 * character.h (Vcharset_japanese_jisx0212): New variable
1215 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1217 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
1218 (charset_by_attributes): Delete array about direction.
1219 (latin_a_char_to_charset): New variable in UTF-2000.
1220 (latin_a_char_to_byte1): New variable in UTF-2000.
1221 (latin_a_char_to_byte2): New variable in UTF-2000.
1222 (Qucs_bmp): New variable.
1223 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
1225 (next_allocated_2_byte_leading_byte): Likewise.
1226 (non_ascii_set_charptr_emchar): Likewise.
1227 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
1228 `CHARSET_TYPE_256X256' in UTF-2000; modify for
1229 `charset_by_attributes'.
1230 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
1231 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
1232 and `CHARSET_BY_LEADING_BYTE'.
1233 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
1234 `utf-2000-version' to `vars_of_mule_charset'.
1235 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
1236 define `leading-code-private-11' in UTF-2000; move setting of
1237 `utf-2000-version' from `syms_of_mule_charset'.
1238 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
1241 * character.h (Charset_ID): New type.
1242 (LEADING_BYTE_UCS_BMP): New macro.
1243 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
1244 (CHARSET_ID_OFFSET_94): New macro.
1245 (MIN_CHARSET_ID_PRIVATE_94): New macro.
1246 (MAX_CHARSET_ID_PRIVATE_94): New macro.
1247 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
1249 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
1250 (LEADING_BYTE_LATIN_JISX0201): Likewise.
1251 (CHARSET_ID_OFFSET_96): New macro.
1252 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
1253 CHARSET_ID_OFFSET_96 and final-byte.
1254 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
1255 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
1256 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
1257 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
1258 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
1259 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
1260 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
1261 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
1262 (LEADING_BYTE_THAI_TIS620): Likewise.
1263 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
1264 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
1265 (CHARSET_ID_OFFSET_94x94): New macro.
1266 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
1267 CHARSET_ID_OFFSET_94x94 and final-byte.
1268 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
1269 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
1270 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
1271 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
1272 (LEADING_BYTE_CHINESE_GB2312): Likewise.
1273 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
1274 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
1275 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
1276 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
1277 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
1278 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
1279 (CHARSET_TYPE_128X128): New macro.
1280 (CHARSET_TYPE_256X256): New macro.
1281 (XCHARSET_PRIVATE_P): Delete unconditionally.
1282 (charset_by_attributes): Delete array about direction.
1283 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
1284 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
1285 (MIN_CHAR_94): New macro.
1286 (MAX_CHAR_94): New macro.
1287 (MIN_CHAR_96): New macro.
1288 (MAX_CHAR_96): New macro.
1289 (MIN_CHAR_94x94): New macro.
1290 (MAX_CHAR_94x94): New macro.
1291 (MIN_CHAR_96x96): New macro.
1292 (MAX_CHAR_96x96): New macro.
1293 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
1294 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1295 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
1297 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
1298 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
1299 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
1300 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
1301 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
1302 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
1303 `XCHARSET_LEADING_BYTE' to make code-point.
1304 (latin_a_char_to_charset): New variable.
1305 (latin_a_char_to_byte1): New variable.
1306 (latin_a_char_to_byte2): New variable.
1307 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
1308 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
1309 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
1311 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
1312 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
1313 (find_charsets_in_emchar_string): Likewise.
1314 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
1316 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
1318 (decode_coding_iso2022): Likewise.
1320 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
1323 * redisplay.c (redisplay_text_width_emchar_string): Use
1324 `Charset_ID' instead of `unsigned char'.
1325 (redisplay_frame_text_width_string): Likewise.
1327 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
1330 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
1331 instead of `unsigned char'.
1332 (face_cachel_charset_font_metric_info): Likewise.
1334 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
1335 (get_non_ascii_char_table_value): Likewise.
1336 (get_char_table): Likewise.
1337 (put_char_table): Likewise.
1338 (map_over_other_charset): Likewise.
1339 (map_char_table): Likewise.
1341 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
1342 instead of `unsigned char'.
1344 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
1346 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
1347 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
1349 * mule-charset.c (leading_code_private_11): Don't define in
1352 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
1353 in UTF-2000 because it is not ported yet and not to use
1354 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
1356 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
1358 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
1360 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1362 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
1365 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
1366 of unsigned char to store leading-byte.
1368 * chartab.c (get_non_ascii_char_table_value): Don't use
1369 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
1371 * file-coding.c (encode_coding_big5): Delete bogus implementation
1374 * character.h (LEADING_BYTE_*): Delete definition for
1376 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
1377 (LEADING_BYTE_PREFIX_P): Deleted.
1378 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
1379 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
1380 (BUFBYTE_LEADING_BYTE_P): Deleted.
1381 (CHARSET_PRIVATE_P): Deleted unconditionally.
1382 (rep_bytes_by_first_byte): Deleted unconditionally.
1383 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
1384 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
1385 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1386 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
1387 (CHAR_FIELD2): Deleted.
1388 (CHAR_FIELD3): Deleted.
1389 (MAKE_CHAR): Delete definition for non-UTF-2000.
1390 (BREAKUP_CHAR_1_UNSAFE): Deleted.
1391 (breakup_char_1): New implementation.
1392 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
1393 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1395 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1397 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1400 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1402 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1403 (CHARSET_PRIVATE_P): Likewise.
1404 (XCHARSET_PRIVATE_P): Likewise.
1405 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1407 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1409 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1411 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1413 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1414 (NUM_LEADING_BYTES): Changed from 128 to 256.
1415 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1416 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1418 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1420 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1422 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1423 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1424 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1425 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1426 (Qchinese_cns11643_3): New variable in UTF2000.
1427 (Qchinese_cns11643_4): New variable in UTF2000.
1428 (Qchinese_cns11643_5): New variable in UTF2000.
1429 (Qchinese_cns11643_6): New variable in UTF2000.
1430 (Qchinese_cns11643_7): New variable in UTF2000.
1431 (syms_of_mule_charset): Define `chinese-cns11643-3',
1432 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1433 and `chinese-cns11643-7' in UTF2000.
1434 (vars_of_mule_charset): Initialize
1435 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1437 (complex_vars_of_mule_charset): Setup charset
1438 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1439 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1441 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1443 * mule-charset.c: Move setting for `leading-code-private-11' from
1444 `syms_of_mule_charset' to `vars_of_mule_charset'.
1446 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1448 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1449 and `NUM_LEADING_BYTES' in assert.
1451 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1453 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1455 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1456 `NUM_LEADING_BYTES' instead of 128.
1458 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1460 * mule-charset.h (charset_by_leading_byte): Use
1461 `NUM_LEADING_BYTES' instead of 128.
1462 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1464 * mule-charset.c (charset_by_leading_byte): Use
1465 `NUM_LEADING_BYTES' instead of 128.
1466 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1468 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1471 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1473 * mule-charset.c (syms_of_mule_charset): Update to
1476 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1478 * file-coding.c (encode_coding_sjis): New implementation for
1479 UTF2000. (decode_coding_sjis): Ditto.
1481 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1483 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1484 Don't define in UTF2000.
1486 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1489 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1490 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1493 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1495 * config.h.in (CHAR_IS_UCS4): New macro.
1497 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1498 conventional MULE representation.
1499 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1501 * mule-charset.h: Reverted to original.
1503 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1504 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1505 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1507 * character.h: New file.
1509 * file-coding.c (Fmake_coding_system): Set 1 to
1510 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1512 (encode_coding_no_conversion): New implementation for UTF2000.
1514 * file-coding.h (struct Lisp_Coding_System): Add new member
1517 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1519 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1520 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1521 (encode_coding_iso2022): New implementation for UTF2000.
1523 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1525 * mule-canna.c (c2mu): New implementation for UTF2000.
1528 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1530 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1532 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1534 * file-coding.c (reset_encoding_stream): Set 0 to
1535 `str->iso2022.current_char_boundary' in UTF2000.
1536 (encode_utf8): Don't define in UTF2000.
1537 (encode_coding_utf8): New implementation for UTF-8 representation
1539 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1541 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1543 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1545 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1547 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1549 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1551 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1552 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1553 as UTF-8 in UTF2000.
1554 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1555 (non_ascii_valid_char_p): Don't define in UTF2000.
1556 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1557 (Lstream_get_emchar_1): Likewise.
1558 (utf-2000-version): New variable in UTF2000.
1560 * lread.c (read_escape): Add new reader `u'.
1562 * insdel.c (three_to_one_table): Don't define in UTF2000.
1563 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1564 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1566 (bytind_to_bufpos_func): Likewise.
1567 (buffer_mule_signal_inserted_region): Likewise.
1568 (vars_of_insdel): Don't initialize `three_to_one_table'.
1569 (init_buffer_text): Use `buf->text->mule_size' instead of
1570 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1573 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1574 UTF-8 representation in UTF2000.
1575 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1576 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1577 (decode_coding_iso2022): Don't define local variable `lb' in
1578 UTF2000; don't use LEADING_BYTE in UTF2000; use
1579 `DECODE_ADD_UCS_CHAR' in UTF2000.
1580 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1582 * config.h.in (UTF2000): New macro.
1584 * buffer.h (struct buffer_text): Add new member `mule_size' and
1585 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1586 (valid_char_p): Return always 1 in UTF2000.
1587 (MAX_EMCHAR_LEN): 6 in UTF2000.
1588 (three_to_one_table): Don't define in UTF2000.
1589 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1591 (real_bytind_to_bufpos): Likewise.
1593 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1595 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1597 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1598 representation change.
1599 (Vutf_2000_version): New variable.
1600 (leading_code_private_11): New variable.
1601 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1602 `leading-code-private-11'.
1604 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1605 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1606 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1607 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1608 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1609 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1610 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1611 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1612 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1613 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1614 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1615 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1616 (MIN_CHAR_GREEK): New macro.
1617 (MAX_CHAR_GREEK): New macro.
1618 (MIN_CHAR_CYRILLIC): New macro.
1619 (MAX_CHAR_CYRILLIC): New macro.
1620 (MIN_CHAR_HEBREW): New macro.
1621 (MAX_CHAR_HEBREW): New macro.
1622 (MIN_CHAR_THAI): New macro.
1623 (MAX_CHAR_THAI): New macro.
1624 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1625 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1626 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1627 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1628 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1629 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1630 (CHAR_FIELD2): New inline function.
1631 (CHAR_FIELD3): New inline function.
1632 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1633 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1634 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1635 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1636 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1637 (MIN_CHAR_COMPOSITION): Likewise.
1638 (CHAR_LEADING_BYTE): Modified for character representation change.
1639 (MAKE_CHAR): Likewise.
1641 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1642 (Vcharset_greek_iso8859_7): Likewise.
1643 (Vcharset_cyrillic_iso8859_5): Likewise.
1644 (Vcharset_hebrew_iso8859_8): Likewise.
1645 (Vcharset_thai_tis620): Likewise.
1646 (Vcharset_katakana_jisx0201): Likewise.
1648 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1650 * file-coding.c (determine_real_coding_system): Treat `coding:'
1653 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1655 * file-coding.c (struct decoding_stream): New member `counter'.
1656 (reset_decoding_stream): Initialize `counter'.
1657 (decode_coding_ucs4): Use `counter'.
1658 (decode_coding_utf8): Likewise.
1660 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1662 * XEmacs 21.2.19 is released
1664 1999-07-27 Jeff Miller <jmiller@smart.net>
1666 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1667 menubar_show_keybindings.
1669 1999-07-23 SL Baur <steve@miho>
1671 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1672 definition of Qccl_program.
1674 * mule-ccl.h: Make a global declaration of it here.
1676 1999-07-20 Bob Weiner <weiner@beopen.com>
1678 * s/sco7.h: Added from rr@sco.com.
1680 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1682 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1684 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1686 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1687 (mule_encode): Likewise.
1689 * mule-ccl.c (Qccl_program): New variable.
1690 (CCL_SUSPEND): New macro.
1691 (CCL_INVALID_CMD): New macro.
1692 (CCL_READ_CHAR): Don't regard as invalid command while processing
1693 the last block even if input is empty; use
1694 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1695 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1697 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1698 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1699 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1700 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1701 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1703 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1705 * mule-ccl.h (struct ccl_program): New member stack_idx.
1707 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1708 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1710 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1712 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1714 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1717 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1719 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1720 processing the last block, don't just finish but processes eol
1721 block of the current CCL program.
1722 (ccl_driver): Add a new jump label ccl_repeat for the above
1725 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1727 * mule-ccl.c: Typo in comments fixed.
1728 (Qccl_program_idx): New variables.
1729 (CCL_ReadMultibyteChar2): Macro name changed from
1730 CCL_ReadMultibyteCharacter.
1731 (CCL_WriteMultibyteChar2): Macro name changed from
1732 CCL_WriteMultibyteChar2.
1733 (ccl_driver): Adjusted for the above changes.
1734 (resolve_symbol_ccl_program): New function.
1735 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1736 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1737 numbers by resolve_symbol_ccl_program.
1738 (Fccl_execute_on_string): Likewise.
1739 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1740 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1742 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1744 * mule-ccl.h: (struct ccl_program): New member private_state.
1747 (CCL_Call): Fix the comment.
1748 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1749 macros for CCL Commands.
1751 (ccl_driver): New case lable `CCL_Extention'.
1752 (setup_ccl_program): Initialize the member `private_state' of CCL.
1754 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1756 * keymap.c (copy_keymap_internal): Inherit the default binding.
1758 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1760 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1761 focus the event (XIM_focus_event).
1762 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1763 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1764 the interface for future use (XIM_SetGeometry).
1765 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1766 location (XIM_SetSpotLocation).
1767 (x_output_eol_cursor): Ditto.
1769 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1771 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1772 Olivier's change to lrecord.h of 1999-04-22
1774 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1776 * gutter.c (redraw_exposed_gutter): Change type of pos from
1777 enum toolbar_pos -> enum gutter_pos, since former is only defined
1778 if toolbar support is.
1780 1999-07-19 Andy Piper <andy@xemacs.org>
1782 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1785 * gutter.c (gutter_validate): new function for the gutter specifier.
1786 (specifier_type_create_gutter): declare specifier validator.
1788 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1790 1999-07-18 Andy Piper <andy@xemacs.org>
1792 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1794 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1796 (mswindows_resize_subwindow): new function.
1798 * gutter.c (redraw_exposed_gutter): only reset the
1799 current_display_lines if non-zero.
1800 (Fgutter_pixel_height): new function.
1801 (Fgutter_pixel_width): new function.
1803 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1804 we want to retrive from the tab control.
1806 1999-07-17 Andy Piper <andy@xemacs.org>
1808 * window.c (change_window_height): mark gutters changed when we're
1811 * gutter.c (specifier_vars_of_gutter): make defaults more
1814 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1816 (DEFAULT_GUTTER_WIDTH): change.
1817 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1819 1999-07-18 Andy Piper <andy@xemacs.org>
1821 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1823 1999-07-16 Andy Piper <andy@xemacs.org>
1825 * frame.c (Fmake_frame): call init_frame_gutters().
1827 * redisplay.c (add_emchar_rune): use string functions if we are
1828 working with a string.
1829 (position_redisplay_data_type): add string element.
1831 1999-07-15 Andy Piper <andy@xemacs.org>
1833 * winslots.h: add real_gutter_size slots to hold the actual gutter
1834 size. This is important for autodetected sizes.
1836 * gutter.c (calculate_gutter_size): calculate size for gutters
1837 that have 'autodetect size.
1839 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1840 extent of divider for gutters.
1842 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1843 divider for gutters.
1845 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1846 position to take into account the gutters.
1848 * redisplay.c (generate_modeline): adjust modeline position to
1849 take into account the gutters.
1851 1999-07-14 Andy Piper <andy@xemacs.org>
1853 * gutter.c (frame_topmost_window): new function.
1854 (frame_bottommost_window): ditto.
1855 (frame_leftmost_window): ditto.
1856 (frame_rightmost_window): ditto.
1858 1999-07-13 Andy Piper <andy@xemacs.org>
1860 * redisplay.c (calculate_display_line_boundaries): use text
1861 boundaries so that gutters get handled properly.
1863 1999-07-12 Andy Piper <andy@xemacs.org>
1865 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1868 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1871 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1874 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1876 * gutter.c: new file - implements gutters. All new functions are
1877 semantically equivalent to the toolbar functions.
1878 (gutter_was_visible): new function.
1879 (get_gutter_coords): ditto.
1880 (output_gutter): ditto.
1881 (clear_gutter): ditto.
1882 (update_frame_gutters): ditto.
1883 (redraw_exposed_gutter): ditto.
1884 (redraw_exposed_gutters): ditto.
1885 (free_frame_gutters): ditto.
1886 (init_frame_gutters): ditto.
1887 (decode_gutter_position): ditto.
1888 (Fset_default_gutter_position): ditto.
1889 (Fset_default_gutter_position): ditto.
1890 (Fdefault_gutter_position): ditto.
1891 (gutter_after_change): ditto.
1892 (Fgutter_specifier_p): ditto.
1893 (recompute_overlaying_specifier): ditto.
1894 (gutter_specs_changed): ditto.
1895 (default_gutter_specs_changed): ditto.
1896 (gutter_geometry_changed_in_window): ditto.
1897 (default_gutter_size_changed_in_window): ditto.
1898 (default_gutter_border_width_changed_in_window): ditto.
1899 (default_gutter_visible_p_changed_in_window): ditto.
1900 (syms_of_gutter): ditto.
1901 (vars_of_gutter): ditto.
1902 (specifier_type_create_gutter): ditto.
1903 (specifier_vars_of_gutter): ditto.
1905 * gutter.h: new file. Contains gutter constants and sizing macros
1906 similar to those for the toolbar.
1908 * winslots.h: add gutter variables.
1910 * window.h: declare window_is_* functions.
1912 * window.c (window_is_lowest): make non-static.
1913 (window_is_highest): ditto.
1914 (window_top_toolbar_height): deleted.
1915 (window_bottom_toolbar_height): deleted.
1916 (window_left_toolbar_width): deleted.
1917 (window_right_toolbar_width): deleted.
1918 (window_top_gutter_height): add gutter sizing.
1919 (window_bottom_gutter_height): ditto.
1920 (window_left_gutter_width): ditto.
1921 (window_right_gutter_width): ditto.
1923 * symsinit.h: declarations for gutters vars etc.
1925 * search.c (bi_find_next_emchar_in_string): new function.
1927 * scrollbar.c (update_scrollbar_instance): remove reference to
1928 window_bottom_toolbar_height which did nothing.
1930 * redisplay.h (struct display_line): add face indices for
1931 overriding defaults in output_display_line.
1932 Add gutter_changed flags and declarations.
1934 * redisplay.c (create_string_text_block): new function, similar to
1935 create_text_block but for strings. Display tables etc are used
1936 from the currently selected window.
1937 (generate_string_display_line): ditto. Similar to
1938 generate_display_line.
1939 (generate_displayable_area): generate display lines for a given
1940 area on a frame. Input is the string, with associated extents, to
1942 (redisplay_frame): add gutter_changed check.
1943 (redisplay_device): ditto.
1944 (redisplay_without_hooks): ditto.
1946 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1947 (x_redraw_exposed_area): redraw exposed gutters.
1948 (x_bevel_area): new redisplay device method.
1949 (x_type_create_redisplay_mswindows): add bevel_area device method.
1950 (x_output_display_block): fiddly Martin-style cleanup.
1951 (x_output_vertical_divider): use bevel_area.
1953 * redisplay-output.c (output_display_line): check display_lines
1954 for face information before using defaults.
1955 (bevel_modeline): new function, calls bevel_area with appropriate
1958 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1959 (mswindows_redraw_exposed_area): redraw exposed gutters.
1960 (mswindows_bevel_area): new redisplay device method.
1961 (console_type_create_redisplay_mswindows): add bevel_area device
1964 * indent.c (string_column_at_point): add column_at_point but for
1967 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1968 instantiate widgets that we have a toolkit for.
1970 * general.c: add Qgutter.
1972 * frame.h (struct frame): add display lines for gutters and
1975 * frame.c (set_frame_selected_window): mark gutters changed.
1977 * emacs.c (main_1): add gutter initialisation.
1979 * device.h (struct device): add gutter_changed flag and macros to
1982 * console.h (struct console_methods): new bevel area redisplay
1985 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1986 REAL_INC_BYTIND is for buffers.
1987 (INC_CHARPTR): ditto.
1989 * Makefile.in.in (objs): add gutter.o
1991 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1993 * XEmacs 21.2.18 is released
1995 1999-07-08 SL Baur <steve@mule.m17n.org>
1997 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1999 (emacs_Xt_handle_magic_event): Ditto.
2000 * redisplay-x.c (x_output_string): Ditto.
2001 (x_output_eol_cursor): Ditto.
2003 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
2005 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
2006 problem that when XIM is destroyed or missed with some reason,
2007 xemacs will die. Now xim=xlib waits the XIM will be ready and
2008 endures the case of XIM end up.
2010 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
2012 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
2013 SIGINT and SIGCHLD before calling tt_open and restore the
2014 afterwards. This fixes e.g. the zombie subprocesses on Solaris
2016 1999-07-06 SL Baur <steve@xemacs.org>
2018 * s/linux.h: gcc-2.8 changes for powerpc
2019 From Justin Vallon <vallon@mindspring.com>
2021 1999-07-05 Didier Verna <verna@inf.enst.fr>
2023 * indent.c: new symbol Qcoerce.
2024 (Fmove_to_column): use it + doc string update.
2026 1999-07-04 Andy Piper <andy@xemacs.org>
2028 * console.c: undo earlier Fprovide changes.
2032 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
2033 function. validate appropriate image formats for tty.
2035 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
2036 initialize consoles parameter.
2037 (struct image_instantiator_methods): add consoles parameter.
2038 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
2040 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
2043 * glyphs-msw.c: declare instantiators for later use.
2044 (image_instantiator_format_create_glyphs_mswindows): validate xpm
2045 and friends on the mswindows console.
2046 * glyphs-x.c: ditto.
2048 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
2049 that have not been registered on the supplied device.
2050 (Fvalid_image_instantiator_format_p): add locale argument.
2051 (instantiate_image_instantiator): valid image instantiator on the
2054 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
2057 * emacs.c (main_1): add call to
2058 image_instantiator_format_create_glyphs_tty().
2060 1999-06-29 Olivier Galibert <galibert@pobox.com>
2062 * lisp.h: Add #include <stddef.h>.
2064 * sysdep.c: Remove #include <stddef.h>.
2065 * symbols.c: Remove #include <stddef.h>.
2066 * sheap.c: Remove #include <stddef.h>.
2067 * opaque.c: Remove #include <stddef.h>.
2068 * nt.c: Remove #include <stddef.h>.
2069 * mule-charset.c: Remove #include <stddef.h>.
2070 * marker.c: Remove #include <stddef.h>.
2071 * file-coding.c: Remove #include <stddef.h>.
2072 * extents.c: Remove #include <stddef.h>.
2073 * elhash.c: Remove #include <stddef.h>.
2074 * data.c: Remove #include <stddef.h>.
2075 * chartab.c: Remove #include <stddef.h>.
2076 * bytecode.c: Remove #include <stddef.h>.
2077 * alloc.c: Remove #include <stddef.h>. Fix vector description
2079 1999-06-30 SL Baur <steve@miho.m17n.org>
2081 * editfns.c: Document "%s" format spec.
2082 Suggested by Bob Weiner <weiner@altrasoft.com>
2084 1999-06-29 Andy Piper <andy@xemacs.org>
2086 * event-msw.c: fix definition booboo.
2088 1999-06-28 Andy Piper <andy@xemacs.org>
2090 * glyphs-x.c: change tree -> tree-view, progress ->
2091 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
2093 (complex_vars_of_glyphs_x): provide-on-console the implemented
2096 * glyphs-msw.c: ditto.
2097 (complex_vars_of_glyphs_mswindows): ditto.
2099 * lisp.h: add Fprovide_on_console.
2101 * fns.c (Ffeaturep): add extra optional console argument.
2102 (Fprovide_on_console): like Fprovide but provides only on the
2103 specified console-type.
2104 (Frequire): check console-features as well as global features.
2106 * console.c (Fconsole_features): new function. return features for
2108 (syms_of_console): add Fconsole_features.
2110 * console.h (CONMETH_FEATURES): new function for accessing features.
2111 (CONSOLE_FEATURES): ditto.
2112 (struct console_methods): add features slot.
2113 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
2115 1999-06-28 Andy Piper <andy@xemacs.org>
2117 * event-Xt.c (handle_focus_event_1): conditionally compile for
2120 * s/cygwin32.h: fix me website address.
2122 * event-msw.c: add NMHDR for pre b20 cygwin builds.
2124 * gui-x.c (button_item_to_widget_value): only add callback if it
2127 * glyphs-x.c: add progress, edit and combo instantiators.
2128 (x_widget_set_property): new function. uses lwlib to set widget
2130 (x_widget_property): new function. uses lwlib to get widget
2132 (x_button_instantiate): support images in buttons.
2133 (x_button_property): new function. use lwlib to get the selected
2135 (x_progress_instantiate): new function for instantiating progress
2137 (x_progress_set_property): new function. sets the progress gauge
2139 (x_edit_instantiate): new function. for instantiating edit fields.
2140 (x_combo_instantiate): new function. for instantiating combo
2142 (image_instantiator_format_create_glyphs_x): add new device ii
2145 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
2147 * console.h (CONSOLE_FEATURES): new features accesor.
2149 * conslots.h (MARKED_SLOT): add features entry.
2151 1999-06-25 Andy Piper <andy@xemacs.org>
2153 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
2156 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
2158 * gui.h (struct Lisp_Gui_Item): add accelerator.
2160 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
2161 (gui_item_init): ditto.
2162 (gui_add_item_keywords_to_plist): ditto.
2163 (mark_gui_item): ditto.
2164 (gui_item_hash): ditto.
2165 (gui_item_accelerator): new function.
2166 (gui_name_accelerator): new function stolen from gui-x.c
2168 * gui-x.c (popup_selection_callback): always define. mark
2169 subwindows changed after calling a callback.
2170 (menu_name_to_accelerator): deleted.
2171 (button_item_to_widget_value): forward gui_item things to gui_item
2174 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
2175 appropriate accesors.
2177 * glyphs-x.c: declare new glyph formats.
2178 (x_finalize_image_instance): unmanage and destroy widgets if they
2180 (x_unmap_subwindow): handle widgets specially.
2181 (x_map_subwindow): ditto. offset display of widgets by offset of
2182 text widget within container.
2183 (x_update_subwindow): new function. call lw_modify_all_widgets
2184 when we are a widget.
2185 (x_widget_instantiate): new function for generically creating
2186 widgets-glyphs. toolkit specifics forwarded to lwlib.
2187 (x_button_instantiate): new function for instantiating
2188 widgets-glyph buttons.
2189 (console_type_create_glyphs_x): register update_subwindow.
2190 (image_instantiator_format_create_glyphs_x): register widget and
2193 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
2195 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
2196 when we get a button press in case we do not have the focus.
2197 (handle_focus_event_1): set the keyboard focus to the text widget
2198 if we do not have it.
2200 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
2203 1999-06-24 SL Baur <steve@miho.m17n.org>
2205 * syntax.c (scan_words): Restore non-Mule code.
2206 (word_constituent_p): Restore.
2208 1999-06-23 Olivier Galibert <galibert@pobox.com>
2210 * config.h.in: Add missing #undef *_USER_DEFINED.
2212 1999-06-23 SL Baur <steve@miho.m17n.org>
2214 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
2215 int (fixes a 64-bit problem).
2217 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
2220 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2222 * paths.h.in (PATH_DOC): Made doc-directory configurable.
2224 1999-06-22 Olivier Galibert <galibert@pobox.com>
2226 * lrecord.h: Added basic external description system.
2228 * symbols.c: Added symbol, symbol-value-buffer-local,
2229 symbol-value-lisp-magic and symbol-value-varalias description.
2230 * mule-charset.c: Added charset description.
2231 * marker.c: Added marker description.
2232 * keymap.c: Added keymap description.
2233 * glyphs.c: Added glyph description.
2234 * floatfns.c: Added float description.
2235 * file-coding.c: Added coding-system description.
2236 * extents.c: Added extent description.
2237 * elhash.c: Added hash-table description.
2238 * data.c: Added weak-list desciption.
2239 * chartab.c: Added char-table-entry and char-table description.
2240 * bytecode.c: Added compiled-function description.
2241 * alloc.c: Added cons, vector and string description.
2243 1999-06-22 Olivier Galibert <galibert@pobox.com>
2245 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
2246 Updated everything to the removal of the "flags" substructure.
2248 * lisp.h (subr_lheader_initializer): Updated.
2249 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
2251 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2253 * syntax.c (word_constituent_p): Deleted.
2254 (scan_words): Use `WORD_BOUNDARY_P'.
2256 * chartab.c (Vword_combining_categories): New variable.
2257 (Vword_separating_categories): Likewise.
2258 (CATEGORYP): New macro.
2259 (CATEGORY_SET): Likewise.
2260 (CATEGORY_MEMBER): Likewise.
2261 (word_boundary_p): New function.
2262 (complex_vars_of_chartab): Set up new variable
2263 `word-combining-categories' and `word-separating-categories'.
2265 1999-06-18 Olivier Galibert <galibert@pobox.com>
2267 * lrecord.h: Added description as a placehold in the lrecord
2268 implementation structures. Added the parameter to all constructor
2271 * alloc.c: Added placeholders.
2273 * bytecode.c: Ditto.
2277 * database.c: Ditto.
2282 * event-stream.c: Ditto.
2286 * file-coding.c: Ditto.
2287 * floatfns.c: Ditto.
2295 * mule-charset.c: Ditto.
2299 * rangetab.c: Ditto.
2300 * specifier.c: Ditto.
2303 * tooltalk.c: Ditto.
2306 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
2308 * XEmacs 21.2.17 is released
2310 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
2312 * config.h.in (HAVE_LDAP_SET_OPTION): New define
2313 (HAVE_LDAP_GET_LDERRNO): Ditto
2314 (HAVE_LDAP_RESULT2ERROR): Ditto
2315 (HAVE_LDAP_PARSE_RESULT): Ditto
2316 (HAVE_UMICH_LDAP): Removed
2317 (HAVE_NS_LDAP): Removed
2319 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
2320 suggested by Olivier Galibert
2321 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
2323 * eldap.c: Take the removal of `livep' into account in all the
2325 (signal_ldap_error): Take two additional parameters
2326 Added new finer compilation conditions in order to use
2327 ldap_parse_result or ldap_result2error if available
2328 (Fldap_open): Conform to this new API
2329 (Fldap_search_internal): Ditto
2331 1999-06-17 SL Baur <steve@miho.m17n.org>
2333 * data.c (struct int_or_double): Should use EMACS_INT not int.
2335 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
2337 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
2340 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2342 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
2343 `CCL_MODE_ENCODING'.
2345 * file-coding.c (mule_decode): Run `ccl_driver' with
2346 `CCL_MODE_DECODING'.
2347 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2349 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
2350 (ccl_driver): Add new argument `conversion_mode'.
2351 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2352 (Fccl_execute_on_string): Likewise [perhaps it is better to add
2353 new optional argument].
2355 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
2356 (CCL_MODE_DECODING): New macro.
2357 (ccl_driver): Add new argument `conversion_mode'.
2359 1999-06-15 SL Baur <steve@miho.m17n.org>
2361 * mule-charset.c (Fsplit_char): New subr.
2362 (Fchar_octet): delete.
2363 (syms_of_mule_charset): DEFSUBR it.
2365 1999-06-13 Andy Piper <andy@xemacs.org>
2367 * menubar.h: update declarations involving gui_items.
2369 * lisp.h: declare Lisp_Gui_Item.
2371 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
2373 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
2374 (print_image_instance): ditto.
2375 (image_instance_equal): ditto.
2376 (image_instance_hash): ditto.
2378 * event-msw.c (mswindows_need_event): assert badly_p status.
2379 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
2380 callbacks in tree-view and tab-control widgets.
2381 (emacs_mswindows_next_event): modify use of
2382 mswindows_dequeue_dispatch_event.
2384 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
2385 lisp-based gui_items.
2387 * glyphs-msw.c (mswindows_update_subwindow): update use of
2389 (mswindows_register_gui_item): new function.
2390 (mswindows_register_gui_item): fix to use lisp gui_items.
2391 (mswindows_widget_instantiate): ditto.
2392 (mswindows_button_instantiate): ditto.
2393 (add_tree_item): new function to recursively add tree view
2395 (add_tree_item_list): ditto.
2396 (mswindows_tree_instantiate): new function. instantiate tree view
2398 (add_tab_item): new function to add tabs to a tab control.
2399 (mswindows_tab_instantiate): new function. instantiate tab
2401 (image_instantiator_format_create_glyphs_mswindows): add tree view
2403 (vars_of_glyphs_mswindows): ditto.
2405 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
2407 (check_valid_item_list): ditto.
2408 (initialize_widget_image_instance): fix to use new lisp gui_item.
2409 (widget_instantiate_1): allow the setting of default textwidth in
2411 (widget_instantiate): change to use new widget_instantiate_1
2413 (combo_instantiate): ditto.
2414 (static_instantiate): ditto.
2415 (tab_instantiate): new function for tab widgets.
2416 (image_instantiator_format_create_glyphs_widget): add tab and tree
2419 * menubar-msw.c (displayable_menu_item): convert to use lisp
2421 (populate_menu_add_item): ditto.
2422 (populate_or_checksum_helper): ditto.
2424 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
2426 (Fmenu_find_real_submenu): ditto.
2428 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
2430 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
2431 objects, convert functions that use them accordingly.
2432 (gui_item_init): ditto.
2433 (gui_item_active_p): ditto.
2434 (gui_item_selected_p): ditto.
2435 (gui_item_included_p): ditto.
2436 (gui_item_display_flush_left): ditto.
2437 (gui_item_display_flush_right): ditto.
2438 (mark_gui_item): ditto.
2439 (allocate_gui_item): new function to create a gui_item.
2440 (make_gui_item_from_keywords_internal): ditto. create and return a
2441 gui_item as well as setting keywords.
2442 (gui_parse_item_keywords): ditto.
2443 (gui_parse_item_keywords_no_errors): ditto.
2444 (gui_add_item_keywords_to_plist): new function, not yet used.
2445 (gui_item_hash): new function.
2446 (gui_item_id_hash): use gui_item_hash.
2447 (gui_item_equal): new function.
2448 (print_gui_item): new function.
2450 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
2452 * XEmacs 21.2.16 is released
2454 1999-06-10 Andy Piper <andy@xemacs.org>
2456 * select-msw.c (mswindows_own_selection): only set the clipboard
2458 (mswindows_get_foreign_selection): only get the clipboard if
2460 (mswindows_disown_selection): only disown the clipboard if asked.
2462 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2464 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
2466 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
2467 of coding-category `no-conversion'.
2469 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2471 * file-coding.c (Qraw_text): New variable.
2472 (syms_of_mule_coding): Add new symbol `raw-text'.
2473 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
2474 define coding-system `binary' independently; define coding-system
2475 `no-conversion' as an alias for `raw-text'.
2477 * file-coding.h (Qraw_text): New variable.
2479 1999-06-08 SL Baur <steve@xemacs.org>
2481 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2483 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2485 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2487 (base64_decode_1): Signal errors instead of returning -1.
2489 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2491 * mule-charset.c (Fmake_char): Update docstring.
2493 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2495 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2497 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2499 * fns.c (base64_decode_1): Allow and ignore any non-base64
2500 characters in input.
2502 1999-05-27 Olivier Galibert <galibert@pobox.com>
2504 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2505 of report_pure_usage().
2507 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2509 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2511 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2513 * XEmacs 21.2.15 is released
2515 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2517 * frame.c (Fset_mouse_position):
2518 (Fset_mouse_pixel_position):
2519 * window.c (Fsplit_window):
2520 (Fmove_to_window_line):
2521 Fix crash when invoking functions with an already-deleted window
2524 * indent.c (vertical_motion_1):
2526 (Fvertical_motion_pixels):
2527 * window.c (Fwindow_displayed_text_pixel_height):
2528 Fix error message when invoking functions with an already-deleted
2531 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2533 * sysdep.c (request_sigio_on_device): Guard against glibc
2534 2.1's stub streams implementation.
2536 1999-06-03 SL Baur <steve@xemacs.org>
2539 * emacs.c: Implement x.y.z version numbers
2540 From Jan Vroonhof <vroonhof@math.ethz.ch>
2542 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2544 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2545 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2548 1999-06-03 SL Baur <steve@xemacs.org>
2551 * device-x.c: rename session option to wmcommand.
2552 From Oliver Graf <ograf@rhein-zeitung.de>
2554 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2556 * fns.c (Fsubstring): Don't traverse the same region twice with
2557 charcount_to_bytecount().
2559 1999-06-03 SL Baur <steve@steve1.m17n.org>
2561 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2564 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2565 doesn't really work as is implied by the commentary).
2566 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2568 1999-06-02 SL Baur <steve@steve1.m17n.org>
2570 * symsinit.h: Declare vars_of_ntproc.
2571 * emacs.c (main_1): Call it.
2573 * ntproc.c (syms_of_ntproc): Move variable initializations from
2575 (vars_of_ntproc): ... to here [new function].
2577 * file-coding.c (syms_of_file_coding): Rename.
2578 (vars_of_file_coding): Ditto.
2579 (complex_vars_of_file_coding): Ditto.
2581 * symsinit.h: Rename *_mule_coding to *_file_coding.
2583 * emacs.c (main_1): Call them by the proper name.
2585 * device-msw.c (syms_of_device_mswindows): Move variable
2586 initializations from here ...
2587 (vars_of_device_mswindows): ... to here.
2589 * chartab.c (vars_of_chartab): New function.
2591 * symsinit.h: New function, vars_of_chartab.
2593 * emacs.c (main_1): Call it.
2595 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2596 (vars_of_mule_canna): ... to here.
2598 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2599 initializations out of syms_of_mule_ccl.
2601 * symsinit.h: Declare new function vars_of_mule_ccl.
2603 * emacs.c (main_1): Call it.
2605 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2607 * fns.c (base64_decode_1): Ignore whitespace.
2609 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2611 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2614 1999-05-21 Andy Piper <andy@xemacs.org>
2616 * xselect.c: deleted.
2618 * symsinit.h: declare select initialisation.
2620 * select.h: new file. declare commonly used select functions and
2623 * select.c: new file. generalised from xselect.c.
2624 (clean_local_selection_data): moved from xselect.c.
2625 (get_local_selection): ditto. device specific pieces called via a
2627 (handle_selection_clear): ditto.
2628 (Fown_selection_internal): renamed and generalised from
2629 Fx_own_selection_internal. moved from xselect.c.
2630 (Fdisown_selection_internal): ditto.
2631 (Fselection_owner_p): ditto.
2632 (Fselection_exists_p): ditto.
2633 (Fget_selection_internal): ditto.
2634 (syms_of_select): new function. QXXXX values moved from xselect.c
2635 (vars_of_select): new function. selection_converter_alist,
2636 lost_selection_hooks moved and renamed from xselect.c
2638 * select-x.c: renamed from xselect.c.
2639 (x_own_selection): converted to device specific. non-X-specific
2640 bits moved to select.c.
2641 (x_get_foreign_selection): ditto.
2642 (x_disown_selection): ditto.
2643 (x_selection_exists_p): ditto.
2644 (console_type_create_select_x): new function.
2646 * select-msw.c (mswindows_own_selection): new device method to set
2647 the clipboard when we 'own' the selection.
2648 (mswindows_get_foreign_selection): new device method to get the
2650 (mswindows_disown_selection): new device method to delete the
2651 selection when we 'disown' it.
2652 (console_type_create_select_mswindows): new function.
2654 * emacs.c (main_1): add select to things to initialise.
2656 * console.h (struct console_methods): new console methods for
2659 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2661 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2663 * print.c (long_to_string): Install a faster version.
2665 1999-05-16 Andy Piper <andy@xemacs.org>
2667 * ntproc.c (syms_of_ntproc): default
2668 win32-start-process-share-console to t.
2670 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2672 * config.h.in: Do it here.
2674 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2676 1999-05-14 Andy Piper <andy@xemacs.org>
2678 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2681 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2683 * XEmacs 21.2.14 is released
2685 1999-05-12 Andy Piper <andy@xemacs.org>
2687 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2689 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2691 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2692 run_temacs_argv array -- fixes random memory corruption crash
2694 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2696 * window.c (Fcurrent_window_configuration):
2697 Save minibuffer height;
2699 * window.c (set_window_configuration): use it.
2701 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2703 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2705 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2707 * redisplay.c (redisplay_window): Do not put data
2708 in the line start cache if it is not guaranteed to be correct
2710 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2712 * window.c (struct window_config): Removed frame
2714 (window_config_equal): No longer compare frame sizes.
2715 (Fset_window_configuration): Resize old top window to fit in the
2716 current frame directly, no longer use a fake frame resize.
2717 (Fcurrent_window_configuration): No longer save frame size
2719 1999-05-11 Andy Piper <andy@xemacs.org>
2721 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2724 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2726 * sysdep.c (init_system_name): If gethostname gives a proper
2727 domain name, don't look further for one.
2729 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2731 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2732 (Fintern_soft): Accept a symbol argument.
2734 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2736 * symbols.c (Fintern): ...do it here.
2738 * lread.c (read_atom): Don't handle keywords here.
2740 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2742 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2744 1999-05-03 Olivier Galibert <galibert@pobox.com>
2746 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2747 is interned in the main obarray.
2749 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2751 * menubar-x.c (pre_activate_callback): set accelerator field in
2752 "No menu" entries to nil. Avoid crash in
2753 command_builder_operate_menu_accelerator
2755 1999-05-03 Olivier Galibert <galibert@pobox.com>
2757 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2759 * lisp.h (DEFUN): Fix lrecord header initialisation.
2761 1999-05-02 Andy Piper <andy@xemacs.org>
2763 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2765 * ntproc.c (sys_kill): cast using MS mandated defines.
2767 1999-04-29 Andy Piper <andy@xemacs.org>
2769 * m/intel386.h: remove redundant definitions.
2771 * s/mingw32.h: new header for mingw32.
2773 * unexnt.c: (open_input_file): function moved to nt.c.
2774 (close_file_data): ditto.
2775 (rva_to_section): function moved to ntproc.
2777 * symsinit.h: declare syms_of_ntproc();
2779 * objects-msw.c (mswindows_font_instance_truename): new function.
2781 * ntproc.c: remove many warnings.
2782 (_sys_read_ahead): moved from nt.c and made static.
2783 (rva_to_section): moved from unexnt.c but not defined under
2785 (win32_executable_type): implement what we can for mingw32
2787 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2789 * ntheap.h: remove declarations of functions that are now static.
2791 * ntheap.c: support static heap.
2793 * nt.h: conditionalise X_OK definition.
2795 * nt.c: eliminate many warnings and support mingw32.
2796 (open_input_file): function moved from unexnt.c and made static
2797 (close_file_data): ditto.
2798 (_sys_read_ahead): moved to ntproc.c
2800 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2802 * console-msw.h: support mingw32.
2803 * getloadavg.c: ditto.
2810 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2811 some systems don't have all of the encapsulated system calls.
2813 * callproc.c: warning elimination.
2814 * dired-msw.c: ditto.
2815 * process-nt.c: ditto.
2816 * realpath.c: ditto.
2818 * Makefile.in.in: tweak : and ; for building under mswindows.
2820 1999-04-26 Michael Harnois <mharnois@willinet.net>
2822 * eldap.c (allocate_ldap): Adapt to the new semantics of
2823 alloc_lcrecord_type().
2825 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2827 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2829 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2831 * Delete mule-coding.c and mule-coding.h because they are not
2834 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2836 * objects.c (print_font_instance): Check for NILP(f->device),
2837 i.e. Vthe_null_font_instance.
2838 (font_instance_truename_internal): ditto.
2839 (Ffont_instance_properties): ditto.
2841 1999-04-22 Olivier Galibert <galibert@pobox.com>
2843 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2846 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2848 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2849 it easier to add new ones.
2851 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2853 * symbols.c (reject_constant_symbols): Ditto.
2854 (init_symbols_once_early): Ditto.
2856 * print.c (print_symbol): Don't use ->obarray.
2858 * symbols.c (Funintern): Ditto.
2860 * alloc.c (Fmake_symbol): Don't set ->obarray.
2862 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2864 * symbols.c (init_symbols_once_early): Removed
2865 Vpure_uninterned_symbol_table.
2866 (Fintern): Don't store to ->obarray field.
2868 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2870 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2871 (eq_with_ebola_notice): Remove abracadabra support.
2873 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2875 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2876 retrieve the distinguished names of entries
2878 1999-03-08 Martin Buchholz <martin@xemacs.org>
2880 * lread.c (read_escape): Make hex escapes read only two hex digits.
2882 1999-04-05 Olivier Galibert <galibert@pobox.com>
2884 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2885 * make-src-depend: Remove puresize-adjust.h.
2886 * src-headers: Remove puresize-adjust.h.
2887 * config.h.in: Kill everything purespace/gung-ho related.
2889 * dbxrc: Make gung-ho mandatory.
2892 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2893 c_readonly and lisp_readonly. Remove implementation arrays.
2894 (C_READONLY_RECORD_HEADER_P): Added.
2895 (LISP_READONLY_RECORD_HEADER_P): Added.
2896 (SET_C_READONLY_RECORD_HEADER): Added.
2897 (SET_LISP_READONLY_RECORD_HEADER): Added.
2899 * lisp.h: Kill everything purespace/non gung-ho related.
2900 (CHECK_C_WRITEABLE): Added.
2901 (CHECK_LISP_WRITEABLE): Added.
2902 (C_READONLY): Added.
2903 (LISP_READONLY): Added.
2905 * lisp-union.h: Make gung-ho mandatory.
2906 * lisp-disunion.h: Ditto.
2908 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2909 set_lheader_implementation calls.
2910 (c_readonly): Added.
2911 (lisp_readonly): Added.
2912 (make_string_nocopy): Added.
2913 (Fpurecopy): Changed to do nothing. Kept the old documentation
2914 for reference purposes for the next patches.
2915 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2916 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2917 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2919 * fns.c: Make gung-ho mandatory.
2920 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2922 (Ffillarray): Ditto.
2924 * data.c: Make gung-ho mandatory.
2925 (pure_write_error): Removed.
2926 (c_write_error): Added.
2927 (lisp_write_error): Added.
2928 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2932 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2933 make_string or make_string_nocopy. Fix various
2934 alloc_lcrecord_type.
2936 * lread.c: Remove everything purespace related.
2937 (Flocate_file_clear_hashing): purified -> c_readonly.
2938 (locate_file): Ditto.
2939 (read_atom): make_pure_pname -> make_string.
2941 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2943 (Fdump_emacs): Ditto.
2945 * print.c (print_internal): Make gung-ho mandatory.
2946 * ntheap.c (sbrk): Ditto.
2947 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2948 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2950 * sheap.c (more_static_core): Remove puresize-adjust.h from
2953 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2955 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2956 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2957 * events.c (deinitialize_event): Fix set_lheader_implementation.
2958 (zero_event): Ditto.
2959 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2960 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2961 * mule-charset.c (make_charset): Ditto.
2962 * console.c (allocate_console): Ditto.
2963 (complex_vars_of_console): Ditto.
2964 * file-coding.c (allocate_coding_system): Ditto.
2965 * device.c (allocate_device): Ditto
2966 * gui-x.c (gcpro_popup_callbacks): Ditto.
2967 * extents.c (allocate_extent_auxiliary): Ditto.
2968 (allocate_extent_info): Ditto.
2969 (copy_extent): Ditto.
2970 * glyphs.c (allocate_image_instance): Ditto.
2971 (allocate_glyph): Ditto.
2972 * frame.c (allocate_frame_core): Ditto.
2973 * database.c (allocate_database): Ditto.
2974 * tooltalk.c (make_tooltalk_message): Ditto.
2975 (make_tooltalk_pattern): Ditto.
2976 * rangetab.c (Fmake_range_table): Ditto.
2977 (Fcopy_range_table): Ditto.
2978 * process.c (make_process_internal): Ditto.
2979 * chartab.c (Fmake_char_table): Ditto.
2980 (make_char_table_entry): Ditto.
2981 (copy_char_table_entry): Ditto.
2982 (Fcopy_char_table): Ditto.
2983 * elhash.c (make_general_lisp_hash_table): Ditto.
2984 (Fcopy_hash_table): Ditto.
2985 * buffer.c (allocate_buffer): Ditto.
2986 (complex_vars_of_buffer): Ditto.
2987 * event-stream.c (allocate_command_builder): Ditto.
2988 * objects.c (Fmake_color_instance): Ditto.
2989 (Fmake_font_instance): Ditto.
2990 (vars_of_objects): Ditto.
2991 * toolbar.c (update_toolbar_button): Ditto.
2992 * window.c (allocate_window): Ditto.
2993 (make_dummy_parent): Ditto.
2994 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2995 (vars_of_window): Fix make_lcrecord_list.
2996 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2998 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2999 * opaque.c (make_opaque): Fix alloc_lrecord.
3000 (make_opaque_list): Fix alloc_lrecord_type.
3002 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
3004 * process.c (Fstart_process_internal): Ditto.
3006 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
3009 * glyphs-x.c (x_locate_pixmap_file): Ditto.
3011 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
3014 * emodules.c (vars_of_module): New variable Vmodule_extensions.
3015 (emodules_load): Use it when calling locate_file().
3017 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
3020 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
3021 (vars_of_callproc): Initialize it.
3022 (Fcall_process_internal): Use it when calling locate_file().
3024 * alloc.c (disksave_object_finalization): Use
3025 Flocate_file_clear_hashing().
3027 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
3028 given `t' as argument.
3030 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
3032 * lread.c (locate_file): Expand `pathel' when appropriate.
3033 (Flocate_file_clear_hashing): Expand path elements.
3034 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
3036 * dired.c (make_directory_hash_table): Create the hash-table only
3037 if the directory open is successful.
3039 * lread.c (decode_mode_1): New function.
3040 (decode_mode): Ditto.
3041 (Flocate_file): Use them.
3042 (Flocate_file): Expand FILENAME.
3043 (locate_file_map_suffixes): New function.
3044 (locate_file_in_directory_mapper): New function.
3045 (locate_file_in_directory): Use locate_file_in_directory_mapper()
3046 and locate_file_map_suffixes().
3047 (locate_file_construct_suffixed_files): Use
3048 locate_file_map_suffixes().
3049 (locate_file_without_hash): Don't GCPRO path.
3050 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
3051 (syms_of_lread): Remove Qlocate_file_hash_table.
3052 (locate_file_find_directory_hash_table): Use
3053 Vlocate_file_hash_table.
3054 (locate_file_refresh_hashing): Ditto.
3056 * lread.c: Renamed read_objects to Vread_objects.
3058 1999-04-16 Olivier Galibert <galibert@pobox.com>
3060 * mule-charset.c: Generally resync with fsf 20.3 charset
3062 (make_charset): Add long and short name. Use id instead of
3064 (Fmake_charset): Ditto.
3065 (Fmake_reverse_direction_charset): Ditto.
3066 (Fcharset_property): Ditto.
3067 (Fcharset_short_name): Added.
3068 (Fcharset_long_name): Added.
3069 (Fcharset_description): Renamed from charset-doc-string.
3070 (syms_of_mule_charset): Synced symbols.
3071 (complex_vars_of_mule_charset): Synced charsets.
3073 * mule-charset.h: Removed leading byte (uses id instead), added
3074 short and long name.
3076 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
3078 * file-coding.c (Fdefine_coding_system_alias): New function.
3080 1999-04-08 Olivier Galibert <galibert@pobox.com>
3082 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
3083 and -ascii fonts for displaying ascii instead of iso8859-1 only.
3085 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
3087 * extents.c (set_extent_glyph_1): Make sure that the glyph we
3088 attach to the extent is valid.
3090 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
3092 * dired.c (user_name_completion): Mule-ize.
3093 (user_name_completion): Use xmalloc/xrealloc/xfree.
3094 (user_name_completion): Use DO_REALLOC.
3095 (user_name_completion): Cut down the number of static variables;
3097 (user_name_completion): Username completion is always
3100 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
3102 * fns.c (base64_decode_1): Remove COUNTER.
3103 (base64_decode_1): Accept CRLF in addition to CR.
3104 (base64_decode_1): Disallow a stray character after final EOF; the
3105 check was probably a remnant of buggy recode code.
3107 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
3109 * fns.c (init_provide_once): Provide `base64'.
3111 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
3113 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
3114 (Fbase64_encode_region): If buffer is read-only, bail out early.
3115 (Fbase64_decode_region): Ditto.
3116 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
3118 (Fbase64_encode_string): Ditto.
3119 (Fbase64_decode_region): Ditto.
3120 (Fbase64_decode_string): Ditto.
3122 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3124 * dired.c (Fdirectory_files): Remove redundant code.
3126 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3128 * frame-msw.c Make raise-frame restore minimised windows.
3130 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3132 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
3135 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3137 * toolbar-msw.c Consider captions when deciding whether to rebuild
3138 toolbar. This fixes the initial toolbar display for those of us
3139 who don't like captions. These patches applied by Andy Piper.
3141 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
3143 * XEmacs 21.2.13 is released
3145 1999-03-12 SL Baur <steve@xemacs.org>
3147 * file-coding.c: Guard ucs table initialization with ifdef MULE.
3149 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
3151 * file-coding.c: docstring and comment improvements.
3152 (decode_ucs4) flag possible data loss with comment.
3154 1999-03-10 Martin Buchholz <martin@xemacs.org>
3156 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
3160 (decode_coding_ucs4):
3161 (encode_coding_ucs4):
3162 (detect_coding_utf8):
3163 (decode_coding_utf8):
3165 (encode_coding_utf8):
3166 Add CHECK_* macros where needed to avoid crashes.
3167 #ifdef out all composite character support using
3168 #ifdef ENABLE_COMPOSITE_CHARS
3169 Use normal XEmacs coding standards.
3171 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
3173 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3175 * file-coding.c (make-coding-system): Add description about
3176 `ucs-4' and `utf-8'.
3177 (detection_state): Modify to implement ucs-4 and utf-8.
3178 (detect_coding_type): Likewise.
3179 (detect_coding_ucs4): New implementation.
3180 (detect_coding_utf8): New implementation.
3181 (encode_utf8): fixed.
3182 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
3185 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3187 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
3188 2022 registry to private area.
3190 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3192 * file-coding.c (encode_utf8): New function.
3193 (encode_coding_utf8): New implementation.
3195 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3197 * file-coding.c (ucs_to_mule_table): New variable; abolish
3198 `Vucs_to_mule_table'
3199 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
3200 (set-ucs-char): New function.
3201 (ucs_to_char): New function.
3202 (ucs-char): New function.
3203 (set-char-ucs): New function.
3204 (char-ucs): New function.
3205 (decode_ucs4): Use `ucs_to_char'.
3206 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
3207 `mule-to-ucs-table'.
3209 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3211 * chartab.h: EXFUN `Fget_char_table'.
3213 * file-coding.c (encode_ucs4): New function.
3214 (encode_coding_ucs4): Use `encode_ucs4'.
3216 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3218 * file-coding.c (decode_coding_ucs4): New implementation.
3220 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3222 * file-coding.c (decode_coding_ucs4): fixed.
3224 * file-coding.c (Vmule_to_ucs_table): New variable.
3225 (mule_char_to_ucs4): New function.
3226 (encode_coding_ucs4): New implementation.
3227 (complex_vars_of_mule_coding): Define variable
3228 `mule-to-ucs-table'.
3230 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3232 * file-coding.c (decode_coding_utf8): New implementation.
3234 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3236 * file-coding.c (decode_coding_utf8): fixed.
3238 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3240 * file-coding.c (Vucs_to_mule_table): New variable.
3241 (decode_ucs4): Refer `Vucs_to_mule_table'.
3242 (complex_vars_of_mule_coding): Define variable
3243 `ucs-to-mule-table'.
3245 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3247 * file-coding.c (detect_coding_ucs4): New function (not
3249 (decode_coding_ucs4): New function.
3250 (encode_coding_ucs4): New function (not implemented yet).
3251 (detect_coding_utf8): New function (not implemented yet).
3252 (decode_coding_utf8): New function.
3253 (encode_coding_utf8): New function (not implemented yet).
3254 (make-coding-system): New type `ucs4' and `utf8'.
3255 (coding-system-type): Likewise.
3256 (detection_state): Add `ucs4' and `utf8'.
3257 (detect_coding_type): Likewise.
3258 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
3259 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
3260 (decode_ucs4): New function (very incomplete).
3261 (syms_of_mule_coding): Add `ucs4' and `utf8'.
3263 * file-coding.h: Add definitions for UCS-4 and UTF-8.
3265 1999-03-08 Martin Buchholz <martin@xemacs.org>
3268 (non_ascii_valid_char_p):
3269 (lookup_composite_char):
3270 (composite_char_string):
3271 (make-composite-char):
3272 (composite-char-string):
3273 (syms_of_mule_charset):
3274 (complex_vars_of_mule_charset):
3275 * mule-charset.h (LEADING_BYTE_COMPOSITE):
3276 (CHAR_LEADING_BYTE):
3278 * file-coding.h (CODING_STATE_COMPOSITE):
3279 (CODING_STATE_ISO2022_LOCK):
3281 (LEADING_BYTE_COMPOSITE):
3282 * file-coding.c (struct iso2022_decoder):
3285 (parse_iso2022_esc):
3286 (encode_coding_iso2022):
3287 #ifdef out all composite character support using
3288 #ifdef ENABLE_COMPOSITE_CHARS
3290 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
3292 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
3294 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
3295 way of `Fbase64_encode_region'.
3297 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
3299 * fns.c (base64_encode_1): Don't add a newline at the tail.
3301 1999-03-08 Andy Piper <andy@xemacs.org>
3303 * menubar-msw.c (displayable_menu_item): correct off-by-one &
3306 1999-03-07 Martin Buchholz <martin@xemacs.org>
3308 * console-stream.h (struct stream_console):
3309 * event-unixoid.c (event_stream_unixoid_select_console):
3310 (event_stream_unixoid_unselect_console):
3311 * print.c (Fexternal_debugging_output):
3312 * sysdep.c (reset_one_device):
3313 * console-stream.c (stream_init_console):
3314 (stream_delete_console):
3315 (allocate_stream_console_struct): move into stream_init_console.
3316 (free_stream_console_struct): move into stream_delete_console.
3317 Use `fd' only for file descriptors.
3318 Therefore, rename members of struct stream_console.
3320 * systime.h: Unix98 says sys/time.h should define select(), but
3321 some systems define that in unistd.h. So include that file always.
3323 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
3324 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
3325 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
3327 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
3331 Add #include <stdio.h>.
3332 Some versions of assert.h use printf() without #include'ing stdio.h
3334 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
3335 (log_gcpro): Remove unused variable FRAME.
3336 (show_gcprohist): Ansify.
3337 Comment the #endif's
3339 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
3340 after it's just been XtDestroy'ed!
3342 1999-02-18 Martin Buchholz <martin@xemacs.org>
3344 * opaque.c (print_opaque):
3348 Egcs 1.1.1 seems to have a bug where
3349 INTP (p->size_or_chain)
3350 will crash XEmacs. Fix by introducing intermediate variable.
3352 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
3354 * dired.c (Fdirectory_files):
3355 (Ffile_name_completion):
3356 (Ffile_name_all_completions):
3357 (file_name_completion):
3358 - Use `directory' instead of `dirname' to sync with FSF Emacs and
3359 avoid compiler warnings.
3360 - Fix up docstrings so that C variables match documentation.
3362 1999-03-05 Martin Buchholz <martin@xemacs.org>
3364 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
3365 variables as small as possible to help out the compiler and the maintainer.
3367 * alloc.c: (disksave_object_finalization):
3368 Set all the *-load-path variables to
3369 nil, not just load-path itself. This gets the locate-file hash
3370 tables garbage collected BEFORE dump, and has the side effect of
3371 preventing crashes on OSF4.0+egcs.
3376 - Clean up gdb/dbx debugging support.
3377 - Storing an EMACS_INT in an enum is not 64-bit clean!
3378 - So change the enum to a set of separate variables.
3379 - Add test cases to help debug the debugging support!
3380 - Add `lisp-shadows' and `run-temacs' targets for dbx.
3381 - Both dbx and gdb have been tested now.
3383 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3385 * XEmacs 21.2.12 is released
3387 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3389 * device-x.c: Support to find best visual without flashing.
3391 1999-03-02 Paul Keusemann <pkeusem@visi.com>
3393 * database.c (berkdb_map): Add flags argument to cursor call (must
3394 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
3396 1999-03-03 Martin Buchholz <martin@xemacs.org>
3400 General cleanup. Get free-hook.c working again.
3401 Remove unused functions:
3402 make_strings_hash_table, copy_hash, expand_hash_table.
3406 Always use new ANSI-style function prototypes.
3408 * unexalpha.c (unexec): Never use implicit int.
3410 * sgiplay.c (close_sound_file):
3412 (restore_audio_port):
3417 (write_mulaw_8_chunk):
3418 (write_linear_chunk):
3419 (write_linear_32_chunk):
3420 (initialize_audio_port):
3423 (set_output_format):
3424 (adjust_audio_volume):
3425 (get_current_volumes):
3427 Always use new ANSI-style function prototypes.
3428 Use unistd.h for missing prototypes.
3430 * unexelfsgi.c (round_up):
3432 (unexec): Always use new ANSI-style function prototypes
3434 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
3436 * console.h (struct console_methods): Always use full ANSI prototypes
3438 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
3440 1999-03-02 Andy Piper <andy@xemacs.org>
3442 * event-stream.c (init_event_stream): make sure native mswindows
3443 gets an appropriate event loop.
3445 1999-02-22 Andy Piper <andy@xemacs.org>
3447 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
3448 than SW_SHOWNORMAL to prevent resizing of maximised frames.
3449 (mswindows_raise_frame): remove comment.
3451 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
3453 * XEmacs 21.2.11 is released
3455 1999-02-25 SL Baur <steve@xemacs.org>
3457 * mule-charset.c (Qleading_byte): New variable to implement
3458 charset-leading-byte function.
3459 (Fcharset_property): Use it.
3460 (syms_of_mule_charset): Initialize it.
3461 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3463 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
3465 * glyphs-x.c (cononvert_EImage_to_XImage): correct
3466 bytes per pixel counting.
3468 1999-02-15 Andy Piper <andy@xemacs.org>
3470 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
3473 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3475 * fns.c (Fbase64_encode_string): New optional argument
3478 1999-02-16 Martin Buchholz <martin@xemacs.org>
3480 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3481 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3483 1999-02-10 Martin Buchholz <martin@xemacs.org>
3485 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3486 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3488 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3490 * XEmacs 21.2.10 is released
3492 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3494 * process-nt.c (nt_send_process):
3495 Fix for process-send-region/process-send-string breaking when size
3496 of the input > 128 chars: change maximum chunk size for process
3497 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3500 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3502 * XEmacs 21.2.9 is released
3504 1999-01-30 Martin Buchholz <martin@xemacs.org>
3506 * bytecode.c (funcall_compiled_function): Call
3507 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3509 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3510 #ifdef 0 out unused macro.
3512 1999-01-27 Martin Buchholz <martin@xemacs.org>
3514 * gui.c (gui_parse_item_keywords_internal): Make static.
3516 1999-01-21 Andy Piper <andy@xemacs.org>
3518 * glyphs-msw.c: add xface support.
3519 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3520 (image_instantiator_format_create_glyphs_mswindows): do device
3521 specific initialisation for xfaces.
3522 (xbm_create_bitmap_from_data): line data must be padded to a word
3525 * glyphs-x.c (xface_validate): moved to glyphs.c
3526 (xface_normalize): ditto.
3527 (xface_possible_dest_types): ditto.
3528 (image_instantiator_format_create_glyphs_x): do device specific
3529 initialisation for xfaces.
3531 * glyphs.h: declare xface symbol.
3533 * glyphs.c: move generic xface support here.
3534 (xface_validate): moved from glyphs-x.c
3535 (xface_normalize): ditto.
3536 (xface_possible_dest_types): ditto.
3537 (image_instantiator_format_create): xface declarations moved from
3540 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3542 * event-stream.c (vars_of_event_stream): Fixing documentation.
3544 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3546 * glyphs-eimage.c (gif_instantiate): Correct handling of
3547 interlaced gifs to avoid writing past the end of the eimage
3550 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3552 * search.c (Freplace_match): Handle single backslash at end of
3555 1999-01-12 William M. Perry <wmperry@aventail.com>
3557 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3558 avoid connection errors.
3560 1999-01-12 Andy Piper <andy@xemacs.org>
3562 * redisplay-output.c (redisplay_update_line): backout change that
3563 shouldn't have gone ine.
3565 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3567 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3568 collide with ldap.el
3570 1999-01-11 Andy Piper <andy@xemacs.org>
3572 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3573 (DISPLAY_LINE_YPOS): new macro.
3575 * redisplay-msw.c (mswindows_output_string): use it.
3576 (mswindows_output_pixmap): ditto.
3577 (mswindows_output_display_block): ditto.
3579 * redisplay-output.c (redisplay_output_display_block): new
3580 function. just call the devmeth, maybe insert some generic code
3582 (compare_display_blocks): use it.
3583 (output_display_line): ditto.
3584 (redisplay_unmap_subwindows_maybe): new function. potentially
3585 unmap subwindows in the given area.
3587 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3590 1999-01-10 J. Kean Johnston <jkj@sco.com>
3592 * Makefile.in.in: Set value of moduledir
3593 - Changed DUMPENV to include $(MODULEPATH)
3594 - Added install rule to install header files for use by ellcc.
3596 * config.h.in: Added INHIBIT_SITE_MODULES
3597 - Added HAVE__DLERROR
3598 - Added HAVE_DLFCN_H
3599 - Added DLSYM_NEEDS_UNDERSCORE
3603 * emodules.c: New file containing dynamic loading code.
3605 * emodules.h: New file.
3607 * emacs.c: Added variables Vmodule_directory,
3608 Vsite_module_directory, Vconfigure_module_directory and
3609 Vconfigure_site_module_directory.
3610 - (main_1): Added new variable inhibit_site_modules and command
3611 line options `-no-site-modules' and `--no-site-modules'.
3612 - (main_1): Call syms_of_module() instead of syms_of_dll().
3613 - (main_1): Call vars_of_module().
3614 - (vars_of_emacs): Introduce inhibit-site-modules,
3615 module-directory, configure-module-directory,
3616 site-module-directory, and configure-site-module-directory to the
3619 * lisp.h: Declare load_module and list_modules, as well as
3620 Vmodule_directory, Vsite_module_directory,
3621 Vconfigure_module_directory and Vconfigure_site_module_directory.
3623 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3624 - Added correct support for site-lisp directory.
3626 * symbols.c (defsubr): Modified to allow modules to add new subrs
3628 - (defsubr_macro): Same.
3629 - (defvar_magick): Only use purespace when not initialized, so
3630 that loaded modules can still add symbols.
3632 * symsinit.h: Add definitions for syms_of_module(),
3633 vars_of_module(). Removed syms_of_dll().
3635 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3636 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3637 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3639 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3640 explicitly pass -belf for native cc.
3642 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3643 hard-coding the library name.
3645 1999-01-01 <martin@xemacs.org>
3647 * device-x.c (Fx_set_font_path):
3648 Add proper cast to permit compilation under C++.
3650 * buffer.c (directory_is_current_directory):
3651 Add proper casts to permit compilation under C++.
3653 1998-12-30 Damon Lipparelli <lipp@primus.com>
3655 * event-msw.c (mswindows_wnd_proc):
3656 Fixed failure when building with MSVC 5.
3658 1998-12-29 Martin Buchholz <martin@xemacs.org>
3660 * file-coding.c (decode_coding_iso2022):
3661 - Prevent crash when decoding ISO7/Lock detected files
3662 - the usual martin fiddling
3664 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3668 Fixed failures when building with MSVC.
3669 * unexnt.c (dump_bss_and_heap):
3670 Removed compiler warning by removing bss_data variable.
3672 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3674 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3675 so that packages that distribute their own fonts can access them.
3677 1998-12-28 Andy Piper <andy@xemacs.org>
3679 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3680 that have an image provided.
3682 * glyphs.h: add Q_image decl.
3684 * glyphs-widget.c new functionality allowing images in
3686 (check_valid_glyph_or_image): new function to validate
3687 glyphs passed in through :image.
3688 (widget_normalize): new function. convert :image parameters into
3689 real glyphs if not already so.
3690 (widget_instantiate_1): mess with size parameters to be similar to
3692 (syms_of_glyphs_widget): new keyword :image.
3693 (image_instantiator_format_create_glyphs_widget): normalize
3694 buttons and allow :image.
3696 1998-12-27 Andy Piper <andy@xemacs.org>
3698 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3700 * glyphs-widget.c (check_valid_anything): no-op function.
3701 (check_valid_callback): check callbacks in gui_items.
3702 (check_valid_symbol): as it sounds.
3703 (check_valid_string_or_vector): ditto.
3704 (widget_validate): modified for descriptors that are vectors or
3705 sequences of keyword/val pairs.
3706 (widget_instantiate_1): ditto.
3707 (image_instantiator_format_create_glyphs_widget): allow gui_item
3708 keywords in the instantiator.
3710 * gui.c (gui_parse_item_keywords_internal): renamed from
3711 gui_parse_item_keywords but taking error behaviour.
3712 (gui_parse_item_keywords): use it.
3713 (gui_parse_item_keywords_no_errors): ditto.
3714 (gui_item_add_keyval_pair): add Error_behavior flag and only
3715 signal invalid keywords if required.
3717 * gui.h: new gui signatures.
3719 * menubar.c (menu_parse_submenu_keywords): use new
3720 gui_item_add_keyval_pair signature.
3722 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3724 1998-12-28 Martin Buchholz <martin@xemacs.org>
3726 * XEmacs 21.2.8 is released.
3728 1998-12-28 Martin Buchholz <martin@xemacs.org>
3730 * editfns.c (get_home_directory):
3731 (user-home-directory): Simplify.
3734 * callproc.c (child_setup):
3735 - Environment variables were being passed to inferior processes
3736 using internal encoding.
3737 - Convert to external encoding.
3738 - Rename local var `tem' to better name `tail'.
3739 - Use Flength instead of `manual' calculation.
3741 * buffer.c (kill-buffer):
3743 (set-buffer-major-mode):
3745 - Fix up parameter names to correspond to docstrings.
3746 - Don't use `bufname' when a buffer will do as well.
3747 - Remove one unneeded GCPRO.
3749 * buffer.h (initial_directory):
3750 * buffer.c (init_initial_directory):
3751 - use correct conversions between internal and external format.
3752 (directory_is_current_directory): new function
3753 (init_buffer): convert initial_directory to internal format.
3754 - solve crashes when current working directory is non-ASCII.
3756 * alloc.c (xmalloc):
3759 - remove stupid casts, since XEmacs requires an ANSI C system.
3760 (lrecord_type_index): replace abort() with more readable assert().
3762 (reset_lcrecord_stats): remove.
3763 (sweep_lcrecords_1):
3764 - replace call to reset_lcrecord_stats() with call to xzero().
3766 1998-12-27 Martin Buchholz <martin@xemacs.org>
3768 * process-unix.c (unix_create_process):
3769 - Fix crash invoking program with non-ASCII name.
3770 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3771 - Remove unused variable `env'.
3772 - Rename `temp' to better name `save_errno'.
3773 - Reorganize code for clarity. But still too chicken to nuke the
3776 1998-12-24 Martin Buchholz <martin@xemacs.org>
3778 * XEmacs 21.2.7 is released.
3780 1998-12-23 Martin Buchholz <martin@xemacs.org>
3782 * glyphs.c (decode_device_ii_format):
3784 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3786 * glyphs-x.c (x_subwindow_instantiate):
3787 - A image instance mask was being assigned to a image instance type!
3788 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3790 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3792 * glyphs-x.h: Make indentation consistent.
3794 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3796 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3798 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3802 Move declarations of decode_device_ii_format and
3803 decode_image_instantiator_format into glyphs.h where they belong.
3805 1998-12-22 Martin Buchholz <martin@xemacs.org>
3807 * frame-x.c (x_delete_frame): Revert part of my changes at the
3808 suggestion of Gunnar Evermann - unfortunately no one really
3809 understands this code.
3811 * callproc.c (init_callproc): code cleanup.
3813 * free-hook.c (malloc):
3818 (block_input_malloc):
3819 (block_input_realloc):
3820 * device-x.c (x_delete_device):
3821 * emacs.c (voodoo_free_hook):
3822 * events.c (print_event):
3824 (CHECK_EVENT_TYPE2):
3825 (CHECK_EVENT_TYPE3):
3826 Use proper prototypes.
3827 Make C_E_T macros a little faster.
3828 Pedantic fiddly little changes. You really don't care.
3830 1998-12-22 Andy Piper <andy@xemacs.org>
3832 * redisplay-output.c (redisplay_clear_region): make sure that
3833 fg/bg colors get set even when we are in the border area.
3835 1998-12-13 Martin Buchholz <martin@xemacs.org>
3837 * console-msw.c: Function definitions follow coding standards
3838 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3840 1998-12-11 Martin Buchholz <martin@xemacs.org>
3842 * events.h (struct timeout_data):
3843 * event-tty.c (tty_timeout_to_emacs_event):
3844 * event-msw.c (mswindows_wm_timer_callback):
3845 * event-Xt.c (Xt_timeout_to_emacs_event):
3846 * event-msw.c (mswindows_cancel_dispatch_event):
3847 Make sure Lisp_Objects inside events are initialized to Qnil, not
3848 Qnull_pointer, which is now illegal.
3850 1998-12-10 Martin Buchholz <martin@xemacs.org>
3852 * lisp.h: Fix up prototypes to match alloc.c
3854 1998-12-08 Martin Buchholz <martin@xemacs.org>
3856 * windowsnt.h: Remove `support' for using index and rindex
3858 * filelock.c (current_lock_owner):
3859 - Change uses of index -> strchr, rindex -> strrchr
3861 1998-12-07 Martin Buchholz <martin@xemacs.org>
3863 * sysdep.c (set_descriptor_non_blocking):
3864 Since O_NONBLOCK is now always #defined, make use of fcntl
3865 conditional on F_SETFL being defined.
3867 * console-msw.c (DHEADgER):
3876 - max_align_t should not be visible to the user of the
3878 - use Bufbyte instead of char
3879 - parens around (FOOP (obj)) are always redundant.
3880 If they were necessary, we should fix the macro instead.
3881 - Always use string_data(foo) instead of foo->data.
3884 1998-12-06 Martin Buchholz <martin@xemacs.org>
3886 * frame-msw.c (mswindows_init_frame_1):
3887 - use make_lisp_hash_table, not Fmake_hash_table
3891 * alloc.c (make_vector): remove travesty
3895 (make_bit_vector_internal):
3897 (make_bit_vector_from_byte_vector):
3899 - make vector_equal a little faster.
3900 - Don't use variable name `new'.
3901 - Use size_t instead of EMACS_INT.
3902 - usual Martin-style pointless bit-twiddling.
3908 Make mapcar faster. In particular, make
3909 (mapc #'identity long-string)
3910 MUCH faster under Mule.
3911 * tests/automated/lisp-tests.el: Test 'em!
3913 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3916 1998-12-01 Martin Buchholz <martin@xemacs.org>
3918 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3919 Qnil, not NULL, to initialize `null' Lisp_Objects.
3921 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3923 * specifier.c (display_table_validate): Update.
3925 * redisplay.c (create_text_block): Use them.
3927 * glyphs.c (display_table_entry): New function.
3928 (get_display_tables): Ditto.
3930 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3932 * eldap.c (toplevel): Mention that eldap.c compiles with
3934 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3935 (Fldap_search_internal): Ditto
3937 1998-12-11 Martin Buchholz <martin@xemacs.org>
3939 * event-msw.c (mswindows_cancel_dispatch_event):
3940 Gratuitous code prettification
3943 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3945 * fns.c (Fnconc): Fix use of wrong_type_argument().
3947 * floatfns.c (Ffloat): Fix docstring.
3948 (Ffloat): Fix use of wrong_type_argument().
3950 (extract_float): Ditto.
3955 1998-12-06 Martin Buchholz <martin@xemacs.org>
3957 * frame-msw.c (mswindows_init_frame_1):
3958 - use make_lisp_hash_table, not Fmake_hash_table
3962 * alloc.c (make_vector): remove travesty
3966 (make_bit_vector_internal):
3968 (make_bit_vector_from_byte_vector):
3970 - make vector_equal a little faster.
3971 - Don't use variable name `new'.
3972 - Use size_t instead of EMACS_INT.
3973 - usual Martin-style pointless bit-twiddling.
3979 Make mapcar faster. In particular, make
3980 (mapc #'identity long-string)
3981 MUCH faster under Mule.
3982 * tests/automated/lisp-tests.el: Test 'em!
3984 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3987 1998-12-02 Didier Verna <verna@inf.enst.fr>
3989 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3990 accelerator field to nil for labels.
3992 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3994 * menubar-msw.c (displayable_menu_item):
3995 Escape occurrences of '&' and support occurrences of the
3996 '%_' accelerator indicator in menus.
3998 1998-11-26 Didier Verna <verna@inf.enst.fr>
4000 * dired.c (Fdirectory_files): use make_string instead of
4001 make_ext_string on the filename. The conversion external->internal
4002 format is already done in sys_readdir.
4004 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
4006 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
4008 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
4011 (Belatedly) added Kirill to list of file's authors.
4012 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
4013 quit checking. WM_PAINT messages cause redisplay, but
4014 windows' states are not necessarily stable when this function
4017 1998-12-17 Andy Piper <andy@xemacs.org>
4019 * strftime.c (zone_name): CONSTify.
4021 1998-12-15 Andy Piper <andy@xemacs.org>
4023 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
4024 (mswindows_widget_property): return Qunbound when no property available.
4025 (mswindows_button_property): ditto.
4026 (mswindows_combo_property): ditto.
4027 (mswindows_widget_set_property): ditto.
4029 * glyphs-widget.c (check_valid_item_list): use properties.
4031 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
4033 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
4034 (Fimage_instance_property): ditto.
4035 * glyphs-widget.c (widget_property): ditto.
4036 (widget_set_property): ditto.
4038 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
4039 as setting the class cursor so that GC actually changes the
4042 * config.h: don't undef MAIL_USE_POP.
4044 1998-12-13 Andy Piper <andy@xemacs.org>
4047 (image_instantiator_format_create_glyphs_mswindows): line ->
4049 (mswindows_label_instantiate): ditto. Play with window flags.
4050 (image_instantiator_format_create_glyphs_mswindows): ditto.
4051 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
4053 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
4054 cope with lines and labels.
4055 (static_instantiate): use widget_instantiate_1.
4057 (image_instantiator_format_create_glyphs_widget): ditto.
4059 1998-12-10 Andy Piper <andy@xemacs.org>
4061 * Makefile.in.in (objs): add gui.o
4063 1998-12-10 Andy Piper <andy@xemacs.org>
4065 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
4068 1998-12-09 Andy Piper <andy@xemacs.org>
4070 * glyphs.c (finalize_image_instance): mark glyphs changed when an
4071 image instance is removed so that the subwindow cache gets reset
4072 and thus destroyed images get GC'd.
4074 1998-12-08 Andy Piper <andy@xemacs.org>
4076 * gui-msw.c (mswindows_handle_gui_wm_command): call
4077 MARK_SUBWINDOWS_CHANGED.
4079 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
4080 subwindows really get deleted.
4082 * redisplay.c: new variable subwindows_changed[_set].
4083 (redisplay_window): use it.
4084 (redisplay_frame): ditto.
4085 (redisplay_device): ditto.
4086 (redisplay_without_hooks): ditto.
4088 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
4089 subwindows redisplay as per glyphs equivalent.
4090 * redisplay.h: ditto.
4091 (MARK_SUBWINDOWS_CHANGED): ditto.
4092 (RESET_CHANGED_SET_FLAGS): ditto.
4093 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
4095 1998-12-07 Andy Piper <andy@xemacs.org>
4097 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
4100 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
4102 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
4103 messages and paint widget glyphs as appropriate with their face fg
4106 1998-12-06 Andy Piper <andy@xemacs.org>
4108 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
4109 here rather than in glyphs-widget - do this because we only want
4110 to provide what is really available.
4112 * glyphs.c (Fimage_instance_property): new function to get the
4113 properties of image instances. wires through to console specific
4114 methods and then to widget specific methods.
4115 (Fset_image_instance_property): ditto but for setting widget properties.
4116 (check_valid_face): make extern so that it can be used elsewhere.
4118 * glyphs-widget.c (widget_property): new function. gets the
4119 properties of widgets in general and wires the function through to
4120 widget specific ones.
4121 (widget_set_property): ditto but for setting widget properties.
4123 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
4124 add items to the list. Play with window styles a bit to get the
4126 (mswindows_widget_property): break out specific widget properties.
4127 (mswindows_button_property): new function. gets the checked state
4129 (mswindows_combo_property): new function. gets the current
4130 selection in the combo box.
4131 (mswindows_widget_set_property): new function. sets specific
4132 properties of specific widgets.
4134 * glyphs-widget.c (check_valid_item_list): new function. check
4135 that items for a combo-box are just a list of strings.
4136 (combo_validate): new function. check there is an item list.
4137 (widget_instantiate_1): new function. renamed from
4138 widget_instantiate so that we can do slightly different things for
4140 (widget_instantiate): call widget_instantiate_1.
4141 (combo_instantiate): new function to instantiate combo boxes,
4142 defaults height to the pixel height of the number of items in the
4144 (syms_of_glyphs_widget): move widget keywords here.
4145 (image_instantiator_format_create_glyphs_widget): use new combo
4148 1998-12-04 Andy Piper <andy@xemacs.org>
4150 * event-msw.c (mswindows_wnd_proc): mule-ize.
4152 * glyphs.c (pixmap_to_lisp_data): mule-ize.
4154 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
4155 (resource_name_to_resource): ditto.
4156 (mswindows_resource_instantiate): ditto.
4157 (mswindows_widget_instantiate): ditto.
4158 (mswindows_widget_set_property): ditto.
4160 * redisplay-output.c (redisplay_output_subwindow): don't show
4161 subwindows if they are obscured at the edge of the frame, emacs
4162 gets into some sort of redisplay loop otherwise.
4164 * gui.h: prototype gui_item_selected_p.
4166 * gui.c (gui_item_selected_p): new function to determine the
4167 selected state of a gui_item.
4169 * frame.h (struct frame): add subwindows_changed flag.
4171 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
4173 * glyphs.c (update_subwindow): new function to update a
4175 (update_frame_subwindows): new function to update all the
4176 subwindows on a frame.
4178 * console.h (struct console_methods): add update_subwindow.
4180 * glyphs-msw.c (mswindows_widget_property): return selected state
4181 for selected property.
4182 (mswindows_update_subwindow): new function. updates widget glyphs
4183 in redisplay as per menubars or toolbars e.g. selected state.
4184 (console_type_create_glyphs_mswindows): add update_subwindow.
4186 1998-12-03 Andy Piper <andy@xemacs.org>
4188 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
4189 tty coding system things are such.
4191 * glyphs-widget.c (widget_face_font_info): new function for
4192 pulling out height and width metrics for a widget's face.
4193 (widget_text_to_pixel_conversion): calculate pixel sizes of text
4196 * event-msw.c (mswindows_drain_windows_queue): translate messages
4197 that are destined for subwindows. This makes edit fields interact
4198 with the keyboard correctly.
4199 nuke warnings by #ifndef'ing out stuff not required by msg select().
4201 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
4202 macro defining the iiforma without the symbol required by widget.
4203 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
4205 * general.c (syms_of_general): add Qwidget, Qselected.
4207 * faces.c (complex_vars_of_faces): add widget face inheriting from
4210 1998-11-09 Andy Piper <andy@xemacs.org>
4212 * window.h (struct window): add a cache of subwindows on a
4215 * window.c (mark_window): mark the subwindow_instance_cache.
4216 (allocate_window): initialise the subwindow instance_cache.
4218 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
4219 instead of the devmeth.
4220 (x_clear_toolbar): ditto.
4222 * redisplay-x.c (x_output_display_block): call
4223 redisplay_output_subwindow for subwindows and widgets.
4225 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
4226 types to do nothing for.
4228 * lisp.h: declare new widget/subwindow symbols.
4230 * glyphs.c (image_instantiate): cache subwindows on a per-window
4232 (subwindow_possible_dest_types): new function for subwindow dest
4234 (subwindow_instantiate): generic instantiation of a
4235 subwindow. specialised by device multi-methods.
4236 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
4238 (Fimage_instance_subwindow_id): ditto.
4239 (Fresize_subwindow): ditto.
4240 (Fforce_subwindow_map): ditto.
4242 * glyphs-x.c (x_print_image_instance): remove subwindow
4243 stuff. Handled genrically in glyphs.c.
4244 (x_image_instance_equal): ditto.
4245 (x_image_instance_hash): ditto.
4246 (x_finalize_image_instance): delete subwindows when required.
4247 (mark_subwindow) (print_subwindow) (finalize_subwindow)
4248 (subwindow_hash) (Fmake_subwindow): deleted because of new,
4249 glyph-based, subwindow implementation.
4250 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
4252 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
4254 (x_unmap_subwindow): new function to unmap X subwindows.
4255 (x_map_subwindow): new function to map X subwindows.
4256 (x_subwindow_instantiate): new function to instantiate X
4258 (x_resize_subwindow): new function to resize X subwindows.
4259 (console_type_create_glyphs_x): add subwindow functions.
4260 (image_instantiator_format_create_glyphs_x): add device
4261 multi-methods for xpm, xbm and subwindow.
4263 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
4264 (subwindow-width): ditto.
4265 (subwindow-height): ditto.
4267 * glyphs-msw.c (mswindows_widget_instantiate): new function for
4268 generally instantiating ms subwindows. Used by
4269 mswindows_*_instantiate.
4270 (mswindows_edit_instantiate): instantiate an edit field on a
4273 1998-11-04 Andy Piper <andy@xemacs.org>
4275 * symsinit.h: declare new functions.
4277 * redisplay.h: declare new functions.
4279 * redisplay-x.c (x_output_display_block): call
4280 redisplay_clear_region rather than x_clear_region.
4281 (x_output_string): ditto.
4282 (x_output_pixmap): ditto.
4283 (x_clear_to_window_end): ditto.
4284 (x_output_eol_cursor): ditto.
4285 (x_clear_region): only do X specific things. other duties handled
4286 in redisplay_clear_region.
4288 * redisplay-tty.c (tty_clear_region): do tty specific things - some
4289 duties moved to redisplay_clear_region.
4291 * redisplay-output.c (clear_left_border): use
4292 redisplay_clear_region instead of device method.
4293 (clear_right_border): ditto.
4294 (output_display_line): ditto.
4295 (redisplay_output_subwindow): ditto.
4296 (redisplay_clear_top_of_window): ditto.
4297 (redisplay_clear_region): perform duties previously handled by
4298 device methods. call the appropriate device method at the
4299 end. unmap subwindows if necessary.
4301 * redisplay-msw.c (mswindows_output_string): use
4302 redisplay_clear_region instead of mswindows_clear_region.
4303 (mswindows_clear_to_window_end): ditto.
4304 (mswindows_output_display_block): output subwindows when required.
4305 (mswindows_clear_region): only do mswindows specific things,
4306 everything else is now handled in redisplay_clear_region.
4308 * gui.h: add item id hash defines and declare function prototypes.
4310 * gui.c (mark_gui_item): new function for marking gui_items.
4311 (gui_item_hash): generic hash function for generating command ids
4314 * gui-msw.c: new file.
4315 (mswindows_handle_gui_wm_command): new function to handle widget
4318 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
4320 (IIFORMAT_HAS_SHARED_METHOD): ditto.
4321 (DEFINE_DEVICE_IIFORMAT): ditto.
4322 (INITIALIZE_DEVICE_IIFORMAT): ditto.
4323 (struct Lisp_Image_Instance): add widget and subwindow data plus
4324 appropriate access functions.
4326 * glyphs.c (decode_device_ii_format): new function for decoding
4327 image instantiator functions based on a device type as well as an
4329 (decode_image_instantiator_format): just call
4330 decode_device_ii_format with nil device.
4331 (add_entry_to_device_ii_format_list): new function for per device
4333 (add_entry_to_image_instantiator_format_list): just call
4334 add_entry_to_device_ii_format_list with nil device.
4335 (check_valid_vector): new function.
4336 (instantiate_image_instantiator): instantiate using per-format
4337 method and then per-format-per-device method (device
4338 multi-methods). signal an error if neither is possible.
4339 (mark_image_instance): cope with subwindows and widgets.
4340 (print_image_instance): ditto.
4341 (image_instance_equal): ditto.
4342 (image_instance_hash): ditto.
4343 (allocate_glyph): ditto.
4344 (glyph_width): ditto.
4345 (glyph_height_internal): ditto.
4346 (xpm_instantiate): removed because of device multi-methods.
4347 (mark_subwindow_cachels): new cachel functions for caching
4348 instantiated subwindows on a per-frame basis. mostly copied from
4349 glyph cachel functions.
4350 (update_subwindow_cachel_data): ditto.
4351 (add_subwindow_cachel): ditto.
4352 (get_subwindow_cachel_index): ditto.
4353 (reset_subwindow_cachels): ditto.
4354 (mark_subwindow_cachels_as_not_updated): ditto.
4355 (unmap_subwindow): generic unmapping of subwindows based on cachel
4357 (map_subwindow): ditto.
4358 (initialize_subwindow_image_instance): generic initialisation of
4360 (syms_of_glyphs): add widget keywords.
4362 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
4365 1998-11-04 Andy Piper <andy@xemacs.org>
4367 * glyphs-widget.c: new file for instantiating widget type glyphs.
4368 (widget_possible_dest_types): new general dest type function for
4370 (widget_validate): ditto.
4371 (initialize_widget_image_instance): ditto
4372 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
4373 before handing on control to device multi-methods.
4374 (syms_of_glyphs_widget): new function.
4375 (image_instantiator_format_create_glyphs_widget): new function,
4376 added placeholders for button, edit, combo, scrollbar
4377 (vars_of_glyphs_widget): new function.
4379 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
4380 storing window ids of widgets.
4382 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
4383 deletion of widget and subwindow glyphs.
4384 (mswindows_unmap_subwindow): new device function for unmapping
4385 subwindows on a msw frame.
4386 (mswindows_map_subwindow): ditto.
4387 (mswindows_register_image_instance): register instantiated widgets
4388 with the widget hastable.
4389 (mswindows_button_instantiate): instantiate a button type widget
4391 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
4393 (image_instantiator_format_create_glyphs_mswindows): add device
4394 multi-methods for xbm, xpm, subwindow, edit and button.
4396 * frame.h (struct frame): add subwindow_cachels dynarr for caching
4397 information about subwindows visible on the current frame. used by
4398 redisplay_clear_region to unmap subwindows as required.
4400 * frame.c (mark_frame): mark subwindow_cachels.
4401 (allocate_frame_core): instantiate subwindow_cachels.
4403 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
4406 * event-msw.c (mswindows_wnd_proc): add call to
4407 mswindows_handle_gui_wm_command to handle widget callbacks.
4409 * emacs.c (main_1): add calls to glyphs-widget initialisation
4412 * console.h (struct console_methods): add
4413 unmap/map_subwindow_method for use be redisplay_clear_region to
4414 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
4415 with by image instantiator multi-methods. Add
4416 resize_subwindow_method.
4418 * console-stream.c (stream_clear_region): change signature to
4419 match new generic clear region function.
4421 * Makefile.in.in: add glyphs-widget.o to list of objects.
4423 * console-msw.h (struct mswindows_frame): add widget hashtable for
4424 wiring command ids to callbacks.
4426 1998-12-16 Andy Piper <andy@xemacs.org>
4428 * XEmacs 21.2.6 is released
4430 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
4432 * md5.c (Fmd5): Correctly initiate string input stream.
4434 * Makefile.in.in (tests): Add md5-tests.el.
4436 1998-12-06 Martin Buchholz <martin@xemacs.org>
4439 * alloc.c (make_vector): remove travesty
4443 (make_bit_vector_internal):
4445 (make_bit_vector_from_byte_vector):
4447 - make vector_equal a little faster.
4448 - Don't use variable name `new'.
4449 - Use size_t instead of EMACS_INT.
4450 - usual Martin-style pointless bit-twiddling.
4456 Make mapcar faster. In particular, make
4457 (mapc #'identity long-string)
4458 MUCH faster under Mule.
4459 * tests/automated/lisp-tests.el: Test 'em!
4461 1998-12-06 Martin Buchholz <martin@xemacs.org>
4463 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4466 1998-12-13 Martin Buchholz <martin@xemacs.org>
4468 * console-msw.c: Function definitions follow coding standards
4469 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4471 1998-12-11 Martin Buchholz <martin@xemacs.org>
4473 * events.h (struct timeout_data):
4474 * event-tty.c (tty_timeout_to_emacs_event):
4475 * event-msw.c (mswindows_wm_timer_callback):
4476 * event-Xt.c (Xt_timeout_to_emacs_event):
4477 * event-msw.c (mswindows_cancel_dispatch_event):
4478 Make sure Lisp_Objects inside events are initialized to Qnil, not
4479 Qnull_pointer, which is now illegal.
4481 1998-12-10 Martin Buchholz <martin@xemacs.org>
4483 * lisp.h: Fix up prototypes to match alloc.c
4485 1998-12-09 Andy Piper <andy@xemacs.org>
4487 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4488 XSETINT for assigning lisp objects.
4490 1998-12-07 Martin Buchholz <martin@xemacs.org>
4493 * console-msw.c (DHEADER):
4502 - max_align_t should not be visible to the user of the
4504 - use Bufbyte instead of char
4505 - parens around (FOOP (obj)) are always redundant.
4506 If they were necessary, we should fix the macro instead.
4507 - Always use string_data(foo) instead of foo->data.
4509 1998-12-07 Martin Buchholz <martin@xemacs.org>
4511 * sysdep.c (set_descriptor_non_blocking):
4512 Since O_NONBLOCK is now always #defined, make use of fcntl
4513 conditional on F_SETFL being defined.
4515 1998-12-09 Andy Piper <andy@xemacs.org>
4517 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4518 that got removed in the merge
4520 1998-11-30 Greg Klanderman <greg@alphatech.com>
4522 * dired.c (vars_of_dired): bugfix for previous conditionalization
4523 of user-name-completion on non- Windows NT.
4525 1998-12-08 Martin Buchholz <martin@xemacs.org>
4527 * windowsnt.h: Remove `support' for using index and rindex
4529 * filelock.c (current_lock_owner):
4530 - Change uses of index -> strchr, rindex -> strrchr
4532 1998-12-06 Martin Buchholz <martin@xemacs.org>
4534 * frame-msw.c (mswindows_init_frame_1):
4535 - use make_lisp_hash_table, not Fmake_hash_table
4538 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4540 * XEmacs 21.2.5 is released
4542 1998-11-30 Martin Buchholz <martin@xemacs.org>
4544 * xselect.c (receive_incremental_selection):
4545 * xselect.c (x_get_window_property):
4546 * xmu.c (XmuReadBitmapDataFromFile):
4547 * xmu.c (XmuCursorNameToIndex):
4548 * xgccache.c (describe_gc_cache):
4549 * xgccache.c (gc_cache_lookup):
4550 * xgccache.c (free_gc_cache):
4551 * xgccache.c (make_gc_cache):
4553 * window.c (map_windows_1):
4554 * window.c (Fother_window_for_scrolling):
4555 * window.c (window_scroll):
4556 * window.c (change_window_height):
4557 * window.c (Fsplit_window):
4558 * window.c (window_left_gutter_width):
4559 * window.c (window_modeline_height):
4560 * window.c (invalidate_vertical_divider_cache_in_window):
4561 * window.c (window_needs_vertical_divider_1):
4562 * window.c (update_mirror_internal):
4563 * window.c (SET_LAST_FACECHANGE):
4564 * widget.c (Fwidget_plist_member):
4565 * unexec.c (copy_text_and_data):
4566 * unexcw.c (copy_executable_and_dump_data_section):
4568 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4569 * tooltalk.c (struct Lisp_Tooltalk_Message):
4570 * toolbar.h (struct toolbar_button):
4571 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4572 * toolbar.c (recompute_overlaying_specifier):
4573 * toolbar.c (toolbar_validate):
4574 * toolbar.c (toolbar_button_at_pixpos):
4575 * toolbar.c (get_toolbar_coords):
4576 * toolbar.c (update_frame_toolbars):
4578 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4579 * toolbar-msw.c (mswindows_find_toolbar_pos):
4580 * toolbar-msw.c (mswindows_output_toolbar):
4581 * toolbar-msw.c (mswindows_clear_toolbar):
4590 * sysdep.c (sys_fopen):
4591 * sysdep.c (sys_open):
4592 * sysdep.c (tty_init_sys_modes_on_device):
4593 * sysdep.c (get_eof_char):
4594 * sysdep.c (child_setup_tty):
4595 * sysdep.c (set_descriptor_non_blocking):
4597 * syntax.c (scan_words):
4600 * symeval.h (struct symbol_value_varalias):
4601 * symeval.h (struct symbol_value_forward):
4602 * symbols.c (syms_of_symbols):
4603 * symbols.c (init_symbols_once_early):
4604 * symbols.c (Fbuilt_in_variable_type):
4605 * symbols.c (Fsymbol_value_in_buffer):
4606 * symbols.c (default_value):
4608 * symbols.c (find_symbol_value_quickly):
4609 * symbols.c (store_symval_forwarding):
4610 * symbols.c (set_default_console_slot_variable):
4611 * symbols.c (set_default_buffer_slot_variable):
4612 * symbols.c (verify_ok_for_buffer_local):
4613 * symbols.c (symbol_is_constant):
4614 * symbols.c (oblookup):
4615 * symbols.c (Funintern):
4616 * symbols.c (Fintern):
4617 * symbols.c (check_obarray):
4619 * specifier.h (struct specifier_methods):
4621 * specifier.c (specifier_instance):
4622 * specifier.c (specifier_instance_from_inst_list):
4623 * specifier.c (decode_locale_type):
4624 * specifier.c (specifier_equal):
4625 * specifier.c (finalize_specifier):
4626 * specifier.c (prune_specifiers):
4627 * specifier.c (kill_specifier_buffer_locals):
4628 * sound.c (init_native_sound):
4631 * search.c (Fmatch_data):
4632 * search.c (match_limit):
4633 * search.c (Freplace_match):
4634 * search.c (skip_chars):
4635 * search.c (scan_buffer):
4637 * scrollbar.c (specifier_vars_of_scrollbar):
4638 * scrollbar.c (Fscrollbar_set_hscroll):
4639 * scrollbar.c (vertical_scrollbar_changed_in_window):
4640 * scrollbar.c (release_window_mirror_scrollbars):
4641 * scrollbar.c (free_scrollbar_instance):
4644 * s/msdos.h (O_BINARY):
4646 * s/freebsd.h (LIBS_TERMCAP):
4647 * regex.c (re_match_2_internal):
4648 * regex.c (compile_extended_range):
4649 * regex.c (POP_FAILURE_POINT):
4650 * regex.c (PUSH_FAILURE_POINT):
4651 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4653 * redisplay.h (struct display_line):
4654 * redisplay.h (struct rune):
4655 * redisplay.c (vars_of_redisplay):
4656 * redisplay.c (redisplay_variable_changed):
4657 * redisplay.c (UPDATE_CACHE_RETURN):
4658 * redisplay.c (validate_line_start_cache):
4659 * redisplay.c (mark_redisplay_structs):
4660 * redisplay.c (mark_glyph_block_dynarr):
4661 * redisplay.c (window_line_number):
4662 * redisplay.c (redisplay_frame):
4663 * redisplay.c (redisplay_window):
4664 * redisplay.c (generate_modeline):
4665 * redisplay.c (create_right_glyph_block):
4666 * redisplay.c (create_left_glyph_block):
4667 * redisplay.c (create_text_block):
4669 * redisplay-x.c (x_output_hline):
4670 * redisplay-x.c (x_output_vertical_divider):
4671 * redisplay-tty.c (tty_output_display_block):
4672 * redisplay-output.c (output_display_line):
4673 * redisplay-output.c:
4674 * redisplay-msw.c (mswindows_output_vertical_divider):
4675 * redisplay-msw.c (mswindows_ring_bell):
4676 * redisplay-msw.c (mswindows_output_cursor):
4680 * puresize.h (RAW_PURESIZE):
4681 * profile.c (syms_of_profile):
4682 * profile.c (Fstart_profiling):
4683 * profile.c (sigprof_handler):
4686 * process.c (vars_of_process):
4687 * process.c (read_process_output):
4688 * process.c (get_process):
4690 * process-unix.c (unix_open_multicast_group):
4691 * process-unix.c (unix_get_tty_name):
4692 * process-unix.c (unix_send_process):
4693 * process-unix.c (unix_reap_exited_processes):
4694 * process-unix.c (unix_create_process):
4695 * process-unix.c (unix_init_process_io_handles):
4696 * process-unix.c (allocate_pty):
4698 * process-nt.c (nt_open_network_stream):
4699 * process-nt.c (nt_update_status_if_terminated):
4700 * process-nt.c (nt_finalize_process_data):
4702 * print.c (debug_short_backtrace):
4703 * print.c (debug_backtrace):
4704 * print.c (print_symbol):
4705 * print.c (print_internal):
4706 * print.c (print_cons):
4707 * print.c (Fwrite_char):
4708 * print.c (print_prepare):
4709 * print.c (canonicalize_printcharfun):
4710 * print.c (output_string):
4713 * opaque.c (allocate_managed_opaque):
4715 * offix.c (DndSetData):
4716 * objects.c (face_boolean_create):
4717 * objects.c (font_instantiate):
4718 * objects.c (font_create):
4719 * objects.c (color_create):
4720 * objects.c (finalize_font_instance):
4721 * objects.c (finalize_color_instance):
4723 * objects-x.c (x_font_instance_truename):
4725 * objects-x.c (x_initialize_font_instance):
4726 * objects-x.c (allocate_nearest_color):
4727 * objects-tty.c (tty_initialize_font_instance):
4728 * objects-tty.c (tty_initialize_color_instance):
4729 * objects-msw.c (mswindows_initialize_color_instance):
4730 * ntproc.c (syms_of_ntproc):
4731 * ntproc.c (Fwin32_set_process_priority):
4732 * ntproc.c (sys_spawnve):
4734 * ntheap.c (get_data_end):
4738 * nt.c (generate_inode_val):
4739 * nt.c (sys_rename):
4741 * mule-wnnfns.c (Fwnn_hinsi_number):
4742 * mule-wnnfns.c (Fwnn_yuragi):
4743 * mule-wnnfns.c (Fwnn_common_learn):
4744 * mule-wnnfns.c (Fwnn_suffix_learn):
4745 * mule-wnnfns.c (Fwnn_prefix_learn):
4746 * mule-wnnfns.c (Fwnn_okuri_learn):
4747 * mule-wnnfns.c (Fwnn_complex_conv):
4748 * mule-wnnfns.c (Fwnn_last_is_first):
4749 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4750 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4751 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4752 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4753 * mule-wnnfns.c (Fwnn_hinsi_list):
4754 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4755 * mule-wnnfns.c (Fwnn_dict_search):
4756 * mule-wnnfns.c (Fwnn_word_toroku):
4757 * mule-wnnfns.c (Fwnn_hindo_update):
4758 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4759 * mule-wnnfns.c (Fwnn_kakutei):
4760 * mule-wnnfns.c (Fwnn_begin_henkan):
4761 * mule-wnnfns.c (Fwnn_dict_comment):
4762 * mule-wnnfns.c (Fwnn_dict_add):
4763 * mule-wnnfns.c (Fwnn_open):
4764 * mule-mcpath.c (mc_getcwd):
4765 * mule-coding.c (vars_of_mule_coding):
4766 * mule-coding.c (convert_to_external_format):
4767 * mule-coding.c (encoding_marker):
4768 * mule-coding.c (decoding_marker):
4769 * mule-coding.c (Fcopy_coding_system):
4770 * mule-coding.c (Fmake_coding_system):
4771 * mule-coding.c (Fcoding_system_list):
4772 * mule-coding.c (Ffind_coding_system):
4773 * mule-coding.c (symbol_to_eol_type):
4775 * mule-charset.c (complex_vars_of_mule_charset):
4776 * mule-charset.c (vars_of_mule_charset):
4777 * mule-charset.c (Fset_charset_ccl_program):
4778 * mule-charset.c (struct charset_list_closure):
4779 * mule-charset.c (Ffind_charset):
4780 * mule-charset.c (make_charset):
4781 * mule-charset.c (non_ascii_valid_char_p):
4783 * mule-ccl.c (ccl_driver):
4784 * mule-canna.c (c2mu):
4785 * mule-canna.c (Fcanna_henkan_begin):
4786 * mule-canna.c (Fcanna_parse):
4787 * mule-canna.c (Fcanna_store_yomi):
4788 * mule-canna.c (Fcanna_touroku_string):
4789 * mule-canna.c (Fcanna_initialize):
4791 * menubar.c (menu_parse_submenu_keywords):
4792 * menubar-x.c (make_dummy_xbutton_event):
4793 * menubar-x.c (set_frame_menubar):
4794 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4797 * menubar-msw.c (mswindows_popup_menu):
4798 * menubar-msw.c (mswindows_update_frame_menubars):
4799 * menubar-msw.c (mswindows_handle_wm_command):
4800 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4801 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4802 * menubar-msw.c (update_frame_menubar_maybe):
4803 * menubar-msw.c (populate_or_checksum_helper):
4804 * menubar-msw.c (empty_menu):
4807 * marker.c (set_marker_internal):
4808 * marker.c (print_marker):
4811 * lstream.c (lisp_buffer_rewinder):
4812 * lstream.c (mark_lstream):
4814 * lrecord.h (struct lrecord_header):
4815 * lread.c (readevalloop):
4816 * lread.c (locate_file):
4817 * lread.c (locate_file_in_directory):
4818 * lread.c (Flocate_file):
4819 * lread.c (load_force_doc_string_unwind):
4820 * lread.c (ebolify_bytecode_constants):
4825 * linuxplay.c (linux_play_data_or_file):
4826 * linuxplay.c (audio_init):
4829 * keymap.c (describe_map):
4830 * keymap.c (describe_map_mapper):
4831 * keymap.c (Fdescribe_bindings_internal):
4832 * keymap.c (Fsingle_key_description):
4833 * keymap.c (map_keymap_sorted):
4834 * keymap.c (get_relevant_keymaps):
4835 * keymap.c (Flookup_key):
4836 * keymap.c (raw_lookup_key_mapper):
4837 * keymap.c (Fdefine_key):
4838 * keymap.c (Fevent_matches_key_specifier_p):
4839 * keymap.c (key_desc_list_to_event):
4840 * keymap.c (define_key_parser):
4841 * keymap.c (define_key_check_and_coerce_keysym):
4842 * keymap.c (keymap_submaps):
4843 * keymap.c (keymap_store_internal):
4844 * keymap.c (keymap_delete_inverse_internal):
4845 * keymap.c (keymap_store_inverse_internal):
4846 * keymap.c (print_keymap):
4847 * keymap.c (Lisp_Keymap):
4850 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4851 * insdel.c (make_gap):
4852 * input-method-xlib.c (get_XIM_input):
4853 * input-method-xlib.c (XIM_init_frame):
4858 * gui-x.c (button_item_to_widget_value):
4859 * gui-x.c (popup_selection_callback):
4860 * glyphs.h (struct image_instantiator_methods):
4861 * glyphs.c (mark_glyph_cachels):
4862 * glyphs.c (Fglyph_type):
4863 * glyphs.c (image_instantiate):
4864 * glyphs.c (image_create):
4865 * glyphs.c (make_image_instance_1):
4866 * glyphs.c (finalize_image_instance):
4868 * glyphs-x.c (finalize_subwindow):
4869 * glyphs-x.c (xface_validate):
4870 * glyphs-x.c (x_locate_pixmap_file):
4871 * glyphs-x.c (convert_EImage_to_XImage):
4873 * glyphs-msw.c (mswindows_resource_instantiate):
4874 * glyphs-msw.c (xpm_to_eimage):
4875 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4876 * glyphs-eimage.c (tiff_instantiate):
4877 * glyphs-eimage.c (png_instantiate):
4878 * glyphs-eimage.c (struct png_error_struct):
4879 * glyphs-eimage.c (gif_memory_storage):
4882 * getloadavg.c (getloadavg):
4885 * free-hook.c (log_gcpro):
4886 * free-hook.c (check_malloc):
4887 * free-hook.c (check_free):
4888 * free-hook.c (ROUND_UP_TO_PAGE):
4890 * frame.h (struct frame):
4892 * frame.c (change_frame_size_1):
4893 * frame.c (allocate_frame_core):
4895 * frame-x.c (x_focus_on_frame):
4896 * frame-x.c (x_init_frame_2):
4897 * frame-x.c (x_popup_frame):
4898 * frame-x.c (xemacs_XtPopup):
4900 * frame-x.c (Foffix_start_drag_internal):
4901 * frame-x.c (x_cde_destroy_callback):
4902 * frame-x.c (x_wm_hack_wm_protocols):
4903 * frame-tty.c (tty_frame_visible_p):
4904 * frame-msw.c (mswindows_make_frame_invisible):
4905 * frame-msw.c (mswindows_after_init_frame):
4906 * frame-msw.c (mswindows_init_frame_1):
4907 * fns.c (syms_of_fns):
4908 * fns.c (Fbase64_decode_string):
4910 * fns.c (Ffillarray):
4911 * fns.c (Fobject_plist):
4913 * fns.c (Fcanonicalize_lax_plist):
4914 * fns.c (Fcanonicalize_plist):
4915 * fns.c (Fplist_remprop):
4916 * fns.c (Fplist_get):
4917 * fns.c (advance_plist_pointers):
4918 * fns.c (internal_plist_put):
4919 * fns.c (Fnreverse):
4922 * fns.c (Fsubstring):
4923 * fns.c (Fbvconcat):
4925 * fns.c (length_with_bytecode_hack):
4926 * fns.c (print_bit_vector):
4928 * floatfns.c (Ffloor):
4930 * floatfns.c (in_float_error):
4931 * fileio.c (Ffile_modes):
4932 * fileio.c (Fexpand_file_name):
4933 * fileio.c (Fmake_temp_name):
4934 * fileio.c (Ffile_name_nondirectory):
4935 * fileio.c (Ffile_name_directory):
4937 * file-coding.c (vars_of_mule_coding):
4938 * file-coding.c (convert_to_external_format):
4939 * file-coding.c (encoding_marker):
4940 * file-coding.c (decoding_marker):
4941 * file-coding.c (Fcopy_coding_system):
4942 * file-coding.c (Fmake_coding_system):
4943 * file-coding.c (struct coding_system_list_closure):
4944 * file-coding.c (Ffind_coding_system):
4945 * file-coding.c (symbol_to_eol_type):
4947 * faces.h (struct face_cachel):
4948 * faces.c (vars_of_faces):
4949 * faces.c (face_property_was_changed):
4950 * faces.c (mark_face_cachels):
4951 * faces.c (temporary_faces_list):
4952 * faces.c (struct face_list_closure):
4954 * extents.h (struct extent):
4955 * extents.c (vars_of_extents):
4956 * extents.c (struct copy_string_extents_1_arg):
4957 * extents.c (add_string_extents_mapper):
4958 * extents.c (Fextent_property):
4959 * extents.c (Fset_extent_property):
4960 * extents.c (symbol_to_glyph_layout):
4961 * extents.c (properties_equal):
4962 * extents.c (print_extent):
4963 * extents.c (print_extent_1):
4964 * extents.c (extent_in_region_p):
4965 * extents.c (gap_array_make_gap):
4967 * events.h (struct Lisp_Event):
4969 * events.c (Fevent_properties):
4970 * events.c (format_event_object):
4971 * events.c (Fmake_event):
4972 * events.c (event_equal):
4973 * events.c (print_event):
4974 * events.c (mark_event):
4975 * event-stream.c ((read-char)
4976 * event-stream.c (vars_of_event_stream):
4977 * event-stream.c (syms_of_event_stream):
4978 * event-stream.c (Fset_recent_keys_ring_size):
4979 * event-stream.c (Fsit_for):
4980 * event-stream.c (Fnext_event):
4981 * event-stream.c (execute_help_form):
4982 * event-stream.c (maybe_kbd_translate):
4984 * event-msw.c (vars_of_event_mswindows):
4985 * event-msw.c (mswindows_wnd_proc):
4986 * event-msw.c (mswindows_need_event):
4987 * event-msw.c (mswindows_drain_windows_queue):
4988 * event-msw.c (mswindows_pump_outstanding_events):
4990 * event-msw.c (slurp_thread):
4991 * event-msw.c (struct ntpipe_slurp_stream):
4992 * event-msw.c (HANDLE_TO_USID):
4993 * event-Xt.c (emacs_Xt_handle_magic_event):
4994 * event-Xt.c (x_event_to_emacs_event):
4995 * event-Xt.c (x_reset_modifier_mapping):
4996 * event-Xt.c (x_reset_key_mapping):
4998 * eval.c (syms_of_eval):
4999 * eval.c (warn_when_safe):
5000 * eval.c (warn_when_safe_lispobj):
5001 * eval.c (Fbacktrace_frame):
5002 * eval.c (Fbacktrace):
5003 * eval.c (top_level_set):
5004 * eval.c (unbind_to_hairy):
5005 * eval.c (specbind_magic):
5006 * eval.c (specbind_unwind_wasnt_local):
5007 * eval.c (call2_trapping_errors):
5008 * eval.c (call1_trapping_errors):
5009 * eval.c (catch_them_squirmers_call2):
5010 * eval.c (call0_trapping_errors):
5011 * eval.c (run_hook_trapping_errors):
5012 * eval.c (catch_them_squirmers_eval_in_buffer):
5013 * eval.c (call4_in_buffer):
5014 * eval.c (call3_in_buffer):
5015 * eval.c (call2_in_buffer):
5016 * eval.c (call1_in_buffer):
5017 * eval.c (call0_in_buffer):
5018 * eval.c (run_hook):
5019 * eval.c (run_hook_with_args_in_buffer):
5022 * eval.c (do_autoload):
5023 * eval.c (un_autoload):
5024 * eval.c (Fautoload):
5025 * eval.c (Finteractive_p):
5026 * eval.c (Fcommand_execute):
5027 * eval.c (signal_quit):
5028 * eval.c (call_with_suspended_errors):
5029 * eval.c (signal_error):
5030 * eval.c (return_from_signal):
5031 * eval.c (Fcall_with_condition_handler):
5032 * eval.c (run_condition_case_handlers):
5033 * eval.c (condition_case_1):
5034 * eval.c (Funwind_protect):
5035 * eval.c (unwind_to_catch):
5036 * eval.c (internal_catch):
5037 * eval.c (Fmacroexpand_internal):
5038 * eval.c (Fuser_variable_p):
5039 * eval.c (Fdefconst):
5041 * eval.c (Ffunction):
5042 * eval.c (signal_call_debugger):
5043 * eval.c (call_debugger):
5046 * emacs.c (sort_args):
5050 * editfns.c (Fencode_time):
5051 * editfns.c (Fdecode_time):
5052 * editfns.c (Fuser_full_name):
5054 * editfns.c (save_excursion_restore):
5057 * doprnt.c (emacs_doprnt_1):
5058 * doc.c (verify_doc_mapper):
5059 * doc.c (Fsnarf_documentation):
5060 * doc.c (Fdocumentation):
5062 * dired.c (user_name_completion):
5063 * dired.c (Fdirectory_files):
5066 * dgif_lib.c (FreeSavedImages):
5067 * dgif_lib.c (DGifGetImageDesc):
5069 * device.h (struct device):
5070 * device.c (Fselect_device):
5071 * device.c (allocate_device):
5073 * device-x.c (Fx_keysym_on_keyboard_p):
5074 * device-x.c (Fx_valid_keysym_name_p):
5075 * device-x.c (x_IO_error_handler):
5076 * device-x.c (x_delete_device):
5077 * device-x.c (x_finish_init_device):
5078 * device-x.c (x_init_device):
5080 * device-msw.c (mswindows_init_device):
5082 * database.c (vars_of_database):
5083 * database.c (Fput_database):
5084 * database.c (Fopen_database):
5085 * database.c (berkdb_remove):
5086 * database.c (berkdb_put):
5087 * database.c (Fdatabasep):
5088 * database.c (print_database):
5090 * data.c (vars_of_data):
5091 * data.c (syms_of_data):
5092 * data.c (init_errors_once_early):
5093 * data.c (prune_weak_lists):
5094 * data.c (finish_marking_weak_lists):
5095 * data.c (print_weak_list):
5097 * data.c (Fstring_to_number):
5098 * data.c (Fnumber_to_string):
5099 * data.c (Findirect_function):
5102 * data.c (Fsubr_interactive):
5104 * data.c (Fkeywordp):
5107 * console.h (CONSOLE_NAME):
5109 * console.c (vars_of_console):
5110 * console.c (Fselect_console):
5112 * console-x.h (DEVICE_X_COLORMAP):
5113 * console-x.h (struct x_device):
5114 * console-x.c (x_device_to_console_connection):
5115 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
5116 * console-tty.c (tty_init_console):
5118 * console-msw.h (struct mswindows_frame):
5121 * cmds.c (internal_self_insert):
5122 * cmds.c (Fforward_line):
5123 * cmds.c (Fforward_char):
5126 * chartab.c (mark_char_table_entry):
5128 * casefiddle.c (casify_word):
5129 * callproc.c (child_setup):
5130 * callproc.c (Fcall_process_internal):
5132 * callint.c (Fcall_interactively):
5134 * bytecode.c (execute_rare_opcode):
5135 * bytecode.c (execute_optimized_program):
5138 * buffer.h (BUFFER_REALLOC):
5139 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
5140 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
5142 * buffer.h (MAP_INDIRECT_BUFFERS):
5143 * buffer.h (CHECK_LIVE_BUFFER):
5144 * buffer.c (init_initial_directory):
5145 * buffer.c (complex_vars_of_buffer):
5146 * buffer.c (vars_of_buffer):
5147 * buffer.c (finish_init_buffer):
5148 * buffer.c (Fget_file_buffer):
5149 * buffer.c (Fbuffer_list):
5150 * buffer.c (mark_buffer):
5151 * balloon_help.c (balloon_help_move_to_pointer):
5152 * balloon_help.c (show_help):
5155 * alloc.c (garbage_collect_1):
5156 * alloc.c (sweep_strings):
5157 * alloc.c (sweep_compiled_functions):
5158 * alloc.c (sweep_bit_vectors_1):
5159 * alloc.c (sweep_vectors_1):
5160 * alloc.c (sweep_lcrecords_1):
5161 * alloc.c (tick_lcrecord_stats):
5162 * alloc.c (pure_string_sizeof):
5163 * alloc.c (mark_conses_in_list):
5164 * alloc.c (mark_object):
5165 * alloc.c (report_pure_usage):
5166 * alloc.c (make_pure_float):
5167 * alloc.c (make_pure_string):
5168 * alloc.c (free_managed_lcrecord):
5169 * alloc.c (mark_string):
5170 * alloc.c (noseeum_make_marker):
5171 * alloc.c (allocate_event):
5172 * alloc.c (Fbit_vector):
5173 * alloc.c (Fvector):
5174 * alloc.c (make_float):
5175 * alloc.c (Fmake_list):
5177 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
5178 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
5179 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
5180 * alloc.c (dbg_constants):
5181 * alloc.c (gc_record_type_p):
5182 * alloc.c (free_lcrecord):
5183 * alloc.c (xmalloc):
5184 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
5186 * Makefile.in.in (mostlyclean):
5187 * Makefile.in.in (external_client_xlib_objs_nonshared):
5188 * Makefile.in.in (temacs_link_args):
5189 * Makefile.in.in (release):
5190 * Makefile.in.in (dnd_objs):
5191 * Makefile.in.in (objs):
5192 * Makefile.in.in (PROGNAME):
5193 * EmacsShell.c: cast strings to (XtPointer)
5194 * EmacsFrame.c: cast strings to (XtPointer)
5196 - rewrite basic lisp functions for speed
5197 - rewrite bytecode interpreter for speed
5198 - rewrite list looping constructs for speed and safety using
5200 - use size_t where appropriate.
5201 - new hashtable implementation
5202 - cleanup implementation of opaques
5203 - opaques can now be purecopy'ed
5204 - move some cl functionality into C for speed.
5205 - remove last remaining VMS support
5207 - improve gdb/dbx debugger support
5208 - move pure.c back into alloc.c for performance
5209 - enable report_pure_usage() if --memory-usage-stats
5210 - remove remnants of Energize support (EMACS_BTL, cadillac...)
5211 - don't use symbols with leading `_' or embedded `__'
5212 - globally cleanup duplicated semicolons `;;'
5213 - I give in on %p vs %lx - we use printf("%lx",(long) p)
5215 - globally replace O_NDELAY with O_NONBLOCK.
5216 - globally replace CDISABLE with _POSIX_VDISABLE.
5217 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
5218 - define (and maybe use!) STDERR_FILENO and friends.
5219 - add support for macros defined in C
5220 - `when', `unless', `not' and `defalias' now defined in C,
5221 so that they are universally available.
5222 - rename defvar_mumble to defvar_magic
5223 - rename RETURN__ to RETURN_SANS_WARNINGS
5224 - use consistent style of initial caps in error messages
5225 - implement last, butlast, nbutlast, copy-list in C.
5226 - provide typedefs for all struct Lisp_foo types
5227 - Lisp_Objects must be initialized to Qnil rather than 0.
5228 - make sure XEmacs runs (slowly) with always_gc == 1;
5229 - fast and safe LOOP_* macros
5230 - change calls to XSETOBJ to XSETFOO
5231 - replace calls to XSETINT by make_int()
5232 - plug up memory leaks
5233 - use style markobj (foo), not silly ((markobj) (foo))
5234 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
5236 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
5238 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
5240 1998-11-28 SL Baur <steve@altair.xemacs.org>
5242 * XEmacs 21.2-beta4 is released.
5244 1998-11-27 SL Baur <steve@altair.xemacs.org>
5246 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
5247 property in control-1 charset.
5248 From Julian Bradfield <jcb@daimi.au.dk>
5250 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
5252 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
5254 Add stub for :label.
5256 * gui.c (gui_item_add_keyval_pair): ditto.
5258 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
5259 :key-sequence keyword.
5261 Support :active for submenus like the Windows code and FSF Emacs.
5263 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
5265 * dired.c (make_directory_hash_table): make_string() is OK because
5266 readdir() Mule-encapsulates.
5268 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5270 * fns.c (Fbase64_encode_string): Fix docstring.
5271 (Fbase64_decode_string): Ditto.
5273 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5275 * editfns.c (Ftranslate_region): Use
5276 convert_bufbyte_string_into_emchar_string().
5278 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5280 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
5282 (Ftranslate_region): Turn table into an array of Emchars for
5285 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5287 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
5289 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5291 * chartab.c (Freset_char_table): Don't blindly fill chartables of
5292 type `char' with nils.
5294 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
5295 for tables of type `char'.
5297 1998-11-26 Didier Verna <verna@inf.enst.fr>
5299 * input-method-xlib.c (Initialize_Locale): don't call
5300 XtSetLanguageProc. We've done the whole work here.
5301 * input-method-xfs.c (Initialize_Locale): ditto.
5302 * input-method-motif.c (Initialize_Locale): ditto.
5304 1998-11-26 Didier Verna <verna@inf.enst.fr>
5306 * process-unix.c (unix_create_process): handle properly
5307 Vfile_name_coding_system for converting the program and directory
5310 1998-11-27 SL Baur <steve@altair.xemacs.org>
5312 * m/arm.h: New file.
5313 From James LewisMoss <dres@ioa.com>
5315 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5318 Fix the realpath() problem of UnixWare2.1.3.
5319 Patches for NEC's sysv4.2 machine.
5321 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5323 * dired.c (Fdirectory_files): Remove redundant code.
5325 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5327 * fns.c (free_malloced_ptr): New function.
5328 (XMALLOC_OR_ALLOCA): New macro.
5329 (XMALLOC_UNBIND): Ditto.
5330 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
5331 to be freed in case of non-local exit.
5332 (Fbase64_encode_string): Ditto.
5333 (Fbase64_decode_region): Ditto.
5334 (Fbase64_decode_string): Ditto.
5335 (STORE_BYTE): New macro.
5336 (base64_decode_1): Use it.
5338 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5340 * fns.c (base64_value_to_char): Base64 stuff.
5342 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5344 * editfns.c (Fbuffer_substring): New function.
5346 * lisp.h: Declare make_string_from_buffer_no_extents().
5348 * insdel.c (make_string_from_buffer_1): New function.
5349 (make_string_from_buffer_no_extents): Ditto.
5351 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5353 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
5354 sound work on AIX with OSS installed. Linux should still work.
5356 1998-11-03 Andy Piper <andyp@parallax.co.uk>
5358 * config.h.in: name change for cygwin/version.h
5360 * configure.in: check for cygwin/version.h now.
5362 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5363 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5364 move cygwin32/version.h to cygwin/version.h
5366 1998-11-03 Olivier Galibert <galibert@pobox.com>
5368 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
5371 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5373 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5374 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5375 enable BROKEN_SIGIO under b20 to make QUIT work.
5377 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5379 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
5380 to fit within the constraints of the screen size. I.e. make the
5381 frame small enough to fit and move it if some of it will be
5384 1998-10-19 Greg Klanderman <greg@alphatech.com>
5386 * dired.c: conditionalize inclusion of user-name-completion
5387 primitives on non-Windows NT. The needed functions don't exist on NT.
5389 1998-11-24 SL Baur <steve@altair.xemacs.org>
5391 * gifrlib.h: Clean up types for 64 bit compile.
5392 * dgif_lib.c (DGifInitRead): Ditto.
5393 (MakeSavedImage): Ditto.
5394 * emacs.c (decode_path): Ditto.
5395 From Steve Carney <carney@pa.dec.com>
5397 1998-10-16 William M. Perry <wmperry@aventail.com>
5399 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
5400 (cehckboxes instead of checkboxes).
5402 1998-10-15 SL Baur <steve@altair.xemacs.org>
5404 * XEmacs 21.2-beta3 is released.
5406 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
5408 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
5409 gnuclient. Otherwise, we run xemacs as we always did. This gets
5410 rid of the annoying DOS window when running gnuclient.
5412 1998-10-13 Andy Piper <andyp@parallax.co.uk>
5414 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
5415 HAVE_MS_WINDOWS typo.
5417 1998-10-13 SL Baur <steve@altair.xemacs.org>
5419 * process-unix.c (unix_send_process): Set closed flag on writable
5420 pipe after SIGPIPE is received and before we call deactivate_process.
5422 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
5424 * window.c (Fset_window_start): respect narrowing when
5425 checking wheter start is at the beginning of a line.
5426 (Fset_window_buffer): Ditto
5427 Fixes repeatable crash in VM.
5429 1998-10-09 SL Baur <steve@altair.xemacs.org>
5431 * window.c (specifier_vars_of_window): Set default vertical
5432 divider width to 1 on ttys.
5434 1998-10-08 Martin Buchholz <martin@xemacs.org>
5439 Add <stddef.h> to get ptrdiff_t declaration
5441 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5443 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
5444 is used for Motif or Lucid scrollbars under X.
5446 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
5448 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
5451 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5453 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
5455 1998-10-05 Andy Piper <andyp@parallax.co.uk>
5457 * s/cygwin32.h: more cygwin b20 reorganisation.
5459 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
5461 * nas.c: Added necessary support functions to be able to handle
5462 WAVE files in memory, just like the support for SND files in
5465 1998-09-30 SL Baur <steve@altair.xemacs.org>
5467 * callproc.c (child_setup): Fix spelling typo.
5469 1998-09-29 SL Baur <steve@altair.xemacs.org>
5471 * XEmacs 21.2-beta2 is released.
5473 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
5475 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
5476 to prevent memory corruption in the case of jumping out of a series of
5477 nested match patterns. This is a rather brute force approach, though.
5479 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5481 * config.h.in: ditto.
5483 * s/cygwin32.h: rearrange declarations to cope with cygwin
5484 b20. Include cygwin32/version.h if it exists.
5486 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5488 * device-msw.c (mswindows_init_device): Call new
5489 mswindows_enumerate_fonts() function in objects-msw.c instead
5490 of font_enum_callback_1() to enumerate fonts.
5492 font_enum_callback_1() and _2() moved to objects-msw.c.
5494 * faces.c (complex_vars_of_faces): Make the mswindows default
5495 face font fully specified and provide some fallbacks.
5497 * objects-msw.c: font_enum_callback_1() and _2() moved here
5498 from objects-msw.c. Obtain the enumerated font's character
5499 sets by table lookup instead of using the locale-specific
5500 string provided by Windows.
5502 New public non-method mswindows_enumerate_fonts() that fills
5503 in the supplied mswindows device's font list.
5505 mswindows_initialize_font_instance: Use the supplied name
5506 variable instead of f->name when signalling errors. Match font
5507 weights and character sets using lookup tables which handle
5508 spaces instead of by frobbing.
5510 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5512 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5513 on the size of code fragments passed to run_in_other_process.
5515 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5516 the amount of memory to allocate in the other process.
5518 Removed sigkill_code_end(), sigint_code_end() and
5519 sig_enable_code_end() since they are now redundant.
5521 send_signal() and enable_child_signals(): Don't try to work
5522 out the end of the code fragments passed to
5523 run_in_other_process()
5525 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5527 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5530 * src/unexelf.c: Partially synched with FSF's 20.3.
5532 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5534 * insdel.c (signal_after_change): Map across indirect buffers
5535 here, and not in the upper-level functions.
5536 (signal_first_change): Don't check for Armageddon.
5537 (signal_before_change): Map across indirect buffers here.
5538 (prepare_to_modify_buffer): ...and here.
5540 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5542 * insdel.c (signal_after_change): Add return value.
5543 (buffer_insert_string_1): Use it.
5544 (buffer_delete_range): Ditto.
5545 (buffer_replace_char): Ditto.
5546 (cancel_multiple_change): Map the indirect buffers.
5548 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5550 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5551 (uninit_buffer_text): Ditto.
5553 * buffer.c (Fmake_indirect_buffer): Implement stricter
5556 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5558 * insdel.c (change_function_restore): Reverse order of
5559 function-call and assignment.
5560 (first_change_hook_restore): Ditto.
5562 * extents.c (mark_extent_auxiliary): Mark them.
5563 (Fset_extent_property): Set them.
5564 (Fextent_property): Get them.
5565 (Fextent_properties): Ditto.
5566 (vars_of_extents): Set their default.
5568 * extents.h (struct extent_auxiliary): Add before_change_functions
5569 and after_change_functions.
5571 * insdel.c (signal_before_change): Use it.
5572 (signal_after_change): Ditto.
5574 * extents.c (report_extent_modification): New function.
5576 * insdel.c (signal_before_change): Don't check for Armageddon.
5577 (signal_after_change): Ditto.
5579 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5581 * redisplay.c (redisplay_window): make sure a new starting point
5582 is chosen if it somehow got moved from the beginning of the line
5583 -- this can happen because Fwiden was called recently.
5585 * window.c (Fset_window_start): set start_at_line_beg correctly
5586 (Fset_window_buffer): Ditto
5588 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5590 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5591 (uninit_buffer_text): Ditto.
5593 * buffer.c (Fmake_indirect_buffer): Implement stricter
5596 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5598 * emacs.c (main_1): Removed references to *vars_of_filelock.
5600 * lisp.h: Added Fsystem_name.
5602 * filelock.c: Replaced by version from FSF 20.2. Now implements
5603 locking by using symlinks which is NFS safe. However keep the
5604 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5605 version (and of course use ansi C, acessor macros, etc).
5607 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5609 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5610 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5611 in init_signals_very_early. However these should not be passed
5612 on to children attached to the new pty.
5614 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5616 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5618 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5620 * fileio.c (file-name-directory, file_name_as_directory):
5621 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5623 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5625 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5627 * ralloc.c: uncomment __morecore.
5629 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5631 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5632 WriteFile() to fix a winsock 1.x bug on Win95.
5634 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5636 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5638 (x_event_to_emacs_event): Ditto.
5639 (emacs_Xt_handle_focus_event): Ditto.
5640 (emacs_Xt_handle_magic_event): Ditto.
5642 * console-x.h (struct x_device): New flag being_deleted.
5643 (DEVICE_X_BEING_DELETED): New macro.
5645 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5646 returning. Before doing that, set the being_deleted flag on the
5649 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5651 * device-x.c (x-seppuku-on-epipe): Removed.
5653 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5655 * frame-x.c (x_delete_frame): Flush the X output buffer after
5656 calling XtDestroyWidget to ensure that the windows are really
5659 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5661 * menubar-x.c (my_run_hook): New unused function.
5662 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5663 since we ignore the results of the contained functions anyway.
5665 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5667 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5668 interlaced GIF files that are smaller than 4 lines high...
5670 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5672 * buffer.c (map_over_sharing_buffers): Deleted.
5674 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5676 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5679 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5681 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5683 (buffer_delete_range): Ditto.
5685 * marker.c (init_buffer_markers): Set point-marker to the value of
5686 point in an indirect buffer.
5688 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5690 * undo.c (undo_prelude): Test last-undo-buffer against base
5693 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5695 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5697 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5699 * insdel.c (init_buffer_text): Initialize it here.
5701 * line-number.c: Address line_number_cache through buffer->text.
5703 * buffer.c (mark_buffer): Mark line number cache.
5705 * bufslots.h (line_number_cache): Move to struct buffer_text.
5707 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5708 across the children buffers.
5709 (buffer_delete_range): Ditto.
5710 (buffer_replace_char): Ditto.
5714 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5716 * buffer.c (Fmake_indirect_buffer): Uncomment.
5718 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5720 * macros.c (Fend_kbd_macro): Remove trailing period from error
5722 (Fexecute_kbd_macro): Ditto.
5724 1998-08-21 Greg Klanderman <greg@alphatech.com>
5726 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5727 (Fuser_name_completion_1): new function to return uniqueness
5728 indication in addition to the user name completion.
5729 (user_name_completion): change type of `uniq' argument.
5731 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5733 * lread.c (vars_of_lread): Removed `source-directory' variable.
5735 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5737 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5740 1998-08-19 SL Baur <steve@altair.xemacs.org>
5742 * dired.c (vars_of_dired): Fix misapplied patch.
5744 1998-08-16 Martin Buchholz <martin@xemacs.org>
5746 * fns.c (Fremrassq, remrassq_no_quit):
5747 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5749 1998-07-17 Didier Verna <verna@inf.enst.fr>
5751 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5752 style as foreground GC for faces that have the `dim' property.
5753 (x_output_string): when the `dim' face property is set,
5754 ensure the gray pixmap has been created, and get a proper
5755 foreground GC to draw the text.
5757 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5759 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5760 Manually track the state of the left and right Ctrl and Alt
5763 1998-08-07 Matt Stupple <matts@tibco.com>
5765 * ntproc.c: don't wait on char_consumed at thread entry.
5766 Additionally, to get the 'process' marked as finished, ensure
5767 that the CHILD_ACTIVE macro returns false, so before exiting
5768 close char_avail and set it to NULL, and close other handles
5769 to reduce handle leak problems.
5771 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5773 * menubar-msw.c (displayable_menu_item): take account of menu
5774 depth when deciding whether to try to display accelerators.
5776 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5778 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5781 * glyphs-msw.c: fix a couple of potential handle leaks.
5783 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5785 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5786 *decoding ONLY* back into the core.
5787 * glyphs-eimage.c: Change referenced header file for GIF
5788 reading to point to the incore version.
5790 1998-07-20 Martin Buchholz <martin@xemacs.org>
5792 * casefiddle.c (casify_object):
5793 Change algorithm from O(N**2) to O(N).
5797 1998-07-22 Greg Klanderman <greg@alphatech.com>
5799 * dired.c (file_name_completion_unwind): don't leak the cons.
5801 1998-07-20 Greg Klanderman <greg@alphatech.com>
5803 * dired.c (Fuser_name_completion): new function.
5804 (Fuser_name_all_completions): new function.
5805 (user_name_completion): new function.
5806 (syms_of_dired): 2 new DEFSUBRs.
5807 (vars_of_dired): initialize user name cache vars.
5809 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5811 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5812 colors taken from the default face. Also correct a thinko in
5813 transparency (not alpha) handling.
5815 1998-07-23 Martin Buchholz <martin@xemacs.org>
5817 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5818 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5819 * lread.c (Fload_internal): Be very careful with printfs of
5821 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5824 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5826 * callint.c (Fcall_interactively): GCPRO prompt string before
5827 passing it to Fread_key_sequence
5829 1998-07-27 SL Baur <steve@altair.xemacs.org>
5831 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5832 Vvertical_divider_map.
5834 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5835 Qnil or 0, none were initialized prior to this change.
5837 Rename misnamed `V' prefixed integer variables:
5838 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5839 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5840 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5841 Vcanna_ichiran_revLen.
5843 Rename misnamed `V' prefixed integer variables and initialize
5844 properly in the vars_of routine.
5845 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5846 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5847 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5848 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5849 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5850 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5851 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5852 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5853 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5854 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5855 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5856 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5857 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5858 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5859 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5860 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5861 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5862 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5863 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5864 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5865 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5866 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5867 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5868 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5869 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5870 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5871 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5872 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5873 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5874 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5875 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5876 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5877 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5878 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5879 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5880 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5881 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5882 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5883 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5884 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5885 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5886 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5887 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5888 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5889 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5890 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5892 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5894 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5895 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5896 keys thus no longer considering all keysyms on a key.
5898 1998-07-19 SL Baur <steve@altair.xemacs.org>
5900 * XEmacs 21.2-beta1 is released.
5902 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5904 * eldap.c (Fldap_search_internal): When converting the list of
5905 attributes to search Copy the final 0 from Lisp strings to C
5907 Check base, not Vldap_default_base as a a string
5909 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5911 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5913 * unexnt.c: Unconditionally define bss_start and bss_size, and
5914 ensure that they don't go in the .bss section.
5916 1998-07-17 Olivier Galibert <galibert@pobox.com>
5918 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5919 byte order is dependant of the local byte order).
5920 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5922 1998-07-18 SL Baur <steve@altair.xemacs.org>
5924 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5925 Qmswindows_resource.
5926 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5928 1998-07-12 SL Baur <steve@altair.xemacs.org>
5930 * general.c (syms_of_general): Add defsymbol for Qresource.
5932 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5933 Qmswindows_resource.
5934 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5935 (mswindows_resource_validate): Rename.
5936 (mswindows_resource_normalize): Rename.
5937 (mswindows_resource_possible_dest_types): Rename.
5938 (mswindows_resource_instantiate): Rename.
5939 (image_instantiator_format_create_glyphs_mswindows): Replace
5940 `resource' with `mswindows.resource'.
5942 * XEmacs 21.0-pre5 is released.
5944 1998-07-10 SL Baur <steve@altair.xemacs.org>
5946 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5947 server type in environment.
5948 Use alloca-ed strings instead of tiny fixed size ones.
5950 1998-07-09 SL Baur <steve@altair.xemacs.org>
5952 * XEmacs 21.0-pre4 is released.
5954 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5956 * fileio.c: (expand_file_name): under win32: Don't treat names
5957 as UNC names if a drive letter has been specified. If a drive
5958 has been specified, strip out extra directory-seperators that
5959 reportedly cause problems under Win95.
5961 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5963 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5964 MSVC >= 5.0. Put emacs init and zero-init data in a special
5965 section of the executable when this is defined.
5967 * unexnt.c, ntheap.h:
5968 Removed unused find_section() and get_section_size().
5971 Fix up the executable's checksum after dumping otherwise the
5973 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5974 zero-init data separately from init data. Dump emacs data
5975 into a special section of the executable.
5976 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5977 my_ebss instead of up to the end of bss.
5979 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5981 * filelock.c: Removed Vconfigure_lock_directory - already
5984 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5985 defined in frame.c and general.c respectively.
5987 * glyphs-msw.c: Removed Qresource - already defined in
5990 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5992 * eldap.c (Fldap_search_internal): Docstring fixes
5994 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5996 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5997 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5998 EMACSPACKAGEPATH and INFOPATH variables.
5999 Removed unused get_emacs_configuration function.
6001 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
6002 it is now defined at build-time by the makefile.
6004 1998-07-01 James N. Potts <jnpotts@plutonium.net>
6006 * fileio.c: (expand_file_name): under win32: Don't treat names as
6007 UNC names if a drive letter has been specified. If a drive has
6008 been specified, strip out extra directory-seperators that
6009 reportedly cause problems under Win95.
6011 1998-07-05 Andy Piper <andyp@parallax.co.uk>
6013 * faces.c (complex_vars_of_faces): for the gui-element face don't
6014 fallback to the default face, instead provide reasonable default
6015 fallbacks that were previously hardcoded elsewhere.
6017 1998-07-06 Olivier Galibert <galibert@pobox.com>
6019 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
6020 when the X server endianness is different than the client's one.
6022 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
6024 * eval.c (run_hook_with_args_in_buffer): Check
6025 default (non-buffer-local) value of hook for
6026 nil before treating it as a function. Don't initialize
6027 the `globals' variable twice.
6029 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
6031 * fileio.c: Don't do directory seperator canonicalisation in
6032 substitute-in-file-name because we don't know that the
6033 filename refers to a local file.
6035 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
6037 * process-nt.c (nt_create_process): Try appending the standard
6038 executable file extensions to the filename if none supplied.
6040 1998-06-29 SL Baur <steve@altair.xemacs.org>
6042 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
6044 From Keisuke Mori <ksk@ntts.com>
6046 1998-06-24 Andy Piper <andyp@parallax.co.uk>
6048 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
6049 images if we have masks. This handles the xbm case (have masks)
6050 and avoids overuse of resources in the xpm case (generally no masks).
6051 Don't output small toolbars.
6053 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
6055 * eval.c (run_hook_with_args_in_buffer): Don't treat
6056 the default value of a buffer local hook as a list of
6057 hooks unless it is both a cons and the car of that cons
6060 1998-06-29 SL Baur <steve@altair.xemacs.org>
6062 * extents.c: Email address for Ben Wing is ben@xemacs.org.
6063 * process-unix.c: Ditto.
6064 * mule-coding.h: Ditto.
6065 * mule-coding.c: Ditto.
6066 * mule-charset.c: Ditto.
6067 * mule-charset.h: Ditto.
6068 * file-coding.c: Ditto.
6069 * file-coding.h: Ditto.
6071 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
6073 * event-msw.c: Guard against recursion when freeing
6074 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
6076 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
6077 Call ShowWindow twice in init_frame_3 to get round runemacs
6080 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
6082 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
6084 * winslots.h: Rename.
6086 * window.c (specifier_vars_of_window): Renamed
6087 vertical-divider-draggable-p to vertical-divider-always-visible-p,
6088 as suggested by Ben Wing.
6089 (specifier_vars_of_window): Fix docstrings.
6091 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6093 * unexaix.c: Line number information works correctly again.
6095 1998-06-22 Olivier Galibert <galibert@pobox.com>
6097 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
6099 1998-06-21 Martin Buchholz <martin@xemacs.org>
6101 * editfns.c (get_home_directory): ANSIfy.
6102 XEmacs is compilable under C *and* C++.
6103 It's XEmacs, not Xemacs!
6105 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6107 * console-msw.h: added a list of fonts to device data.
6109 * device-msw.c: enumerate list of available fonts in
6110 mswindows_init_device. Free list in mswindows_delete_device.
6112 * objects-msw.c: Added helper function match_font used by
6113 mswindows_initialize_font_instance and mswindows_list_fonts.
6114 Allow a charset to be specified in a font string, even if
6115 previous fields havn't been specified.
6117 1998-06-23 Greg Klanderman <greg@alphatech.com>
6119 * indent.c (column_at_point): column cache bugfix.
6120 Set last_known_column_point to the buffer position for
6121 which the column was requested, not buffer's point.
6123 * redisplay.c (decode_mode_spec): for current-column, show
6124 window's point's column, not buffer's point's column.
6126 1998-06-23 Andy Piper <andyp@parallax.co.uk>
6128 * menubar-msw.c (mswindows_handle_wm_command): use
6129 enqueue_misc_user event rather than
6130 mswindows_enqueue_msic_user_event to fix customize problems. Add some
6133 * console-msw.h: declare mswindows_enqueue_magic_event.
6135 * event-msw.c (mswindows_enqueue_magic_event): make global.
6137 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
6139 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
6140 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
6141 (add_position_to_cache): Use EMACS_INT instead of int.
6143 1998-06-21 Olivier Galibert <galibert@pobox.com>
6145 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
6146 suitable for an int used as a boolean (btw, C sucks.).
6148 1998-06-18 Andy Piper <andyp@parallax.co.uk>
6150 * object-msw.c: remove warnings.
6152 * device-msw.c: #define wrongly named cygwin structure elements.
6154 * s/cygwin32.h: define DEMI_BOLD
6156 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6158 * redisplay-msw.c: new function mswindows_apply_face_effects.
6159 This is called by output_string and output_cursor to display
6160 underline and strikeout on faces.
6162 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6164 * console-msw.h: added a list of fonts to device data.
6166 * device-msw.c: enumerate list of available fonts in
6167 mswindows_init_device. Free list in mswindows_delete_device.
6169 * objects-msw.c: Added helper function match_font used by
6170 mswindows_initialize_font_instance and mswindows_list_fonts.
6171 Allow a charset to be specified in a font string, even if
6172 previous fields havn't been specified.
6174 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
6177 Removed compilation warnings from mswindows_string_to_color.
6178 mswindows_list_fonts returns a more general bogus font.
6179 New lisp-visible function mswindows-color-list.
6181 1998-06-19 David Bush <david.bush@adn.alcatel.com>
6183 * editfns.c (Fuser_login_name): Modify to user new function
6185 (user_login_name): C only function to avoid Lisp object overhead
6186 Returns "unknown" instead of nil in Cygwin environment
6188 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
6189 equivalent for current user in Cygwin environment. Use new
6190 function user_login_name to get username.
6192 * lisp.h: Declare user_login_name
6194 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6196 * unexaix.c (make_hdr): Fixed bias computations so debugging info
6198 Some other insignificant nitpicks.
6200 1998-06-18 Andy Piper <andyp@parallax.co.uk>
6202 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
6203 creating the image list and make sure he bk color is transparent.
6205 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
6207 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
6208 completed_timeouts. The timer could have expired.
6210 1998-06-17 Andy Piper <andyp@parallax.co.uk>
6212 * console-msw.h: move XEMACS_RECT_WH inside frame
6213 parameters. define macors to access it.
6215 * frame-msw.c (mswindows_init_frame_1): use new target_rect
6216 parameter to intialise desired sizing. (mswindows_init_frame_2):
6217 enable and size the frame to something sensible when we get
6218 here. (mswindows_set_frame_properites): use new
6219 mswindows_size_frame_internal function and size frame if frame
6220 parameters not just if init is finished - WM_SIZE happens too
6221 early for some specs. (mswindows_size_frame_internal): new
6222 function abstracted from mswindows_set_frame_properties.
6223 (Vmswindows_use_system_frame_size_defaults):
6224 new variable controls whether to allow the system to pick frame
6225 size defaults, defaults to nil.
6227 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
6228 than duplicated code.
6230 1998-06-15 Colin Rafferty <colin@xemacs.org>
6232 * Makefile.in.in: Made EXTW_LINK expand properly.
6234 1998-06-12 Martin Buchholz <martin@xemacs.org>
6236 * redisplay.c (vars_of_redisplay): default value of
6237 column-number-start-at-one should be NIL!
6239 1998-06-11 Martin Buchholz <martin@xemacs.org>
6242 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
6244 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
6246 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
6247 build_string to avoid crashes under Mule.
6249 1998-06-13 Andy Piper <andyp@parallax.co.uk>
6251 * ntplay.c (play_sound_data_1): don't delete the sound data until
6252 the next sound is played and the previous one finished.
6254 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
6256 * fileio.c (directory-sep-char): Escape backslashes.
6258 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
6260 * event-stream.c: Fix docstring reference.
6262 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
6264 * alloc.c (make_float): Remove useless initialization of `next'
6266 (make_pure_float): Ditto.
6268 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
6270 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6272 * fileio.c (Fmake_directory_internal): Remove conditionals
6273 on WINDOWSNT when calling mkdir.
6275 * ntproc.c: Deleted the following unused functions:
6276 register_child, reap_subprocess, sys_wait.
6278 * nt.c (sys_rename): Ifzeroed this implementation.
6279 Deleted the following unused functions:
6280 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
6281 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
6282 sys_read, sys_write.
6283 Merger sys_fopen and sys_open with sysdep.c implementation.
6285 * sysdep.c: Removed MS-DOS code.
6286 (sys_rename): Deal with Microsoft rename weirdness.
6287 (sys_open): Implemented for Windows.
6291 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6293 * buffer.c (complex_vars_of_buffer): Removed %t description from
6296 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6298 * scrollbar-msw.c: initialize the cbSize element of the
6299 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
6300 to ignore the value of cbSize, but Win95 (and I presume Win98)
6301 appear to want it set to sizeof(SCROLLINFO).
6303 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
6305 * event-stream.c: Defined Qcancel_mode_internal.
6306 (syms_of_event_stream): defsymbol'ed it.
6308 * events.h: Externed it.
6310 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
6312 1998-06-04 Oliver Graf <ograf@fga.de>
6314 * frame-x.c (x_cde_destroy_callback): free the data
6315 (cde-start-drag-internal) corrected root position, 21.1 needs this
6316 hardcoded in Button events
6317 (offix-start-drag-internal) corrected root position
6319 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6321 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
6324 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6326 * dialog-msw.c (button_width): Removed `inline' from the function
6329 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6331 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
6332 Note that adding this flag to subsequent frames causes problems.
6334 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6336 * glyphs-eimage.c (png_instantiate) move 'struct
6337 png_memory_storage tbr' out of nested block to avoid dangling
6340 1998-06-02 Andy Piper <andyp@parallax.co.uk>
6343 * faces.c: rename 3d-object -> gui-element. add toolbar face which
6344 inherits from gui-element.
6346 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
6347 with existing code, generate masks correctly.
6349 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
6351 * glyphs-eimage.c: Changed included header for gifs to use
6352 Gifreader instead of giflib.
6354 * glyphs-x.c: removed the image-related functions that were
6355 moved into glyphs-eimage.
6357 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
6359 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
6360 if built without X Windows support.
6362 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
6364 * fns.c (Fconcat): Synch docstring with new reality.
6366 1998-06-03 SL Baur <steve@altair.xemacs.org>
6368 * frame.c: Remove reference to msdos.h (which is going away).
6369 Suggested by Hrvoje Niksic and Kirill Katsnelson.
6371 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
6373 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
6377 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6379 * events.h: Fixed commentary about misc-user scrollbar events.
6381 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
6382 object as an event channel, instead of window object.
6383 (x_update_horizontal_scrollbar_callback): Ditto.
6385 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6387 * ntplay.c (play_sound_data_1) new function. convert alloca data
6388 to malloc if necessary.
6389 (play_sound_file): if the file is not in our path then convert to
6392 1998-06-01 SL Baur <steve@altair.xemacs.org>
6394 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
6395 * msdos.c (Frecent_doskeys): Ditto.
6397 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
6398 Suggested by Reggie Perry <perry@zso.dec.com>
6400 * buffer.h: Eliminate size in declaration.
6402 1998-06-01 Olivier Galibert <galibert@pobox.com>
6404 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
6406 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
6408 * gui.c (gui_item_init): Changed the default value for config member
6409 from Qunbound to Qnil.
6411 1998-06-01 Greg Klanderman <greg@alphatech.com>
6413 * indent.c (vmotion_pixels): Don't #define abs().
6415 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6417 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
6420 1998-05-30 Andy Piper <andyp@parallax.co.uk>
6422 * glyphs.h: add xbm declarations.
6424 * console.h: add xbm_instantiate_method device method.
6426 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
6427 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
6428 (xbm_possible_dest_types): moved here from glyphs-x.c. use
6429 locate_pixmap_file device method and read_bitmap_data_from_file
6430 instead of XmuReadBitmapDataFromFile.
6431 (xbm_instatntiate): make a device method.
6433 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
6434 new function that just calls XmuReadBitmapDataFromFile.
6435 (x_xbm_instatntiate): device method from xbm_instantiate.
6437 * glyphs-msw.c (read_bitmap_data) (NextInt)
6438 (read_bitmap_data_from_file): new functions copied from Xmu
6440 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
6441 inline data to an mswindows bitmap.
6442 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
6443 (mswindows_xbm_instantiate): mswindows-ized versions of the X
6446 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6448 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
6449 `modeline-visible-p'.
6450 Declared specifier lisp variables at the beginning oh the file
6453 * procimpl.h (struct process_methods): Changed semantics of
6454 create_process method so it accepts lisp strings instead of
6457 * process.c (Fstart_process_internal): Moved building of
6458 unix style argv from here to process-unix.c, ...
6460 * process-unix.c (unix_create_process): ... right here.
6462 * process-nt.c (nt_create_process): Changed this function to
6463 support new semantics, so avoided a GC problem.
6465 * events.c (Fmake_event): Document misc-user events properties.
6466 (Fmake_event): Do not allow arbitrary objects for channel property
6467 of misc-user events.
6468 (Fmake_event): Change misc-user event validation: it is function
6469 which is required, not button.
6471 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
6473 (mswindows_enqueue_misc_user_event): Added function.
6474 (mswindows_bump_queue): Removed function.
6475 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
6476 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
6477 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
6478 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
6479 really nothing, which is my personal favorite thing.
6481 * console-msw.h: Removed prototype for mswindows_bump_queue().
6482 Added prototype for mswindows_enqueue_misc_user_event().
6484 * menubar-msw.c (mswindows_handle_wm_command): Use
6485 mswindows_enqueue_misc_user_event().
6487 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6489 * dialog-msw.c (dialog_proc): Ditto.
6491 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6492 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6493 user events channel.
6495 1998-05-29 Greg Klanderman <greg@alphatech.com>
6497 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6498 incorrect semantics of vmotion_pixels which has been fixed. don't
6499 use it anymore as it can't easily be used.
6501 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6502 the motion was reported incorrectly if you tried to go past end of
6505 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6507 * toolbar.h: Removed misleading commentary, as Martin suggested.
6509 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6511 * lisp.h: Extern Qactivate_menubar_hook.
6513 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6516 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6518 * glyphs-msw.c: use BPLINE macro.
6520 * select-msw.c (mswindows-selection-exists-p)
6521 (mswindows-delete-selection): doc string fixes.
6523 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6524 unpressable. warning elimination.
6526 1998-05-28 Martin Buchholz <martin@xemacs.org>
6528 * alloc.c (dbg_constants):
6531 Remove toolbar_data debugging code, since that lrecord has
6534 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6536 * alloc.c: zap cached value of (user-home-directory), so that
6539 * buffer.c: From init_buffer(), separated out code that
6540 determined the initial directory for the *scratch* buffer, and
6541 put them into a function called "init_initial_directory()".
6542 The initial directory is now available as a global "char *"
6543 called initial_directory.
6545 * buffer.h: Added extern entries for initial_directory[] and
6546 init_initial_directory().
6548 * editfns.c: added new elisp function "user-home-directory",
6549 which basically returns getenv("HOME"), but attempts to use
6550 other values if $HOME isn't set.This may have to be tweaked in
6551 the future as, under Unix, "/" is used if $HOME isn't set (this
6552 probably should be set to the current directory). To support
6553 this, a new C function, "get_home_directory()", now exists,
6554 which returns the "home directory", as a "char *" string.
6556 * emacs.c: Rearrange NT initialization order so that
6557 environment/registry variables will be properly entered into
6558 Vprocess_enviroment.
6560 * fileio.c: replaced egetenv("HOME") with calls to the new
6561 get_home_directory().
6563 * lisp.h: Added function prototypes for uncache_home_directory()
6564 and get_home_directory(), along with lisp prototypes for
6565 Fuser_home_directory() and friends.
6567 * nt.c: replaced getenv("HOME") with calls to the new
6568 get_home_directory().
6570 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6571 warnings about getcwd(), etc. not having prototypes.
6573 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6575 * process-nt.c (send_signal): Emulate SIGHUP.
6576 (validate_signal_number): Ditto.
6578 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6579 remove MOD_SHIFT from ASCII characters.
6580 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6583 1998-05-24 Oliver Graf <ograf@fga.de>
6585 * frame-x.c (cde-start-drag-internal): added filename and multi-
6587 (x_cde_convert_callback) dito
6589 1998-05-26 Oliver Graf <ograf@fga.de>
6591 * frame-x.c: include event-mod.h also with CDE
6592 (x_cde_convert_callback) made the thing working
6593 (cde-start-drag-internal) also debugging
6595 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6602 - add __OpenBSD__ where __NetBSD__ was found.
6603 - TODO: replace platform-specific conditional compilation by
6604 feature tests in configure.in.
6606 1998-05-15 Greg Klanderman <greg@alphatech.com>
6608 * window.c (Fwindow_displayed_text_pixel_height): New function.
6609 (syms_of_window): DEFSUBR it.
6611 * indent.c (Fvertical_motion_pixels): New function - request
6613 (vmotion_pixels): helper.
6614 (syms_of_indent): DEFSUBR.
6615 * lisp.h: declaration for vmotion_pixels().
6617 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6618 to request returning motion in pixels.
6619 (Fvertical_motion_pixels): Remove, functionality merged into
6621 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6622 (Fmove_to_window_line): ditto.
6623 * lisp.h: Change declaration for Fvertical_motion.
6625 * window.c: rename window-text-pixel-{height,width,edges} to
6626 window-text-area-pixel-*.
6628 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6630 * tooltalk.c (vars_of_tooltalk) added staticpro for
6631 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6633 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6635 * faces.c: create a new 3d_object_face, make modeline and
6636 vertical_divider faces fallback to this rather than the default.
6638 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6640 * s/cygwin32.h: define charsets for cygwin.
6642 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6644 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6645 and coordinates. resize bitmaps if we have already settled on a
6648 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6650 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6652 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6654 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6658 * gui-x.c (popup_selection_callback): Ditto.
6660 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6662 * gui.c (get_callback): Renamed to get_gui_callback.
6664 1998-05-17 Martin Buchholz <martin@xemacs.org>
6666 * glyphs.h: order rearrangement.
6668 * device-tty.c (tty_asynch_device_change): Warning suppression.
6669 * device-x.c (x_device_system_metrics): Warning suppression.
6670 Make Doc strings consistent with coding standards.
6672 1998-05-24 Martin Buchholz <martin@xemacs.org>
6674 * general.c: multiple definition of `Qicon'. general.c seems
6675 like a good home for Qicon.
6677 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6679 * This patch is to fix compilation warnings under Windows.
6681 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6682 Added prototypes for FSF inherited functions, with which XEmacs is
6683 sprinkled thoroughly.
6684 Removed some #if 0 code. Bracketed some more definitions, probably
6685 related to Visual C versions prior to 4 (we do not support them).
6687 * sysfloat.h (logb): Finally, get logb() prototyped.
6689 * sysfile.h: Added Windows specific includes.
6690 Removed old Windows specific code bracketed with #if 0.
6692 * sysdep.h: Added prototype for xrealpath().
6694 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6696 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6697 vars_of_dired_mswindows and init_ntproc (Grrr).
6699 * realpath.c: Added Windows specific include files.
6700 (xrealpath): Conditionalized declaration of some auto variables on
6701 S_IFLNK, to avoid warnings.
6703 * ntproc.c: Disabled some compiler warnings. This file is going to
6704 die, so I have not cleaned it up much.
6705 (set_process_dir): Const parameter.
6706 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6707 (Fwin32_long_file_name): Ditto.
6708 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6711 * nt.h: Added prototypes for set_process_dir and convert_time.
6713 * nt.c: More include files.
6714 (getpwnam): Consted char* argument.
6715 (get_emacs_configuration): Const return value.
6716 (opendir): Const argument.
6717 (stat): Casted converstion long->short.
6718 (stat): Removed ad hoc and questionable support for non-MSC compile.
6719 (sys_pipe): Removed unused auto variable.
6720 (_sys_read_ahead): Removed calls to DebPrint.
6721 (sys_read): Ditto, in 2 places.
6722 (term_ntproc): Added unused int parameter to signal handler, to
6723 avoid a warning when compiling a call to signal().
6724 (msw_sigset): Properly return old signandler or NULL instead of void.
6726 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6728 * gmalloc.c (morecore): Ditto.
6729 (_free_internal): Ditto.
6731 * lread.c (parse_integer): Ditto.
6733 * dired-msw.c: Added several include files.
6735 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6736 of Compilers to Shut Up.
6738 * callproc.c: Added #includes to suppress warnings under Windows.
6739 (init_callproc): Removed #if0'ed code and unused variables.
6741 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6743 * device-msw.c (mswindows_device_system_metrics): do planes in a
6744 way consistent with X.
6746 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6747 use SetPixel, use DIBits functions.
6748 (xpm_to_eimage): frob colors more closely like xpm deos.
6750 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6751 to be closer to X version.
6753 * event-msw.c: use tooltip string directly.
6755 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6757 * objects-msw.c: frob rgb colors that only Kyle uses.
6759 * dialog-msw.c (button_width): INLINE -> inline.
6761 1998-05-23 SL Baur <steve@altair.xemacs.org>
6763 * getloadavg.c (getloadavg): Fix typo.
6765 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6767 * objects-msw.c (mswindows_initialize_font_instance): Added support
6768 for font character sets.
6769 Replaced 'XXX' with '####' in comments throughout the file.
6771 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6773 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6774 console_type_create_dialog_mswindows(), to initialize Windows dialog
6777 * symsinit.h: Prototyped the above functions.
6779 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6780 checks to dialog.c...
6782 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6783 device must support dialog boxes, and the descriptor must supply at
6786 * dialog-msw.c: New file, dialogs for Windows.
6788 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6790 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6791 (Fldap_search_internal): Removed unused variable `err'
6793 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6796 1998-05-17 Martin Buchholz <martin@xemacs.org>
6798 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6799 defined. Therefore there is no need to handle the case when
6800 HAVE_LDAP is undefined. Similarily, there is no reason to have
6801 any code wrapped within `#ifdef emacs', since this code is only
6802 useful within an emacs. This simplifies the code significantly.
6804 * inline.c: Include eldap.h only if HAVE_LDAP.
6805 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6808 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6810 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6811 printing dump stats when building without DEBUG_XEMACS.
6812 (dump_bss_and_heap): Ditto.
6814 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6816 * gnuclient.c: don't suppress window system if there is no display
6817 and we are running under mswindows. send 'mswindows device type if
6818 we are in this situation.
6820 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6823 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6825 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6828 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6830 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6831 {top,bottom}-{left,right} values in addition to
6832 {top,bottom}_{left,right}.
6834 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6836 * fileio.c (Fmake_temp_name): Remove unreached code.
6838 * process-nt.c (validate_signal_number): Use
6839 signal_simple_error().
6841 1998-05-19 Martin Buchholz <martin@xemacs.org>
6844 * sound.c (vars_of_sound):
6845 * sysdep.c (reset_sigio_on_device):
6846 * window.c (window_bottom_gutter_height):
6847 unexhp9k800.c:258: warning: implicit declaration of function
6848 `calculate_checksum'
6849 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6850 sysdep.c:1012: warning: unused variable `owner'
6851 window.c:993: warning: `window_right_toolbar_width' defined but not used
6853 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6855 * glyphs-msw.c (mswindows_create_resized_mask)
6856 (mswindows_create_resized_bitmap): new funnctions split out from
6857 mswindows_resize_dibitmap_instance.
6859 * glyphs-msw.h: declare new resize functions.
6861 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6862 functions so that the original bitmaps are preserved.
6864 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6866 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6867 color if we are trying to output 0 depth bg pixmap.
6869 * scrollbar-msw.c: warning elimination.
6871 1998-05-18 Martin Buchholz <martin@xemacs.org>
6873 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6874 directives in column 1.
6876 * search.c (skip_chars): Avoid using xzero with arrays, since some
6877 compilers get confused by the construct &array.
6879 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6882 * objects-msw.c: Changed the charset value for a new font from
6883 "don't care" to "ansi".
6885 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6887 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6889 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6890 modifier on control chars.
6891 Use IsCharAlpha() instead of isaplha().
6893 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6895 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6897 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6899 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6900 charset when creating font.
6901 (mswindows_initialize_color_instance): Do not create brush along
6903 (mswindows_finalize_color_instance): Do not delete it then.
6905 * objects-msw.h (struct mswindows_color_instance_data): Removed
6906 brush slot, and corresponding accessor macro.
6908 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6910 * toolbar.c: Removed toolbar_data lrecord implementation.
6911 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6912 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6913 (compute_frame_toolbar_buttons): Ditto.
6914 (CHECK_TOOLBAR): Ditto.
6915 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6916 (update_frame_toolbars): Do not check for changed buffer
6917 here. Toolbar information is provided by cached specs in
6918 windows. The check for buffer is eliminated becuase toolbars are
6919 marked changed in set_frame_selected_window() in frame.c
6920 Added check for changed toolbars geometry.
6921 (compute_frame_toolbars_data): Removed unused second parameter;
6922 Adjusted callers of this static function throughout the file.
6923 (init_frame_toolbars): Initialize current_toolbar_size.
6924 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6925 what is its current expansion, for clarity.
6926 (init_frame_toolbars): Ditto.
6927 (init_device_toolbars): Ditto.
6928 (init_global_toolbars): Ditto.
6930 * toolbar.h: Removed definition of toolbar_data lrecord.
6931 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6932 FRAME_CURRENT_TOOLBAR_SIZE.
6933 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6935 * toolbar-x.c (x_output_toolbar): The same change as in
6937 (x_output_toolbar): Ditto.
6938 (x_redraw_exposed_toolbar): Ditto.
6940 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6941 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6942 (mswindows_output_toolbar): Ditto.
6943 (mswindows_output_toolbar): Ditto.
6945 * frame.c (mark_frame): Removed marking of arrays, according to
6946 frameslots.h change.
6947 (nuke_all_frame_slots): Ditto.
6948 (set_frame_selected_window): Mark toolbars changed when
6949 last_nonminibuf_window changes.
6951 * frame.h (struct frame): Moved some slots to frameslots.h.
6952 Added current_toolbar_size array.
6953 Changed references from toolbar_data to toolbar_buttons in macros
6954 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6955 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6956 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6958 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6959 Moved arrays of lisp objects here from frame.h: toolbar_size,
6960 toolbar_visible_p, toolbar_border_width.
6961 Removed toolbar_data slot and added toolbar_buttons.
6963 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6965 * symsinit.h: Externed syms_of_process_nt()
6967 * emacs.c (main_1): Call syms_of_process_nt()
6969 * process-nt.c: Quote process arguments by a call to Lisp function
6970 `nt-quote-process-args'.
6971 (syms_of_process_nt): New function.
6972 (nt_send_process): Flush data stream after each write, to avoid
6973 leaving buffered data.
6974 (nt_send_process): When blocked on process output, wait for
6975 process to slurp more for progressively increasing time intervals.
6977 1998-05-17 Martin Buchholz <martin@xemacs.org>
6979 * window.c (have_undivided_common_edge): Make file-local function
6981 (map_windows): Return 0 if all map functions successful.
6984 * winslots.h: Use unlikely names for local variables in macros to
6985 avoid shadowing warnings.
6987 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6989 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6990 so that we re-output if the toolbar size has changed.
6992 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6994 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6996 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6998 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
7001 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
7003 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
7004 get bitmap manifest constants defined.
7006 * console-msw.h: Include system files in angle brackets, not in
7009 * window.c (specifier_vars_of_window): Fixed a typo in
7010 `vertical-divider-line-width' docstirng.
7012 1998-05-16 Olivier Galibert <galibert@pobox.com>
7014 * line-number.c (delete_invalidate_line_number_cache): Use an
7016 (buffer_line_number): Remove dangerous, plain wrong when using
7017 64bits emacs ints, cast.
7019 * insdel.c (buffer_delete_range): Use an EMACS_INT.
7021 * cmds.c (Fforward_line): Use EMACS_INTs.
7023 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
7024 (scan_buffer): Ditto.
7025 (bi_find_next_newline_no_quit): Remove useless cast.
7026 (find_next_newline_no_quit): Ditto.
7027 (find_next_newline): Ditto.
7028 (find_before_next_newline): Use an EMACS_INT.
7030 * lisp.h: Change scan_buffer to pass EMACS_INTs.
7032 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
7034 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
7036 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
7038 * gui-x.c (popup_selection_callback): Use it.
7040 * gui.h (get_callback): Declare it.
7042 * gui.c (get_callback): New function.
7044 1998-05-15 SL Baur <steve@altair.xemacs.org>
7046 * window.c (have_undivided_common_edge): Guard scrollbar specific
7048 (window_needs_vertical_divider_1): Ditto.
7050 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
7052 * emacs.c (decode_path): Eliminate compiler warning.
7053 (Fdecode_path): Renamed to Fsplit_path.
7054 (Fsplit_string_by_char): New function.
7056 1998-05-14 Damon Lipparelli <lipp@primus.com>
7058 * winslots.h: close comment
7060 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
7062 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
7064 * bufslots.h: Removed buffer_file_type slot.
7066 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
7068 (complex_vars_of_buffer): Removed buffer-file-type variable and
7069 its default reference.
7071 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7073 * faces.c (complex_vars_of_faces): Defined
7074 Vvertical_divider_face.
7075 (vars_of_faces): Staticpro it.
7077 * faces.h: Externed Vvertical_divider_face.
7079 * redisplay-x.c (x_output_vertical_divider): Use
7080 Vvertical_divider_face to draw the divider instead of modeline
7083 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
7084 divider face using Vvertical_divider_face background.
7085 Fix drawing spacing gaps around the divider.
7087 1998-05-14 Didier Verna <verna@inf.enst.fr>
7089 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
7090 values for the vertical divider line width and spacing. Use the
7091 cached values from the window structure instead.
7092 (x_divider_width): ditto.
7094 * window.c (specifier_vars_of_window): new specifiers:
7095 vertical-divier -line-width and -spacing.
7096 (vertical_divider_global_width_changed): formerly known as
7097 vertical_divider_shadow_thickness_changed.
7099 * winslots.h: new slots: vertical_specifier _line_width and
7100 _spacing. Plus corrected a comment typo.
7102 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7104 * window.h: Declared window_divider_width().
7106 * console-stream.c (stream_divider_width): Removed method.
7107 (console_type_create_stream): And declaration for it.
7109 * redisplay.c (pixel_to_glyph_translation): Use
7110 window_divider_width() instead of divider_width redisplay method.
7111 (pixel_to_glyph_translation): Fix top divider edge calculation
7112 when scrollbar is on top.
7114 * window.c (window_divider_width): New function, an outphaser for
7115 divider_width redisplay method.
7116 (window_right_gutter_width): Use it.
7117 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
7118 specifiers, set fallback values differently on TTYs, and document
7119 the behavior of these on TTYs in the docstrings.
7121 * scrollbar.c (update_scrollbar_instance): Use
7122 window_divider_width() instead of divider_width redisplay method.
7124 * console.h (struct console_methods): Removed divider_width_method.
7126 * redisplay-tty.c (tty_divider_width): Removed device method.
7127 (console_type_create_redisplay_tty): Removed definition for it.
7128 (tty_output_vertical_divider): Respect the value returned by
7129 window_divider_width thus divider line width specification.
7131 * redisplay-msw.c (mswindows_divider_width): Removed device method.
7132 (console_type_create_redisplay_mswindows): Removed definition for it.
7133 (mswinodws_output_vertical_divider): Respect the value returned by
7134 window_divider_width thus divider line width specification.
7136 1998-05-15 Andy Piper <andyp@parallax.co.uk>
7138 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
7140 1998-05-15 Andy Piper <andyp@parallax.co.uk>
7142 * glyphs-msw.c: resource loading implementation.
7143 (cursor_normalize): new function.
7144 (cursor_validate): ditto.
7145 (cursor_instantiate): ditto.
7146 (cursor_name_to_resource): ditto.
7147 (cursor_possible_dest_types): ditto.
7148 (check_valid_symbol): ditto.
7149 (check_valid_string_or_int): ditto.
7151 1998-05-14 Martin Buchholz <martin@xemacs.org>
7153 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
7156 * process-unix.c (process_signal_char): Use VSUSP instead of
7157 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
7159 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7161 * specifier.c (specifier_instance): Change locale precedence of
7162 instantiation so window locale has higher priority than buffer
7164 (Fspecifier_instance): Reflect this in docstring.
7165 (Fadd_spec_list_to_specifier): Ditto.
7166 (Fadd_spec_to_specifier): Ditto.
7167 (Fremove_specifier): Ditto.
7169 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7171 ** Dialog separation into a device method from Andy Piper
7173 * emacs.c (main_1): Call console_type_create_dialog_x().
7175 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
7176 into this device method.
7177 (console_type_create_dialog_x): New function.
7179 * dialog.c (Fpopup_dialog_box): New function.
7180 (syms_of_dialog): Defsubr it.
7182 * console.h (struct console_methods): Declared
7183 popup_dialog_box_method().
7185 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
7187 1998-05-14 Oliver Graf <ograf@fga.de>
7189 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
7190 * frame-x.c (x_cde_transfer_callback): checked for merge errors
7192 1998-05-13 Oliver Graf <ograf@fga.de>
7194 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
7196 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7198 * console.h (device_metrics): Removed dbcs, input-method-editor
7199 and right-to-left metrics.
7201 * device.c (Fdevice_system_metric): Ditto.
7202 (Fdevice_system_metrics): Ditto.
7203 (syms_of_device): Ditto.
7204 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
7207 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7209 * line-number.h (mark_line_number_cache): Remove unused
7212 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
7213 (get_nearest_line_number): Simplify.
7214 (add_position_to_cache): Make the old marker point nowhere.
7216 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7218 ** Renamed window-divider-map => vertical-divider-map
7219 and event-over-divider-p => event-over-vertical-divider-p,
7220 in the following files/functions:
7222 * events.c (Fevent_over_divider_p):
7223 * keymap.c (get_relevant_keymaps):
7226 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
7228 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
7230 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7232 * window.c (vertical_divider_changed_in_window): Renamed so.
7233 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
7234 (window_needs_vertical_divider_1): Decide whether we need it based
7235 on the value of the above specifier. If separators are unwanted,
7236 put them only if there's no scrollbar between this window and its
7238 (have_undivided_common_edge): New function, helper for the above.
7239 (window_needs_vertical_divider): Return either a cached value,
7240 or clauclate and cache one.
7241 (invalidate_vertical_divider_cache_in_window): Implemented.
7242 (map_windows): Changed return type to int, return the value from
7245 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
7246 (struct window): Added need_vertical_divider_p and
7247 need_vertical_divider_valid_p.
7249 * winslots.h: Added vertical_divider_draggable_p slot.
7251 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
7252 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
7254 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
7256 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
7257 invalidate_vertical_divider_cache_in_frame().
7260 1998-05-14 Andy Piper <andyp@parallax.co.uk>
7262 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
7264 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
7265 masks correctly and don't select 0.
7267 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7269 * winslots.h: New file, declaration of some struct window and
7270 struct saved_window members.
7272 * window.h (struct window): Include it, with required preprocessor
7275 * window.c (mark_window): Ditto.
7276 (allocate_window): Ditto.
7277 (struct saved_window): Ditto.
7278 (mark_window_config): Ditto.
7279 (saved_window_equal): Ditto.
7280 (Fset_window_configuration): Ditto.
7282 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7284 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
7286 1998-05-12 Didier Verna <verna@inf.enst.fr>
7288 * redisplay-x.c (x_output_vertical_divider): draw shadows around
7289 the divider line. The shadow thickness is currently
7290 hard-wired. This will probably be turned into a specifier soon.
7292 1998-05-12 Didier Verna <verna@inf.enst.fr>
7294 * console.h (struct console_methods): the divider_width console
7295 method now requires a struct window * argument.
7297 * redisplay-x.c (x_divider_width): ditto. Plus remove
7298 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
7299 (x_output_vertical_divider): give a depressed look when the shadow
7300 thickness is negative.
7302 * console-stream.c (stream_divider_width): pass a struct window *
7305 * redisplay-tty.c (tty_divider_width): ditto.
7307 * window.c (window_right_gutter_width): totdi.
7309 * redisplay.c (generate_modeline): ittod.
7311 * scrollbar.c (update_scrollbar_instance): ttido.
7313 * redisplay-msw.c (mswindows_divider_width): ottid.
7314 WARNING: this enables to compile, but the feature is not functional.
7316 * window.h (struct window): new field
7317 vertical_divider_shadow_thickness.
7319 * window.c (specifier_vars_of_window): new specifier
7320 vertical-divider-shadow-thickness.
7321 (vertical_divider_shadow_thickness_changed): new function to
7322 inform redisplay that the window has changed.
7323 (mark_window): handle new field vertical_divider_shadow_thickness
7325 (allocate_window): ditto.
7326 (saved_window_equal): toddi.
7327 (Fset_window_configuration): totid.
7328 (save_window_save): ttdio.
7329 (struct saved_window): new field vertical_divider_shadow_thickness.
7331 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7333 * device-msw.c (mswindows_device_system_metrics): Support a deluge
7336 1998-05-12 Oliver Graf <ograf@fga.de>
7338 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
7339 * event-Xt.c (x_event_to_emacs_event): C++ compability
7341 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7343 * emacs.c (Fdecode_path): Default SEPCHAR to value of
7346 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7348 * emacs.c (vars_of_emacs): Do it here; change the meaning of
7351 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
7353 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7355 * emacs.c (decode_path_1): New function.
7356 (decode_path): Use it.
7357 (Fdecode_path): Renamed from Fdecode_path_internal; use
7360 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7362 * macros.c (Fzap_last_kbd_macro_event): New function.
7363 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
7365 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7367 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
7368 multiple bitmaps are output vertically as well as horizontally.
7369 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
7370 crossing lines this is handled by
7371 mswindows_output_dibitmap_region.
7373 1998-05-12 Martin Buchholz <martin@xemacs.org>
7375 * inline.c: Include eldap.h
7377 * menubar-x.c (x_update_frame_menubar_internal):
7378 Remove: unused variable `container'
7380 1998-05-11 Martin Buchholz <martin@xemacs.org>
7382 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
7383 Unfortunately, the resulting temacs still cannot dump.
7385 * symbols.c (symbol_is_constant):
7386 (verify_ok_for_buffer_local):
7387 -Wswitch Warning suppression - add default case to switches.
7389 * redisplay.c (decode_mode_spec): Remove unused variables,
7390 Replace Fcoding_system_property (codesys, Qmnemonic) with
7391 XCODING_SYSTEM_MNEMONIC (codesys);
7392 Fcoding_system_property is for users.
7398 Change empty docstrings into no doc strings at all.
7399 Fix bogus FSF-format docstrings.
7402 Standardize docstrings.
7405 Explain problems with matherr.
7407 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
7410 if BROKEN_SIGIO, then SIGIO wants to be undefined.
7411 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
7412 Fix the weird resultant interaction (causes windows problems)
7416 Take new EMACSBOOTSTRAPLOADPATH into account.
7417 Update documentation strings
7420 - Adjust for luser's CDPATH being set to something weird.
7421 - Take into account bash 2.02's tendency to print the cwd when
7422 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
7423 - fix the run-temacs target to use $(DUMPENV)
7424 - fix the run-puremacs target to use $(DUMPENV)
7425 - fix the `depend' target to properly $(RM) the right files
7426 - Generate a better TAGS file for XEmacs' lisp code using
7427 hand-crafted regexps.
7428 - Use standard coding conventions for modules/Makefile.in
7430 1998-05-12 Didier Verna <verna@inf.enst.fr>
7432 * redisplay.c: removed the scrolling modeline code that didn't
7433 make it for 21.0. To be continued ...
7435 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7437 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
7438 and empty string inputs.
7440 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7442 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
7444 1998-05-10 Oliver Graf <ograf@fga.de>
7446 * event-stream.c (enqueue_misc_user_event_pos): created
7447 * lisp.h (enqueue_misc_user_event_pos): prototype added
7448 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
7449 * emacs.c: call vars_of_dragdrop
7450 * dragdrop.c (vars_of_dragdrop): provide dragdrop
7452 1998-05-11 Oliver Graf <ograf@fga.de>
7454 * frame-x.c (x_cde_transfer_callback): return at correct pos
7455 * event-Xt.c (x_event_to_emacs_event): changed format of drop
7456 object for MIME (see comment in dragdrop.c)
7457 * dragdrop.c: API change documented in comment
7458 removed provide of dragdrop [is provided by dragdrop.el]
7460 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7462 * window.c (window_needs_vertical_divider): Enable vertical
7463 dividers for every non-rightmost window.
7464 (window_left_gutter_width): Left gutter consists of mythical
7465 toolbar and a virtual scrollbar.
7466 (window_right_gutter_width): The right one may have a divider
7469 * scrollbar.c (update_scrollbar_instance): Position vertical
7470 scrollbar left to divider if the latter present.
7472 * redisplay.h: Declared OVER_DIVIER constant.
7474 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
7477 * redisplay-x.c (x_output_vertical_divider): Output divider along
7478 the right side of the window, down to window bottom. Swapped
7479 foreground and background colors so it is visible by default.
7481 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7482 stick the divider to the right window side.
7484 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7486 (mswindows_divider_width): Ask system for user preferred value.
7487 (mswindows_output_vertical_divider): Always output the divider on
7488 the right side of a window, down to bottom.
7490 * keymap.c (get_relevant_keymaps): Route mouse button events which
7491 happened over a window divider through window-divider-map.
7492 (Fkey_binding): Documented that in the docstring.
7493 Defined the variable Vwindow_divider_map.
7495 * events.c (Fevent_over_divider_p): Added this function.
7497 * events.h: EXFUNed it.
7499 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7501 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7502 toolbar geometry is suspected to change.
7504 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7508 Condition dnd and dde code on HAVE_DRAGNDROP.
7510 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7512 * events.c (format_event_object): Print space as SPC etc.
7514 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7516 * print.c (print_internal): In the default case, abort() if
7517 ERROR_CHECK_TYPECHECK.
7519 * fileio.c (Fmake_temp_name): Doc fix.
7521 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7523 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7525 * undo.c (Fprimitive_undo): Fixed typo.
7527 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7529 * fns.c (concat): Signal error on integer argument.
7531 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7533 * console.h (device_metrics): Prefixed each constatnt with DM_
7535 * device.c: (Fdevice_system_metric): Renamed so from plural form
7536 (metrics); Changed parameters order and added DEFAULT parameter;
7537 Unabbreviated some metric constants; Fixed and untabified doc string.
7538 (Fdevice_system_metrics): Added. Returns a plist of all provided
7541 * device-msw.c (mswindows_device_system_metrics): Renamed
7542 device_metrics enum constants.
7543 Return Qunbound instead of Qnil.
7545 * device-tty.c (tty_device_system_metrics): Ditto.
7547 * device-x.c (x_device_system_metrics): Ditto.
7549 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7551 * redisplay-msw.c: implement background pixmaps (really!). Make
7552 sure bg color is transparent if we have bg pmaps.
7553 * (mswindows_output_string) (mswindows_clear_region): output bg
7555 * (mswindows_output_dibitmap_region): new function.
7556 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7557 the bg color rather than transparently.
7559 * toolbar-msw.c: use masks if they exist.
7561 * glyphs-msw.c: set up masks correctly.
7563 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7565 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7567 * regex.c (re_match_2_internal): Check for quit.
7569 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7571 * frame.c (Ffocus_frame): New function.