1 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
5 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
6 (MAX_CHAR_OBS_94x94): Deleted.
8 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
10 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
12 * char-ucs.h (MAX_CHAR_BMP): New macro.
14 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
16 * text-coding.c: Sync with r21-2-24.
18 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
20 * file-coding.c: Modify for UTF-2000.
22 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
24 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
27 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
29 * mule-charset.c (split_builtin_char): Delete builtin support for
31 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
32 BMP area in builtin representation.
34 * char-ucs.h (MAKE_CHAR): Delete builtin support for
35 `Vcharset_katakana_jisx0201'.
37 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
39 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
40 (Qisolated): New variable.
41 (Qinitial): New variable.
42 (Qmedial): New variable.
43 (Qfinal): New variable.
44 (Qvertical): New variable.
45 (Qsmall): New variable.
46 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
47 `Qvertical' and `Qsmall'.
48 (Qmojikyo_pj_[1 .. 21]): New variable.
49 (syms_of_mule_charset): Add new symbols `isolated', `initial',
50 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
51 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
54 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
56 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
57 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
58 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
60 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
62 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
63 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
65 (Qjapanese_jisx0208_1990): New variable.
66 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
67 (complex_vars_of_mule_charset): Add new coded-charset
68 `japanese-jisx0208-1990'.
70 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
71 (MIN_CHAR_JIS_X0208_1990): New macro.
72 (MAX_CHAR_JIS_X0208_1990): New macro.
74 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
76 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
77 coded-charset is not found.
79 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
81 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
82 (Fdefine_char): Use `Fmake_char'.
84 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
86 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
87 (Vcharset_hiragana_jisx0208): Deleted.
88 (Vcharset_katakana_jisx0208): Deleted.
89 (Qideograph_daikanwa): New variable.
90 (Qhiragana_jisx0208): Deleted.
91 (Qkatakana_jisx0208): Deleted.
92 (split_builtin_char): Split `ideograph-daikanwa'.
93 (Fsplit_char): New implementation for UTF-2000.
94 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
95 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
96 (complex_vars_of_mule_charset): Add new coded-charset
97 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
100 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
101 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
102 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
103 (MIN_CHAR_DAIKANWA): New macro.
104 (MAX_CHAR_DAIKANWA): New macro.
106 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
108 * data.c (Fstring_to_number): Don't recognize floating point if
111 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
113 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
115 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
117 * mule-charset.c (Qsquare): New variable.
118 (to_char_code): Add `Qsquare'.
119 (syms_of_mule_charset): Add new symbol `square'.
121 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
123 * mule-charset.c (Qcircle): New variable.
124 (to_char_code): Add `Qcircle'.
125 (syms_of_mule_charset): Add new symbol `circle'.
127 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
129 * mule-charset.c (Qfont): New variable.
130 (to_char_code): Add `Qfont'.
131 (syms_of_mule_charset): Add new symbol `font'.
133 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
135 * mule-charset.c (Qsub): New variable.
136 (to_char_code): Add `Qsub'.
137 (syms_of_mule_charset): Add new symbol `sub'.
139 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
141 * mule-charset.c (Fput_char_attribute): Convert each element of
142 VALUE to GL position if ATTRIBUTE is a GR-set,
144 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
146 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
147 coded-charset is a GR-set.
149 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
151 * mule-charset.c (Fput_char_attribute): Check each element of
152 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
154 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
156 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
158 (Qethiopic_ucs): New variable in UTF-2000.
159 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
160 (complex_vars_of_mule_charset): Add new coded-charset
161 `ethiopic-ucs' in UTF-2000.
163 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
164 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
166 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
168 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
170 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
172 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
175 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
177 * mule-charset.c (Vcharacter_variant_table): New variable.
178 (Q_ucs): New variable.
179 (Fchar_variants): New function.
180 (Fput_char_attribute): Register `->ucs' value to
181 `Vcharacter_variant_table'.
182 (syms_of_mule_charset): Add new function `char-variants' and new
184 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
186 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
188 * mule-charset.c (get_char_code_table): Allow negative character
190 (put_char_code_table): Likewise.
191 (Vcharacter_composition_table): New variable.
192 (Q_decomposition): New variable.
193 (Qwide): New variable.
194 (Qnarrow): New variable.
195 (Qcompat): New variable.
196 (QnoBreak): New variable.
197 (Qsuper): New variable.
198 (Qfraction): New variable.
199 (to_char_code): New function.
200 (Fget_composite_char): New function.
201 (Fput_char_attribute): Register `->decomposition' value to
202 `Vcharacter_composition_table'.
203 (syms_of_mule_charset): Add new function `get-composite-char', new
204 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
205 `super' and `fraction'.
206 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
208 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
210 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
211 character; copy the return value.
213 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
215 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
217 * mule-charset.c (range_charset_code_point): Must use make_int.
218 (split_builtin_char): New function.
220 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
222 * mule-charset.c (char_byte_table): Change name from
223 "char-code-table" to "char-byte-table".
224 (mark_char_code_table): New function.
225 (char_code_table_equal): New function.
226 (char_code_table_hash): New function.
227 (char_code_table_description): New constant.
228 (char_code_table): New type.
229 (make_char_code_table): New function.
230 (copy_char_code_table): New function.
231 (get_char_code_table): Modify for `char_code_table' type.
232 (put_char_code_table): Likewise.
233 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
236 * char-ucs.h (char_code_table): New type.
237 (XCHAR_CODE_TABLE): New macro.
238 (XSETCHAR_CODE_TABLE): New macro.
239 (CHAR_CODE_TABLE_P): New macro.
240 (GC_CHAR_CODE_TABLE_P): New macro.
241 (struct Lisp_Char_Code_Table): New structure.
243 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
245 * mule-charset.c (Fmake_charset): Setup byte_offset for
248 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
250 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
253 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
255 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
258 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
260 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
261 charset, it is regarded as a charset.
262 (put_char_attribute): New function in UTF-2000.
263 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
264 charset, mapping-table of the charset is modified.
265 (Fdefine_char): New function in UTF-2000.
266 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
267 `Fput_char_attribute'.
268 (syms_of_mule_charset): Add new function `define-char' and new
269 symbol `ucs' in UTF-2000.
270 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
272 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
274 * mule-charset.c (Fcharset_name): Define `byte_offset' in
275 non-UTF-2000 configuration.
277 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
279 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
280 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
282 * mule-charset.c (mark_charset): `cs->encoding_table' has been
284 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
285 (Fset_charset_mapping_table): Likewise.
287 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
288 (CHARSET_ENCODING_TABLE): Delete.
289 (XCHARSET_ENCODING_TABLE): Delete.
290 (charset_code_point): New interface.
292 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
294 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
295 instead of `charset_get_byte1' and `charset_get_byte2'.
297 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
298 (charset_get_byte2): Deleted.
300 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
302 * char-ucs.h (SPLIT_CHAR): New inline function.
303 (breakup_char_1): Use `SPLIT_CHAR'.
305 * mule-charset.c (range_charset_code_point): New function.
306 (charset_code_point): New function.
308 * char-ucs.h (range_charset_code_point): New interface.
309 (breakup_char_1): Use `range_charset_code_point'.
311 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
313 * mule-charset.c (Fmake_charset): Delete unused local variable
316 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
317 (breakup_char_1): Find a charset and code-point in
318 `Vcharacter_attribute_table'.
320 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
322 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
325 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
327 * mule-charset.c (Vcharacter_attribute_table): New variable.
328 (Fchar_attribute_alist): New function.
329 (Fget_char_attribute): New function.
330 (Fput_char_attribute): New function.
331 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
333 (syms_of_mule_charset): Add new function `char-attribute-alist',
334 `get-char-attribute' and `put-char-attribute'.
335 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
337 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
339 * mule-charset.c (Fmake_charset): Just use
340 `get_unallocated_leading_byte'.
342 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
343 sets; don't use final-byte based number for private sets.
345 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
347 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
350 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
352 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
355 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
357 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
358 of `CHAR_LEADING_BYTE' in UTF-2000.
360 * insdel.c (find_charsets_in_bufbyte_string): Use
361 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
362 (find_charsets_in_emchar_string): Likewise.
364 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
365 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
367 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
368 (CHAR_CHARSET_ID): New macro.
370 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
372 * chartab.c (get_char_table): Don't use type `Charset_ID' for
373 charset-id - MIN_LEADING_BYTE.
374 (put_char_table): Likewise.
376 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
378 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
379 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
380 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
381 (CHARSET_ID_OFFSET): New macro.
382 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
383 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
384 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
385 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
387 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
389 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
390 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
391 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
392 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
393 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
395 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
397 * mule-charset.c (next_allocated_leading_byte): New variable in
399 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
400 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
401 (get_unallocated_leading_byte): Simply use
402 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
403 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
406 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
407 (MAX_LEADING_BYTE_PRIVATE): New macro.
408 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
409 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
411 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
413 * mule-charset.c (Fmake_charset): Allocate final-byte based
414 charset-id for 94-set, 96-set and 94x94-set.
416 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
418 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
420 (Fmake_charset): Likewise.
421 (complex_vars_of_mule_charset): Modify the font registry of
422 `ucs-bmp' not to match `Ethiopic-Unicode'.
424 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
426 * mule-charset.c (complex_vars_of_mule_charset): Add font
427 registory of `ucs-bmp'.
429 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
431 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
432 coded-charsets in `default-coded-charset-priority-list' when
433 breaking up a character.
435 * mule-charset.c (Vcharset_latin_viscii): New variable.
436 (Qlatin_viscii): New variable.
437 (make_charset): Don't use `decoding_table'.
438 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
440 (Fset_charset_mapping_table): New implementation.
441 (syms_of_mule_charset): Add new symbol `latin-viscii'.
442 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
443 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
444 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
445 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
446 charset `latin_viscii'.
448 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
449 (CHARSET_TYPE_94X94): Change to 1 from 2.
450 (CHARSET_TYPE_96): Change to 2 from 1.
451 (CHARSET_TYPE_128): New macro.
452 (CHARSET_TYPE_128X128): Change to 5 from 4.
453 (CHARSET_TYPE_256): New macro.
454 (CHARSET_TYPE_256X256): Change to 7 from 5.
455 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
457 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
459 * text-coding.c (char_encode_shift_jis): Refer
460 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
461 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
463 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
464 (char_byte_table_equal): New function in UTF-2000.
465 (char_byte_table_hash): New function in UTF-2000.
466 (char_byte_table_description): New constant in UTF-2000.
467 (char_byte_table): New type in UTF-2000.
468 (make_char_byte_table): New function in UTF-2000.
469 (copy_char_byte_table): New function in UTF-2000.
470 (make_char_code_table): New macro in UTF-2000.
471 (get_char_code_table): New function in UTF-2000.
472 (put_char_code_table): New function in UTF-2000.
473 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
474 (charset_description): Add setting in UTF-2000.
475 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
476 `CHARSET_TO_BYTE1_TABLE(cs)'.
477 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
478 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
479 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
480 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
481 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
482 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
483 `CHARSET_TO_BYTE2_TABLE(cs)'.
485 * char-ucs.h (char_byte_table): New type.
486 (XCHAR_BYTE_TABLE): New macro.
487 (XSETCHAR_BYTE_TABLE): New macro.
488 (CHAR_BYTE_TABLE_P): New macro.
489 (GC_CHAR_BYTE_TABLE_P): New macro.
490 (struct Lisp_Char_Byte_Table): New structure.
491 (get_char_code_table): New interface.
492 (Emchar_to_byte_table): Deleted.
493 (get_byte_from_character_table): Deleted.
494 (struct Lisp_Charset): Add `encoding_table'; delete
495 `to_byte1_table' and `to_byte2_table'.
496 (CHARSET_ENCODING_TABLE): New macro.
497 (CHARSET_TO_BYTE1_TABLE): Deleted.
498 (CHARSET_TO_BYTE2_TABLE): Deleted.
499 (XCHARSET_ENCODING_TABLE): New macro.
500 (XCHARSET_TO_BYTE1_TABLE): Deleted.
501 (XCHARSET_TO_BYTE2_TABLE): Deleted.
503 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
505 * mule-charset.c (syms_of_mule_charset): Delete charset alias
506 `vietnamese-viscii-*'.
508 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
510 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
511 (Qvietnamese_viscii_upper): New variable.
512 (Fdefine_charset_alias): New function.
513 (syms_of_mule_charset): Add new function `define-charset-alias'.
514 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
515 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
518 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
520 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
521 (MAX_CHAR_OBS_94x94): New macro.
522 (breakup_char_1): Support obsolete XEmacs-UCS private code space
525 * mule-charset.c (put_byte_from_character_table): Change unit size
527 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
529 (Fmake_reverse_direction_charset): Modify dummy argument of
530 `make_charset' for non-UTF-2000 environment.
532 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
534 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
536 * mule-charset.c (destroy_byte_from_character_table): New macro.
537 (latin_jisx0201_to_ucs): Deleted.
538 (latin_iso8859_2_to_ucs): Deleted.
539 (latin_iso8859_3_to_ucs): Deleted.
540 (latin_iso8859_4_to_ucs): Deleted.
541 (latin_iso8859_9_to_ucs): Deleted.
542 (latin_viscii_lower_to_ucs): Deleted.
543 (latin_viscii_upper_to_ucs): Deleted.
544 (mark_charset): Mark `cs->decoding_table'.
545 (Fcharset_mapping_table): Fix DOC-string.
546 (Fset_charset_mapping_table): New function.
547 (syms_of_mule_charset): Add nwe function
548 `set-charset-mapping-table'.
549 (complex_vars_of_mule_charset): Don't setup and use
552 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
554 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
557 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
559 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
560 (Vcharset_katakana_jisx0208): New variable.
561 (Qhiragana_jisx0208): New variable.
562 (Qkatakana_jisx0208): New variable.
563 (make_charset): Add new argument `byte_offset'.
564 (charset_get_byte1): Modify for new coded-charset definition; use
565 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
566 `XCHARSET_BYTE_OFFSET'.
567 (Fmake_charset): Modify for `make_charset'.
568 (Fmake_reverse_direction_charset): Likewise.
569 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
571 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
572 `.' in font registry of charset `katakana-jisx0201',
573 `latin-jisx0201', `vietnamese-viscii-lower' and
574 `vietnamese-viscii-upper'; modify DOC-string of charset
575 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
576 registry of charset `japanese-jisx0208' not to use font for JIS
577 X0208:1990; add new charset `hiragana-jisx0208' and
580 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
581 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
582 (struct Lisp_Charset): Add `byte_offset'.
583 (CHARSET_BYTE_OFFSET): New macro.
584 (XCHARSET_UCS_MIN): New macro.
585 (XCHARSET_UCS_MAX): New macro.
586 (XCHARSET_CODE_OFFSET): New macro.
587 (XCHARSET_BYTE_OFFSET): New macro.
588 (MIN_CHAR_HIRAGANA): New macro.
589 (MAX_CHAR_HIRAGANA): New macro.
590 (MIN_CHAR_KATAKANA): New macro.
591 (MAX_CHAR_KATAKANA): New macro.
592 (MAKE_CHAR): Modify for new coded-charset definition; use
593 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
594 `XCHARSET_BYTE_OFFSET'.
596 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
598 * mule-charset.c (CHAR96): Deleted.
599 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
601 (latin_iso8859_2_to_ucs): Likewise.
602 (latin_iso8859_3_to_ucs): Likewise.
603 (latin_iso8859_4_to_ucs): Likewise.
604 (latin_iso8859_9_to_ucs): Likewise.
605 (latin_viscii_lower_to_ucs): Likewise.
606 (latin_viscii_upper_to_ucs): Likewise.
607 (latin_tcvn5712_to_ucs): Commented out.
608 (make_charset): Change type of argument `decoding_table' from
609 <Emchar*> to <Lisp_Object> [vector of characters].
610 (Fmake_charset): Modify for `make_charset'.
611 (Fmake_reverse_direction_charset): Likewise.
612 (Fcharset_mapping_table): New function in UTF-2000.
613 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
615 (complex_vars_of_mule_charset): Modify for type change of
616 `*_to_ucs'; modify for `make_charset'.
618 * char-ucs.h (struct Lisp_Charset): Change type of
619 `decoding_table' from <Emchar*> to <Lisp_Object>.
620 (MAKE_CHAR): Modify for new specification of `decoding_table'.
622 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
624 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
625 error with non-UTF-2000-Mule.
627 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
629 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
631 (Vcharset_chinese_cns11643_4): Likewise.
632 (Vcharset_chinese_cns11643_5): Likewise.
633 (Vcharset_chinese_cns11643_6): Likewise.
634 (Vcharset_chinese_cns11643_7): Likewise.
635 (Qchinese_cns11643_3): Likewise.
636 (Qchinese_cns11643_4): Likewise.
637 (Qchinese_cns11643_5): Likewise.
638 (Qchinese_cns11643_6): Likewise.
639 (Qchinese_cns11643_7): Likewise.
640 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
641 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
642 and `chinese-cns11643-7' to lisp/mule/chinese.el.
643 (complex_vars_of_mule_charset): Likewise.
645 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
647 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
649 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
650 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
652 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
654 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
656 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
657 (breakup_char_1): Likewise.
659 * text-coding.c (char_encode_iso2022): Keep designated charsets if
660 one of them includes the specified character.
662 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
664 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
666 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
668 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
670 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
672 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
673 definition for non-UTF-2000 Mule.
674 (latin_iso8859_3_to_ucs): Likewise.
675 (latin_iso8859_4_to_ucs): Likewise.
676 (latin_iso8859_9_to_ucs): Likewise.
677 (latin_jisx0201_to_ucs): Likewise.
678 (MIN_CHAR_THAI): Likewise.
679 (MAX_CHAR_THAI): Likewise.
680 (MIN_CHAR_GREEK): Likewise.
681 (MAX_CHAR_GREEK): Likewise.
682 (MIN_CHAR_HEBREW): Likewise.
683 (MAX_CHAR_HEBREW): Likewise.
684 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
685 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
686 (MIN_CHAR_CYRILLIC): Likewise.
687 (MAX_CHAR_CYRILLIC): Likewise.
689 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
691 * char-ucs.h (breakup_char_1): Use
692 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
693 thai-tis620 and katakana-jisx0201 area.
695 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
697 * char-ucs.h (breakup_char_1): Use
698 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
701 * text-coding.c (reset_encoding_stream): Fixed.
702 (char_encode_ucs4): Delete `& 255'.
704 * char-ucs.h (breakup_char_1): Use
705 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
707 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
709 * file-coding.c (Fmake_coding_system): Don't set up
710 `codesys->fixed.size'.
711 (encode_coding_no_conversion): Don't refer
712 `str->codesys->fixed.size'.
714 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
716 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
717 (latin_a_char_to_byte1): Deleted.
718 (latin_a_char_to_byte2): Deleted.
720 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
722 * mule-charset.c (make_charset): Add new argument `ucs_min',
723 `ucs_max' and `code_offset'.
724 (charset_get_byte1): New implementation [delete specific charset
725 depended implementations].
726 (Fmake_charset): Modify for `make_charset'.
727 (Fmake_reverse_direction_charset): Likewise.
728 (complex_vars_of_mule_charset): Likewise.
730 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
732 (CHARSET_UCS_MIN): New macro.
733 (CHARSET_UCS_MAX): New macro.
734 (CHARSET_CODE_OFFSET): New macro.
735 (MAKE_CHAR): Delete charset depended definitions [except
738 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
740 * char-ucs.h (breakup_char_1): Use
741 `Vdefault_coded_charset_priority_list' for C0-Controls,
742 Basic-Latin, C1-Controls and Latin-1-Supplement area.
744 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
746 * char-ucs.h (charset_get_byte1): New function.
747 (XCHARSET_GET_BYTE1): Deleted.
748 (charset_get_byte2): New function.
749 (XCHARSET_GET_BYTE2): Deleted.
750 (Vdefault_coded_charset_priority_list): New external variable.
751 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
752 `Vdefault_preferred_coded_charset_list'.
754 * mule-charset.c (charset_get_byte1): New function.
755 (charset_get_byte2): New function.
756 (Vdefault_coded_charset_priority_list): New variable.
757 (vars_of_mule_charset): Add new variable
758 `default-coded-charset-priority-list'.
760 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
762 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
763 (XCHARSET_GET_BYTE2): New inline function.
764 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
765 `XCHARSET_GET_BYTE2'.
767 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
769 * mule-charset.c (make_charset): Initialize
770 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
771 NULL if table is not defined.
773 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
775 * text-coding.c (char_encode_shift_jis): Use
776 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
777 `ucs_to_latin_jisx0201'.
779 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
780 (ucs_to_latin_iso8859_2): Deleted.
781 (ucs_to_latin_iso8859_3): Deleted.
782 (ucs_to_latin_iso8859_4): Deleted.
783 (ucs_to_latin_iso8859_9): Deleted.
784 (ucs_to_latin_viscii_lower): Deleted.
785 (ucs_to_latin_viscii_upper): Deleted.
786 (ucs_to_latin_tcvn5712): Deleted.
787 (make_charset): Add new argument `decoding_table'; set up
788 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
789 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
790 `decoding_table' is defined in UTF-2000.
791 (Fmake_charset): Modify for `make_charset'.
792 (Fmake_reverse_direction_charset): Likewise.
793 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
794 and `GENERATE_96_SET'.
796 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
797 (ucs_to_latin_jisx0201): Deleted.
798 (latin_iso8859_2_to_ucs): Deleted.
799 (ucs_to_latin_iso8859_2): Deleted.
800 (latin_iso8859_3_to_ucs): Deleted.
801 (ucs_to_latin_iso8859_3): Deleted.
802 (latin_iso8859_4_to_ucs): Deleted.
803 (ucs_to_latin_iso8859_4): Deleted.
804 (latin_iso8859_9_to_ucs): Deleted.
805 (ucs_to_latin_iso8859_9): Deleted.
806 (latin_viscii_lower_to_ucs): Deleted.
807 (ucs_to_latin_viscii_lower): Deleted.
808 (latin_viscii_upper_to_ucs): Deleted.
809 (ucs_to_latin_viscii_upper): Deleted.
810 (struct Lisp_Charset): Renamed `encoding_table' to
811 `to_byte1_table'; add `to_byte2_table'.
812 (CHARSET_DECODING_TABLE): New macro.
813 (CHARSET_TO_BYTE1_TABLE): New macro.
814 (CHARSET_TO_BYTE2_TABLE): New macro.
815 (XCHARSET_DECODING_TABLE): New macro.
816 (XCHARSET_TO_BYTE1_TABLE): New macro.
817 (XCHARSET_TO_BYTE2_TABLE): New macro.
818 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
820 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
821 don't use `ucs_to_*' tables.
823 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
825 * text-coding.c (Fmake_coding_system): Don't set up
826 `codesys->fixed.size'.
827 (encode_coding_no_conversion): Use `if' instead of `switch'.
829 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
831 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
833 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
834 (Fmake_charset): Modify for `make_charset'.
835 (Fmake_reverse_direction_charset): Likewise.
836 (complex_vars_of_mule_charset): Likewise.
838 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
840 * text-coding.c (char_encode_shift_jis): Use table
841 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
843 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
845 * text-coding.c (text_encode_generic): Use `if' instead of
847 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
850 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
852 * text-coding.c (encode_coding_sjis): Deleted.
853 (char_encode_shift_jis): New function.
854 (char_finish_shift_jis): New function.
855 (reset_encoding_stream): Set up `encode_char' and `finish' for
856 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
857 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
858 (char_encode_utf8): Treat `eol_type'.
860 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
862 * file-coding.c (decode_coding_iso2022): Use
863 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
865 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
867 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
870 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
872 * char-lb.h (CHAR_COLUMNS): New macro.
874 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
876 * text-coding.c (char_encode_ucs4): New function.
877 (char_finish_ucs4): New function.
878 (encode_coding_ucs4): Deleted.
879 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
880 (text_encode_generic): Delete local variable `charset' and `half'.
881 (ucs_to_mule_table): Deleted.
882 (mule_to_ucs_table): Deleted.
883 (Fset_ucs_char): Deleted.
884 (ucs_to_char): Deleted.
885 (Fucs_char): Deleted.
886 (Fset_char_ucs): Deleted.
887 (Fchar_ucs): Deleted.
888 (decode_ucs4): Deleted.
889 (mule_char_to_ucs4): Deleted.
890 (encode_ucs4): Deleted.
891 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
892 (decode_coding_utf8): Likewise.
893 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
894 (char_encode_iso2022): Fixed.
895 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
896 `Fset_char_ucs' and `Fchar_ucs'.
897 (complex_vars_of_file_coding): Don't initialize
900 * objects-tty.c (tty_initialize_font_instance): Don't use
903 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
906 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
907 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
909 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
910 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
911 (emchar_string_displayed_columns): Likewise.
913 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
914 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
915 (string_column_at_point): Likewise.
916 (Fmove_to_column): Likewise.
918 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
919 `encoding_table' and `decoding_table'.
920 (CHARSET_REP_BYTES): Deleted.
921 (XCHARSET_REP_BYTES): Deleted.
922 (XCHARSET_COLUMNS): Deleted.
923 (CHAR_COLUMNS): New macro.
924 (lookup_composite_char): Deleted unconditionally.
925 (composite_char_string): Likewise.
927 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
929 * char-ucs.h (Emchar_to_byte_table): New type.
930 (get_byte_from_character_table): New function interface.
931 (Vcharset_latin_jisx0201): New variable.
932 (latin_jisx0201_to_ucs): New variable.
933 (ucs_to_latin_jisx0201): New variable.
934 (Vcharset_latin_iso8859_2): New variable.
935 (latin_iso8859_2_to_ucs): New variable.
936 (ucs_to_latin_iso8859_2): New variable.
937 (Vcharset_latin_iso8859_3): New variable.
938 (latin_iso8859_3_to_ucs): New variable.
939 (ucs_to_latin_iso8859_3): New variable.
940 (Vcharset_latin_iso8859_4): New variable.
941 (latin_iso8859_4_to_ucs): New variable.
942 (ucs_to_latin_iso8859_4): New variable.
943 (Vcharset_latin_iso8859_9): New variable.
944 (latin_iso8859_9_to_ucs): New variable.
945 (ucs_to_latin_iso8859_9): New variable.
946 (Vcharset_latin_viscii_lower): New variable.
947 (latin_viscii_lower_to_ucs): New variable.
948 (ucs_to_latin_viscii_lower): New variable.
949 (Vcharset_latin_viscii_upper): New variable.
950 (latin_viscii_upper_to_ucs): New variable.
951 (ucs_to_latin_viscii_upper): New variable.
952 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
953 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
954 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
955 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
956 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
957 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
958 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
959 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
960 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
961 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
963 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
964 (Vcharset_latin_viscii_upper): New variable.
965 (make_byte_from_character_table): New function.
966 (put_byte_from_character_table): New function.
967 (get_byte_from_character_table): New function.
969 (ucs_to_latin_jisx0201): New variable.
970 (latin_jisx0201_to_ucs): New variable.
971 (ucs_to_latin_iso8859_2): New variable.
972 (latin_iso8859_2_to_ucs): New variable.
973 (ucs_to_latin_iso8859_3): New variable.
974 (latin_iso8859_3_to_ucs): New variable.
975 (ucs_to_latin_iso8859_4): New variable.
976 (latin_iso8859_4_to_ucs): New variable.
977 (ucs_to_latin_iso8859_9): New variable.
978 (latin_iso8859_9_to_ucs): New variable.
979 (ucs_to_latin_viscii_lower): New variable.
980 (latin_viscii_lower_to_ucs): New variable.
981 (ucs_to_latin_viscii_upper): New variable.
982 (latin_viscii_upper_to_ucs): New variable.
983 (ucs_to_latin_tcvn5712): New variable.
984 (latin_tcvn5712_to_ucs): New variable.
985 (Qlatin_viscii_lower): New variable.
986 (Qlatin_viscii_upper): New variable.
987 (syms_of_mule_charset): Set up new symbol
988 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
989 (complex_vars_of_mule_charset): Set up new charset
990 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
991 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
992 `ucs_to_<CHARSET>' tables.
994 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
996 * text-coding.c: New file.
998 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1000 * mule-charset.c (Fmake_char): Fix problem of 256-set.
1002 * char-ucs.h (Vcharset_ucs_bmp): New variable.
1003 (MAKE_CHAR): Modify for `ucs-bmp'.
1004 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
1005 non-MULE characters of BMP.
1007 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
1009 * mule-charset.c (vars_of_mule_charset):
1010 Update `utf-2000-version' to 0.6.
1012 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
1015 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
1016 - Include character.h for `CHAR_ASCII_P'.
1018 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
1020 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
1021 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
1023 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
1024 (BYTE_C0_P): Likewise.
1025 (BYTE_C1_P): Likewise.
1026 (Lstream_get_emchar_1): Likewise.
1027 (Lstream_fput_emchar): Likewise.
1028 (Lstream_funget_emchar): Likewise.
1029 (copy_internal_to_external): Likewise.
1030 (copy_external_to_internal): Likewise.
1032 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
1033 (BYTE_C0_P): Likewise.
1034 (BYTE_C1_P): Likewise.
1035 (Lstream_get_emchar_1): Likewise.
1036 (Lstream_fput_emchar): Likewise.
1037 (Lstream_funget_emchar): Likewise.
1038 (copy_internal_to_external): Likewise.
1039 (copy_external_to_internal): Likewise.
1041 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
1042 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1044 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
1045 (BYTE_ASCII_P): Moved to mb-1byte.h.
1047 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
1049 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
1051 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
1052 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
1053 (VALID_CHARPTR_P): Moved to mb-*byte.h.
1054 (VALIDATE_CHARPTR_BACKWARD): Likewise.
1055 (VALIDATE_CHARPTR_FORWARD): Likewise.
1056 (simple_charptr_emchar): Moved to mb-multibyte.h.
1057 (simple_set_charptr_emchar): Likewise.
1058 (simple_charptr_copy_char): Likewise.
1059 (non_ascii_charptr_emchar): Likewise.
1060 (non_ascii_set_charptr_emchar): Likewise.
1061 (non_ascii_charptr_copy_char): Likewise.
1062 (charptr_emchar): Moved to mb-*byte.h.
1063 (set_charptr_emchar): Likewise.
1064 (charptr_copy_char): Likewise.
1066 * mb-1byte.h, mb-multibyte.h: New files.
1068 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1070 * mb-utf-8.h (MULTIBYTE): New macro.
1071 (MAX_EMCHAR_LEN): Moved from buffer.h.
1072 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
1074 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
1076 * mb-lb.h, multibyte.h: New files.
1078 * char-1byte.h (Charset_ID): Moved from buffer.h.
1079 (MIN_LEADING_BYTE): Likewise.
1080 (LEADING_BYTE_ASCII): Likewise.
1081 (NUM_LEADING_BYTES): Likewise.
1082 (CHARSETP): Likewise.
1083 (CHARSET_BY_LEADING_BYTE): Likewise.
1084 (XCHARSET_LEADING_BYTE): Likewise.
1085 (XCHARSET_GRAPHIC): Likewise.
1086 (XCHARSET_COLUMNS): Likewise.
1087 (XCHARSET_DIMENSION): Likewise.
1088 (CHAR_CHARSET): Likewise.
1089 (CHAR_LEADING_BYTE): Likewise.
1090 (BREAKUP_CHAR): Likewise.
1091 (Vcharset_ascii): Likewise.
1093 * buffer.h: Include multibyte.h unconditionally.
1094 (VALID_CHARPTR_P): Moved to multibyte.h.
1095 (ASSERT_VALID_CHARPTR): Likewise.
1096 (REAL_INC_CHARPTR): Likewise.
1097 (REAL_INC_CHARBYTIND): Likewise.
1098 (REAL_DEC_CHARPTR): Likewise.
1099 (INC_CHARPTR): Likewise.
1100 (INC_CHARBYTIND): Likewise.
1101 (DEC_CHARPTR): Likewise.
1102 (VALIDATE_CHARPTR_BACKWARD): Likewise.
1103 (VALIDATE_CHARPTR_FORWARD): Likewise.
1104 (charptr_n_addr): Likewise.
1105 (MAX_EMCHAR_LEN): Moved to mb-*.h.
1106 (simple_charptr_emchar): Moved to multibyte.h.
1107 (simple_set_charptr_emchar): Likewise.
1108 (simple_charptr_copy_char): Likewise.
1109 (non_ascii_charptr_emchar): Likewise.
1110 (non_ascii_set_charptr_emchar): Likewise.
1111 (non_ascii_charptr_copy_char): Likewise.
1112 (charptr_emchar): Likewise.
1113 (set_charptr_emchar): Likewise.
1114 (charptr_copy_char): Likewise.
1115 (charptr_emchar_n): Likewise.
1116 (Charset_ID): Moved to char-1byte.h.
1117 (Vcharset_ascii): Likewise.
1118 (CHAR_CHARSET): Likewise.
1119 (CHAR_LEADING_BYTE): Likewise.
1120 (LEADING_BYTE_ASCII): Likewise.
1121 (NUM_LEADING_BYTES): Likewise.
1122 (MIN_LEADING_BYTE): Likewise.
1123 (CHARSETP): Likewise.
1124 (CHARSET_BY_LEADING_BYTE): Likewise.
1125 (XCHARSET_LEADING_BYTE): Likewise.
1126 (XCHARSET_GRAPHIC): Likewise.
1127 (XCHARSET_COLUMNS): Likewise.
1128 (XCHARSET_DIMENSION): Likewise.
1129 (BREAKUP_CHAR): Likewise.
1131 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1133 * character.h: Add document about interface for characters.
1135 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
1136 (MAKE_CHAR): Delete comment about
1137 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
1138 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
1139 (BREAKUP_CHAR): Modify name of arguments.
1140 (CHAR_CHARSET): Modify name of argument.
1142 * buffer.h: Delete document about Emchar accessors.
1144 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1146 * character.h (CHAR_INTP): Moved from buffer.h
1147 (CHAR_OR_CHAR_INTP): Likewise.
1148 (XCHAR_OR_CHAR_INT): Likewise.
1149 (CHECK_CHAR_COERCE_INT): Likewise.
1151 * buffer.h (CHAR_INTP): Moved to character.h
1152 (CHAR_OR_CHAR_INTP): Likewise.
1153 (XCHAR_OR_CHAR_INT): Likewise.
1154 (CHECK_CHAR_COERCE_INT): Likewise.
1156 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1159 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
1160 - Include char-1byte.h, char-lb.h or char-ucs.h.
1162 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
1164 * buffer.h: Include character unconditionally.
1165 (valid_char_p): Moved to char-*.h.
1166 (non_ascii_valid_char_p): Moved to char-lb.h.
1168 * char-1byte.h, char-lb.h, char-ucs.h: New files.
1170 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1172 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
1173 in UTF-2000 because it is not ported yet and not to use
1174 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
1175 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
1176 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
1178 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
1179 (CHAR_ASCII_P): Moved from character.h.
1181 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
1182 (CHAR_ASCII_P): Likewise.
1183 (CHAR_FIELD1_MASK): Deleted.
1184 (CHAR_FIELD2_MASK): Deleted.
1185 (CHAR_FIELD3_MASK): Deleted.
1186 (MAX_CHAR_BASIC_LATIN): New macro.
1187 (CHAR_FIELD1): Deleted.
1188 (CHAR_FIELD2_INTERNAL): Deleted.
1189 (CHAR_FIELD3_INTERNAL): Deleted.
1190 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
1191 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
1192 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
1193 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
1194 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
1195 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
1196 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
1197 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
1198 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
1199 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
1200 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
1201 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
1202 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
1203 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
1204 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
1205 (MIN_CHAR_COMPOSITION): Deleted.
1206 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
1207 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
1209 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
1211 * buffer.h: Include mb-utf-8.h in UTF-2000.
1213 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
1215 * mb-utf-8.h: New file.
1217 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
1219 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
1222 * mule-charset.h, buffer.h (Charset_ID): New type.
1224 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1226 * mule-canna.c (c2mu): Use `MAKE_CHAR',
1227 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
1228 instead of `MULE_CHAR_PRIVATE_OFFSET',
1229 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
1230 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
1231 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
1233 * character.h (Vcharset_japanese_jisx0212): New variable
1236 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1238 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
1239 (charset_by_attributes): Delete array about direction.
1240 (latin_a_char_to_charset): New variable in UTF-2000.
1241 (latin_a_char_to_byte1): New variable in UTF-2000.
1242 (latin_a_char_to_byte2): New variable in UTF-2000.
1243 (Qucs_bmp): New variable.
1244 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
1246 (next_allocated_2_byte_leading_byte): Likewise.
1247 (non_ascii_set_charptr_emchar): Likewise.
1248 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
1249 `CHARSET_TYPE_256X256' in UTF-2000; modify for
1250 `charset_by_attributes'.
1251 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
1252 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
1253 and `CHARSET_BY_LEADING_BYTE'.
1254 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
1255 `utf-2000-version' to `vars_of_mule_charset'.
1256 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
1257 define `leading-code-private-11' in UTF-2000; move setting of
1258 `utf-2000-version' from `syms_of_mule_charset'.
1259 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
1262 * character.h (Charset_ID): New type.
1263 (LEADING_BYTE_UCS_BMP): New macro.
1264 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
1265 (CHARSET_ID_OFFSET_94): New macro.
1266 (MIN_CHARSET_ID_PRIVATE_94): New macro.
1267 (MAX_CHARSET_ID_PRIVATE_94): New macro.
1268 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
1270 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
1271 (LEADING_BYTE_LATIN_JISX0201): Likewise.
1272 (CHARSET_ID_OFFSET_96): New macro.
1273 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
1274 CHARSET_ID_OFFSET_96 and final-byte.
1275 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
1276 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
1277 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
1278 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
1279 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
1280 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
1281 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
1282 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
1283 (LEADING_BYTE_THAI_TIS620): Likewise.
1284 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
1285 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
1286 (CHARSET_ID_OFFSET_94x94): New macro.
1287 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
1288 CHARSET_ID_OFFSET_94x94 and final-byte.
1289 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
1290 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
1291 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
1292 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
1293 (LEADING_BYTE_CHINESE_GB2312): Likewise.
1294 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
1295 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
1296 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
1297 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
1298 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
1299 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
1300 (CHARSET_TYPE_128X128): New macro.
1301 (CHARSET_TYPE_256X256): New macro.
1302 (XCHARSET_PRIVATE_P): Delete unconditionally.
1303 (charset_by_attributes): Delete array about direction.
1304 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
1305 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
1306 (MIN_CHAR_94): New macro.
1307 (MAX_CHAR_94): New macro.
1308 (MIN_CHAR_96): New macro.
1309 (MAX_CHAR_96): New macro.
1310 (MIN_CHAR_94x94): New macro.
1311 (MAX_CHAR_94x94): New macro.
1312 (MIN_CHAR_96x96): New macro.
1313 (MAX_CHAR_96x96): New macro.
1314 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
1315 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1316 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
1318 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
1319 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
1320 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
1321 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
1322 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
1323 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
1324 `XCHARSET_LEADING_BYTE' to make code-point.
1325 (latin_a_char_to_charset): New variable.
1326 (latin_a_char_to_byte1): New variable.
1327 (latin_a_char_to_byte2): New variable.
1328 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
1329 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
1330 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
1332 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
1333 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
1334 (find_charsets_in_emchar_string): Likewise.
1335 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
1337 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
1339 (decode_coding_iso2022): Likewise.
1341 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
1344 * redisplay.c (redisplay_text_width_emchar_string): Use
1345 `Charset_ID' instead of `unsigned char'.
1346 (redisplay_frame_text_width_string): Likewise.
1348 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
1351 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
1352 instead of `unsigned char'.
1353 (face_cachel_charset_font_metric_info): Likewise.
1355 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
1356 (get_non_ascii_char_table_value): Likewise.
1357 (get_char_table): Likewise.
1358 (put_char_table): Likewise.
1359 (map_over_other_charset): Likewise.
1360 (map_char_table): Likewise.
1362 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
1363 instead of `unsigned char'.
1365 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
1367 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
1368 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
1370 * mule-charset.c (leading_code_private_11): Don't define in
1373 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
1374 in UTF-2000 because it is not ported yet and not to use
1375 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
1377 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
1379 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
1381 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1383 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
1386 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
1387 of unsigned char to store leading-byte.
1389 * chartab.c (get_non_ascii_char_table_value): Don't use
1390 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
1392 * file-coding.c (encode_coding_big5): Delete bogus implementation
1395 * character.h (LEADING_BYTE_*): Delete definition for
1397 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
1398 (LEADING_BYTE_PREFIX_P): Deleted.
1399 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
1400 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
1401 (BUFBYTE_LEADING_BYTE_P): Deleted.
1402 (CHARSET_PRIVATE_P): Deleted unconditionally.
1403 (rep_bytes_by_first_byte): Deleted unconditionally.
1404 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
1405 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
1406 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1407 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
1408 (CHAR_FIELD2): Deleted.
1409 (CHAR_FIELD3): Deleted.
1410 (MAKE_CHAR): Delete definition for non-UTF-2000.
1411 (BREAKUP_CHAR_1_UNSAFE): Deleted.
1412 (breakup_char_1): New implementation.
1413 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
1414 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1416 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1418 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1421 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1423 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1424 (CHARSET_PRIVATE_P): Likewise.
1425 (XCHARSET_PRIVATE_P): Likewise.
1426 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1428 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1430 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1432 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1434 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1435 (NUM_LEADING_BYTES): Changed from 128 to 256.
1436 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1437 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1439 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1441 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1443 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1444 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1445 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1446 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1447 (Qchinese_cns11643_3): New variable in UTF2000.
1448 (Qchinese_cns11643_4): New variable in UTF2000.
1449 (Qchinese_cns11643_5): New variable in UTF2000.
1450 (Qchinese_cns11643_6): New variable in UTF2000.
1451 (Qchinese_cns11643_7): New variable in UTF2000.
1452 (syms_of_mule_charset): Define `chinese-cns11643-3',
1453 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1454 and `chinese-cns11643-7' in UTF2000.
1455 (vars_of_mule_charset): Initialize
1456 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1458 (complex_vars_of_mule_charset): Setup charset
1459 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1460 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1462 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1464 * mule-charset.c: Move setting for `leading-code-private-11' from
1465 `syms_of_mule_charset' to `vars_of_mule_charset'.
1467 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1469 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1470 and `NUM_LEADING_BYTES' in assert.
1472 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1474 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1476 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1477 `NUM_LEADING_BYTES' instead of 128.
1479 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1481 * mule-charset.h (charset_by_leading_byte): Use
1482 `NUM_LEADING_BYTES' instead of 128.
1483 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1485 * mule-charset.c (charset_by_leading_byte): Use
1486 `NUM_LEADING_BYTES' instead of 128.
1487 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1489 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1492 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1494 * mule-charset.c (syms_of_mule_charset): Update to
1497 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1499 * file-coding.c (encode_coding_sjis): New implementation for
1500 UTF2000. (decode_coding_sjis): Ditto.
1502 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1504 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1505 Don't define in UTF2000.
1507 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1510 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1511 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1514 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1516 * config.h.in (CHAR_IS_UCS4): New macro.
1518 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1519 conventional MULE representation.
1520 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1522 * mule-charset.h: Reverted to original.
1524 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1525 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1526 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1528 * character.h: New file.
1530 * file-coding.c (Fmake_coding_system): Set 1 to
1531 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1533 (encode_coding_no_conversion): New implementation for UTF2000.
1535 * file-coding.h (struct Lisp_Coding_System): Add new member
1538 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1540 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1541 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1542 (encode_coding_iso2022): New implementation for UTF2000.
1544 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1546 * mule-canna.c (c2mu): New implementation for UTF2000.
1549 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1551 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1553 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1555 * file-coding.c (reset_encoding_stream): Set 0 to
1556 `str->iso2022.current_char_boundary' in UTF2000.
1557 (encode_utf8): Don't define in UTF2000.
1558 (encode_coding_utf8): New implementation for UTF-8 representation
1560 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1562 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1564 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1566 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1568 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1570 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1572 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1573 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1574 as UTF-8 in UTF2000.
1575 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1576 (non_ascii_valid_char_p): Don't define in UTF2000.
1577 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1578 (Lstream_get_emchar_1): Likewise.
1579 (utf-2000-version): New variable in UTF2000.
1581 * lread.c (read_escape): Add new reader `u'.
1583 * insdel.c (three_to_one_table): Don't define in UTF2000.
1584 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1585 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1587 (bytind_to_bufpos_func): Likewise.
1588 (buffer_mule_signal_inserted_region): Likewise.
1589 (vars_of_insdel): Don't initialize `three_to_one_table'.
1590 (init_buffer_text): Use `buf->text->mule_size' instead of
1591 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1594 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1595 UTF-8 representation in UTF2000.
1596 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1597 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1598 (decode_coding_iso2022): Don't define local variable `lb' in
1599 UTF2000; don't use LEADING_BYTE in UTF2000; use
1600 `DECODE_ADD_UCS_CHAR' in UTF2000.
1601 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1603 * config.h.in (UTF2000): New macro.
1605 * buffer.h (struct buffer_text): Add new member `mule_size' and
1606 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1607 (valid_char_p): Return always 1 in UTF2000.
1608 (MAX_EMCHAR_LEN): 6 in UTF2000.
1609 (three_to_one_table): Don't define in UTF2000.
1610 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1612 (real_bytind_to_bufpos): Likewise.
1614 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1616 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1618 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1619 representation change.
1620 (Vutf_2000_version): New variable.
1621 (leading_code_private_11): New variable.
1622 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1623 `leading-code-private-11'.
1625 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1626 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1627 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1628 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1629 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1630 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1631 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1632 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1633 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1634 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1635 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1636 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1637 (MIN_CHAR_GREEK): New macro.
1638 (MAX_CHAR_GREEK): New macro.
1639 (MIN_CHAR_CYRILLIC): New macro.
1640 (MAX_CHAR_CYRILLIC): New macro.
1641 (MIN_CHAR_HEBREW): New macro.
1642 (MAX_CHAR_HEBREW): New macro.
1643 (MIN_CHAR_THAI): New macro.
1644 (MAX_CHAR_THAI): New macro.
1645 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1646 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1647 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1648 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1649 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1650 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1651 (CHAR_FIELD2): New inline function.
1652 (CHAR_FIELD3): New inline function.
1653 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1654 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1655 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1656 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1657 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1658 (MIN_CHAR_COMPOSITION): Likewise.
1659 (CHAR_LEADING_BYTE): Modified for character representation change.
1660 (MAKE_CHAR): Likewise.
1662 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1663 (Vcharset_greek_iso8859_7): Likewise.
1664 (Vcharset_cyrillic_iso8859_5): Likewise.
1665 (Vcharset_hebrew_iso8859_8): Likewise.
1666 (Vcharset_thai_tis620): Likewise.
1667 (Vcharset_katakana_jisx0201): Likewise.
1669 1999-12-14 Martin Buchholz <martin@xemacs.org>
1671 * XEmacs 21.2.24 is released.
1673 1999-12-13 Martin Buchholz <martin@xemacs.org>
1675 * sound.c (vars_of_sound): Provide esd-sound if HAVE_ESD_SOUND
1677 * nas.c: Fix compiler warnings. Ansify. C++ compilation support.
1679 1999-12-13 Kazuyuki IENAGA <ienaga@jsys.co.jp>
1681 * input-method-xlib.c: Make sure src/ does not use Athena, except
1682 indirectly through lwlib.
1684 1999-12-13 Gunnar Evermann <ge204@eng.cam.ac.uk>
1686 * dbxrc (pobj): Add opaque_ptr, remove opaque_list.
1688 1999-12-10 Shenghuo ZHU <zsh@cs.rochester.edu>
1690 * file-coding.c (add_coding_system_to_list_mapper):
1691 - (coding-system-list) should list aliases correctly.
1693 1999-12-07 Andy Piper <andy@xemacs.org>
1695 * fileio.c (vars_of_fileio): directory separator fix from Mike Alexander.
1696 * windowsnt.h (ditto):
1698 1999-11-27 Adrian Aichner <aichner@ecf.teradyne.com>
1700 * sysfile.h: Encapsulate `fstat' for Windows NT just like stat to
1701 get consistent file modification times.
1703 * sysdep.h: Declare `wait_for_termination' to use process handle,
1704 not PID, on Windows NT native.
1706 * sysdep.c (wait_for_termination): Use process handle, not PID, on
1707 Windows NT native. Set exit code correctly on Windows NT.
1708 (sys_subshell): Use process handle, not PID,
1709 on Windows NT native.
1710 (sys_fstat): Add ENCAPSULATE_FSTAT for Windows NT.
1712 * process-nt.c (nt_create_process): Remove negative pid hack for
1714 (nt_send_process): Declare vol_proc volatile.
1715 (get_internet_address): warn_when_safe if IP address cannot be
1717 (nt_open_network_stream): warn_when_safe if network stream fails
1720 * ntproc.c (create_child): Remove negative pid hack for Windows
1721 95. Remove incorrect and unnecessary USE_UNION_TYPE handling.
1723 * nt.c (fstat): Encapsulate for Windows NT just like stat to get
1724 consistent file modification times.
1726 * callproc.c (call_process_cleanup): Use process handle, not PID,
1727 on Windows NT native.
1728 (Fcall_process_internal): Ditto. Close fd_error in parent. Don't
1729 check for negative pid on Windows NT/9[58].
1731 1999-12-07 Martin Buchholz <martin@xemacs.org>
1733 * XEmacs 21.2.23 is released.
1735 1999-12-06 Martin Buchholz <martin@xemacs.org>
1737 * events.c (Fcopy_event): Don't copy the lrecord_header.
1739 * lisp.h (DO_REALLOC):
1741 Remove redundant parens.
1742 Remove generic hygienic macro comment.
1744 * lrecord.h (set_lheader_implementation): Remove redundant parens.
1746 1999-12-05 Martin Buchholz <martin@xemacs.org>
1748 * lstream.c (Lstream_adding):
1749 - Never compare a size_t and a possibly negative number.
1752 1999-12-05 Kyle Jones <kyle_jones@wonderworks.com>
1754 * lisp/itimer.el: (require 'lisp-float-type). Use
1755 floats directly in itimer-time-difference.
1757 1999-12-05 Andy Piper <andy@xemacs.org>
1759 * redisplay-output.c (redisplay_output_layout): avoid name hiding.
1761 * gui.h: declare gui_add_item_keywords_to_plist.
1763 * window.c (Fdelete_window): mark subwindows as changed so that
1764 they can be GC'd if necessary.
1766 1999-12-02 Jan Vroonhof <vroonhof@math.ethz.ch>
1768 * src/callproc.c (Fcall_process_internal): Be careful in writing
1769 terminating null when copying args. nargs can be < 4.
1770 Idea from Klaus Frank <klausf@i3.informatik.rwth-aachen.de>
1772 1999-11-29 Kyle Jones <kyle_jones@wonderworks.com>
1774 * src/sound.c (Fding): Remove zero initialization of
1775 static variables to avoid crashes on systems that dump
1776 the initialized data segment read-only.
1778 1999-12-05 Jan Vroonhof <vroonhof@math.ethz.ch>
1780 * glyphs-x.c (convert_EImage_to_XImage): Guard against other
1781 visual classes. From Rasmus Borup Hansen <rbh@math.ku.dk>
1783 1999-12-04 Martin Buchholz <martin@xemacs.org>
1785 * lstream.c: (filedesc_reader):
1786 (filedesc_writer): Try number 2: Support broken systems where
1787 return type of read() and write() is different from ssize_t.
1792 - Replace macro calls to EMACS_GET_TTY and EMACS_SET_TTY with
1793 function equivalents emacs_get_tty() and emacs_set_tty().
1794 - Moved prototypes to systty.h, where struct event_tty is defined.
1795 - Renamed bogus `waitp' parameter to `flushp'.
1797 * lstream.c (filedesc_reader): Support broken systems where return
1798 type of read() is different from ssize_t.
1800 * events.c (Fcopy_event): Avoid redundant EQ test if event2 is nil.
1802 * event-stream.c (menu_move_up): Remove redundant if block.
1803 (menu_move_down): Gratuitous rewriting.
1804 (menu_move_left): Work around Cygnus codefusion-990706 compiler bug.
1805 (menu_move_right): Ditto.
1807 * lrecord.h (copy_lcrecord):
1809 Always add parentheses around uses of macro arguments.
1811 * sysdll.c: #include <stdlib.h> for exit().
1812 * unexhp9k800.x: #include <stdlib.h> for malloc().
1813 Use proper prototype for Save_Shared_Data(void).
1815 1999-12-04 Jan Vroonhof <vroonhof@math.ethz.ch>
1817 * src/redisplay.c (point_would_be_visible): Correct for topclip.
1819 1999-12-02 Hrvoje Niksic <hniksic@iskon.hr>
1821 * lisp.h: Declare Qself_insert_defer_undo.
1823 * event-stream.c (Fdispatch_event): Get the magic undo thing from
1824 a symbol property, so commands other than self-insert-command can
1826 (syms_of_event_stream): Define Qself_insert_defer_undo.
1828 1999-11-30 Martin Buchholz <martin@xemacs.org>
1830 * floatfns.c (emacs_rint): Rename rint to emacs_rint, so that
1831 `#undef HAVE_RINT' works.
1833 * sysdep.h: Fix up prototypes for sys_read_1(), sys_write_1()
1835 1999-11-25 Andy Piper <andy@xemacs.org>
1837 * select-msw.c (Fmswindows_set_clipboard): selection fixes from
1839 (Fmswindows_delete_selection): ditto.
1841 * redisplay.h (CLASS_REDISPLAY_FLAGS_CHANGEDP): add size_changed.
1842 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
1844 * redisplay.c (redisplay_device): move size changed to macros in
1846 (redisplay_without_hooks): ditto.
1848 * redisplay-output.c (redisplay_output_layout): rename to avoid
1851 * process-nt.c (struct nt_process_data): mks toolkit fixes from
1853 (nt_create_process): ditto.
1854 (nt_send_process): ditto.
1856 * nt.c (init_environment): make sure mingw32 gets the cached
1859 * gui.h: declare gui_add_item_keywords_to_plist.
1861 * event-msw.c (mswindows_wnd_proc): Clipboard fixes from Mike
1864 * console-msw.h: fix cygwin define/header 1.0 problems.
1865 * glyphs-msw.c: ditto.
1868 * s/cygwin32/h: ditto.
1870 1999-11-29 XEmacs Build Bot <builds@cvs.xemacs.org>
1872 * XEmacs 21.2.22 is released
1874 1999-11-28 Martin Buchholz <martin@xemacs.org>
1876 * XEmacs 21.2.21 is released.
1878 1999-11-26 Martin Buchholz <martin@xemacs.org>
1880 * callproc.c (Fcall_process_internal):
1883 * event-msw.c (ntpipe_slurp_reader):
1884 * event-msw.c (ntpipe_shove_writer):
1885 * event-msw.c (winsock_reader):
1886 * event-msw.c (winsock_writer):
1887 * event-stream.c (dribble_out_event):
1889 * fileio.c (Fexpand_file_name):
1890 * glyphs-x.c (write_lisp_string_to_temp_file):
1891 * gpmevent.c (tty_get_foreign_selection):
1892 * lisp.h: Update prototypes.
1893 * lstream.c (Lstream_flush_out):
1894 * lstream.c (Lstream_write_1):
1895 * lstream.c (Lstream_was_blocked_p):
1896 * lstream.c (Lstream_read_more):
1897 * lstream.c (Lstream_read):
1898 * lstream.c (Lstream_fputc):
1899 * lstream.c (make_stdio_output_stream):
1900 * lstream.c (stdio_flusher):
1901 * lstream.c (stdio_closer):
1902 * lstream.c (make_filedesc_output_stream):
1903 * lstream.c (errno_would_block_p):
1904 * lstream.c (filedesc_writer):
1905 * lstream.c (make_lisp_string_input_stream):
1906 * lstream.c (make_fixed_buffer_output_stream):
1907 * lstream.c (fixed_buffer_reader):
1908 * lstream.c (make_resizing_buffer_output_stream):
1909 * lstream.c (make_dynarr_output_stream):
1910 * lstream.c (make_lisp_buffer_output_stream):
1911 * lstream.c (lisp_buffer_reader):
1912 * lstream.h (lstream_implementation):
1914 * miscplay.h (reset_parsestate):
1915 * process-nt.c (nt_send_process):
1916 * process-unix.c (unix_send_process):
1918 * sysdep.c (sys_close):
1919 * sysdep.c (sys_read_1):
1920 * sysdep.c (sys_write_1):
1922 * file-coding.c (determine_real_coding_system):
1923 * file-coding.c (Fdetect_coding_region):
1924 * file-coding.c (struct decoding_stream):
1925 * file-coding.c (decoding_reader):
1926 * file-coding.c (Fdecode_coding_region):
1927 * file-coding.c (struct encoding_stream):
1928 * file-coding.c (encoding_reader):
1929 * file-coding.c (Fencode_coding_region):
1930 * file-coding.c (convert_to_external_format):
1931 * file-coding.c (convert_from_external_format):
1932 - Lstream functions mirror Unix98 read(),write(). Therefore use
1933 Unix98 types size_t and ssize_t.
1934 - Try to make Lstream* functions 64-bit clean. Someday someone
1935 may actually want to read from a Lstream with more than 2**32 bytes.
1936 - Add configure support for ssize_t.
1937 - Update all callers of Lstream_read and Lstream_write to
1939 - Fix esd* initiated C++ compile errors.
1940 - Remove comments referring to `fpurge' - we don't want to call it
1944 - Remove some lingering Lucid compiler support.
1947 - Add prototype for Fdelete_process.
1949 * gpmevent.c (Freceive_gpm_event): Remove unused variables.
1951 1999-11-27 Martin Buchholz <martin@xemacs.org>
1953 * Makefile.in.in (depend): Only update `depend' if there were changes.
1955 1999-11-26 Martin Buchholz <martin@xemacs.org>
1957 * editfns.c (get_system_name): Remove.
1959 1999-11-26 Martin Buchholz <martin@xemacs.org>
1961 * device-x.c (x_init_device):
1962 - Replace magic number `17' with equivalent expn using sizeof.
1963 - Replace strcmp with marginally more efficient memcmp.
1964 - Avoid using C++ reserved word `class'.
1966 * file-coding.c (determine_real_coding_system):
1967 - Look for both initial and final -*- cookies.
1968 - Replace EQ (foo, Qnil) with NILP (foo)
1969 - Make searching for cookies more efficient.
1970 - Recognize only rfc 1521 characters in charset names.
1972 1999-11-22 Kazuyuki IENAGA <kazz@imasy.or.jp>
1974 * input-method-xlib.c (IMDestroyCallback): #ifdef'd by
1975 "THIS_IS_X11R6", because it shouldn't be evaluated unless X11R6.
1976 * input-method-xlib.c (IMInstantiateCallback): Ditto.
1977 * input-method-xlib.c (XIM_init_device): Revive XOpenIM function
1978 call for X11R5 systems.
1979 * input-method-xlib.c (XIM_delete_frame): Enabled XDestroyIC()
1980 again because XIM doesn't concern with frame deletion itself.
1981 The XIC will be cleared by XIM when XIM is closing (at XIM destroy
1984 1999-10-25 Kazuyuki IENAGA <kazz@imasy.or.jp>
1986 * input-method-xlib.c: Added new lisp object Qxim_xlib.
1987 New macro xim_warn(str), xim_warn1(fmt,str) and xim_info(str).
1988 All the valid stderr_out were changed to those macros.
1989 (IMDestroyCallback): Don't test the XIC if the frame is not X
1991 (IMInstantiateCallback): Treat the client_data as "device" not
1992 "frame" because the caller changed from frame to device.
1993 Here initializes XIM and activates XICs for each frame which
1995 (XIM_init_device): Register the XIM instantiation callback which
1996 had been performed by XIM_init_frame() before.
1997 (XIM_delete_frame): Added a test for the XIM before clearing XIC.
1998 (XIM_init_frame): Placed an actual code for XIC activation which
1999 was moved from IMInstantiateCallback.
2000 (syms_of_input_method_xlib): New function which includes a symbol
2001 Qxim_xlib that uses in emacs.c.
2003 * emacs.c: Added a function entry "syms_of_input_method_xlib" for
2006 * symsinit.h: Added a declaration of "syms_of_input_method_xlib".
2008 1999-11-05 Robert Pluim <rpluim@bigfoot.com>
2010 * emacs.c (shut_down_emacs): Point users to PROBLEMS file
2012 1999-11-16 Jan Vroonhof <vroonhof@math.ethz.ch>
2014 * redisplay-output.c (compare_runes): Add comments about
2015 results from profiling.
2017 * redisplay.h (struct rune): Do not use bitfields for members.
2018 (struct rune): Add various comments about further optimizations.
2020 1999-11-19 Eric Darve <darve@crocco.stanford.edu>
2022 * abbrev.c (abbrev_oblookup): Check whether wordend <= wordstart
2023 if Vabbrev_start_location is used too.
2025 1999-10-27 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
2027 * file-coding.c (detect_eol_type): Return CR when two
2028 sequential CR are found.
2029 (determine_real_coding_system): Check EOL type when coding:
2030 cookie is found and EOL type is not specified.
2031 Don't assume 8bit char as part of coding: cookie.
2033 1999-10-26 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
2035 * file-coding.c (determine_real_coding_system): Check if
2036 '-*-' exists. End searching for coding: cookie at the end
2037 of line. Check whether character before coding: is space,
2040 1999-11-07 William M. Perry <wmperry@aventail.com>
2042 * gpmevent.c: Completely rewrote GPM mouse support for linux
2043 console. The TTY console and event stream are modified at run
2044 time, so this code can now be used as a module.
2045 (tty_get_foreign_selection): New function to allow pasting from
2046 other virtual consoles.
2047 (Fgpm_enable): New lisp-visible function to turn GPM on or off
2050 * device-tty.c (tty_asynch_device_change): No longer need to
2051 notify GPM code of window/console height/width changes.
2053 * console-tty.c (tty_init_console): Removed outdated GPM support
2054 that was part of the console/event code.
2056 * event-Xt.c (emacs_Xt_select_console): Ditto
2058 * event-Xt.c (emacs_Xt_unselect_console): Ditto
2060 * event-unixoid.c (read_event_from_tty_or_stream_desc): Ditto
2062 * frame-tty.c (console_type_create_frame_tty): Ditto
2064 1999-11-17 Martin Buchholz <martin@xemacs.org>
2070 - Use Unix 98 types uid_t, gid_t, pid_t.
2073 1999-11-01 Olivier Galibert <galibert@pobox.com>
2075 * alloc.c (reinit_alloc_once_early): Move purify_flag init...
2076 * emacs.c (main_1): ...here, to get the correct value even with
2077 the portable dumper.
2079 1999-11-17 Martin Buchholz <martin@xemacs.org>
2081 * lisp.h (BIT_VECTOR_LONG_STORAGE): Add extra parens. It's a macro!
2083 * tooltalk.c (tt_build_string): Remove extra parens.
2084 * process.c (print_process): Remove extra parens.
2085 * buffer.h (BI_BUF_PTR_BYTE_POS):
2087 (BI_BUF_BYTE_ADDRESS):
2088 (BI_BUF_BYTE_ADDRESS_BEFORE):
2092 Remove extra parens. Inline functions are not macros.
2094 * editfns.c (Fuser_login_name):
2096 Use proper type uid_t.
2098 1999-11-15 Martin Buchholz <martin@xemacs.org>
2100 * syntax.c (complex_vars_of_syntax): Make more readable.
2101 (define_standard_syntax): New function.
2103 * syntax.c (forward-comment): Gradually make XEmacs 64-bit-clean.
2105 1999-11-14 Martin Buchholz <martin@xemacs.org>
2107 * mule-ccl.c (CCL_WRITE_STRING): Fix compiler warnings.
2109 1999-11-12 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
2111 * mule-charset.h (LEADING_BYTE_OFFICIAL_1, LEADING_BYTE_OFFICIAL_2):
2112 New enum type to make sure no gap in the leading byte definition.
2114 1999-11-11 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
2116 * mule-charset.h (LEADING_BYTE_CYRILLIC_ISO_8859_5,
2117 LEADING_BYTE_LATIN_ISO8859_9): Moved to 0x8B and 0x8C
2118 to remove a hole in leading byte definition.
2120 1999-11-10 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
2122 * mule-charset.c (non_ascii_valid_charptr_p): Check if
2123 private charset is defined.
2125 1999-11-09 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
2127 * mule-ccl.c (ccl_driver): Make sure generated sequences
2128 are valid when doing `CCL_WRITE_STRING'.
2129 (ccl-execute-on-string): Pass CCL_MODE_DECODING to ccl_driver.
2131 1999-11-10 XEmacs Build Bot <builds@cvs.xemacs.org>
2133 * XEmacs 21.2.20 is released
2135 1999-11-04 Martin Buchholz <martin@xemacs.org>
2137 * mule-ccl.c (ccl_driver): Warning suppression
2139 1999-11-01 SL Baur <steve@miho.m17n.org>
2141 * emacs.c (main_1): Guard call to reinit_vars_of_debug when not
2142 building a debugged XEmacs.
2144 1999-10-28 Andreas Jaeger <aj@suse.de>
2146 * src/emacs.c (main_1): Don't set the malloc hooks if using
2149 1999-10-30 Olivier Galibert <galibert@pobox.com>
2151 * alloc.c (pdump_dump_rtables): Don't forget to dump the last
2155 1999-10-25 Olivier Galibert <galibert@pobox.com>
2157 * emacs.c (main_1): Call reinit_vars_of_scrollbar_x.
2159 * symsinit.h: Declare reinit_vars_of_scrollbar_x.
2161 1999-10-25 Martin Buchholz <martin@xemacs.org>
2163 * redisplay.h (CLASS_RESET_CHANGED_FLAGS):
2164 (GLOBAL_RESET_CHANGED_FLAGS):
2165 (CLASS_REDISPLAY_FLAGS_CHANGEDP):
2166 (RESET_CHANGED_SET_FLAGS):
2167 Fix C++ compile errors/warnings.
2168 These macros were just a tad too clever.
2170 * process-unix.c (unix_open_network_stream):
2171 * objects-x.c (allocate_nearest_color):
2172 * mule-charset.c (vars_of_mule_charset):
2173 * fileio.c (Ffile_truename):
2174 * file-coding.c (vars_of_file_coding):
2175 Fix compile errors/warnings.
2177 * alloc.c (xstrdup): Use fact that memcpy returns its first arg.
2178 (allocate_lisp_storage): Simplify.
2180 1999-10-24 Olivier Galibert <galibert@pobox.com>
2182 * conslots.h: Add defines with first and last slot names.
2183 * bufslots.h: Add defines with first and last slot names.
2185 * buffer.c (common_init_complex_vars_of_buffer): Renamed from
2186 reinit_complex_vars_of_buffer
2187 (reinit_complex_vars_of_buffer): Reset the slots to the dumped
2189 (complex_vars_of_buffer): Dump the slots values.
2191 * console.c (common_init_complex_vars_of_console): Renamed from
2192 reinit_complex_vars_of_console
2193 (reinit_complex_vars_of_console): Reset the slots to the dumped
2195 (complex_vars_of_console): Dump the slots values.
2197 * alloc.c: Rename reloc_table to pdump_reloc_table, rt_list to
2198 pdump_rt_list and move them at the beginning of the file.
2199 (gc_sweep): Unmark pdumped objects after the sweep phase.
2200 (pdump_dump_rtables): Change a bare 256 to
2201 last_lrecord_type_index_assigned. Add a separator between the
2202 adresses or lrecords and the ones of C structs in the dump file.
2203 (pdump_load): Cope with the new separator and the renamings. Stop
2204 looking for the hash tables list after it has been found (duh!).
2206 1999-10-24 Robert Bihlmeyer <robbe@orcus.priv.at>
2208 * sound.c: support HAVE_ESD_SOUND
2212 * linuxplay.c: Move large part of linuxplay to generalized file
2213 miscplay. Make it platform independent.
2217 1999-10-24 Adrian Aichner <aichner@ecf.teradyne.com>
2219 * lisp.h (Dynarr_declare): Fix boo-boo.
2221 1999-10-24 Olivier Galibert <galibert@pobox.com>
2223 * process-unix.c (allocate_pty): Fix HAVE_GETPT.
2226 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
2228 * redisplay.c (start_with_line_at_pixpos): Remove assert(cur_elt
2229 >=0). Handle the cur_elt == 0 case.
2231 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
2233 * unexelf.c: Merge Martin's c++ fixes back in
2235 1999-10-20 Jan Vroonhof <vroonhof@math.ethz.ch>
2237 * unexelf.c (unexec): Only copy the global offset
2238 table from memory on sgi machines.
2240 1999-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Vin Shelton <acs@xemacs.org>
2242 * unexelf.c: Enable GNU/Linux/alpha to build with gcc 2.95 by
2243 adding support for an sbss section. Get IRIX 5.2 to build using
2246 * m/iris4d.h: Use unexelf.o for unexec.
2248 * m/iris5d.h: Use unexelf.o for unexec.
2250 1999-10-24 Jan Vroonhof <vroonhof@math.ethz.ch>
2252 * unexelf.c: Revert to 21.1 version
2254 1999-08-28 Jan Vroonhof <vroonhof@math.ethz.ch>
2256 * window.c (Fwindow_truncated_p): New function.
2258 1999-08-25 Jonathan Marten <jonathan.marten@uk.sun.com>
2260 * window.c (window_truncation_on): Always return 0 for minibuffer
2261 windows, to enable auto scrolling.
2263 1999-10-24 Neal Becker <nbecker@fred.net>
2264 * process.h: Unix98 PTY support
2266 1999-10-17 Jan Vroonhof <vroonhof@math.ethz.ch>
2268 * fileio.c (Ffile_truename): Do proper mule decoding on
2269 the argument to xrealpath()
2271 1999-08-19 Stephen Tse <stephent@sfu.ca>
2273 * process-unix.c (unix_open_network_stream): Add udp network
2274 support; rename variable Qtcpip to Qtcp, parameter family to
2275 protocol for consistency with Qudp.
2277 * process-nt.c (nt_open_network_stream): Rename variable Qtcpip to
2278 Qtcp, parameter family to protocol for consistency with Qudp.
2280 * process.c (global_variables): Add a new variable Qudp for udp
2281 network support; rename variable Qtcpip to Qtcp for consistency
2283 (Fopen_network_stream_internal): Rename parameter FAMILY to
2284 PROTOCOL for consistency; fix a minor typo and add an explanation
2285 in docstring for udp programming.
2286 (Fopen_multicast_group_internal): Fix a minor typo in docstring.
2287 (syms_of_process): Add a new variable Qudp for udp network
2288 support; rename variable Qtcpip to Qtcp for consistency with Qudp.
2290 * process.h (extern_variables): Add a new variable Qudp for udp
2291 network support; rename variable Qtcpip to Qtcp for consistency
2294 * procimpl.h: Add a new variable Qudp for udp network support;
2295 rename variable Qtcpip to Qtcp for consistency with Qudp.
2296 (struct process_methods): Rename parameter family to protocol.
2299 1999-10-24 Olivier Galibert <galibert@pobox.com>
2301 * alloc.c (pdump_make_hash): Divide pointers by 8 for a better hash.
2303 1999-10-23 Olivier Galibert <galibert@pobox.com>
2305 * lrecord.h (struct lrecord_header): Removed dumped flags.
2307 * dynarr.c: Use DUMPEDP instead of dumped flag.
2309 * lisp.h (DUMPEDP): Added. Removed dumped flag from dynarr.
2311 * alloc.c: Removed hash_next linked list pointer.
2313 * *.c *.h: Removed markobj and mark_object parameters, removed GC_
2316 1999-10-14 Andy Piper <andy@xemacs.org>
2318 * redisplay-x.c (x_output_shadows): fix dodgy maths for border
2321 * gutter.c (output_gutter): be more accurate about the area to be
2322 cleared since X seems to manage to do the clear after drawing the
2325 * redisplay.h (RESET_CHANGED_FLAGS): new macro for setting
2326 redisplay flags as a group.
2327 (RESET_CHANGED_SET_FLAGS): ditto.
2328 (CLASS_RESET_CHANGED_FLAGS): ditto.
2329 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
2330 (REDISPLAY_FLAGS_CHANGEDP): new macro for testing redisplay flags
2332 (CLASS_REDISPLAY_FLAGS_CHANGEDP): ditto.
2333 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
2335 * redisplay.c (redisplay_frame): use CLASS_RESET_CHANGED_FLAGS
2336 instead of setting flags individually.
2337 (redisplay_device): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
2338 (redisplay_device): ditto.
2339 (redisplay_device): ditto CLASS_RESET_CHANGED_FLAGS.
2340 (redisplay_without_hooks): ditto GLOBAL_REDISPLAY_FLAGS_CHANGEDP.
2341 (redisplay_without_hooks): ditto CLASS_REDISPLAY_FLAGS_CHANGEDP.
2342 (redisplay_without_hooks): ditto.
2343 (redisplay_without_hooks): ditto GLOBAL_RESET_CHANGED_FLAGS.
2345 * redisplay-x.c (x_output_string): unmap subwindows in the area.
2346 (x_output_blank): ditto.
2348 * redisplay-output.c (redisplay_output_display_block): don't unmap
2349 subwindows in case layout optimization can avoid it.
2350 (redisplay_output_subwindow): unmap subwindows in the area.
2351 (redisplay_output_layout): optimize the output of layouts - only
2352 output glyphs that have changed if nothing else of redisplay
2353 significance has occurred.
2354 (redisplay_output_pixmap): change args to
2355 redisplay_clear_clipped_region.
2356 (redisplay_clear_clipped_region): allow the clipped region to be
2357 cleared of all subwindows except the one passed in.
2359 * redisplay-msw.c (mswindows_output_blank): unmap subwindows in
2361 (mswindows_output_cursor): ditto.
2362 (mswindows_output_string): ditto.
2364 * gutter.c (calculate_gutter_size): if the window buffer is nil
2365 then don't continue.
2366 (update_frame_gutters): be more lenient about when we actually
2367 update the gutter. Layout optimization makes this
2368 non-costly. Cache redisplay flags that we want to temporarily
2371 * glyphs.c (Fglyph_animated_timeout_handler): handle image
2372 specific timeouts rather than iterating over the instance cache.
2373 (glyph_animated_timeout_mapper): deleted.
2374 (add_glyph_animated_timeout): use a weak list to hold onto the
2375 image so that it can be GC'ed.
2376 (disable_glyph_animated_timeout): disable a specific timeout.
2377 (vars_of_glyphs): disable-animated-pixmaps is a new boolean for
2378 controlling whether pixmaps are animated or not.
2380 * glyphs-msw.c (mswindows_finalize_image_instance): make sure the
2381 image timeout gets disabled when the image gets freed.
2383 * glyphs-eimage.c (gif_instantiate): remove meaningless
2384 comment. Cope with timeouts specified in the gif extension block.
2386 * event-msw.c (vars_of_event_mswindows): new variable
2387 mswindows-meta-activates-menu.
2388 (mswindows_wnd_proc): only goto defproc with VK_MENU if the user
2391 * glyphs-x.c (x_finalize_image_instance): delete mask first so
2392 that we can compare with image.
2394 1999-10-14 Jonathan Harris <jhar@tardis.ed.ac.uk>
2396 * event-msw.c (mswindows_key_to_emacs_keysym):
2397 Recognise keypad keys as different from normal keys.
2399 1999-10-14 Didier Verna <didier@xemacs.org>
2401 * glyphs-x.c (x_finalize_image_instance): avoid freeing null pixmaps.
2403 1999-10-10 Olivier Galibert <galibert@pobox.com>
2405 * symbols.c (init_symbols_once_early): dump Vquit_flag.
2407 * symsinit.h: Updated.
2409 * ntproc.c (vars_of_ntproc): Use defsymbol.
2411 * emacs.c (main_1): Updated reinit calls.
2413 * lisp.h: Removed Fpurecopy and pure_put declarations.
2414 * fns.c: Removed pure_put.
2416 * eval.c (Fdefvar): pure_put -> Fput
2418 * frame-x.c (init_x_prop_symbols): Ditto.
2419 * symbols.c (deferror): Ditto.
2421 * alloc.c (Fmake_byte_code): Remove Fpurecopy call.
2422 * buffer.c (vars_of_buffer): Ditto.
2423 * bytecode.c (Ffetch_bytecode): Ditto.
2424 (optimize_compiled_function): Ditto.
2425 * emacs.c (vars_of_emacs): Ditto.
2426 * emodules.c (vars_of_module): Ditto.
2427 * eval.c (define_function): Ditto.
2429 * frame.c (vars_of_frame): Ditto.
2430 * intl.c (Fset_domain): Ditto.
2431 * lread.c (load_force_doc_string_unwind): Ditto.
2432 * menubar.c (vars_of_menubar): Ditto.
2433 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
2435 * debug.c (reinit_vars_of_debug): Extracted.
2436 * device-x.c (reinit_vars_of_device_x): Ditto.
2437 * emodules.c (reinit_vars_of_module): Ditto.
2438 * font-lock.c (reinit_vars_of_font_lock): Ditto.
2439 * glyphs-widget.c (reinit_vars_of_glyphs_widget): Ditto.
2440 * glyphs.c (reinit_vars_of_glyphs): Ditto.
2441 * gui-x.c (reinit_vars_of_gui_x): Ditto.
2442 * insdel.c (reinit_vars_of_insdel): Ditto.
2443 * menubar-x.c (reinit_vars_of_menubar_x): Ditto.
2444 * minibuf.c (reinit_complex_vars_of_minibuf): Ditto.
2445 * mule-wnnfns.c (reinit_vars_of_mule_wnn): Ditto.
2446 * print.c (reinit_vars_of_print): Ditto.
2447 * redisplay.c (reinit_vars_of_redisplay): Ditto.
2448 * select-x.c (reinit_vars_of_xselect): Ditto.
2449 * undo.c (reinit_vars_of_undo): Ditto.
2451 1999-10-10 Olivier Galibert <galibert@pobox.com>
2453 * symsinit.h: Updated declarations, see other ChangeLog entries.
2455 * redisplay.c (init_redisplay): Ensure proper reinitialisation.
2457 * lrecord.h (XD_DYNARR_DESC): Introduce XD_INT_RESET and use it.
2459 * glyphs.c: Add the ii_keyword_entry and related descriptions.
2460 Fix the image_instantiator_methods one.
2462 * file-coding.c: Plonk all data that needs to be dumped in a
2463 dynamically allocated structure.
2465 * extents.c (reinit_vars_of_extents): Extracted from
2468 * event-stream.c (vars_of_event_stream): Don't staticpro when
2469 pdump_wire is enough.
2471 * event-msw.c (reinit_vars_of_event_mswindows): Extracted from
2472 vars_of_event_mswindows.
2474 * event-Xt.c (reinit_vars_of_event_Xt): Extracted from
2477 * eval.c (vars_of_eval): Don't staticpro when pdump_wire is enough.
2479 * emacs.c (main_1): Added some reinit calls.
2481 * device-x.c (reinit_console_type_create_device_x): Extracted from
2482 console_type_create_device_x.
2484 * console.h: Declare the console_type_entry_dynarr description.
2486 * console.c: Unstatic the console_type_entry_dynarr description.
2488 * alloc.c: Removed some dubious comments. Handle XD_INT_RESET.
2490 1999-10-07 Olivier Galibert <galibert@pobox.com>
2492 * symsinit.h: Updated declarations, see other ChangeLog entries.
2494 * minibuf.c (reinit_complex_vars_of_minibuf): Extracted from
2495 complex_vars_of_minibuf.
2497 * lrecord.h: Removed XD_PARENT_INDIRECT (unused and
2498 unimplemented), added XD_LO_LINK.
2500 * lisp.h (pdump_wire_list): Add declaration.
2502 * glyphs.h (INITIALIZE_DEVICE_IIFORMAT): Fix bug found by Andy.
2503 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Fix stupid bug.
2504 (REINITIALIZE_IMAGE_INSTANTIATOR_FORMAT): Remove, useless once the
2507 * glyphs.c (reinit_image_instantiator_format_create): Remove.
2509 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
2513 (reinit_image_instantiator_format_create_glyphs_widget): Remove.
2516 (reinit_image_instantiator_format_create_glyphs_mswindows):
2520 (reinit_image_instantiator_format_create_glyphs_eimage): Remove.
2522 * frame.c (Fmake_frame): Don't reset the face cache when using the
2525 * file-coding.c: Dumped the_codesys_prop_dynarr and added all
2526 relevant descriptions.
2528 * events.c (reinit_vars_of_events): Extracted from vars_of_events.
2530 * eval.c: The subr is _not_ a lcrecord.
2532 * emacs.c (main_1): Call vars_of_specifier early before any
2533 specifier creation (e.g in vars_of_glyphs, at least). Remove the
2534 useless reinit_image_instantiator_format*. Add
2535 reinit_vars_of_events and reinit_complex_vars_of_minibuf. Add
2536 calls to lstream_type_create* and process_type_create*.
2538 * elhash.c: Dump Vall_weak_hash_tables correctly.
2540 * data.c: Dump Vall_weak_lists correctly.
2542 * console.c: Fix description.
2544 * console-stream.c (init_console_stream): Do initializations
2545 correctly in the pdump case.
2547 * chartab.c: Fix description. Dump Vall_syntax_tables correctly.
2548 (Fcopy_char_table): Link into Vall_syntax_tables.
2550 * alloc.c (pdump_wire_list): Added.
2551 (Fgarbage_collect): Fix loop in stats couting missing the last
2553 (pdump_register_sub): Added XD_LO_LINK.
2554 (pdump_dump_data): Ditto. Fixed XD_LO_RESET_NIL forgttting the
2556 (pdump_reloc_one): Ditto.
2557 (pdump_scan_by_alignement): Use last_lrecord_type_index_assigned
2559 (pdump_dump_wired): Added lists.
2560 (pdump): Use last_lrecord_type_index_assigned instead of 256.
2561 Dump last_lrecord_type_index_assigned value. Fix minor bugs.
2563 1999-10-07 Andy Piper <andy@xemacs.org>
2565 * glyphs-msw.c (mswindows_finalize_image_instance): zero out
2568 * glyphs-x.c (x_finalize_image_instance): fix FMW problem.
2570 1999-10-06 Andy Piper <andy@xemacs.org>
2572 * elhash.c (resize_hash_table): Correct reference to lrecord_header.
2574 1999-10-06 Damon Lipparelli <lipp@primus.com>
2576 * elhash.h: forward declare Lisp_Hash_Table.
2578 1999-10-06 Andy Piper <andy@xemacs.org>
2580 * glyphs.c (Fset_image_instance_property): mark glyphs as dirty
2581 after setting an image instance property.
2583 1999-10-05 Andy Piper <andy@xemacs.org>
2585 * gutter.c (update_frame_gutters): output gutters if
2586 windows_changed is set. This is the only way of catching changes
2587 in selected window which obviously can affect the specifiers.
2589 * redisplay.c: new state flags, subwindows_state_changed and
2590 subwindows_state_changed set.
2591 (redisplay_window): use them.
2592 (redisplay_device): ditto.
2593 (redisplay_without_hooks): ditto.
2594 (redisplay_frame): ditto. Reset subwindow cachels if
2595 subwindows_changed is set.
2596 (redisplay_window): call mark_glyph_cachels_as_clean after
2599 * redisplay-x.c (x_output_x_pixmap): select correct
2600 pixmap image for display depending on the currently selected
2603 * redisplay-output.c (compare_runes): check dirtiness when
2604 checking RUNE_DGLYPH runes.
2605 (compare_display_blocks): relax invalidation of display blocks
2606 since we can now detect whether individual glyphs have changed or
2609 * redisplay-msw.c (mswindows_output_dibitmap): select correct
2610 bitmap image for display depending on the currently selected
2613 * glyphs.h (struct Lisp_Image_Instance): add a dirty flag.
2614 (IMAGE_INSTANCE_DIRTYP): new macro.
2615 (XIMAGE_INSTANCE_DIRTYP): ditto.
2616 (MARK_IMAGE_INSTANCE_CHANGED): ditto.
2617 (GLYPH_DIRTYP): ditto.
2618 (XGLYPH_DIRTYP): ditto.
2619 (MARK_GLYPH_CHANGED): ditto.
2620 (GLYPH_CACHEL_DIRTYP): ditto.
2621 (struct glyph_cachel): add a dirty flag.
2623 * glyphs.c (update_frame_subwindows): Don't update on
2625 (glyph_animated_timeout_mapper): new function. Map over the
2626 instance cache lookinng for animated images to update.
2627 (Fglyph_animated_timeout_handler): new function. Lisp callback for
2628 handling animated image timeout events.
2629 (disable_glyph_animated_timeout): new function. Add the animated
2631 (disable_glyph_animated_timeout): new function. Remove the
2632 animated image timeout.
2633 (syms_of_glyphs): initialize Qglyph_animated_timeout_handler and
2635 (vars_of_glyphs): initialize Vglyph_animated_ticker.
2636 (image_instance_equal): add the currently displayed slice.
2637 (image_instance_hash): ditto.
2638 (allocate_glyph): initialize dirty flag.
2639 (glyph_width): rename glyph -> glyph_or_image.
2640 (glyph_height_internal): ditto.
2641 (glyph_dirty_p): new function. Determine whether the image
2642 instance in the domain and/or glyph is dirty.
2643 (set_glyph_dirty_p): set the dirtiness.
2644 (update_glyph_cachel_data): take dirtiness into account. Pass the
2645 image instance we are interested in to glyph_width and friends.
2646 (get_glyph_cachel_index): make non-static. Always call
2647 update_glyph_cachel_data.
2648 (mark_glyph_cachels_as_not_updated): meaningless formatting
2650 (mark_glyph_cachels_as_clean): new function. Clean dirtiness from
2653 * glyphs-x.h (struct x_image_instance_data): change
2654 pixmap to a list of pixmaps.
2655 (IMAGE_INSTANCE_X_PIXMAP_SLICE): new macro.
2656 (IMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
2657 (XIMAGE_INSTANCE_X_PIXMAP_SLICE): ditto.
2658 (XIMAGE_INSTANCE_X_PIXMAP_SLICES): ditto.
2660 * glyphs-x.c (x_finalize_image_instance): make sure multi pixmap
2661 images get deleted properly.
2662 (init_image_instance_from_x_image): add slices paramater and use
2663 it to initialize x_image_instance_data correctly.
2664 (image_instance_add_x_image): new function. Add new pixmaps to our
2665 set of instantiated pixmaps for an image. Used by animated images.
2666 (x_init_image_instance_from_eimage): add a slices
2667 parameter. Instantiate all images from the eimage.
2668 (x_xpm_instantiate): update use of
2669 init_image_instance_from_x_image.
2670 (init_image_instance_from_xbm_inline): ditto.
2671 (x_initialize_pixmap_image_instance): add slices paramater and use
2672 it to allocate x_image_instance_data correctly.
2674 * glyphs-msw.h (struct mswindows_image_instance_data): change
2675 bitmap to a list of bitmaps.
2676 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): new macro.
2677 (IMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
2678 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICE): ditto.
2679 (XIMAGE_INSTANCE_MSWINDOWS_BITMAP_SLICES): ditto.
2681 * glyphs-msw.c (init_image_instance_from_dibitmap): add slices
2682 paramater and use it to initialize mswindows_image_instance_data
2684 (image_instance_add_dibitmap): new function. Add new bitmaps to
2685 our set of instantiated bitmaps for an image. Used by animated
2687 (mswindows_init_image_instance_from_eimage): add a slices
2688 parameter. Instantiate all images from the eimage.
2689 (mswindows_xpm_instantiate): update use of
2690 init_image_instance_from_dibitmap.
2691 (bmp_instantiate): ditto.
2692 (init_image_instance_from_xbm_inline): ditto.
2693 (mswindows_finalize_image_instance): make sure all the bitmap
2695 (mswindows_initialize_dibitmap_image_instance): add slices
2696 paramater and use it to allocate mswindows_image_instance_data
2699 * glyphs-eimage.c (jpeg_instantiate): give extra paramter to
2700 init_image_instance_from_eimage.
2701 (png_instantiate): ditto.
2702 (tiff_instantiate): ditto.
2703 (gif_instantiate): allocate bitmaps for all gif slices not just
2706 * device.h (struct device): add subwindows_state_changed flag.
2707 (MARK_DEVICE_SUBWINDOWS_STATE_CHANGED): new macro.
2708 (MARK_DEVICE_FRAMES_GLYPHS_CHANGED): ditto.
2710 * console.h (struct console_methods): add a slice parameter to
2711 init_image_instance_from_eimage_method.
2713 * redisplay.c (create_string_text_block): Allow buffer to be nil
2716 1999-09-24 Andy Piper <andy@xemacs.org>
2718 * glyphs-x.c: only include gui-x.h if we are building with
2721 * gui-x.c (vars_of_gui_x): only set popup_up_p if we have popups.
2723 1999-09-28 Lee Kindness <lkindness@csl.co.uk>
2725 * objects-x.c (allocate_nearest_color): will return 0 (failure)
2726 when the colormap is full and the color it has computed to be the
2727 'nearest' has been allocated read/write.
2729 1999-10-02 Olivier Galibert <galibert@pobox.com>
2731 * search.c (reinit_vars_of_search): Reinit the search cache
2734 * elhash.h: Make the description visible. Declare
2737 * elhash.c (resize_hash_table): Extracted from enlarge_hash_table
2738 to generalize the hash table reorganization.
2739 (reorganize_hash_table): Added.
2740 (enlarge_hash_table): Uses resize_has_table.
2742 * casetab.c (complex_vars_of_casetab): staticpro the mule mirror
2745 * alloc.c: Add correct management of blocks of structures.
2746 Reorganize hash tables at reload since the hash values can change
2749 1999-10-01 Olivier Galibert <galibert@pobox.com>
2751 * lisp.h: Add pdump_wire declaration
2753 * elhash.c (vars_of_elhash): Wire Vall_weak_hash_tables.
2754 * symbols.c (init_symbols_once_early): Wire Qnil and Qunbound.
2756 * alloc.c (pdump_wire): Added..
2757 (pdump_load): Support it.
2761 (reinit_image_instantiator_format_create_glyphs_mswindows): Fix
2764 1999-09-28 Olivier Galibert <galibert@pobox.com>
2766 * symsinit.h: Added lots of prototypes.
2768 * symeval.h: Added defsymbol_nodump declaration.
2770 * symbols.c (find_symbol_value): Lame attempt at making the
2772 (defsymbol_nodump): Added.
2774 * mule-charset.c: Collapsed global lisp objects arrays in one
2777 * lrecord.h: Added some flags.
2779 * lisp.h: Added dumped flag to dynarrs. Added dumpstruct
2782 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): Don't
2783 staticpro dynamic variables.
2785 * glyphs.c (reinit_specifier_type_create_image): Added.
2786 (image_instantiator_format_create): Dump image instantiator format
2788 (reinit_image_instantiator_format_create): Added.
2790 * emacs.c (main_1): Added reinits calls.
2792 * dynarr.c: Protect dumped dynarrays from going berzek in free or
2795 * specifier.h (INITIALIZE_SPECIFIER_TYPE): Don't staticpro dynamic
2797 * specifier.c (specifier_type_create): Dump the specifier type
2799 (reinit_specifier_type_create): Added.
2800 * console.h (INITIALIZE_CONSOLE_TYPE): Don't staticpro dynamic
2802 * console.c (console_type_create): Dump the console type dynarr.
2803 (reinit_vars_of_console): Extracted from vars_of_console.
2804 (reinit_complex_vars_of_console): Extracted from
2805 complex_vars_of_console
2806 * window.c (reinit_vars_of_window): Extracted from vars_of_window.
2807 * toolbar.c (reinit_specifier_type_create_toolbar): Added.
2808 * search.c (reinit_vars_of_search): Extracted from vars_of_search.
2809 * objects.c (reinit_specifier_type_create_objects): Added.
2810 (reinit_vars_of_objects): Extracted from vars_of_objects.
2811 * lstream.c (reinit_vars_of_lstream): Extracted from
2813 * lread.c (reinit_vars_of_lread): Extracted from vars_of_lread.
2814 * gutter.c (reinit_specifier_type_create_gutter): Added.
2815 * glyphs-x.c (reinit_image_instantiator_format_create_glyphs_x):
2818 (reinit_image_instantiator_format_create_glyphs_widget): Added
2820 (reinit_image_instantiator_format_create_glyphs_mswindows): Added.
2822 (reinit_image_instantiator_format_create_glyphs_eimage): Added.
2823 * event-stream.c (reinit_vars_of_event_stream): Extracted from
2824 vars_of_event_stream
2825 * eval.c (reinit_vars_of_eval): Extracted from vars_of_eval.
2826 * device.c (reinit_vars_of_device): Extracted from vars_of_device.
2827 * console-x.c (reinit_console_type_create_x): Added.
2828 * console-tty.c (reinit_console_type_create_tty): Added
2829 * console-stream.c (reinit_console_type_create_stream): Added.
2830 (init_console_stream): If PDUMP, always reinitialise basic
2832 * console-msw.c (reinit_console_type_create_mswindows): Added.
2833 * buffer.c (reinit_vars_of_buffer): Extracted from
2834 init_vars_of_buffer.
2835 (reinit_complex_vars_of_buffer): Extracted from
2836 complex_vars_of_buffer
2838 * alloc.c: Further with the portable dumping, the revenge.
2839 (dumpstruct): Added.
2840 (reinit_alloc_once_early): Extracted from init_alloc_once_early.
2842 * specifier.c (sizeof_specifier): Correct size computation.
2843 (make_specifier_internal): Ditto.
2845 1999-09-27 Olivier Galibert <galibert@pobox.com>
2847 * alloc.c: Further with the portable dumping.
2849 1999-09-27 Martin Buchholz <martin@xemacs.org>
2851 * glyphs-x.c (update_widget_face): Remove bogus cast
2853 * data.c (sign_extent_lisp):
2854 * data.c (check_int_range):
2857 * data.c (number_char_or_marker_to_int):
2858 * data.c (number_char_or_marker_to_double):
2861 * extents.c (print_extent_1):
2862 * fns.c (print_bit_vector):
2864 * fns.c (Fsafe_length):
2865 * fns.c (copy_list):
2869 * fns.c (Fnbutlast):
2871 * marker.c (print_marker):
2873 * bytecode.c (bytecode_arithcompare):
2874 * bytecode.c (bytecode_arithop):
2876 * lisp.h (EXTERNAL_LIST_LOOP_DELETE_IF):
2877 * lisp.h (TRUE_LIST_P):
2878 * lisp.h (CHECK_TRUE_LIST):
2879 * lisp.h (bit_vector_length):
2880 * lisp.h (GCPRO4): Make consistent.
2881 * lisp.h (NGCPRO4): Make consistent.
2882 * lisp.h (NNGCPRO4): Make consistent.
2883 * alloc.c (Fmake_list):
2884 * alloc.c (Fmake_string):
2885 Use proper 64-bit types, e.g. EMACS_INT or size_t instead of int.
2886 This should make all arithmetic 64-bit clean.
2888 Use %ld with (long) casts in print statements of types with sizes
2889 possibly larger than int.
2891 Following functions had mismatched prototypes!!:
2892 do_marker_adjustment(), fixup_internal_substring(), scan_lists(),
2893 char_quoted(), make_string_from_buffer(),
2894 make_string_from_buffer_no_extents()
2896 The types of Bufpos, Bytind, Memind, Bytecount, Charcount,
2897 Extcount are all now EMACS_INT. I hope to see the day when I can
2898 create a buffer with more than INT_MAX characters, without having
2899 XEmacs slow down to a crawl. I also hope to be able to create a
2900 list with more than INT_MAX cons cells.
2902 * redisplay.c (decode_mode_spec):
2903 The %p and %P specs in the mode line were not correct for buffers
2904 larger than MAX_INT/100! The %p spec was off by .5% even for
2907 1999-09-27 Martin Buchholz <martin@xemacs.org>
2909 * cmdloop.c (num_input_keys):
2910 * print.c (debug_temp):
2911 * emacs.c (Vinfo_directory):
2912 Delete unused variables
2914 * console-x.h (x_interline_space): Mark as unimplemented.
2915 * redisplay-x.c (x_interline_space): Mark as unimplemented.
2917 * event-Xt.c (pending_timeouts):
2918 * linuxplay.c (linuxplay_sndbuf):
2920 * search.c (searchbufs):
2921 * specifier.c (specifier_type_entry_dynarr):
2922 * undo.c (pending_boundary):
2923 * event-stream.c (the_low_level_timeout_blocktype):
2924 * extents.c (gap_array_marker_freelist):
2925 * extents.c (extent_list_marker_freelist):
2926 * print.c (being_printed):
2927 * print.c (alternate_do_pointer):
2928 * alloc.c (first_string_chars_block):
2929 * alloc.c (current_string_chars_block):
2930 * emacs.c (initial_argv):
2931 * emacs.c (initial_argc):
2932 * eval.c (lisp_eval_depth):
2933 * free-hook.c (pointer_table):
2934 * free-hook.c (free_queue):
2935 * free-hook.c (current_free):
2936 * free-hook.c (strict_free_check):
2937 * redisplay.c (formatted_string_emchar_dynarr):
2938 * redisplay.c (formatted_string_display_line):
2939 * redisplay.c (formatted_string_extent_dynarr):
2940 * redisplay.c (formatted_string_extent_start_dynarr):
2941 * redisplay.c (formatted_string_extent_end_dynarr):
2942 * redisplay.c (updating_line_start_cache):
2943 * redisplay.c (last_display_warning_tick):
2944 * redisplay.c (display_warning_tick):
2945 * redisplay.c (internal_cache):
2946 * window.c (Vwindow_configuration_free_list):
2949 * redisplay.c (Vinitial_window_system): Make CONST.
2951 1999-09-24 Martin Buchholz <martin@xemacs.org>
2953 * redisplay-tty.c (term_get_fkeys_1): Minor aesthetic improvements.
2955 * doprnt.c (get_doprnt_args): Use int, not short, with va_arg.
2957 1999-09-24 Andy Piper <andy@xemacs.org>
2959 * redisplay-output.c (output_display_line): only clear the borders
2960 if we are not displaying the gutter.
2962 1999-09-24 Jan Vroonhof <vroonhof@math.ethz.ch>
2964 * frame-x.c (x_any_window_to_frame): Let Xt find the widget and
2965 then use x_any_widget_or_parent_to_frame().
2966 (x_find_frame_for_window): remove special cases.
2968 1999-09-24 Andy Piper <andy@xemacs.org>
2970 * scrollbar-x.c (x_window_is_scrollbar): deleted.
2971 * scrollbar-x.h: ditto.
2973 1999-09-23 Martin Buchholz <martin@xemacs.org>
2975 * alloc.c (this_marks_a_marked_record): Remove.
2977 * buffer.c (mark_buffer):
2978 * buffer.c (nuke_all_buffer_slots):
2979 * console.c (mark_console):
2980 * console.c (nuke_all_console_slots):
2981 * frame.c (mark_frame):
2982 * frame.c (nuke_all_frame_slots):
2983 Treat MARKED_SLOT() macros consistently.
2985 * device.h (error_check_device_type):
2986 * faces.c (face_getprop):
2987 * fileio.c (DRIVE_LETTER):
2988 * filelock.c (lock_file_1):
2989 * frame-x.c (x_create_widgets):
2990 * frame.h (error_check_frame_type):
2991 * keymap.c (print_keymap):
2992 * keymap.c (Fkey_description):
2993 * keymap.c (where_is_recursive_mapper):
2994 * mule-charset.h (CHARSET_LEADING_BYTE):
2995 * objects-msw.c (mswindows_color_instance_hash):
2996 * objects.c (color_instance_equal):
2997 * objects.h (struct color_specifier):
2998 * objects.h (struct font_specifier):
2999 * objects.h (struct face_boolean_specifier):
3000 * opaque.h (get_opaque_ptr):
3001 * opaque.h (set_opaque_ptr):
3002 * process-unix.c (set_socket_nonblocking_maybe):
3003 * specifier.h (SPECIFIER_TYPE_P):
3004 * symbols.c (store_symval_forwarding):
3005 * syssignal.h (EMACS_KILLPG):
3006 * terminfo.c (emacs_tparam):
3007 * glyphs.c (glyph_putprop):
3008 * glyphs.c (glyph_remprop):
3009 * glyphs.c (Fimage_instance_subwindow_id):
3010 * window.c (mark_window):
3011 * window.c (mark_window_config):
3012 * window.c (Fset_window_configuration):
3013 * window.c (save_window_save):
3014 * eval.c (Fuser_variable_p):
3015 * eval.c (Fcommand_execute):
3017 * eval.c (Ffuncall):
3019 * lisp.h (INT_OR_FLOATP):
3020 * lisp.h (GC_INT_OR_FLOATP):
3021 * lisp.h (XFLOATINT):
3022 * lisp.h (IS_ANY_SEP):
3023 * mule-ccl.c (Fccl_execute):
3024 * mule-ccl.c (Fccl_execute_on_string):
3025 * redisplay-x.c (x_output_string):
3026 Remove redundant extra parentheses.
3028 1999-09-22 Martin Buchholz <martin@xemacs.org>
3030 * chartab.c (word_boundary_p): Add prototype for warning avoidance.
3031 * eval.c (PRIMITIVE_FUNCALL): ANSIfy
3032 * free-hook.c (fun_ptr): ANSIfy
3033 * getloadavg.c: Remove declaration for errno.
3034 * gui.c (allocate_gui_item): ANSIfy
3035 * gui.h (allocate_gui_item): ANSIfy
3036 * mule-ccl.c (resolve_symbol_ccl_program): Make static
3037 * realpath.c: Remove K&R support.
3038 * redisplay-x.c (x_output_display_block): Don't shadow previous local
3039 * glyphs-widget.c (layout_instantiate): Don't shadow previous local
3040 * gutter.c (get_gutter_coords): Make static.
3041 * lread.c (locate_file_map_suffixes): Make static.
3042 * ralloc.c (relinquish): ANSIfy
3045 Move prototypes from redisplay.c to lisp.h
3047 1999-09-22 Martin Buchholz <martin@xemacs.org>
3049 * glyphs-x.c (x_widget_set_property):
3050 - Remove unnecessary initialization.
3051 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
3052 * glyphs-x.c (x_widget_instantiate):
3053 - Use char*, not Bufbyte *, with GET_C_STRING_OS_DATA_ALLOCA
3054 * unexelf.c (unexec):
3055 Add cast for C++ compilability.
3058 * ralloc.c (r_alloc_reinit):
3059 SET_FUN_PTR was broken wrt ANSI aliasing!
3060 To compensate, use __typeof__ when using gcc, else live with
3061 possible (but rare) warnings.
3062 * ralloc.c (init_ralloc):
3064 * ralloc.c: Use the real dlmalloc prototype for __morecore.
3065 * lread.c (locate_file_map_suffixes):
3066 * input-method-xlib.c (XIM_init_frame):
3067 - Xlib functions should use XPointer, not XtPointer.
3068 * input-method-xlib.c (XIM_delete_frame):
3069 - Xlib functions should use XPointer, not XtPointer.
3070 * input-method-xlib.c (IMDestroyCallback):
3072 - XFRAME (obj) can never be NULL, so don't test for it.
3074 Add GUTTER_POS_LOOP for iterating over all gutter_pos'es
3075 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
3076 Run c-backslash-region on macro body.
3077 * gutter.c (gutter_was_visible):
3078 Remove redundant parens - this is not a macro.
3079 * gutter.c (redraw_exposed_gutters):
3080 Use GUTTER_POS_LOOP.
3081 * gutter.c (gutter_specs_changed):
3082 Use GUTTER_POS_LOOP.
3083 * gutter.c (gutter_geometry_changed_in_window):
3084 Use GUTTER_POS_LOOP.
3085 * gutter.c (update_frame_gutters):
3086 Use GUTTER_POS_LOOP.
3087 * gutter.c (init_frame_gutters):
3088 Use GUTTER_POS_LOOP.
3089 * file-coding.c (determine_real_coding_system):
3090 Fix C++ compile error.
3091 * emodules.c (find_make_module):
3092 Cast return value from xrealloc
3093 * emacs.c (Fkill_emacs):
3094 Use __typeof__, when available.
3095 * emacs.c (voodoo_free_hook):
3096 Use __typeof__, when available.
3097 (Unfortunately, the type of __free_hook is glibc-version-dependent)
3098 * dired.c (user_cache): Use Bufbyte *, not char *
3099 * dired.c (Fuser_name_all_completions): Ditto.
3101 1999-09-22 Andy Piper <andy@xemacs.org>
3103 * redisplay.c (redisplay_frame): reset the gutter display lines
3104 when we reset the subwindows.
3106 * gutter.c (reset_gutter_display_lines): new function.
3108 * window.c (Flast_nonminibuf_window): new function equivalent to
3109 FRAME_LAST_NONMINIBUF_WINDOW ().
3110 (syms_of_window): declare it.
3112 * redisplay.c (create_string_text_block): don't add bogus eol
3113 markers to gutter display lines.
3115 * glyphs.c (reset_subwindow_cachels): make sure we unmap
3116 subwindows using unmap_subwindow so that expose events get
3117 registered correctly.
3119 * window.c (window_scroll): use Vwindow_pixel_scroll_increment to
3120 determine how much to scroll the window.
3121 (vars_of_window): Vwindow_pixel_scroll_increment is a new
3124 1999-09-20 Robert Pluim <rpluim@nortelnetworks.com>
3126 * glyphs-x.c (update_widget_face): Guard fontList declaration for
3129 1999-09-20 Andy Piper <andy@xemacs.org>
3131 * glyphs-msw.c (mswindows_update_subwindow): update faces.
3133 1999-09-19 Andy Piper <andy@xemacs.org>
3135 * glyphs.c (update_frame_subwindows): update if faces have
3138 * glyphs-x.c (x_widget_instantiate): create the clip widget using
3139 lwlib rather than directly.
3140 (x_finalize_image_instance): delete the clip widget using lwlib.
3141 (x_update_subwindow): update widget faces.
3142 (update_widget_face): new function for updating the face
3143 properties of a widget.
3144 (x_widget_set_property): update widget faces.
3146 * lwlib-Xlw.c (xlw_create_clip_window): new function. We need to
3147 manage the clip widgets using lwlib so that we can delete them in
3150 1999-09-16 Martin Buchholz <martin@xemacs.org>
3154 Define new, potentially faster INT arithmetic macros
3155 INT_PLUS, INT_MINUS, INT_PLUS1, INT_MINUS1
3156 * bytecode.c (execute_optimized_function):
3159 * bytecode.c (bytecode_negate):
3160 Optimize for integer case.
3162 1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3164 * m/mips.h: Support for mips-linux: Add !linux around places
3165 that are not valid for linux, define TEXT_START, DATA_START,
3168 1999-09-16 Andy Piper <andy@xemacs.org>
3170 * redisplay-output.c (redisplay_output_subwindow): clip subwindows
3171 that don't completely fit on-screen rather than just unmapping
3174 * glyphs.h: change signature of map_subwindow.
3176 * glyphs.c (map_subwindow): add display_glyph_area to the
3177 signature. make sure the mapped area saved in the subwindow_cachel
3179 (Fforce_subwindow_map): make a no-op. I don't think this does
3182 * glyphs-x.h (struct x_subwindow_data): save the Display rather
3183 than the Screen. Add a clipwindow and clipwidget handle.
3184 (IMAGE_INSTANCE_X_CLIPWINDOW): new accessor.
3185 (IMAGE_INSTANCE_X_CLIPWIDGET): ditto.
3186 (XIMAGE_INSTANCE_X_CLIPWIDGET): ditto.
3187 (XIMAGE_INSTANCE_X_CLIPWINDOW): ditto.
3189 * glyphs-x.c (x_finalize_image_instance): destroy the clipwidget
3190 as well as the widget itself.
3191 (x_unmap_subwindow): unmap the clipwindow and clipwidget rather
3192 than the widgets and subwindows themselves. move the widget inside
3194 (x_subwindow_instantiate): hold onto the Display rather than the
3195 Screen. allocate a clipwindow to put the subwindow inside.
3196 (x_resize_subwindow): use saved Display directly.
3197 (x_widget_instantiate): allocate a clipwidget of type EmacsManager
3198 to put widgets inside.
3200 * glyphs-widget.c: remove group stuff.
3202 * glyphs-msw.h (struct mswindows_subwindow_data): new structure to
3203 hold the clipwindow.
3204 (IMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): new accessor.
3205 (XIMAGE_INSTANCE_MSWINDOWS_CLIPWINDOW): ditto.
3207 * glyphs-msw.c: remove group stuff.
3208 (mswindows_finalize_image_instance): destroy clipwindow as well as
3210 (mswindows_unmap_subwindow): unmap the clipwindow rather than the
3212 (mswindows_map_subwindow): ditto. move the widget within the
3214 (mswindows_subwindow_instantiate): allocate and initialize
3215 mswindows_subwindow_data. allocate a clipwindow with the subwindow
3217 (mswindows_widget_instantiate): ditto.
3218 (mswindows_control_wnd_proc): new function that allows us to
3219 propagate events from the widget to the main windows control loop.
3221 * device-msw.c (mswindows_init_device): register new widget clip window
3224 * console.h (struct console_methods): add display_glyph_area to
3227 * console-msw.h: declare new window class and wnd proc for
3230 1999-09-14 Martin Buchholz <martin@xemacs.org>
3234 Move symbols used only by eldap.c into eldap.c as statics.
3236 1999-09-09 Martin Buchholz <martin@xemacs.org>
3238 * window.c (syms_of_window):
3239 * symbols.c (syms_of_symbols):
3240 * redisplay.c (syms_of_redisplay):
3241 * print.c (syms_of_print):
3243 * intl.c (syms_of_intl):
3244 * general.c (syms_of_general):
3245 * frame.c (syms_of_frame):
3246 * fileio.c (syms_of_fileio):
3248 * file-coding.c (syms_of_file_coding):
3249 * extents.c (syms_of_extents):
3250 * event-stream.c (syms_of_event_stream):
3251 * event-stream.c (Fnext_event):
3252 * device.c (syms_of_device):
3253 * data.c (syms_of_data):
3254 * casetab.c (syms_of_casetab):
3255 * casetab.c (check_case_table):
3256 * callint.c (syms_of_callint):
3257 * buffer.c (syms_of_buffer):
3258 Delete unused C symbols:
3259 Qbuffer_file_name, Qbuffer_undo_list, Quser_variable_p,
3260 Qcurrent_prefix_arg, Qtranslate_table, Qkeywordp,
3261 Qnumber_or_marker_p, Qcons, Qkeyword, Qignore, Qdelete_device,
3262 Qcommand_execute, Qglyph_invisible,
3263 Qbuffer_file_coding_system, Qfile_name_handler_alist,
3264 Qframe_x_p, Qframe_tty_p, Qblack, Qkeyboard, Qmenubar, Qpath,
3265 Qvector, Qwhite, Qcase, Qdomain, Qalternate_debugging_output,
3266 Qprint_escape_newlines, Qprint_readably, Qfloat_output_format,
3267 Qwindow_scroll_functions, Qfboundp, Qscroll_up, Qscroll_down
3269 Rename symbols as required by the CHECK_RECORD macro:
3270 - Qcase_table_p to Qcase_tablep
3271 - Qcoding_system_p to Qcoding_systemp
3274 * debug.c (syms_of_debug):
3275 Make debug.c's internal Lisp_Objects static.
3277 * events.c (vars_of_events):
3278 * events.c (syms_of_events):
3279 Use regular old defsymbol instead of KEYSYM + staticpro().
3281 * select-x.c (CHECK_CUTBUFFER):
3282 Rewrite in accordance with coding standards.
3284 * keymap.c (syms_of_keymap):
3285 Use SPC in the same way as RET, TAB, etc.
3287 1999-08-27 Jan Vroonhof <vroonhof@math.ethz.ch>
3289 * xemacs-20/src/menubar-x.c (make_dummy_xbutton_event): Don't add
3290 offset twice if HAVE_WMCOMMAND is defined.
3292 1999-09-13 Mike McEwan <mike@lotusland.demon.co.uk>
3294 * redisplay-x.c (x_output_vertical_divider): make sure
3295 shadow_thickness is positive.
3297 1999-09-10 Julian Back <jback@rudd.compulink.co.uk>
3299 * process-nt.c (nt_create_process): fixup to cope with
3300 Vprocess_environment.
3302 1999-09-02 Andy Piper <andy@xemacs.org>
3304 * redisplay-output.c (redisplay_output_layout): call output
3305 routines with clear_clip false. output layout borders with text
3308 * redisplay-msw.c (mswindows_output_blank): call output routines
3309 with clear_clip true.
3310 (mswindows_output_string): ditto.
3311 (mswindows_output_display_block): ditto.
3313 * redisplay-x.c (x_output_display_block): call output routines
3314 with clear_clip true.
3316 * redisplay.h: fix output routines for clear_clip parameter.
3318 * redisplay-output.c (redisplay_output_layout): cope with glyphs
3321 * glyphs-widget.c (layout_instantiate): deal with border glyphs.
3322 (check_valid_glyph_or_instantiator): renamed from
3323 check_valid_glyph_or_image.
3324 (check_valid_border): allow glyphs or their instantiators.
3325 (check_valid_glyph_or_instantiator_list): renamed from
3326 check_valid_glyph_or_image_list,
3327 (glyph_instantiator_to_glyph): new function. make sure a glyph is
3328 a glyph and not an instantiator.
3329 (substitute_keyword_value): new function. replace a keyword value
3332 1999-09-01 Andy Piper <andy@xemacs.org>
3334 * glyphs.c (string_set_property): new function to set the data of
3336 (image_instantiator_format_create): use it.
3338 1999-09-07 Hrvoje Niksic <hniksic@srce.hr>
3340 * fns.c (Fmapc): Rename back to Fmapc_internal.
3342 1999-07-30 Gleb Arshinov <gleb@cs.stanford.edu>
3344 * ntheap.h: CONST (semantically constant) name field of file_data
3347 * unexnt.c (open_output_file): match function definition with
3348 function declaration
3350 * editfns.c: #include "sysfile.h" for getcwd() prototype
3352 * gif_io.c: #include "sysfile.h" for close() prototype
3354 1999-09-02 Martin Buchholz <martin@xemacs.org>
3358 Change the :type keyword to :weakness, for compatibility with the
3359 GNU Emacs 20.5 hash table implementation.
3360 Keep (but don't document) the :type keyword for compatibility.
3361 Obsolete function hash-table-type
3363 Define function sxhash for compatibility with Common Lisp and GNU Emacs.
3365 1999-09-01 Martin Buchholz <martin@xemacs.org>
3367 * floatfns.c (arith_error):
3368 * floatfns.c (range_error):
3369 * floatfns.c (range_error2):
3370 * floatfns.c (domain_error):
3371 * floatfns.c (domain_error2):
3372 * lrecord.h (LRECORDP):
3373 * console-x.h (X_ERROR_OCCURRED):
3374 * console-x.h (HANDLING_X_ERROR):
3375 * chartab.c (CATEGORYP):
3376 * buffer.h (XCHAR_OR_CHAR_INT):
3377 Remove redundant and confusing parentheses.
3379 * redisplay-output.c (redisplay_clear_to_window_end):
3380 Remove redundant initialization.
3385 Move declarations of bevel_modeline() into redisplay.h.
3387 1999-08-30 Olivier Galibert <galibert@pobox.com>
3389 * lisp.h: Add staticpro_nodump for undumped staticpro-ing.
3390 * alloc.c: Add staticpro_nodump for undumped staticpro-ing. Add
3391 alignment information for dumped data. Enhance
3392 descriptions. Phase out Vterminal_* variables while
3394 * lrecord.h: Add chained descriptions and automagically-reset
3395 lisp_objects to the description system.
3397 * console-stream.h: Declare the Vterminal_* variables.
3399 * buffer.c: Don't dump Vbuffer_alist, Vbuffer_defaults and
3400 Vbuffer_local_symbols.
3401 * console.c: Don't dump Vconsole_list, Vconsole_defaults and
3402 Vconsole_local_symbols.
3403 * eval.c: Don't dump Qunbound_suspended_errors_tag.
3404 * lread.c: Don't dump Vread_buffer_stream.
3405 * lstream.c: Don't dump Vlstream_free_list[].
3406 * search.c: Don't dump last_thing_searched.
3407 * window.c: Don't dump minibuf_window and
3408 Vwindow_configuration_free_list[].
3410 * faces.c: Add face description.
3411 * fns.c: Add bit_vector description.
3412 * glyphs.c: Add image specifier description.
3413 * objects.c: Add color, face and face boolean specifiers descriptions.
3414 * opaque.c: Add opaque description. Don't dump Vopaque_ptr_free_list.
3415 * rangetab.c: Add range table description.
3416 * specifier.c: Add specifier and specifier methods description.
3417 * specifier.h: Add specifier extra description support.
3419 * symbols.c: Fix symbol_value_buffer_local_description.
3421 * gdbinit (Lisp): Add opaque_ptr, remove opaque_list.
3423 1999-09-02 Hrvoje Niksic <hniksic@srce.hr>
3425 * extents.c (extent_remprop): Get extent's plist address
3428 1999-08-31 Andy Piper <andy@xemacs.org>
3430 * xmu.h: define Xmu/Converters.h things.
3432 1999-08-31 Andy Piper <andy@xemacs.org>
3434 * opaque.c (equal_opaque_ptr): define.
3435 (hash_opaque_ptr): define.
3437 * xmu.h: define Xmu/Misc.h things.
3439 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3441 * file-coding.c (determine_real_coding_system): Treat `coding:'
3444 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
3446 * file-coding.c (struct decoding_stream): New member `counter'.
3447 (reset_decoding_stream): Initialize `counter'.
3448 (decode_coding_ucs4): Use `counter'.
3449 (decode_coding_utf8): Likewise.
3451 1999-08-31 Andy Piper <andy@xemacs.org>
3453 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
3454 the clip offset doesn't exceed the height we have available to
3457 * window.h (struct window): add top_yoffset and left_xoffset for
3459 (WINDOW_TEXT_TOP_CLIP): new macro.
3461 * window.c (window_scroll): add behaviour for pixel-scrolling of
3464 * redisplay.h (struct display_line): add top_clip.
3465 (DISPLAY_LINE_HEIGHT): adjust for top_clip.
3466 (DISPLAY_LINE_YPOS): ditto.
3468 * redisplay.c (position_redisplay_data_type): add
3469 start_col_xoffset to prepare for pixel-based h-scrolling.
3470 (WINDOW_SCROLLED): new macro.
3471 (next_tab_position): use it.
3472 (add_glyph_rune): use new hscoll vars.
3473 (create_text_block): ditto.
3474 (generate_displayable_area): adjust off-by-one error.
3475 (regenerate_window): take top_clip into account.
3476 (regenerate_window_extents_only_changed): ditto.
3477 (regenerate_window_incrementally): ditto.
3479 * redisplay-x.c (x_output_display_block): use DISPLAY_LINE_YPOS,
3480 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
3481 (x_output_string): ditto.
3482 (x_output_blank): ditto.
3483 (x_output_hline): ditto.
3484 (x_output_eol_cursor): ditto.
3486 * redisplay-output.c (output_display_line): allow for
3487 top_clip. use DISPLAY_LINE_YPOS, DISPLAY_LINE_HEIGHT and
3488 DISPLAY_LINE_YEND macros.
3489 (redisplay_output_layout): output strings in layouts correctly.
3490 (redisplay_clear_clipped_region): allow for top_clip.
3491 (redisplay_calculate_display_boxes): ditto.
3493 * redisplay-msw.c (mswindows_output_blank): use DISPLAY_LINE_YPOS,
3494 DISPLAY_LINE_HEIGHT and DISPLAY_LINE_YEND macros.
3495 (mswindows_output_cursor): ditto.
3496 (mswindows_output_string): ditto.
3497 (mswindows_redraw_exposed_window): ditto.
3498 (mswindows_output_display_block): ditto.
3500 * gutter.c: new specifier type gutter-size.
3501 (gutter_size_validate): validate gutter-size specifier.
3502 (Fgutter_size_specifier_p): predicate for gutter-size.
3503 (Fredisplay_gutter_area): allow the gutter area to be redisplayed
3504 under user contol, like Fredisplay_echo_area.
3505 (syms_of_gutter): add new functions.
3506 (specifier_type_create_gutter): add new specifier.
3507 (specifier_vars_of_gutter): change specifier types of *-height to
3510 * glyphs.c (glyph_width): make work with image instances.
3512 * console.h (struct console_methods): change api of output_string.
3514 * glyphs-x.c (x_map_subwindow): move before mapping as reported by
3515 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
3517 1999-08-30 Andy Piper <andy@xemacs.org>
3519 * glyphs-x.c (x_finalize_image_instance): X_MASK -> PIXMAP_MASK
3521 (init_image_instance_from_x_image): ditto.
3522 (x_xpm_instantiate): ditto.
3523 (x_colorize_image_instance): ditto. Reported by Richard Cognot
3524 <cognot@ensg.u-nancy.fr>
3526 1999-08-29 Andy Piper <andy@xemacs.org>
3528 * glyphs-x.c (x_widget_instantiate): move font initialisation so
3529 that it doesn't get saved in the user defined args.
3530 (x_tab_control_instantiate): Set the fg color of the tab's
3532 (x_tab_control_set_property): ditto.
3534 1999-08-27 Damon Lipparelli <lipp@primus.com>
3536 * events.h (XTIMEOUT): must preface Lisp_Timeout with ``struct''
3537 (XSETTIMEOUT): fixup typo
3539 1999-08-11 Jan Vroonhof <vroonhof@math.ethz.ch>
3541 * syntax.c (scan_words): Unified Mule and Non-mule scanning.
3542 Word boundary search looks back instead of forward so that it
3543 doesn't peek over the limit.
3545 1999-08-20 Olivier Galibert <galibert@pobox.com>
3547 * config.h.in: Add PDUMP define.
3548 * emacs.c (Fdump_emacs): Hackish, call pdump() if configured in.
3550 * lrecord.h: Enhance description system.
3551 * alloc.c: Fix vector and string description. Add portable
3552 dumper enumeration fonctions.
3554 * symbols.c: Fix symbols description. Add symbol_value_forward
3556 * eval.c: Add subr description.
3557 * elhash.c (CLEAR_HENTRY): Clean value pointer too. Fix hash
3559 (remhash_1): CLEAR_HENTRY evaluates the parameter two times now.
3561 1999-08-20 Olivier Galibert <galibert@pobox.com>
3563 * opaque.c: Kill opaque lists, make Lisp_Opaque_Ptr a lrecord of
3567 * eval.c (eval_in_buffer_trapping_errors):
3568 (run_hook_trapping_errors):
3569 (safe_run_hook_trapping_errors):
3570 (call0_trapping_errors):
3571 (call1_trapping_errors):
3572 (call2_trapping_errors): OPAQUEP -> OPAQUE_PTRP. make_opaque_ptr
3573 now takes a non-const void *.
3575 1999-08-20 Olivier Galibert <galibert@pobox.com>
3577 * opaque.c: Remove make_opaque_long.
3579 * opaque.h: Remove everything opaque_long related.
3581 * eval.c (vars_of_eval): Make Qunbound_suspended_errors_tag an
3584 * emacs.c (main_1): Remove make_opaque_long from comment.
3586 1999-08-20 Olivier Galibert <galibert@pobox.com>
3588 * event-stream.c (mark_timeout):
3590 (event_stream_generate_wakeup):
3591 (event_stream_resignal_wakeup):
3592 (event_stream_disable_wakeup):
3593 (event_stream_wakeup_pending_p):
3594 (vars_of_event_stream): Lisp_Timeout is now a lrecord.
3596 * events.h (struct Lisp_Timeout): Added.
3598 1999-08-24 Andy Piper <andy@xemacs.org>
3600 * console-x.h: declare new pixmap signatures.
3602 1999-08-23 Andy Piper <andy@xemacs.org>
3604 * glyphs-x.c (x_update_subwindow): make sure the widget size is
3605 maintained after an update.
3607 * event-Xt.c (emacs_Xt_handle_magic_event): use
3608 find_matching_subwindow to check whether the exposure is totally
3609 inside a subwindow, if it is then ignore it.
3611 * glyphs.c (find_matching_subwindow): new function.
3613 * toolbar-x.c (x_draw_blank_toolbar_button): use new
3614 x_output_shadows signature.
3615 (x_output_toolbar_button): use new x_output_x_pixmap signature.
3617 * redisplay.h (struct display_box): new structure.
3618 (struct display_glyph_area): ditto.
3619 declare new display_box functions.
3621 * redisplay-x.c (x_output_pixmap): update for new display
3623 (x_bevel_area): update to allow multiple edge styles and border
3625 (x_output_display_block): update for new display_box stuff and
3627 (x_clear_region): ditto.
3628 (x_output_x_pixmap): ditto. adjust offsets rather than clip.
3629 (console_type_create_redisplay_x): declare new console methods.
3630 (x_output_vertical_divider): update for new bevel_area signature.
3631 (x_output_shadows): update to allow selective drawing of edges.
3633 * redisplay-tty.c (tty_output_display_block): do nothing for
3636 * redisplay-output.c (redisplay_output_subwindow): convert to use
3637 display_box structure, this allows us to put subwindows anywhere
3638 with any offset, useful for layout glyphs.
3639 (redisplay_output_layout): new function. output a layout and its
3641 (redisplay_output_pixmap): new modular function combining generic
3642 parts of the X and mswindows versions. convert to use display_box
3644 (redisplay_clear_clipped_region): new function. clear the area a
3645 glyph is going into.
3646 (redisplay_normalize_glyph_area): new function. calculate the
3647 bounds of a display_glyph_area given a display_box.
3648 (redisplay_normalize_display_box): new function. shrink a
3649 display_box to enclose a display_glyph_area.
3650 (redisplay_display_boxes_in_window_p): check whether the input
3651 display_box and display_glyph_area are actually in a window.
3652 (redisplay_calculate_display_boxes): calculate display boxes based
3653 on conventional display_line metrics.
3654 (bevel_modeline): update for new bevel_area signature.
3656 * redisplay-msw.c (mswindows_output_blank): update for new
3658 (mswindows_output_string): ditto.
3659 (mswindows_output_dibitmap): ditto.
3660 (mswindows_output_dibitmap_region): ditto.
3661 (mswindows_output_pixmap): ditto.
3662 (mswindows_bevel_area): update to allow multiple edge styles and
3664 (mswindows_output_display_block): update for new display_box stuff
3666 (mswindows_clear_region): ditto.
3667 (console_type_create_redisplay_mswindows): declare new console methods.
3669 * lisp.h (edge_style): new enum.
3670 declare display_box and display_glyph_area.
3672 * gutter.c (output_gutter): update for new bevel_area signature.
3674 * glyphs.h (image_instance_type): add layout.
3675 (IMAGE_LAYOUT_MASK): ditto.
3676 (LAYOUT_IMAGE_INSTANCEP): new macro.
3677 (CHECK_LAYOUT_IMAGE_INSTANCE): ditto.
3678 (struct Lisp_Image_Instance): add offsets for layout and the
3679 layout type itself. move mask here also.
3680 (IMAGE_INSTANCE_LAYOUT_CHILDREN): new macro.
3681 (IMAGE_INSTANCE_LAYOUT_BORDER): ditto.
3682 (XIMAGE_INSTANCE_LAYOUT_CHILDREN): ditto.
3683 (XIMAGE_INSTANCE_LAYOUT_BORDER): ditto.
3685 * glyphs.c (mark_image_instance): update for layouts.
3686 (print_image_instance): ditto.
3687 (image_instance_equal): ditto.
3688 (image_instance_hash): ditto.
3689 (allocate_image_instance): initialise offsets for layout.
3690 (decode_image_instance_type): update for layouts.
3691 (encode_image_instance_type): ditto.
3692 (Fimage_instance_height): ditto.
3693 (Fimage_instance_width): ditto.
3694 (allocate_glyph): ditto.
3695 (glyph_width): allow image instances as an argument. update for layouts.
3696 (glyph_height_internal): ditto.
3697 (syms_of_glyphs): add layout symbols.
3699 * glyphs-x.h (struct x_image_instance_data): remove mask entry.
3700 (IMAGE_INSTANCE_X_MASK): update.
3702 * glyphs-x.c (x_label_instantiate): new function. instantiate a
3704 (image_instantiator_format_create_glyphs_x): initialise new layout
3707 * glyphs-widget.c: new layout type.
3708 (check_valid_orientation): new keyword checker for layouts.
3709 (check_valid_justification): ditto.
3710 (check_valid_border): ditto.
3711 (check_valid_glyph_or_image_list): ditto.
3712 (layout_possible_dest_types): new function for layout glyph type.
3713 (layout_normalize): ditto.
3714 (layout_instantiate): ditto.
3715 (syms_of_glyphs_widget): new keywords for layout.
3716 (image_instantiator_format_create_glyphs_widget): initialise the
3719 * glyphs-msw.h (struct mswindows_image_instance_data): remove mask
3721 (IMAGE_INSTANCE_MSWINDOWS_MASK): update.
3723 * glyphs-msw.c: declare layout format.
3724 (image_instantiator_format_create_glyphs_mswindows): initialise it.
3726 * general.c: new symbols for layouts.
3728 * console.h (struct console_methods): new console methods for
3729 outputting pixmaps and strings.
3731 1999-08-23 Didier Verna <verna@inf.enst.fr>
3733 * sound.c: revert the renaming of `bell_volume' to `Vbell_volume'
3734 and `bell_inhibit_time' to `Vbell_inhibit_time'.
3736 1999-08-18 Andy Piper <andy@xemacs.org>
3738 * redisplay-output.c (redisplay_output_subwindow): disable
3741 1999-08-17 Andy Piper <andy@xemacs.org>
3743 * gutter.c (redraw_exposed_gutter): handle degenerate case of no
3744 area to expose or no gutter to display.
3746 1999-08-16 Charles G Waldman <cgw@fnal.gov>
3748 * sound.c: rename `bell_volume' to `Vbell_volume' and
3749 `bell_inhibit_time' to `Vbell_inhibit_time'.
3751 1999-08-13 Charles G Waldman <cgw@fnal.gov>
3753 * sound.c: (bell-inhibit-time): New variable.
3755 (sound-alist): Fix docstring.
3757 1999-08-17 Andy Piper <andy@xemacs.org>
3759 * gui-x.c (button_item_to_widget_value): xstrdup name so that
3762 1999-08-16 Jeff Miller <jmiller@smart.net>
3764 * syntax.c (scan_words): make compile.
3766 1999-08-16 Andy Piper <andy@xemacs.org>
3768 * redisplay-output.c (redisplay_output_subwindow): try and be more
3769 relaxed about clipping possibilities.
3771 * glyphs-x.c (x_tab_control_set_property): free_widget_value_tree
3772 rather than just the widget_value.
3773 (x_update_subwindow): ditto.
3774 (x_widget_instantiate): ditto.
3776 * gutter.c (output_gutter): shrink current display lines if
3779 1999-08-15 Andy Piper <andy@xemacs.org>
3781 * redisplay.h: declare free_display_lines.
3783 * redisplay.c (free_display_lines): make non-static.
3785 * gutter.c (free_frame_gutters): use free_display_lines instead of
3787 (calculate_gutter_size): ditto.
3789 1999-08-12 Jan Vroonhof <vroonhof@math.ethz.ch>
3791 * eval.c (run_hook_with_args_in_buffer): GCPRO globals.
3793 1999-08-14 Andy Piper <andy@xemacs.org>
3795 * glyphs.c (update_subwindow_cachel): make it less brittle.
3797 1999-08-04 Mike Woolley <mike@bulsara.com>
3799 * scrollbar-msw.c (mswindows_handle_mousewheel_event): Fixed
3800 problem in wheelmouse code occurring when the horizontal scrollbar
3801 is enabled but not visible.
3803 1999-08-08 Andy Piper <andyp@beasys.com>
3805 * toolbar-msw.c (mswindows_redraw_frame_toolbars): new function.
3806 (console_type_create_toolbar_mswindows): use it.
3808 * glyphs.c (Fset_image_instance_property): fiddly reorganisation.
3810 * redisplay-output.c (redisplay_output_display_block): unmap
3811 subwindows in the block area before outputting the block.
3813 * event-msw.c (mswindows_wnd_proc): check the update rect before
3814 painting and disable expose registration while painting.
3816 * glyphs.c (register_ignored_expose): check
3817 hold_ignored_expose_registration before registering expose events.
3819 * redisplay.c (redisplay_frame): reset the subwindow cache before
3820 displaying the gutter.
3822 * glyphs-msw.c (mswindows_map_subwindow): move the window before
3825 * gutter.c (update_frame_gutters): check for glyphs_changed as if
3826 it is the subwindow cache will have been reset.
3828 1999-08-06 Andy Piper <andyp@beasys.com>
3830 * gui-x.c (button_item_to_widget_value): cope with strings.
3832 * glyphs.h: declare global widget functions.
3833 (IIFORMAT_HAS_SHARED_DEVMETHOD): new macro.
3835 * glyphs-x.c (x_combo_box_instantiate): do generic initialization
3836 here. remove dead code.
3837 (image_instantiator_format_create_glyphs_x): enable combo boxes
3840 * glyphs-widget.c (widget_instantiate_1): make non-static.
3841 (tree_view_instantiate): renamed from combo_box_instantiate.
3842 (image_instantiator_format_create_glyphs_widget): use new/changed methods.
3844 * glyphs-msw.c (mswindows_combo_box_instantiate): do generic
3845 initialization here.
3847 * lwlib-Xm.c (xm_update_combo_box): new function.
3848 (xm_update_one_widget): call it.
3849 (xm_update_one_value): deal with combo boxes as well as lists.
3850 (xm_create_combo_box): create a drop-down combo box.
3852 * toolbar-msw.c (mswindows_output_toolbar): call
3853 mswindows_move_toolbar.
3855 1999-08-05 Andy Piper <andyp@beasys.com>
3857 * window.c (Fcurrent_pixel_column): new function. use display
3858 lines to calculate pixel position of point.
3859 * window.c (syms_of_window): declare it.
3861 1999-08-05 Andy Piper <andy@xemacs.org>
3863 * glyphs.c (check_for_ignored_expose): ignore exposures wholly
3864 contained in our ignore list.
3866 * buffer.c (Frecord_buffer): add call to record-buffer-hook.
3867 (syms_of_buffer): declare record-buffer-hook.
3869 * s/mingw32.h: define mousewheel things.
3871 1999-08-04 Mike Woolley <mike@bulsara.com>
3873 * windowsnt.h (_WIN32_WINNT): enable for win95
3875 * s/cygwin32.h: define mousewheel things.
3877 * scrollbar-msw.h: declare mousewheel handler.
3879 * scrollbar-msw.c (mswindows_handle_mousewheel_event): new function.
3881 1999-08-04 Andy Piper <andy@xemacs.org>
3883 * gui-x.c (gui_items_to_widget_values): remove unused variable.
3884 (gui_items_to_widget_values_1): ditto.
3886 * gui-x.h: unconditionally define since it is used everywhere.
3888 1999-08-04 Andy Piper <andy@xemacs.org>
3890 * glyphs-x.c (x_finalize_image_instance): only free pixels if we
3891 have that type of image.
3893 1999-07-30 Andy Piper <andy@xemacs.org>
3895 * redisplay-output.c (redisplay_unmap_subwindows): add comparison
3896 subwindow to not unmap if required.
3897 (redisplay_unmap_subwindows_maybe): comparison is Qnil.
3898 (redisplay_unmap_subwindows_except_us): new function.
3899 (redisplay_output_subwindow): use it to unmap windows in the area
3900 we are displaying into.
3902 * glyphs.c (update_subwindow_cachel_data): always update as we
3903 only ever get called when an update is required.
3904 (update_subwindow_cachel): new function. sync a subwindow with its
3906 (Fresize_subwindow): use it.
3907 (register_ignored_expose): make sure we set the tail correctly.
3909 1999-07-28 Andy Piper <andy@xemacs.org>
3911 * redisplay-output.c (redisplay_clear_bottom_of_window): remove
3914 * gutter.c (redraw_exposed_gutter): unmap subwindows from the
3917 * gui.h: declare parse_gui_item_tree_list and
3918 parse_gui_item_tree_children.
3920 * gui.c (parse_gui_item_tree_item): new function for parsing item
3921 lists into gui-item trees.
3922 (parse_gui_item_tree_children): ditto.
3923 (parse_gui_item_tree_list): ditto.
3925 * gui-x.h: declare gui_items_to_widget_values.
3927 * gui-x.c (gui_items_to_widget_values_1): new function for
3928 recursively parsing gui-items into widget_values.
3929 (gui_item_children_to_widget_values): ditto.
3930 (gui_items_to_widget_values): ditto.
3931 (sanity_check_lwlib): add widgets macrolets.
3933 * glyphs.h (IMAGE_INSTANCE_WIDGET_ITEMS): rename from *ITEM.
3934 (XIMAGE_INSTANCE_WIDGET_ITEMS): ditto.
3935 (IMAGE_INSTANCE_WIDGET_ITEM): rename from *SINGLE_ITEM.
3936 (XIMAGE_INSTANCE_WIDGET_ITEM): ditto.
3937 (struct expose_ignore): new structure for storing ignorable expose
3940 * glyphs.c (valid_image_instantiator_format_p): fix so that using
3941 a console-type as a locale works.
3942 (mark_image_instance): ITEM->ITEMS.
3943 (image_instance_equal): ditto.
3944 (image_instance_hash): ditto.
3945 (struct expose_ignore_blocktype): new blocktype.
3946 (check_for_ignored_expose): new function. checks frame exposure
3947 list for events to ignore.
3948 (register_ignored_expose): new function. registers an expose event
3950 (unmap_subwindow): register the expose event as ignorable.
3951 (vars_of_glyphs): initialise the exposure blocktype.
3953 * glyphs-x.c (x_finalize_image_instance): use lw_destroy_widget.
3954 (x_update_subwindow): modify all widgets using widget_value tree
3955 rather than just a single widget value.
3956 (x_widget_instantiate): LWLIB_USES_MOTIF -> LWLIB_WIDGETS_MOTIF.
3957 make sure widgets don't resize themselves.
3958 (x_tab_control_instantiate): new function. use lwlib tab functions.
3959 (x_tab_control_set_property): new function.
3960 (image_instantiator_format_create_glyphs_x): add tab_control.
3962 * glyphs-widget.c (widget_text_to_pixel_conversion): calculate
3963 slightly more sensibly.
3964 (initialize_widget_image_instance): ITEM->ITEMS.
3965 (widget_instantiate_1): parse gui items generically into the ITEMS
3968 * glyphs-msw.c (mswindows_update_subwindow): replace
3970 (mswindows_register_widget_instance): ditto.
3971 (add_tree_item): modify to use new pre-initialised gui-item
3973 (add_tab_item): ditto.
3974 (mswindows_tab_control_instantiate): ditto.
3975 (mswindows_tab_control_set_property): ditto.
3976 (image_instantiator_format_create_glyphs_mswindows): predicate
3977 existance of widgets on HAVE_WIDGETS.
3979 * frame.h (struct frame): add subwindow_exposures variables.
3981 * frame.c (allocate_frame_core): reset subwindow_exposures links.
3983 * event-msw.c (mswindows_wnd_proc): check for ignored
3984 expose events before redrawing.
3986 * event-Xt.c (emacs_Xt_handle_magic_event): check for ignored
3987 expose events before redrawing.
3989 1999-07-30 SL Baur <steve@xemacs.org>
3991 * scrollbar-x.c: should include EmacsFrame.h.
3992 From Jeff Miller <jmiller@smart.net>
3994 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
3996 * XEmacs 21.2.19 is released
3998 1999-07-27 Jeff Miller <jmiller@smart.net>
4000 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
4001 menubar_show_keybindings.
4003 1999-07-23 SL Baur <steve@miho>
4005 * mule-charset.c (syms_of_mule_charset): Delete duplicated
4006 definition of Qccl_program.
4008 * mule-ccl.h: Make a global declaration of it here.
4010 1999-07-20 Bob Weiner <weiner@beopen.com>
4012 * s/sco7.h: Added from rr@sco.com.
4014 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4016 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
4018 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4020 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
4021 (mule_encode): Likewise.
4023 * mule-ccl.c (Qccl_program): New variable.
4024 (CCL_SUSPEND): New macro.
4025 (CCL_INVALID_CMD): New macro.
4026 (CCL_READ_CHAR): Don't regard as invalid command while processing
4027 the last block even if input is empty; use
4028 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
4029 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
4031 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
4032 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
4033 (CCL_STAT_SUSPEND_BY_DST): Likewise.
4034 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
4035 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
4037 1999-05-04 Ken'ichi Handa <handa@gnu.org>
4039 * mule-ccl.h (struct ccl_program): New member stack_idx.
4041 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
4042 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
4044 (setup_ccl_program): Initialize ccl->stack_idx to 0.
4046 1998-10-12 Kenichi Handa <handa@etl.go.jp>
4048 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
4051 1998-08-18 Kenichi Handa <handa@etl.go.jp>
4053 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
4054 processing the last block, don't just finish but processes eol
4055 block of the current CCL program.
4056 (ccl_driver): Add a new jump label ccl_repeat for the above
4059 1998-04-15 Kenichi Handa <handa@etl.go.jp>
4061 * mule-ccl.c: Typo in comments fixed.
4062 (Qccl_program_idx): New variables.
4063 (CCL_ReadMultibyteChar2): Macro name changed from
4064 CCL_ReadMultibyteCharacter.
4065 (CCL_WriteMultibyteChar2): Macro name changed from
4066 CCL_WriteMultibyteChar2.
4067 (ccl_driver): Adjusted for the above changes.
4068 (resolve_symbol_ccl_program): New function.
4069 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
4070 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
4071 numbers by resolve_symbol_ccl_program.
4072 (Fccl_execute_on_string): Likewise.
4073 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
4074 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
4076 1998-01-21 Kenichi Handa <handa@etl.go.jp>
4078 * mule-ccl.h: (struct ccl_program): New member private_state.
4081 (CCL_Call): Fix the comment.
4082 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
4083 macros for CCL Commands.
4085 (ccl_driver): New case lable `CCL_Extention'.
4086 (setup_ccl_program): Initialize the member `private_state' of CCL.
4088 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
4090 * keymap.c (copy_keymap_internal): Inherit the default binding.
4092 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
4094 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
4095 focus the event (XIM_focus_event).
4096 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
4097 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
4098 the interface for future use (XIM_SetGeometry).
4099 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
4100 location (XIM_SetSpotLocation).
4101 (x_output_eol_cursor): Ditto.
4103 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
4105 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
4106 Olivier's change to lrecord.h of 1999-04-22
4108 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
4110 * gutter.c (redraw_exposed_gutter): Change type of pos from
4111 enum toolbar_pos -> enum gutter_pos, since former is only defined
4112 if toolbar support is.
4114 1999-07-19 Andy Piper <andy@xemacs.org>
4116 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
4119 * gutter.c (gutter_validate): new function for the gutter specifier.
4120 (specifier_type_create_gutter): declare specifier validator.
4122 * buffer.h (INC_CHARBYTIND): add for no error checking version.
4124 1999-07-18 Andy Piper <andy@xemacs.org>
4126 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
4128 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
4130 (mswindows_resize_subwindow): new function.
4132 * gutter.c (redraw_exposed_gutter): only reset the
4133 current_display_lines if non-zero.
4134 (Fgutter_pixel_height): new function.
4135 (Fgutter_pixel_width): new function.
4137 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
4138 we want to retrive from the tab control.
4140 1999-07-17 Andy Piper <andy@xemacs.org>
4142 * window.c (change_window_height): mark gutters changed when we're
4145 * gutter.c (specifier_vars_of_gutter): make defaults more
4148 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
4150 (DEFAULT_GUTTER_WIDTH): change.
4151 (DEFAULT_GUTTER_BORDER_WIDTH): change.
4153 1999-07-18 Andy Piper <andy@xemacs.org>
4155 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
4157 1999-07-16 Andy Piper <andy@xemacs.org>
4159 * frame.c (Fmake_frame): call init_frame_gutters().
4161 * redisplay.c (add_emchar_rune): use string functions if we are
4162 working with a string.
4163 (position_redisplay_data_type): add string element.
4165 1999-07-15 Andy Piper <andy@xemacs.org>
4167 * winslots.h: add real_gutter_size slots to hold the actual gutter
4168 size. This is important for autodetected sizes.
4170 * gutter.c (calculate_gutter_size): calculate size for gutters
4171 that have 'autodetect size.
4173 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
4174 extent of divider for gutters.
4176 * redisplay-x.c (x_output_vertical_divider): adjust extent of
4177 divider for gutters.
4179 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
4180 position to take into account the gutters.
4182 * redisplay.c (generate_modeline): adjust modeline position to
4183 take into account the gutters.
4185 1999-07-14 Andy Piper <andy@xemacs.org>
4187 * gutter.c (frame_topmost_window): new function.
4188 (frame_bottommost_window): ditto.
4189 (frame_leftmost_window): ditto.
4190 (frame_rightmost_window): ditto.
4192 1999-07-13 Andy Piper <andy@xemacs.org>
4194 * redisplay.c (calculate_display_line_boundaries): use text
4195 boundaries so that gutters get handled properly.
4197 1999-07-12 Andy Piper <andy@xemacs.org>
4199 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
4202 * redisplay-output.c (redisplay_clear_to_window_end): generalised
4205 * redisplay-x.c (redisplay_clear_to_window_end): moved to
4208 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
4210 * gutter.c: new file - implements gutters. All new functions are
4211 semantically equivalent to the toolbar functions.
4212 (gutter_was_visible): new function.
4213 (get_gutter_coords): ditto.
4214 (output_gutter): ditto.
4215 (clear_gutter): ditto.
4216 (update_frame_gutters): ditto.
4217 (redraw_exposed_gutter): ditto.
4218 (redraw_exposed_gutters): ditto.
4219 (free_frame_gutters): ditto.
4220 (init_frame_gutters): ditto.
4221 (decode_gutter_position): ditto.
4222 (Fset_default_gutter_position): ditto.
4223 (Fset_default_gutter_position): ditto.
4224 (Fdefault_gutter_position): ditto.
4225 (gutter_after_change): ditto.
4226 (Fgutter_specifier_p): ditto.
4227 (recompute_overlaying_specifier): ditto.
4228 (gutter_specs_changed): ditto.
4229 (default_gutter_specs_changed): ditto.
4230 (gutter_geometry_changed_in_window): ditto.
4231 (default_gutter_size_changed_in_window): ditto.
4232 (default_gutter_border_width_changed_in_window): ditto.
4233 (default_gutter_visible_p_changed_in_window): ditto.
4234 (syms_of_gutter): ditto.
4235 (vars_of_gutter): ditto.
4236 (specifier_type_create_gutter): ditto.
4237 (specifier_vars_of_gutter): ditto.
4239 * gutter.h: new file. Contains gutter constants and sizing macros
4240 similar to those for the toolbar.
4242 * winslots.h: add gutter variables.
4244 * window.h: declare window_is_* functions.
4246 * window.c (window_is_lowest): make non-static.
4247 (window_is_highest): ditto.
4248 (window_top_toolbar_height): deleted.
4249 (window_bottom_toolbar_height): deleted.
4250 (window_left_toolbar_width): deleted.
4251 (window_right_toolbar_width): deleted.
4252 (window_top_gutter_height): add gutter sizing.
4253 (window_bottom_gutter_height): ditto.
4254 (window_left_gutter_width): ditto.
4255 (window_right_gutter_width): ditto.
4257 * symsinit.h: declarations for gutters vars etc.
4259 * search.c (bi_find_next_emchar_in_string): new function.
4261 * scrollbar.c (update_scrollbar_instance): remove reference to
4262 window_bottom_toolbar_height which did nothing.
4264 * redisplay.h (struct display_line): add face indices for
4265 overriding defaults in output_display_line.
4266 Add gutter_changed flags and declarations.
4268 * redisplay.c (create_string_text_block): new function, similar to
4269 create_text_block but for strings. Display tables etc are used
4270 from the currently selected window.
4271 (generate_string_display_line): ditto. Similar to
4272 generate_display_line.
4273 (generate_displayable_area): generate display lines for a given
4274 area on a frame. Input is the string, with associated extents, to
4276 (redisplay_frame): add gutter_changed check.
4277 (redisplay_device): ditto.
4278 (redisplay_without_hooks): ditto.
4280 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
4281 (x_redraw_exposed_area): redraw exposed gutters.
4282 (x_bevel_area): new redisplay device method.
4283 (x_type_create_redisplay_mswindows): add bevel_area device method.
4284 (x_output_display_block): fiddly Martin-style cleanup.
4285 (x_output_vertical_divider): use bevel_area.
4287 * redisplay-output.c (output_display_line): check display_lines
4288 for face information before using defaults.
4289 (bevel_modeline): new function, calls bevel_area with appropriate
4292 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
4293 (mswindows_redraw_exposed_area): redraw exposed gutters.
4294 (mswindows_bevel_area): new redisplay device method.
4295 (console_type_create_redisplay_mswindows): add bevel_area device
4298 * indent.c (string_column_at_point): add column_at_point but for
4301 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
4302 instantiate widgets that we have a toolkit for.
4304 * general.c: add Qgutter.
4306 * frame.h (struct frame): add display lines for gutters and
4309 * frame.c (set_frame_selected_window): mark gutters changed.
4311 * emacs.c (main_1): add gutter initialisation.
4313 * device.h (struct device): add gutter_changed flag and macros to
4316 * console.h (struct console_methods): new bevel area redisplay
4319 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
4320 REAL_INC_BYTIND is for buffers.
4321 (INC_CHARPTR): ditto.
4323 * Makefile.in.in (objs): add gutter.o
4325 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
4327 * XEmacs 21.2.18 is released
4329 1999-07-08 SL Baur <steve@mule.m17n.org>
4331 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
4333 (emacs_Xt_handle_magic_event): Ditto.
4334 * redisplay-x.c (x_output_string): Ditto.
4335 (x_output_eol_cursor): Ditto.
4337 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
4339 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
4340 problem that when XIM is destroyed or missed with some reason,
4341 xemacs will die. Now xim=xlib waits the XIM will be ready and
4342 endures the case of XIM end up.
4344 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
4346 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
4347 SIGINT and SIGCHLD before calling tt_open and restore the
4348 afterwards. This fixes e.g. the zombie subprocesses on Solaris
4350 1999-07-06 SL Baur <steve@xemacs.org>
4352 * s/linux.h: gcc-2.8 changes for powerpc
4353 From Justin Vallon <vallon@mindspring.com>
4355 1999-07-05 Didier Verna <verna@inf.enst.fr>
4357 * indent.c: new symbol Qcoerce.
4358 (Fmove_to_column): use it + doc string update.
4360 1999-07-04 Andy Piper <andy@xemacs.org>
4362 * console.c: undo earlier Fprovide changes.
4366 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
4367 function. validate appropriate image formats for tty.
4369 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
4370 initialize consoles parameter.
4371 (struct image_instantiator_methods): add consoles parameter.
4372 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
4374 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
4377 * glyphs-msw.c: declare instantiators for later use.
4378 (image_instantiator_format_create_glyphs_mswindows): validate xpm
4379 and friends on the mswindows console.
4380 * glyphs-x.c: ditto.
4382 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
4383 that have not been registered on the supplied device.
4384 (Fvalid_image_instantiator_format_p): add locale argument.
4385 (instantiate_image_instantiator): valid image instantiator on the
4388 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
4391 * emacs.c (main_1): add call to
4392 image_instantiator_format_create_glyphs_tty().
4394 1999-06-29 Olivier Galibert <galibert@pobox.com>
4396 * lisp.h: Add #include <stddef.h>.
4398 * sysdep.c: Remove #include <stddef.h>.
4399 * symbols.c: Remove #include <stddef.h>.
4400 * sheap.c: Remove #include <stddef.h>.
4401 * opaque.c: Remove #include <stddef.h>.
4402 * nt.c: Remove #include <stddef.h>.
4403 * mule-charset.c: Remove #include <stddef.h>.
4404 * marker.c: Remove #include <stddef.h>.
4405 * file-coding.c: Remove #include <stddef.h>.
4406 * extents.c: Remove #include <stddef.h>.
4407 * elhash.c: Remove #include <stddef.h>.
4408 * data.c: Remove #include <stddef.h>.
4409 * chartab.c: Remove #include <stddef.h>.
4410 * bytecode.c: Remove #include <stddef.h>.
4411 * alloc.c: Remove #include <stddef.h>. Fix vector description
4413 1999-06-30 SL Baur <steve@miho.m17n.org>
4415 * editfns.c: Document "%s" format spec.
4416 Suggested by Bob Weiner <weiner@altrasoft.com>
4418 1999-06-29 Andy Piper <andy@xemacs.org>
4420 * event-msw.c: fix definition booboo.
4422 1999-06-28 Andy Piper <andy@xemacs.org>
4424 * glyphs-x.c: change tree -> tree-view, progress ->
4425 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
4427 (complex_vars_of_glyphs_x): provide-on-console the implemented
4430 * glyphs-msw.c: ditto.
4431 (complex_vars_of_glyphs_mswindows): ditto.
4433 * lisp.h: add Fprovide_on_console.
4435 * fns.c (Ffeaturep): add extra optional console argument.
4436 (Fprovide_on_console): like Fprovide but provides only on the
4437 specified console-type.
4438 (Frequire): check console-features as well as global features.
4440 * console.c (Fconsole_features): new function. return features for
4442 (syms_of_console): add Fconsole_features.
4444 * console.h (CONMETH_FEATURES): new function for accessing features.
4445 (CONSOLE_FEATURES): ditto.
4446 (struct console_methods): add features slot.
4447 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
4449 1999-06-28 Andy Piper <andy@xemacs.org>
4451 * event-Xt.c (handle_focus_event_1): conditionally compile for
4454 * s/cygwin32.h: fix me website address.
4456 * event-msw.c: add NMHDR for pre b20 cygwin builds.
4458 * gui-x.c (button_item_to_widget_value): only add callback if it
4461 * glyphs-x.c: add progress, edit and combo instantiators.
4462 (x_widget_set_property): new function. uses lwlib to set widget
4464 (x_widget_property): new function. uses lwlib to get widget
4466 (x_button_instantiate): support images in buttons.
4467 (x_button_property): new function. use lwlib to get the selected
4469 (x_progress_instantiate): new function for instantiating progress
4471 (x_progress_set_property): new function. sets the progress gauge
4473 (x_edit_instantiate): new function. for instantiating edit fields.
4474 (x_combo_instantiate): new function. for instantiating combo
4476 (image_instantiator_format_create_glyphs_x): add new device ii
4479 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
4481 * console.h (CONSOLE_FEATURES): new features accesor.
4483 * conslots.h (MARKED_SLOT): add features entry.
4485 1999-06-25 Andy Piper <andy@xemacs.org>
4487 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
4490 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
4492 * gui.h (struct Lisp_Gui_Item): add accelerator.
4494 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
4495 (gui_item_init): ditto.
4496 (gui_add_item_keywords_to_plist): ditto.
4497 (mark_gui_item): ditto.
4498 (gui_item_hash): ditto.
4499 (gui_item_accelerator): new function.
4500 (gui_name_accelerator): new function stolen from gui-x.c
4502 * gui-x.c (popup_selection_callback): always define. mark
4503 subwindows changed after calling a callback.
4504 (menu_name_to_accelerator): deleted.
4505 (button_item_to_widget_value): forward gui_item things to gui_item
4508 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
4509 appropriate accesors.
4511 * glyphs-x.c: declare new glyph formats.
4512 (x_finalize_image_instance): unmanage and destroy widgets if they
4514 (x_unmap_subwindow): handle widgets specially.
4515 (x_map_subwindow): ditto. offset display of widgets by offset of
4516 text widget within container.
4517 (x_update_subwindow): new function. call lw_modify_all_widgets
4518 when we are a widget.
4519 (x_widget_instantiate): new function for generically creating
4520 widgets-glyphs. toolkit specifics forwarded to lwlib.
4521 (x_button_instantiate): new function for instantiating
4522 widgets-glyph buttons.
4523 (console_type_create_glyphs_x): register update_subwindow.
4524 (image_instantiator_format_create_glyphs_x): register widget and
4527 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
4529 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
4530 when we get a button press in case we do not have the focus.
4531 (handle_focus_event_1): set the keyboard focus to the text widget
4532 if we do not have it.
4534 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
4537 1999-06-24 SL Baur <steve@miho.m17n.org>
4539 * syntax.c (scan_words): Restore non-Mule code.
4540 (word_constituent_p): Restore.
4542 1999-06-23 Olivier Galibert <galibert@pobox.com>
4544 * config.h.in: Add missing #undef *_USER_DEFINED.
4546 1999-06-23 SL Baur <steve@miho.m17n.org>
4548 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
4549 int (fixes a 64-bit problem).
4551 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
4554 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4556 * paths.h.in (PATH_DOC): Made doc-directory configurable.
4558 1999-06-22 Olivier Galibert <galibert@pobox.com>
4560 * lrecord.h: Added basic external description system.
4562 * symbols.c: Added symbol, symbol-value-buffer-local,
4563 symbol-value-lisp-magic and symbol-value-varalias description.
4564 * mule-charset.c: Added charset description.
4565 * marker.c: Added marker description.
4566 * keymap.c: Added keymap description.
4567 * glyphs.c: Added glyph description.
4568 * floatfns.c: Added float description.
4569 * file-coding.c: Added coding-system description.
4570 * extents.c: Added extent description.
4571 * elhash.c: Added hash-table description.
4572 * data.c: Added weak-list desciption.
4573 * chartab.c: Added char-table-entry and char-table description.
4574 * bytecode.c: Added compiled-function description.
4575 * alloc.c: Added cons, vector and string description.
4577 1999-06-22 Olivier Galibert <galibert@pobox.com>
4579 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
4580 Updated everything to the removal of the "flags" substructure.
4582 * lisp.h (subr_lheader_initializer): Updated.
4583 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
4585 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
4587 * syntax.c (word_constituent_p): Deleted.
4588 (scan_words): Use `WORD_BOUNDARY_P'.
4590 * chartab.c (Vword_combining_categories): New variable.
4591 (Vword_separating_categories): Likewise.
4592 (CATEGORYP): New macro.
4593 (CATEGORY_SET): Likewise.
4594 (CATEGORY_MEMBER): Likewise.
4595 (word_boundary_p): New function.
4596 (complex_vars_of_chartab): Set up new variable
4597 `word-combining-categories' and `word-separating-categories'.
4599 1999-06-18 Olivier Galibert <galibert@pobox.com>
4601 * lrecord.h: Added description as a placehold in the lrecord
4602 implementation structures. Added the parameter to all constructor
4605 * alloc.c: Added placeholders.
4607 * bytecode.c: Ditto.
4611 * database.c: Ditto.
4616 * event-stream.c: Ditto.
4620 * file-coding.c: Ditto.
4621 * floatfns.c: Ditto.
4629 * mule-charset.c: Ditto.
4633 * rangetab.c: Ditto.
4634 * specifier.c: Ditto.
4637 * tooltalk.c: Ditto.
4640 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
4642 * XEmacs 21.2.17 is released
4644 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
4646 * config.h.in (HAVE_LDAP_SET_OPTION): New define
4647 (HAVE_LDAP_GET_LDERRNO): Ditto
4648 (HAVE_LDAP_RESULT2ERROR): Ditto
4649 (HAVE_LDAP_PARSE_RESULT): Ditto
4650 (HAVE_UMICH_LDAP): Removed
4651 (HAVE_NS_LDAP): Removed
4653 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
4654 suggested by Olivier Galibert
4655 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
4657 * eldap.c: Take the removal of `livep' into account in all the
4659 (signal_ldap_error): Take two additional parameters
4660 Added new finer compilation conditions in order to use
4661 ldap_parse_result or ldap_result2error if available
4662 (Fldap_open): Conform to this new API
4663 (Fldap_search_internal): Ditto
4665 1999-06-17 SL Baur <steve@miho.m17n.org>
4667 * data.c (struct int_or_double): Should use EMACS_INT not int.
4669 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
4671 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
4674 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4676 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
4677 `CCL_MODE_ENCODING'.
4679 * file-coding.c (mule_decode): Run `ccl_driver' with
4680 `CCL_MODE_DECODING'.
4681 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
4683 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
4684 (ccl_driver): Add new argument `conversion_mode'.
4685 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
4686 (Fccl_execute_on_string): Likewise [perhaps it is better to add
4687 new optional argument].
4689 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
4690 (CCL_MODE_DECODING): New macro.
4691 (ccl_driver): Add new argument `conversion_mode'.
4693 1999-06-15 SL Baur <steve@miho.m17n.org>
4695 * mule-charset.c (Fsplit_char): New subr.
4696 (Fchar_octet): delete.
4697 (syms_of_mule_charset): DEFSUBR it.
4699 1999-06-13 Andy Piper <andy@xemacs.org>
4701 * menubar.h: update declarations involving gui_items.
4703 * lisp.h: declare Lisp_Gui_Item.
4705 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
4707 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
4708 (print_image_instance): ditto.
4709 (image_instance_equal): ditto.
4710 (image_instance_hash): ditto.
4712 * event-msw.c (mswindows_need_event): assert badly_p status.
4713 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
4714 callbacks in tree-view and tab-control widgets.
4715 (emacs_mswindows_next_event): modify use of
4716 mswindows_dequeue_dispatch_event.
4718 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
4719 lisp-based gui_items.
4721 * glyphs-msw.c (mswindows_update_subwindow): update use of
4723 (mswindows_register_gui_item): new function.
4724 (mswindows_register_gui_item): fix to use lisp gui_items.
4725 (mswindows_widget_instantiate): ditto.
4726 (mswindows_button_instantiate): ditto.
4727 (add_tree_item): new function to recursively add tree view
4729 (add_tree_item_list): ditto.
4730 (mswindows_tree_instantiate): new function. instantiate tree view
4732 (add_tab_item): new function to add tabs to a tab control.
4733 (mswindows_tab_instantiate): new function. instantiate tab
4735 (image_instantiator_format_create_glyphs_mswindows): add tree view
4737 (vars_of_glyphs_mswindows): ditto.
4739 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
4741 (check_valid_item_list): ditto.
4742 (initialize_widget_image_instance): fix to use new lisp gui_item.
4743 (widget_instantiate_1): allow the setting of default textwidth in
4745 (widget_instantiate): change to use new widget_instantiate_1
4747 (combo_instantiate): ditto.
4748 (static_instantiate): ditto.
4749 (tab_instantiate): new function for tab widgets.
4750 (image_instantiator_format_create_glyphs_widget): add tab and tree
4753 * menubar-msw.c (displayable_menu_item): convert to use lisp
4755 (populate_menu_add_item): ditto.
4756 (populate_or_checksum_helper): ditto.
4758 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
4760 (Fmenu_find_real_submenu): ditto.
4762 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
4764 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
4765 objects, convert functions that use them accordingly.
4766 (gui_item_init): ditto.
4767 (gui_item_active_p): ditto.
4768 (gui_item_selected_p): ditto.
4769 (gui_item_included_p): ditto.
4770 (gui_item_display_flush_left): ditto.
4771 (gui_item_display_flush_right): ditto.
4772 (mark_gui_item): ditto.
4773 (allocate_gui_item): new function to create a gui_item.
4774 (make_gui_item_from_keywords_internal): ditto. create and return a
4775 gui_item as well as setting keywords.
4776 (gui_parse_item_keywords): ditto.
4777 (gui_parse_item_keywords_no_errors): ditto.
4778 (gui_add_item_keywords_to_plist): new function, not yet used.
4779 (gui_item_hash): new function.
4780 (gui_item_id_hash): use gui_item_hash.
4781 (gui_item_equal): new function.
4782 (print_gui_item): new function.
4784 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
4786 * XEmacs 21.2.16 is released
4788 1999-06-10 Andy Piper <andy@xemacs.org>
4790 * select-msw.c (mswindows_own_selection): only set the clipboard
4792 (mswindows_get_foreign_selection): only get the clipboard if
4794 (mswindows_disown_selection): only disown the clipboard if asked.
4796 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
4798 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
4800 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
4801 of coding-category `no-conversion'.
4803 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
4805 * file-coding.c (Qraw_text): New variable.
4806 (syms_of_mule_coding): Add new symbol `raw-text'.
4807 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
4808 define coding-system `binary' independently; define coding-system
4809 `no-conversion' as an alias for `raw-text'.
4811 * file-coding.h (Qraw_text): New variable.
4813 1999-06-08 SL Baur <steve@xemacs.org>
4815 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
4817 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
4819 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
4821 (base64_decode_1): Signal errors instead of returning -1.
4823 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
4825 * mule-charset.c (Fmake_char): Update docstring.
4827 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
4829 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
4831 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
4833 * fns.c (base64_decode_1): Allow and ignore any non-base64
4834 characters in input.
4836 1999-05-27 Olivier Galibert <galibert@pobox.com>
4838 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
4839 of report_pure_usage().
4841 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
4843 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
4845 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
4847 * XEmacs 21.2.15 is released
4849 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
4851 * frame.c (Fset_mouse_position):
4852 (Fset_mouse_pixel_position):
4853 * window.c (Fsplit_window):
4854 (Fmove_to_window_line):
4855 Fix crash when invoking functions with an already-deleted window
4858 * indent.c (vertical_motion_1):
4860 (Fvertical_motion_pixels):
4861 * window.c (Fwindow_displayed_text_pixel_height):
4862 Fix error message when invoking functions with an already-deleted
4865 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
4867 * sysdep.c (request_sigio_on_device): Guard against glibc
4868 2.1's stub streams implementation.
4870 1999-06-03 SL Baur <steve@xemacs.org>
4873 * emacs.c: Implement x.y.z version numbers
4874 From Jan Vroonhof <vroonhof@math.ethz.ch>
4876 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
4878 * mule-charset.c (complex_vars_of_mule_charset): Registry of
4879 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
4882 1999-06-03 SL Baur <steve@xemacs.org>
4885 * device-x.c: rename session option to wmcommand.
4886 From Oliver Graf <ograf@rhein-zeitung.de>
4888 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
4890 * fns.c (Fsubstring): Don't traverse the same region twice with
4891 charcount_to_bytecount().
4893 1999-06-03 SL Baur <steve@steve1.m17n.org>
4895 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
4898 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
4899 doesn't really work as is implied by the commentary).
4900 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
4902 1999-06-02 SL Baur <steve@steve1.m17n.org>
4904 * symsinit.h: Declare vars_of_ntproc.
4905 * emacs.c (main_1): Call it.
4907 * ntproc.c (syms_of_ntproc): Move variable initializations from
4909 (vars_of_ntproc): ... to here [new function].
4911 * file-coding.c (syms_of_file_coding): Rename.
4912 (vars_of_file_coding): Ditto.
4913 (complex_vars_of_file_coding): Ditto.
4915 * symsinit.h: Rename *_mule_coding to *_file_coding.
4917 * emacs.c (main_1): Call them by the proper name.
4919 * device-msw.c (syms_of_device_mswindows): Move variable
4920 initializations from here ...
4921 (vars_of_device_mswindows): ... to here.
4923 * chartab.c (vars_of_chartab): New function.
4925 * symsinit.h: New function, vars_of_chartab.
4927 * emacs.c (main_1): Call it.
4929 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
4930 (vars_of_mule_canna): ... to here.
4932 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
4933 initializations out of syms_of_mule_ccl.
4935 * symsinit.h: Declare new function vars_of_mule_ccl.
4937 * emacs.c (main_1): Call it.
4939 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
4941 * fns.c (base64_decode_1): Ignore whitespace.
4943 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
4945 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
4948 1999-05-21 Andy Piper <andy@xemacs.org>
4950 * xselect.c: deleted.
4952 * symsinit.h: declare select initialisation.
4954 * select.h: new file. declare commonly used select functions and
4957 * select.c: new file. generalised from xselect.c.
4958 (clean_local_selection_data): moved from xselect.c.
4959 (get_local_selection): ditto. device specific pieces called via a
4961 (handle_selection_clear): ditto.
4962 (Fown_selection_internal): renamed and generalised from
4963 Fx_own_selection_internal. moved from xselect.c.
4964 (Fdisown_selection_internal): ditto.
4965 (Fselection_owner_p): ditto.
4966 (Fselection_exists_p): ditto.
4967 (Fget_selection_internal): ditto.
4968 (syms_of_select): new function. QXXXX values moved from xselect.c
4969 (vars_of_select): new function. selection_converter_alist,
4970 lost_selection_hooks moved and renamed from xselect.c
4972 * select-x.c: renamed from xselect.c.
4973 (x_own_selection): converted to device specific. non-X-specific
4974 bits moved to select.c.
4975 (x_get_foreign_selection): ditto.
4976 (x_disown_selection): ditto.
4977 (x_selection_exists_p): ditto.
4978 (console_type_create_select_x): new function.
4980 * select-msw.c (mswindows_own_selection): new device method to set
4981 the clipboard when we 'own' the selection.
4982 (mswindows_get_foreign_selection): new device method to get the
4984 (mswindows_disown_selection): new device method to delete the
4985 selection when we 'disown' it.
4986 (console_type_create_select_mswindows): new function.
4988 * emacs.c (main_1): add select to things to initialise.
4990 * console.h (struct console_methods): new console methods for
4993 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
4995 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
4997 * print.c (long_to_string): Install a faster version.
4999 1999-05-16 Andy Piper <andy@xemacs.org>
5001 * ntproc.c (syms_of_ntproc): default
5002 win32-start-process-share-console to t.
5004 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
5006 * config.h.in: Do it here.
5008 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
5010 1999-05-14 Andy Piper <andy@xemacs.org>
5012 * toolbar-msw.c (mswindows_output_toolbar): hash on something
5015 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
5017 * XEmacs 21.2.14 is released
5019 1999-05-12 Andy Piper <andy@xemacs.org>
5021 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
5023 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
5025 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
5026 run_temacs_argv array -- fixes random memory corruption crash
5028 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
5030 * window.c (Fcurrent_window_configuration):
5031 Save minibuffer height;
5033 * window.c (set_window_configuration): use it.
5035 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
5037 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
5039 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
5041 * redisplay.c (redisplay_window): Do not put data
5042 in the line start cache if it is not guaranteed to be correct
5044 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
5046 * window.c (struct window_config): Removed frame
5048 (window_config_equal): No longer compare frame sizes.
5049 (Fset_window_configuration): Resize old top window to fit in the
5050 current frame directly, no longer use a fake frame resize.
5051 (Fcurrent_window_configuration): No longer save frame size
5053 1999-05-11 Andy Piper <andy@xemacs.org>
5055 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
5058 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
5060 * sysdep.c (init_system_name): If gethostname gives a proper
5061 domain name, don't look further for one.
5063 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
5065 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
5066 (Fintern_soft): Accept a symbol argument.
5068 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
5070 * symbols.c (Fintern): ...do it here.
5072 * lread.c (read_atom): Don't handle keywords here.
5074 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
5076 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
5078 1999-05-03 Olivier Galibert <galibert@pobox.com>
5080 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
5081 is interned in the main obarray.
5083 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
5085 * menubar-x.c (pre_activate_callback): set accelerator field in
5086 "No menu" entries to nil. Avoid crash in
5087 command_builder_operate_menu_accelerator
5089 1999-05-03 Olivier Galibert <galibert@pobox.com>
5091 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
5093 * lisp.h (DEFUN): Fix lrecord header initialisation.
5095 1999-05-02 Andy Piper <andy@xemacs.org>
5097 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
5099 * ntproc.c (sys_kill): cast using MS mandated defines.
5101 1999-04-29 Andy Piper <andy@xemacs.org>
5103 * m/intel386.h: remove redundant definitions.
5105 * s/mingw32.h: new header for mingw32.
5107 * unexnt.c: (open_input_file): function moved to nt.c.
5108 (close_file_data): ditto.
5109 (rva_to_section): function moved to ntproc.
5111 * symsinit.h: declare syms_of_ntproc();
5113 * objects-msw.c (mswindows_font_instance_truename): new function.
5115 * ntproc.c: remove many warnings.
5116 (_sys_read_ahead): moved from nt.c and made static.
5117 (rva_to_section): moved from unexnt.c but not defined under
5119 (win32_executable_type): implement what we can for mingw32
5121 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
5123 * ntheap.h: remove declarations of functions that are now static.
5125 * ntheap.c: support static heap.
5127 * nt.h: conditionalise X_OK definition.
5129 * nt.c: eliminate many warnings and support mingw32.
5130 (open_input_file): function moved from unexnt.c and made static
5131 (close_file_data): ditto.
5132 (_sys_read_ahead): moved to ntproc.c
5134 * emacs.c: make sure syms_of_ntptroc gets called under windows.
5136 * console-msw.h: support mingw32.
5137 * getloadavg.c: ditto.
5144 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
5145 some systems don't have all of the encapsulated system calls.
5147 * callproc.c: warning elimination.
5148 * dired-msw.c: ditto.
5149 * process-nt.c: ditto.
5150 * realpath.c: ditto.
5152 * Makefile.in.in: tweak : and ; for building under mswindows.
5154 1999-04-26 Michael Harnois <mharnois@willinet.net>
5156 * eldap.c (allocate_ldap): Adapt to the new semantics of
5157 alloc_lcrecord_type().
5159 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5161 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
5163 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5165 * Delete mule-coding.c and mule-coding.h because they are not
5168 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
5170 * objects.c (print_font_instance): Check for NILP(f->device),
5171 i.e. Vthe_null_font_instance.
5172 (font_instance_truename_internal): ditto.
5173 (Ffont_instance_properties): ditto.
5175 1999-04-22 Olivier Galibert <galibert@pobox.com>
5177 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
5180 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
5182 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
5183 it easier to add new ones.
5185 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
5187 * symbols.c (reject_constant_symbols): Ditto.
5188 (init_symbols_once_early): Ditto.
5190 * print.c (print_symbol): Don't use ->obarray.
5192 * symbols.c (Funintern): Ditto.
5194 * alloc.c (Fmake_symbol): Don't set ->obarray.
5196 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
5198 * symbols.c (init_symbols_once_early): Removed
5199 Vpure_uninterned_symbol_table.
5200 (Fintern): Don't store to ->obarray field.
5202 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
5204 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
5205 (eq_with_ebola_notice): Remove abracadabra support.
5207 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5209 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
5210 retrieve the distinguished names of entries
5212 1999-03-08 Martin Buchholz <martin@xemacs.org>
5214 * lread.c (read_escape): Make hex escapes read only two hex digits.
5216 1999-04-05 Olivier Galibert <galibert@pobox.com>
5218 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
5219 * make-src-depend: Remove puresize-adjust.h.
5220 * src-headers: Remove puresize-adjust.h.
5221 * config.h.in: Kill everything purespace/gung-ho related.
5223 * dbxrc: Make gung-ho mandatory.
5226 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
5227 c_readonly and lisp_readonly. Remove implementation arrays.
5228 (C_READONLY_RECORD_HEADER_P): Added.
5229 (LISP_READONLY_RECORD_HEADER_P): Added.
5230 (SET_C_READONLY_RECORD_HEADER): Added.
5231 (SET_LISP_READONLY_RECORD_HEADER): Added.
5233 * lisp.h: Kill everything purespace/non gung-ho related.
5234 (CHECK_C_WRITEABLE): Added.
5235 (CHECK_LISP_WRITEABLE): Added.
5236 (C_READONLY): Added.
5237 (LISP_READONLY): Added.
5239 * lisp-union.h: Make gung-ho mandatory.
5240 * lisp-disunion.h: Ditto.
5242 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
5243 set_lheader_implementation calls.
5244 (c_readonly): Added.
5245 (lisp_readonly): Added.
5246 (make_string_nocopy): Added.
5247 (Fpurecopy): Changed to do nothing. Kept the old documentation
5248 for reference purposes for the next patches.
5249 (sweep_lcrecords_1): Don't free C readonly lcrecords.
5250 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
5251 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
5253 * fns.c: Make gung-ho mandatory.
5254 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
5256 (Ffillarray): Ditto.
5258 * data.c: Make gung-ho mandatory.
5259 (pure_write_error): Removed.
5260 (c_write_error): Added.
5261 (lisp_write_error): Added.
5262 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
5266 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
5267 make_string or make_string_nocopy. Fix various
5268 alloc_lcrecord_type.
5270 * lread.c: Remove everything purespace related.
5271 (Flocate_file_clear_hashing): purified -> c_readonly.
5272 (locate_file): Ditto.
5273 (read_atom): make_pure_pname -> make_string.
5275 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
5277 (Fdump_emacs): Ditto.
5279 * print.c (print_internal): Make gung-ho mandatory.
5280 * ntheap.c (sbrk): Ditto.
5281 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
5282 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
5284 * sheap.c (more_static_core): Remove puresize-adjust.h from
5287 * syntax.c (complex_vars_of_syntax): make_pure_string ->
5289 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
5290 (vars_of_keymap): make_pure_string -> make_string_nocopy.
5291 * events.c (deinitialize_event): Fix set_lheader_implementation.
5292 (zero_event): Ditto.
5293 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
5294 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
5295 * mule-charset.c (make_charset): Ditto.
5296 * console.c (allocate_console): Ditto.
5297 (complex_vars_of_console): Ditto.
5298 * file-coding.c (allocate_coding_system): Ditto.
5299 * device.c (allocate_device): Ditto
5300 * gui-x.c (gcpro_popup_callbacks): Ditto.
5301 * extents.c (allocate_extent_auxiliary): Ditto.
5302 (allocate_extent_info): Ditto.
5303 (copy_extent): Ditto.
5304 * glyphs.c (allocate_image_instance): Ditto.
5305 (allocate_glyph): Ditto.
5306 * frame.c (allocate_frame_core): Ditto.
5307 * database.c (allocate_database): Ditto.
5308 * tooltalk.c (make_tooltalk_message): Ditto.
5309 (make_tooltalk_pattern): Ditto.
5310 * rangetab.c (Fmake_range_table): Ditto.
5311 (Fcopy_range_table): Ditto.
5312 * process.c (make_process_internal): Ditto.
5313 * chartab.c (Fmake_char_table): Ditto.
5314 (make_char_table_entry): Ditto.
5315 (copy_char_table_entry): Ditto.
5316 (Fcopy_char_table): Ditto.
5317 * elhash.c (make_general_lisp_hash_table): Ditto.
5318 (Fcopy_hash_table): Ditto.
5319 * buffer.c (allocate_buffer): Ditto.
5320 (complex_vars_of_buffer): Ditto.
5321 * event-stream.c (allocate_command_builder): Ditto.
5322 * objects.c (Fmake_color_instance): Ditto.
5323 (Fmake_font_instance): Ditto.
5324 (vars_of_objects): Ditto.
5325 * toolbar.c (update_toolbar_button): Ditto.
5326 * window.c (allocate_window): Ditto.
5327 (make_dummy_parent): Ditto.
5328 (Fcurrent_window_configuration): Fix alloc_lcrecord.
5329 (vars_of_window): Fix make_lcrecord_list.
5330 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
5332 * lstream.c (Lstream_new): Fix make_lcrecord_list.
5333 * opaque.c (make_opaque): Fix alloc_lrecord.
5334 (make_opaque_list): Fix alloc_lrecord_type.
5336 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
5338 * process.c (Fstart_process_internal): Ditto.
5340 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
5343 * glyphs-x.c (x_locate_pixmap_file): Ditto.
5345 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
5348 * emodules.c (vars_of_module): New variable Vmodule_extensions.
5349 (emodules_load): Use it when calling locate_file().
5351 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
5354 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
5355 (vars_of_callproc): Initialize it.
5356 (Fcall_process_internal): Use it when calling locate_file().
5358 * alloc.c (disksave_object_finalization): Use
5359 Flocate_file_clear_hashing().
5361 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
5362 given `t' as argument.
5364 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
5366 * lread.c (locate_file): Expand `pathel' when appropriate.
5367 (Flocate_file_clear_hashing): Expand path elements.
5368 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
5370 * dired.c (make_directory_hash_table): Create the hash-table only
5371 if the directory open is successful.
5373 * lread.c (decode_mode_1): New function.
5374 (decode_mode): Ditto.
5375 (Flocate_file): Use them.
5376 (Flocate_file): Expand FILENAME.
5377 (locate_file_map_suffixes): New function.
5378 (locate_file_in_directory_mapper): New function.
5379 (locate_file_in_directory): Use locate_file_in_directory_mapper()
5380 and locate_file_map_suffixes().
5381 (locate_file_construct_suffixed_files): Use
5382 locate_file_map_suffixes().
5383 (locate_file_without_hash): Don't GCPRO path.
5384 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
5385 (syms_of_lread): Remove Qlocate_file_hash_table.
5386 (locate_file_find_directory_hash_table): Use
5387 Vlocate_file_hash_table.
5388 (locate_file_refresh_hashing): Ditto.
5390 * lread.c: Renamed read_objects to Vread_objects.
5392 1999-04-16 Olivier Galibert <galibert@pobox.com>
5394 * mule-charset.c: Generally resync with fsf 20.3 charset
5396 (make_charset): Add long and short name. Use id instead of
5398 (Fmake_charset): Ditto.
5399 (Fmake_reverse_direction_charset): Ditto.
5400 (Fcharset_property): Ditto.
5401 (Fcharset_short_name): Added.
5402 (Fcharset_long_name): Added.
5403 (Fcharset_description): Renamed from charset-doc-string.
5404 (syms_of_mule_charset): Synced symbols.
5405 (complex_vars_of_mule_charset): Synced charsets.
5407 * mule-charset.h: Removed leading byte (uses id instead), added
5408 short and long name.
5410 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
5412 * file-coding.c (Fdefine_coding_system_alias): New function.
5414 1999-04-08 Olivier Galibert <galibert@pobox.com>
5416 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
5417 and -ascii fonts for displaying ascii instead of iso8859-1 only.
5419 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
5421 * extents.c (set_extent_glyph_1): Make sure that the glyph we
5422 attach to the extent is valid.
5424 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
5426 * dired.c (user_name_completion): Mule-ize.
5427 (user_name_completion): Use xmalloc/xrealloc/xfree.
5428 (user_name_completion): Use DO_REALLOC.
5429 (user_name_completion): Cut down the number of static variables;
5431 (user_name_completion): Username completion is always
5434 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
5436 * fns.c (base64_decode_1): Remove COUNTER.
5437 (base64_decode_1): Accept CRLF in addition to CR.
5438 (base64_decode_1): Disallow a stray character after final EOF; the
5439 check was probably a remnant of buggy recode code.
5441 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
5443 * fns.c (init_provide_once): Provide `base64'.
5445 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
5447 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
5448 (Fbase64_encode_region): If buffer is read-only, bail out early.
5449 (Fbase64_decode_region): Ditto.
5450 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
5452 (Fbase64_encode_string): Ditto.
5453 (Fbase64_decode_region): Ditto.
5454 (Fbase64_decode_string): Ditto.
5456 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5458 * dired.c (Fdirectory_files): Remove redundant code.
5460 1999-03-05 Philip Aston <philipa@parallax.co.uk>
5462 * frame-msw.c Make raise-frame restore minimised windows.
5464 1999-03-05 Philip Aston <philipa@parallax.co.uk>
5466 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
5469 1999-03-05 Philip Aston <philipa@parallax.co.uk>
5471 * toolbar-msw.c Consider captions when deciding whether to rebuild
5472 toolbar. This fixes the initial toolbar display for those of us
5473 who don't like captions. These patches applied by Andy Piper.
5475 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
5477 * XEmacs 21.2.13 is released
5479 1999-03-12 SL Baur <steve@xemacs.org>
5481 * file-coding.c: Guard ucs table initialization with ifdef MULE.
5483 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
5485 * file-coding.c: docstring and comment improvements.
5486 (decode_ucs4) flag possible data loss with comment.
5488 1999-03-10 Martin Buchholz <martin@xemacs.org>
5490 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
5494 (decode_coding_ucs4):
5495 (encode_coding_ucs4):
5496 (detect_coding_utf8):
5497 (decode_coding_utf8):
5499 (encode_coding_utf8):
5500 Add CHECK_* macros where needed to avoid crashes.
5501 #ifdef out all composite character support using
5502 #ifdef ENABLE_COMPOSITE_CHARS
5503 Use normal XEmacs coding standards.
5505 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
5507 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5509 * file-coding.c (make-coding-system): Add description about
5510 `ucs-4' and `utf-8'.
5511 (detection_state): Modify to implement ucs-4 and utf-8.
5512 (detect_coding_type): Likewise.
5513 (detect_coding_ucs4): New implementation.
5514 (detect_coding_utf8): New implementation.
5515 (encode_utf8): fixed.
5516 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
5519 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5521 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
5522 2022 registry to private area.
5524 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5526 * file-coding.c (encode_utf8): New function.
5527 (encode_coding_utf8): New implementation.
5529 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5531 * file-coding.c (ucs_to_mule_table): New variable; abolish
5532 `Vucs_to_mule_table'
5533 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
5534 (set-ucs-char): New function.
5535 (ucs_to_char): New function.
5536 (ucs-char): New function.
5537 (set-char-ucs): New function.
5538 (char-ucs): New function.
5539 (decode_ucs4): Use `ucs_to_char'.
5540 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
5541 `mule-to-ucs-table'.
5543 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5545 * chartab.h: EXFUN `Fget_char_table'.
5547 * file-coding.c (encode_ucs4): New function.
5548 (encode_coding_ucs4): Use `encode_ucs4'.
5550 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5552 * file-coding.c (decode_coding_ucs4): New implementation.
5554 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5556 * file-coding.c (decode_coding_ucs4): fixed.
5558 * file-coding.c (Vmule_to_ucs_table): New variable.
5559 (mule_char_to_ucs4): New function.
5560 (encode_coding_ucs4): New implementation.
5561 (complex_vars_of_mule_coding): Define variable
5562 `mule-to-ucs-table'.
5564 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5566 * file-coding.c (decode_coding_utf8): New implementation.
5568 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5570 * file-coding.c (decode_coding_utf8): fixed.
5572 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5574 * file-coding.c (Vucs_to_mule_table): New variable.
5575 (decode_ucs4): Refer `Vucs_to_mule_table'.
5576 (complex_vars_of_mule_coding): Define variable
5577 `ucs-to-mule-table'.
5579 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5581 * file-coding.c (detect_coding_ucs4): New function (not
5583 (decode_coding_ucs4): New function.
5584 (encode_coding_ucs4): New function (not implemented yet).
5585 (detect_coding_utf8): New function (not implemented yet).
5586 (decode_coding_utf8): New function.
5587 (encode_coding_utf8): New function (not implemented yet).
5588 (make-coding-system): New type `ucs4' and `utf8'.
5589 (coding-system-type): Likewise.
5590 (detection_state): Add `ucs4' and `utf8'.
5591 (detect_coding_type): Likewise.
5592 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
5593 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
5594 (decode_ucs4): New function (very incomplete).
5595 (syms_of_mule_coding): Add `ucs4' and `utf8'.
5597 * file-coding.h: Add definitions for UCS-4 and UTF-8.
5599 1999-03-08 Martin Buchholz <martin@xemacs.org>
5602 (non_ascii_valid_char_p):
5603 (lookup_composite_char):
5604 (composite_char_string):
5605 (make-composite-char):
5606 (composite-char-string):
5607 (syms_of_mule_charset):
5608 (complex_vars_of_mule_charset):
5609 * mule-charset.h (LEADING_BYTE_COMPOSITE):
5610 (CHAR_LEADING_BYTE):
5612 * file-coding.h (CODING_STATE_COMPOSITE):
5613 (CODING_STATE_ISO2022_LOCK):
5615 (LEADING_BYTE_COMPOSITE):
5616 * file-coding.c (struct iso2022_decoder):
5619 (parse_iso2022_esc):
5620 (encode_coding_iso2022):
5621 #ifdef out all composite character support using
5622 #ifdef ENABLE_COMPOSITE_CHARS
5624 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
5626 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
5628 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
5629 way of `Fbase64_encode_region'.
5631 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
5633 * fns.c (base64_encode_1): Don't add a newline at the tail.
5635 1999-03-08 Andy Piper <andy@xemacs.org>
5637 * menubar-msw.c (displayable_menu_item): correct off-by-one &
5640 1999-03-07 Martin Buchholz <martin@xemacs.org>
5642 * console-stream.h (struct stream_console):
5643 * event-unixoid.c (event_stream_unixoid_select_console):
5644 (event_stream_unixoid_unselect_console):
5645 * print.c (Fexternal_debugging_output):
5646 * sysdep.c (reset_one_device):
5647 * console-stream.c (stream_init_console):
5648 (stream_delete_console):
5649 (allocate_stream_console_struct): move into stream_init_console.
5650 (free_stream_console_struct): move into stream_delete_console.
5651 Use `fd' only for file descriptors.
5652 Therefore, rename members of struct stream_console.
5654 * systime.h: Unix98 says sys/time.h should define select(), but
5655 some systems define that in unistd.h. So include that file always.
5657 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
5658 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
5659 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
5661 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
5665 Add #include <stdio.h>.
5666 Some versions of assert.h use printf() without #include'ing stdio.h
5668 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
5669 (log_gcpro): Remove unused variable FRAME.
5670 (show_gcprohist): Ansify.
5671 Comment the #endif's
5673 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
5674 after it's just been XtDestroy'ed!
5676 1999-02-18 Martin Buchholz <martin@xemacs.org>
5678 * opaque.c (print_opaque):
5682 Egcs 1.1.1 seems to have a bug where
5683 INTP (p->size_or_chain)
5684 will crash XEmacs. Fix by introducing intermediate variable.
5686 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
5688 * dired.c (Fdirectory_files):
5689 (Ffile_name_completion):
5690 (Ffile_name_all_completions):
5691 (file_name_completion):
5692 - Use `directory' instead of `dirname' to sync with FSF Emacs and
5693 avoid compiler warnings.
5694 - Fix up docstrings so that C variables match documentation.
5696 1999-03-05 Martin Buchholz <martin@xemacs.org>
5698 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
5699 variables as small as possible to help out the compiler and the maintainer.
5701 * alloc.c: (disksave_object_finalization):
5702 Set all the *-load-path variables to
5703 nil, not just load-path itself. This gets the locate-file hash
5704 tables garbage collected BEFORE dump, and has the side effect of
5705 preventing crashes on OSF4.0+egcs.
5710 - Clean up gdb/dbx debugging support.
5711 - Storing an EMACS_INT in an enum is not 64-bit clean!
5712 - So change the enum to a set of separate variables.
5713 - Add test cases to help debug the debugging support!
5714 - Add `lisp-shadows' and `run-temacs' targets for dbx.
5715 - Both dbx and gdb have been tested now.
5717 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
5719 * XEmacs 21.2.12 is released
5721 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5723 * device-x.c: Support to find best visual without flashing.
5725 1999-03-02 Paul Keusemann <pkeusem@visi.com>
5727 * database.c (berkdb_map): Add flags argument to cursor call (must
5728 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
5730 1999-03-03 Martin Buchholz <martin@xemacs.org>
5734 General cleanup. Get free-hook.c working again.
5735 Remove unused functions:
5736 make_strings_hash_table, copy_hash, expand_hash_table.
5740 Always use new ANSI-style function prototypes.
5742 * unexalpha.c (unexec): Never use implicit int.
5744 * sgiplay.c (close_sound_file):
5746 (restore_audio_port):
5751 (write_mulaw_8_chunk):
5752 (write_linear_chunk):
5753 (write_linear_32_chunk):
5754 (initialize_audio_port):
5757 (set_output_format):
5758 (adjust_audio_volume):
5759 (get_current_volumes):
5761 Always use new ANSI-style function prototypes.
5762 Use unistd.h for missing prototypes.
5764 * unexelfsgi.c (round_up):
5766 (unexec): Always use new ANSI-style function prototypes
5768 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
5770 * console.h (struct console_methods): Always use full ANSI prototypes
5772 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
5774 1999-03-02 Andy Piper <andy@xemacs.org>
5776 * event-stream.c (init_event_stream): make sure native mswindows
5777 gets an appropriate event loop.
5779 1999-02-22 Andy Piper <andy@xemacs.org>
5781 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
5782 than SW_SHOWNORMAL to prevent resizing of maximised frames.
5783 (mswindows_raise_frame): remove comment.
5785 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
5787 * XEmacs 21.2.11 is released
5789 1999-02-25 SL Baur <steve@xemacs.org>
5791 * mule-charset.c (Qleading_byte): New variable to implement
5792 charset-leading-byte function.
5793 (Fcharset_property): Use it.
5794 (syms_of_mule_charset): Initialize it.
5795 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
5797 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
5799 * glyphs-x.c (cononvert_EImage_to_XImage): correct
5800 bytes per pixel counting.
5802 1999-02-15 Andy Piper <andy@xemacs.org>
5804 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
5807 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
5809 * fns.c (Fbase64_encode_string): New optional argument
5812 1999-02-16 Martin Buchholz <martin@xemacs.org>
5814 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
5815 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
5817 1999-02-10 Martin Buchholz <martin@xemacs.org>
5819 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
5820 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
5822 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
5824 * XEmacs 21.2.10 is released
5826 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
5828 * process-nt.c (nt_send_process):
5829 Fix for process-send-region/process-send-string breaking when size
5830 of the input > 128 chars: change maximum chunk size for process
5831 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
5834 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
5836 * XEmacs 21.2.9 is released
5838 1999-01-30 Martin Buchholz <martin@xemacs.org>
5840 * bytecode.c (funcall_compiled_function): Call
5841 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
5843 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
5844 #ifdef 0 out unused macro.
5846 1999-01-27 Martin Buchholz <martin@xemacs.org>
5848 * gui.c (gui_parse_item_keywords_internal): Make static.
5850 1999-01-21 Andy Piper <andy@xemacs.org>
5852 * glyphs-msw.c: add xface support.
5853 (mswindows_xface_instantiate): new function copied from glyphs-x.c
5854 (image_instantiator_format_create_glyphs_mswindows): do device
5855 specific initialisation for xfaces.
5856 (xbm_create_bitmap_from_data): line data must be padded to a word
5859 * glyphs-x.c (xface_validate): moved to glyphs.c
5860 (xface_normalize): ditto.
5861 (xface_possible_dest_types): ditto.
5862 (image_instantiator_format_create_glyphs_x): do device specific
5863 initialisation for xfaces.
5865 * glyphs.h: declare xface symbol.
5867 * glyphs.c: move generic xface support here.
5868 (xface_validate): moved from glyphs-x.c
5869 (xface_normalize): ditto.
5870 (xface_possible_dest_types): ditto.
5871 (image_instantiator_format_create): xface declarations moved from
5874 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
5876 * event-stream.c (vars_of_event_stream): Fixing documentation.
5878 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
5880 * glyphs-eimage.c (gif_instantiate): Correct handling of
5881 interlaced gifs to avoid writing past the end of the eimage
5884 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
5886 * search.c (Freplace_match): Handle single backslash at end of
5889 1999-01-12 William M. Perry <wmperry@aventail.com>
5891 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
5892 avoid connection errors.
5894 1999-01-12 Andy Piper <andy@xemacs.org>
5896 * redisplay-output.c (redisplay_update_line): backout change that
5897 shouldn't have gone ine.
5899 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5901 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
5902 collide with ldap.el
5904 1999-01-11 Andy Piper <andy@xemacs.org>
5906 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
5907 (DISPLAY_LINE_YPOS): new macro.
5909 * redisplay-msw.c (mswindows_output_string): use it.
5910 (mswindows_output_pixmap): ditto.
5911 (mswindows_output_display_block): ditto.
5913 * redisplay-output.c (redisplay_output_display_block): new
5914 function. just call the devmeth, maybe insert some generic code
5916 (compare_display_blocks): use it.
5917 (output_display_line): ditto.
5918 (redisplay_unmap_subwindows_maybe): new function. potentially
5919 unmap subwindows in the given area.
5921 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
5924 1999-01-10 J. Kean Johnston <jkj@sco.com>
5926 * Makefile.in.in: Set value of moduledir
5927 - Changed DUMPENV to include $(MODULEPATH)
5928 - Added install rule to install header files for use by ellcc.
5930 * config.h.in: Added INHIBIT_SITE_MODULES
5931 - Added HAVE__DLERROR
5932 - Added HAVE_DLFCN_H
5933 - Added DLSYM_NEEDS_UNDERSCORE
5937 * emodules.c: New file containing dynamic loading code.
5939 * emodules.h: New file.
5941 * emacs.c: Added variables Vmodule_directory,
5942 Vsite_module_directory, Vconfigure_module_directory and
5943 Vconfigure_site_module_directory.
5944 - (main_1): Added new variable inhibit_site_modules and command
5945 line options `-no-site-modules' and `--no-site-modules'.
5946 - (main_1): Call syms_of_module() instead of syms_of_dll().
5947 - (main_1): Call vars_of_module().
5948 - (vars_of_emacs): Introduce inhibit-site-modules,
5949 module-directory, configure-module-directory,
5950 site-module-directory, and configure-site-module-directory to the
5953 * lisp.h: Declare load_module and list_modules, as well as
5954 Vmodule_directory, Vsite_module_directory,
5955 Vconfigure_module_directory and Vconfigure_site_module_directory.
5957 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
5958 - Added correct support for site-lisp directory.
5960 * symbols.c (defsubr): Modified to allow modules to add new subrs
5962 - (defsubr_macro): Same.
5963 - (defvar_magick): Only use purespace when not initialized, so
5964 that loaded modules can still add symbols.
5966 * symsinit.h: Add definitions for syms_of_module(),
5967 vars_of_module(). Removed syms_of_dll().
5969 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
5970 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
5971 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
5973 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
5974 explicitly pass -belf for native cc.
5976 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
5977 hard-coding the library name.
5979 1999-01-01 <martin@xemacs.org>
5981 * device-x.c (Fx_set_font_path):
5982 Add proper cast to permit compilation under C++.
5984 * buffer.c (directory_is_current_directory):
5985 Add proper casts to permit compilation under C++.
5987 1998-12-30 Damon Lipparelli <lipp@primus.com>
5989 * event-msw.c (mswindows_wnd_proc):
5990 Fixed failure when building with MSVC 5.
5992 1998-12-29 Martin Buchholz <martin@xemacs.org>
5994 * file-coding.c (decode_coding_iso2022):
5995 - Prevent crash when decoding ISO7/Lock detected files
5996 - the usual martin fiddling
5998 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
6002 Fixed failures when building with MSVC.
6003 * unexnt.c (dump_bss_and_heap):
6004 Removed compiler warning by removing bss_data variable.
6006 1998-12-18 Jim Radford <radford@robby.caltech.edu>
6008 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
6009 so that packages that distribute their own fonts can access them.
6011 1998-12-28 Andy Piper <andy@xemacs.org>
6013 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
6014 that have an image provided.
6016 * glyphs.h: add Q_image decl.
6018 * glyphs-widget.c new functionality allowing images in
6020 (check_valid_glyph_or_image): new function to validate
6021 glyphs passed in through :image.
6022 (widget_normalize): new function. convert :image parameters into
6023 real glyphs if not already so.
6024 (widget_instantiate_1): mess with size parameters to be similar to
6026 (syms_of_glyphs_widget): new keyword :image.
6027 (image_instantiator_format_create_glyphs_widget): normalize
6028 buttons and allow :image.
6030 1998-12-27 Andy Piper <andy@xemacs.org>
6032 * frame-msw.c (mswindows_init_frame_1): warning elimination.
6034 * glyphs-widget.c (check_valid_anything): no-op function.
6035 (check_valid_callback): check callbacks in gui_items.
6036 (check_valid_symbol): as it sounds.
6037 (check_valid_string_or_vector): ditto.
6038 (widget_validate): modified for descriptors that are vectors or
6039 sequences of keyword/val pairs.
6040 (widget_instantiate_1): ditto.
6041 (image_instantiator_format_create_glyphs_widget): allow gui_item
6042 keywords in the instantiator.
6044 * gui.c (gui_parse_item_keywords_internal): renamed from
6045 gui_parse_item_keywords but taking error behaviour.
6046 (gui_parse_item_keywords): use it.
6047 (gui_parse_item_keywords_no_errors): ditto.
6048 (gui_item_add_keyval_pair): add Error_behavior flag and only
6049 signal invalid keywords if required.
6051 * gui.h: new gui signatures.
6053 * menubar.c (menu_parse_submenu_keywords): use new
6054 gui_item_add_keyval_pair signature.
6056 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
6058 1998-12-28 Martin Buchholz <martin@xemacs.org>
6060 * XEmacs 21.2.8 is released.
6062 1998-12-28 Martin Buchholz <martin@xemacs.org>
6064 * editfns.c (get_home_directory):
6065 (user-home-directory): Simplify.
6068 * callproc.c (child_setup):
6069 - Environment variables were being passed to inferior processes
6070 using internal encoding.
6071 - Convert to external encoding.
6072 - Rename local var `tem' to better name `tail'.
6073 - Use Flength instead of `manual' calculation.
6075 * buffer.c (kill-buffer):
6077 (set-buffer-major-mode):
6079 - Fix up parameter names to correspond to docstrings.
6080 - Don't use `bufname' when a buffer will do as well.
6081 - Remove one unneeded GCPRO.
6083 * buffer.h (initial_directory):
6084 * buffer.c (init_initial_directory):
6085 - use correct conversions between internal and external format.
6086 (directory_is_current_directory): new function
6087 (init_buffer): convert initial_directory to internal format.
6088 - solve crashes when current working directory is non-ASCII.
6090 * alloc.c (xmalloc):
6093 - remove stupid casts, since XEmacs requires an ANSI C system.
6094 (lrecord_type_index): replace abort() with more readable assert().
6096 (reset_lcrecord_stats): remove.
6097 (sweep_lcrecords_1):
6098 - replace call to reset_lcrecord_stats() with call to xzero().
6100 1998-12-27 Martin Buchholz <martin@xemacs.org>
6102 * process-unix.c (unix_create_process):
6103 - Fix crash invoking program with non-ASCII name.
6104 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
6105 - Remove unused variable `env'.
6106 - Rename `temp' to better name `save_errno'.
6107 - Reorganize code for clarity. But still too chicken to nuke the
6110 1998-12-24 Martin Buchholz <martin@xemacs.org>
6112 * XEmacs 21.2.7 is released.
6114 1998-12-23 Martin Buchholz <martin@xemacs.org>
6116 * glyphs.c (decode_device_ii_format):
6118 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
6120 * glyphs-x.c (x_subwindow_instantiate):
6121 - A image instance mask was being assigned to a image instance type!
6122 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
6124 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
6126 * glyphs-x.h: Make indentation consistent.
6128 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
6130 * glyphs-widget.c (check_valid_glyph): Warning suppression.
6132 - #ifdef it out, since it's not actually used yet (FIX THIS!)
6136 Move declarations of decode_device_ii_format and
6137 decode_image_instantiator_format into glyphs.h where they belong.
6139 1998-12-22 Martin Buchholz <martin@xemacs.org>
6141 * frame-x.c (x_delete_frame): Revert part of my changes at the
6142 suggestion of Gunnar Evermann - unfortunately no one really
6143 understands this code.
6145 * callproc.c (init_callproc): code cleanup.
6147 * free-hook.c (malloc):
6152 (block_input_malloc):
6153 (block_input_realloc):
6154 * device-x.c (x_delete_device):
6155 * emacs.c (voodoo_free_hook):
6156 * events.c (print_event):
6158 (CHECK_EVENT_TYPE2):
6159 (CHECK_EVENT_TYPE3):
6160 Use proper prototypes.
6161 Make C_E_T macros a little faster.
6162 Pedantic fiddly little changes. You really don't care.
6164 1998-12-22 Andy Piper <andy@xemacs.org>
6166 * redisplay-output.c (redisplay_clear_region): make sure that
6167 fg/bg colors get set even when we are in the border area.
6169 1998-12-13 Martin Buchholz <martin@xemacs.org>
6171 * console-msw.c: Function definitions follow coding standards
6172 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
6174 1998-12-11 Martin Buchholz <martin@xemacs.org>
6176 * events.h (struct timeout_data):
6177 * event-tty.c (tty_timeout_to_emacs_event):
6178 * event-msw.c (mswindows_wm_timer_callback):
6179 * event-Xt.c (Xt_timeout_to_emacs_event):
6180 * event-msw.c (mswindows_cancel_dispatch_event):
6181 Make sure Lisp_Objects inside events are initialized to Qnil, not
6182 Qnull_pointer, which is now illegal.
6184 1998-12-10 Martin Buchholz <martin@xemacs.org>
6186 * lisp.h: Fix up prototypes to match alloc.c
6188 1998-12-08 Martin Buchholz <martin@xemacs.org>
6190 * windowsnt.h: Remove `support' for using index and rindex
6192 * filelock.c (current_lock_owner):
6193 - Change uses of index -> strchr, rindex -> strrchr
6195 1998-12-07 Martin Buchholz <martin@xemacs.org>
6197 * sysdep.c (set_descriptor_non_blocking):
6198 Since O_NONBLOCK is now always #defined, make use of fcntl
6199 conditional on F_SETFL being defined.
6201 * console-msw.c (DHEADgER):
6210 - max_align_t should not be visible to the user of the
6212 - use Bufbyte instead of char
6213 - parens around (FOOP (obj)) are always redundant.
6214 If they were necessary, we should fix the macro instead.
6215 - Always use string_data(foo) instead of foo->data.
6218 1998-12-06 Martin Buchholz <martin@xemacs.org>
6220 * frame-msw.c (mswindows_init_frame_1):
6221 - use make_lisp_hash_table, not Fmake_hash_table
6225 * alloc.c (make_vector): remove travesty
6229 (make_bit_vector_internal):
6231 (make_bit_vector_from_byte_vector):
6233 - make vector_equal a little faster.
6234 - Don't use variable name `new'.
6235 - Use size_t instead of EMACS_INT.
6236 - usual Martin-style pointless bit-twiddling.
6242 Make mapcar faster. In particular, make
6243 (mapc #'identity long-string)
6244 MUCH faster under Mule.
6245 * tests/automated/lisp-tests.el: Test 'em!
6247 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
6250 1998-12-01 Martin Buchholz <martin@xemacs.org>
6252 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
6253 Qnil, not NULL, to initialize `null' Lisp_Objects.
6255 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
6257 * specifier.c (display_table_validate): Update.
6259 * redisplay.c (create_text_block): Use them.
6261 * glyphs.c (display_table_entry): New function.
6262 (get_display_tables): Ditto.
6264 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6266 * eldap.c (toplevel): Mention that eldap.c compiles with
6268 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
6269 (Fldap_search_internal): Ditto
6271 1998-12-11 Martin Buchholz <martin@xemacs.org>
6273 * event-msw.c (mswindows_cancel_dispatch_event):
6274 Gratuitous code prettification
6277 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
6279 * fns.c (Fnconc): Fix use of wrong_type_argument().
6281 * floatfns.c (Ffloat): Fix docstring.
6282 (Ffloat): Fix use of wrong_type_argument().
6284 (extract_float): Ditto.
6289 1998-12-06 Martin Buchholz <martin@xemacs.org>
6291 * frame-msw.c (mswindows_init_frame_1):
6292 - use make_lisp_hash_table, not Fmake_hash_table
6296 * alloc.c (make_vector): remove travesty
6300 (make_bit_vector_internal):
6302 (make_bit_vector_from_byte_vector):
6304 - make vector_equal a little faster.
6305 - Don't use variable name `new'.
6306 - Use size_t instead of EMACS_INT.
6307 - usual Martin-style pointless bit-twiddling.
6313 Make mapcar faster. In particular, make
6314 (mapc #'identity long-string)
6315 MUCH faster under Mule.
6316 * tests/automated/lisp-tests.el: Test 'em!
6318 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
6321 1998-12-02 Didier Verna <verna@inf.enst.fr>
6323 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
6324 accelerator field to nil for labels.
6326 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
6328 * menubar-msw.c (displayable_menu_item):
6329 Escape occurrences of '&' and support occurrences of the
6330 '%_' accelerator indicator in menus.
6332 1998-11-26 Didier Verna <verna@inf.enst.fr>
6334 * dired.c (Fdirectory_files): use make_string instead of
6335 make_ext_string on the filename. The conversion external->internal
6336 format is already done in sys_readdir.
6338 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6340 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
6342 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
6345 (Belatedly) added Kirill to list of file's authors.
6346 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
6347 quit checking. WM_PAINT messages cause redisplay, but
6348 windows' states are not necessarily stable when this function
6351 1998-12-17 Andy Piper <andy@xemacs.org>
6353 * strftime.c (zone_name): CONSTify.
6355 1998-12-15 Andy Piper <andy@xemacs.org>
6357 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
6358 (mswindows_widget_property): return Qunbound when no property available.
6359 (mswindows_button_property): ditto.
6360 (mswindows_combo_property): ditto.
6361 (mswindows_widget_set_property): ditto.
6363 * glyphs-widget.c (check_valid_item_list): use properties.
6365 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
6367 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
6368 (Fimage_instance_property): ditto.
6369 * glyphs-widget.c (widget_property): ditto.
6370 (widget_set_property): ditto.
6372 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
6373 as setting the class cursor so that GC actually changes the
6376 * config.h: don't undef MAIL_USE_POP.
6378 1998-12-13 Andy Piper <andy@xemacs.org>
6381 (image_instantiator_format_create_glyphs_mswindows): line ->
6383 (mswindows_label_instantiate): ditto. Play with window flags.
6384 (image_instantiator_format_create_glyphs_mswindows): ditto.
6385 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
6387 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
6388 cope with lines and labels.
6389 (static_instantiate): use widget_instantiate_1.
6391 (image_instantiator_format_create_glyphs_widget): ditto.
6393 1998-12-10 Andy Piper <andy@xemacs.org>
6395 * Makefile.in.in (objs): add gui.o
6397 1998-12-10 Andy Piper <andy@xemacs.org>
6399 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
6402 1998-12-09 Andy Piper <andy@xemacs.org>
6404 * glyphs.c (finalize_image_instance): mark glyphs changed when an
6405 image instance is removed so that the subwindow cache gets reset
6406 and thus destroyed images get GC'd.
6408 1998-12-08 Andy Piper <andy@xemacs.org>
6410 * gui-msw.c (mswindows_handle_gui_wm_command): call
6411 MARK_SUBWINDOWS_CHANGED.
6413 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
6414 subwindows really get deleted.
6416 * redisplay.c: new variable subwindows_changed[_set].
6417 (redisplay_window): use it.
6418 (redisplay_frame): ditto.
6419 (redisplay_device): ditto.
6420 (redisplay_without_hooks): ditto.
6422 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
6423 subwindows redisplay as per glyphs equivalent.
6424 * redisplay.h: ditto.
6425 (MARK_SUBWINDOWS_CHANGED): ditto.
6426 (RESET_CHANGED_SET_FLAGS): ditto.
6427 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
6429 1998-12-07 Andy Piper <andy@xemacs.org>
6431 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
6434 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
6436 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
6437 messages and paint widget glyphs as appropriate with their face fg
6440 1998-12-06 Andy Piper <andy@xemacs.org>
6442 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
6443 here rather than in glyphs-widget - do this because we only want
6444 to provide what is really available.
6446 * glyphs.c (Fimage_instance_property): new function to get the
6447 properties of image instances. wires through to console specific
6448 methods and then to widget specific methods.
6449 (Fset_image_instance_property): ditto but for setting widget properties.
6450 (check_valid_face): make extern so that it can be used elsewhere.
6452 * glyphs-widget.c (widget_property): new function. gets the
6453 properties of widgets in general and wires the function through to
6454 widget specific ones.
6455 (widget_set_property): ditto but for setting widget properties.
6457 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
6458 add items to the list. Play with window styles a bit to get the
6460 (mswindows_widget_property): break out specific widget properties.
6461 (mswindows_button_property): new function. gets the checked state
6463 (mswindows_combo_property): new function. gets the current
6464 selection in the combo box.
6465 (mswindows_widget_set_property): new function. sets specific
6466 properties of specific widgets.
6468 * glyphs-widget.c (check_valid_item_list): new function. check
6469 that items for a combo-box are just a list of strings.
6470 (combo_validate): new function. check there is an item list.
6471 (widget_instantiate_1): new function. renamed from
6472 widget_instantiate so that we can do slightly different things for
6474 (widget_instantiate): call widget_instantiate_1.
6475 (combo_instantiate): new function to instantiate combo boxes,
6476 defaults height to the pixel height of the number of items in the
6478 (syms_of_glyphs_widget): move widget keywords here.
6479 (image_instantiator_format_create_glyphs_widget): use new combo
6482 1998-12-04 Andy Piper <andy@xemacs.org>
6484 * event-msw.c (mswindows_wnd_proc): mule-ize.
6486 * glyphs.c (pixmap_to_lisp_data): mule-ize.
6488 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
6489 (resource_name_to_resource): ditto.
6490 (mswindows_resource_instantiate): ditto.
6491 (mswindows_widget_instantiate): ditto.
6492 (mswindows_widget_set_property): ditto.
6494 * redisplay-output.c (redisplay_output_subwindow): don't show
6495 subwindows if they are obscured at the edge of the frame, emacs
6496 gets into some sort of redisplay loop otherwise.
6498 * gui.h: prototype gui_item_selected_p.
6500 * gui.c (gui_item_selected_p): new function to determine the
6501 selected state of a gui_item.
6503 * frame.h (struct frame): add subwindows_changed flag.
6505 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
6507 * glyphs.c (update_subwindow): new function to update a
6509 (update_frame_subwindows): new function to update all the
6510 subwindows on a frame.
6512 * console.h (struct console_methods): add update_subwindow.
6514 * glyphs-msw.c (mswindows_widget_property): return selected state
6515 for selected property.
6516 (mswindows_update_subwindow): new function. updates widget glyphs
6517 in redisplay as per menubars or toolbars e.g. selected state.
6518 (console_type_create_glyphs_mswindows): add update_subwindow.
6520 1998-12-03 Andy Piper <andy@xemacs.org>
6522 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
6523 tty coding system things are such.
6525 * glyphs-widget.c (widget_face_font_info): new function for
6526 pulling out height and width metrics for a widget's face.
6527 (widget_text_to_pixel_conversion): calculate pixel sizes of text
6530 * event-msw.c (mswindows_drain_windows_queue): translate messages
6531 that are destined for subwindows. This makes edit fields interact
6532 with the keyboard correctly.
6533 nuke warnings by #ifndef'ing out stuff not required by msg select().
6535 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
6536 macro defining the iiforma without the symbol required by widget.
6537 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
6539 * general.c (syms_of_general): add Qwidget, Qselected.
6541 * faces.c (complex_vars_of_faces): add widget face inheriting from
6544 1998-11-09 Andy Piper <andy@xemacs.org>
6546 * window.h (struct window): add a cache of subwindows on a
6549 * window.c (mark_window): mark the subwindow_instance_cache.
6550 (allocate_window): initialise the subwindow instance_cache.
6552 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
6553 instead of the devmeth.
6554 (x_clear_toolbar): ditto.
6556 * redisplay-x.c (x_output_display_block): call
6557 redisplay_output_subwindow for subwindows and widgets.
6559 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
6560 types to do nothing for.
6562 * lisp.h: declare new widget/subwindow symbols.
6564 * glyphs.c (image_instantiate): cache subwindows on a per-window
6566 (subwindow_possible_dest_types): new function for subwindow dest
6568 (subwindow_instantiate): generic instantiation of a
6569 subwindow. specialised by device multi-methods.
6570 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
6572 (Fimage_instance_subwindow_id): ditto.
6573 (Fresize_subwindow): ditto.
6574 (Fforce_subwindow_map): ditto.
6576 * glyphs-x.c (x_print_image_instance): remove subwindow
6577 stuff. Handled genrically in glyphs.c.
6578 (x_image_instance_equal): ditto.
6579 (x_image_instance_hash): ditto.
6580 (x_finalize_image_instance): delete subwindows when required.
6581 (mark_subwindow) (print_subwindow) (finalize_subwindow)
6582 (subwindow_hash) (Fmake_subwindow): deleted because of new,
6583 glyph-based, subwindow implementation.
6584 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
6586 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
6588 (x_unmap_subwindow): new function to unmap X subwindows.
6589 (x_map_subwindow): new function to map X subwindows.
6590 (x_subwindow_instantiate): new function to instantiate X
6592 (x_resize_subwindow): new function to resize X subwindows.
6593 (console_type_create_glyphs_x): add subwindow functions.
6594 (image_instantiator_format_create_glyphs_x): add device
6595 multi-methods for xpm, xbm and subwindow.
6597 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
6598 (subwindow-width): ditto.
6599 (subwindow-height): ditto.
6601 * glyphs-msw.c (mswindows_widget_instantiate): new function for
6602 generally instantiating ms subwindows. Used by
6603 mswindows_*_instantiate.
6604 (mswindows_edit_instantiate): instantiate an edit field on a
6607 1998-11-04 Andy Piper <andy@xemacs.org>
6609 * symsinit.h: declare new functions.
6611 * redisplay.h: declare new functions.
6613 * redisplay-x.c (x_output_display_block): call
6614 redisplay_clear_region rather than x_clear_region.
6615 (x_output_string): ditto.
6616 (x_output_pixmap): ditto.
6617 (x_clear_to_window_end): ditto.
6618 (x_output_eol_cursor): ditto.
6619 (x_clear_region): only do X specific things. other duties handled
6620 in redisplay_clear_region.
6622 * redisplay-tty.c (tty_clear_region): do tty specific things - some
6623 duties moved to redisplay_clear_region.
6625 * redisplay-output.c (clear_left_border): use
6626 redisplay_clear_region instead of device method.
6627 (clear_right_border): ditto.
6628 (output_display_line): ditto.
6629 (redisplay_output_subwindow): ditto.
6630 (redisplay_clear_top_of_window): ditto.
6631 (redisplay_clear_region): perform duties previously handled by
6632 device methods. call the appropriate device method at the
6633 end. unmap subwindows if necessary.
6635 * redisplay-msw.c (mswindows_output_string): use
6636 redisplay_clear_region instead of mswindows_clear_region.
6637 (mswindows_clear_to_window_end): ditto.
6638 (mswindows_output_display_block): output subwindows when required.
6639 (mswindows_clear_region): only do mswindows specific things,
6640 everything else is now handled in redisplay_clear_region.
6642 * gui.h: add item id hash defines and declare function prototypes.
6644 * gui.c (mark_gui_item): new function for marking gui_items.
6645 (gui_item_hash): generic hash function for generating command ids
6648 * gui-msw.c: new file.
6649 (mswindows_handle_gui_wm_command): new function to handle widget
6652 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
6654 (IIFORMAT_HAS_SHARED_METHOD): ditto.
6655 (DEFINE_DEVICE_IIFORMAT): ditto.
6656 (INITIALIZE_DEVICE_IIFORMAT): ditto.
6657 (struct Lisp_Image_Instance): add widget and subwindow data plus
6658 appropriate access functions.
6660 * glyphs.c (decode_device_ii_format): new function for decoding
6661 image instantiator functions based on a device type as well as an
6663 (decode_image_instantiator_format): just call
6664 decode_device_ii_format with nil device.
6665 (add_entry_to_device_ii_format_list): new function for per device
6667 (add_entry_to_image_instantiator_format_list): just call
6668 add_entry_to_device_ii_format_list with nil device.
6669 (check_valid_vector): new function.
6670 (instantiate_image_instantiator): instantiate using per-format
6671 method and then per-format-per-device method (device
6672 multi-methods). signal an error if neither is possible.
6673 (mark_image_instance): cope with subwindows and widgets.
6674 (print_image_instance): ditto.
6675 (image_instance_equal): ditto.
6676 (image_instance_hash): ditto.
6677 (allocate_glyph): ditto.
6678 (glyph_width): ditto.
6679 (glyph_height_internal): ditto.
6680 (xpm_instantiate): removed because of device multi-methods.
6681 (mark_subwindow_cachels): new cachel functions for caching
6682 instantiated subwindows on a per-frame basis. mostly copied from
6683 glyph cachel functions.
6684 (update_subwindow_cachel_data): ditto.
6685 (add_subwindow_cachel): ditto.
6686 (get_subwindow_cachel_index): ditto.
6687 (reset_subwindow_cachels): ditto.
6688 (mark_subwindow_cachels_as_not_updated): ditto.
6689 (unmap_subwindow): generic unmapping of subwindows based on cachel
6691 (map_subwindow): ditto.
6692 (initialize_subwindow_image_instance): generic initialisation of
6694 (syms_of_glyphs): add widget keywords.
6696 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
6699 1998-11-04 Andy Piper <andy@xemacs.org>
6701 * glyphs-widget.c: new file for instantiating widget type glyphs.
6702 (widget_possible_dest_types): new general dest type function for
6704 (widget_validate): ditto.
6705 (initialize_widget_image_instance): ditto
6706 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
6707 before handing on control to device multi-methods.
6708 (syms_of_glyphs_widget): new function.
6709 (image_instantiator_format_create_glyphs_widget): new function,
6710 added placeholders for button, edit, combo, scrollbar
6711 (vars_of_glyphs_widget): new function.
6713 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
6714 storing window ids of widgets.
6716 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
6717 deletion of widget and subwindow glyphs.
6718 (mswindows_unmap_subwindow): new device function for unmapping
6719 subwindows on a msw frame.
6720 (mswindows_map_subwindow): ditto.
6721 (mswindows_register_image_instance): register instantiated widgets
6722 with the widget hastable.
6723 (mswindows_button_instantiate): instantiate a button type widget
6725 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
6727 (image_instantiator_format_create_glyphs_mswindows): add device
6728 multi-methods for xbm, xpm, subwindow, edit and button.
6730 * frame.h (struct frame): add subwindow_cachels dynarr for caching
6731 information about subwindows visible on the current frame. used by
6732 redisplay_clear_region to unmap subwindows as required.
6734 * frame.c (mark_frame): mark subwindow_cachels.
6735 (allocate_frame_core): instantiate subwindow_cachels.
6737 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
6740 * event-msw.c (mswindows_wnd_proc): add call to
6741 mswindows_handle_gui_wm_command to handle widget callbacks.
6743 * emacs.c (main_1): add calls to glyphs-widget initialisation
6746 * console.h (struct console_methods): add
6747 unmap/map_subwindow_method for use be redisplay_clear_region to
6748 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
6749 with by image instantiator multi-methods. Add
6750 resize_subwindow_method.
6752 * console-stream.c (stream_clear_region): change signature to
6753 match new generic clear region function.
6755 * Makefile.in.in: add glyphs-widget.o to list of objects.
6757 * console-msw.h (struct mswindows_frame): add widget hashtable for
6758 wiring command ids to callbacks.
6760 1998-12-16 Andy Piper <andy@xemacs.org>
6762 * XEmacs 21.2.6 is released
6764 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
6766 * md5.c (Fmd5): Correctly initiate string input stream.
6768 * Makefile.in.in (tests): Add md5-tests.el.
6770 1998-12-06 Martin Buchholz <martin@xemacs.org>
6773 * alloc.c (make_vector): remove travesty
6777 (make_bit_vector_internal):
6779 (make_bit_vector_from_byte_vector):
6781 - make vector_equal a little faster.
6782 - Don't use variable name `new'.
6783 - Use size_t instead of EMACS_INT.
6784 - usual Martin-style pointless bit-twiddling.
6790 Make mapcar faster. In particular, make
6791 (mapc #'identity long-string)
6792 MUCH faster under Mule.
6793 * tests/automated/lisp-tests.el: Test 'em!
6795 1998-12-06 Martin Buchholz <martin@xemacs.org>
6797 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
6800 1998-12-13 Martin Buchholz <martin@xemacs.org>
6802 * console-msw.c: Function definitions follow coding standards
6803 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
6805 1998-12-11 Martin Buchholz <martin@xemacs.org>
6807 * events.h (struct timeout_data):
6808 * event-tty.c (tty_timeout_to_emacs_event):
6809 * event-msw.c (mswindows_wm_timer_callback):
6810 * event-Xt.c (Xt_timeout_to_emacs_event):
6811 * event-msw.c (mswindows_cancel_dispatch_event):
6812 Make sure Lisp_Objects inside events are initialized to Qnil, not
6813 Qnull_pointer, which is now illegal.
6815 1998-12-10 Martin Buchholz <martin@xemacs.org>
6817 * lisp.h: Fix up prototypes to match alloc.c
6819 1998-12-09 Andy Piper <andy@xemacs.org>
6821 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
6822 XSETINT for assigning lisp objects.
6824 1998-12-07 Martin Buchholz <martin@xemacs.org>
6827 * console-msw.c (DHEADER):
6836 - max_align_t should not be visible to the user of the
6838 - use Bufbyte instead of char
6839 - parens around (FOOP (obj)) are always redundant.
6840 If they were necessary, we should fix the macro instead.
6841 - Always use string_data(foo) instead of foo->data.
6843 1998-12-07 Martin Buchholz <martin@xemacs.org>
6845 * sysdep.c (set_descriptor_non_blocking):
6846 Since O_NONBLOCK is now always #defined, make use of fcntl
6847 conditional on F_SETFL being defined.
6849 1998-12-09 Andy Piper <andy@xemacs.org>
6851 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
6852 that got removed in the merge
6854 1998-11-30 Greg Klanderman <greg@alphatech.com>
6856 * dired.c (vars_of_dired): bugfix for previous conditionalization
6857 of user-name-completion on non- Windows NT.
6859 1998-12-08 Martin Buchholz <martin@xemacs.org>
6861 * windowsnt.h: Remove `support' for using index and rindex
6863 * filelock.c (current_lock_owner):
6864 - Change uses of index -> strchr, rindex -> strrchr
6866 1998-12-06 Martin Buchholz <martin@xemacs.org>
6868 * frame-msw.c (mswindows_init_frame_1):
6869 - use make_lisp_hash_table, not Fmake_hash_table
6872 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
6874 * XEmacs 21.2.5 is released
6876 1998-11-30 Martin Buchholz <martin@xemacs.org>
6878 * xselect.c (receive_incremental_selection):
6879 * xselect.c (x_get_window_property):
6880 * xmu.c (XmuReadBitmapDataFromFile):
6881 * xmu.c (XmuCursorNameToIndex):
6882 * xgccache.c (describe_gc_cache):
6883 * xgccache.c (gc_cache_lookup):
6884 * xgccache.c (free_gc_cache):
6885 * xgccache.c (make_gc_cache):
6887 * window.c (map_windows_1):
6888 * window.c (Fother_window_for_scrolling):
6889 * window.c (window_scroll):
6890 * window.c (change_window_height):
6891 * window.c (Fsplit_window):
6892 * window.c (window_left_gutter_width):
6893 * window.c (window_modeline_height):
6894 * window.c (invalidate_vertical_divider_cache_in_window):
6895 * window.c (window_needs_vertical_divider_1):
6896 * window.c (update_mirror_internal):
6897 * window.c (SET_LAST_FACECHANGE):
6898 * widget.c (Fwidget_plist_member):
6899 * unexec.c (copy_text_and_data):
6900 * unexcw.c (copy_executable_and_dump_data_section):
6902 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
6903 * tooltalk.c (struct Lisp_Tooltalk_Message):
6904 * toolbar.h (struct toolbar_button):
6905 * toolbar.c (default_toolbar_visible_p_changed_in_window):
6906 * toolbar.c (recompute_overlaying_specifier):
6907 * toolbar.c (toolbar_validate):
6908 * toolbar.c (toolbar_button_at_pixpos):
6909 * toolbar.c (get_toolbar_coords):
6910 * toolbar.c (update_frame_toolbars):
6912 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
6913 * toolbar-msw.c (mswindows_find_toolbar_pos):
6914 * toolbar-msw.c (mswindows_output_toolbar):
6915 * toolbar-msw.c (mswindows_clear_toolbar):
6924 * sysdep.c (sys_fopen):
6925 * sysdep.c (sys_open):
6926 * sysdep.c (tty_init_sys_modes_on_device):
6927 * sysdep.c (get_eof_char):
6928 * sysdep.c (child_setup_tty):
6929 * sysdep.c (set_descriptor_non_blocking):
6931 * syntax.c (scan_words):
6934 * symeval.h (struct symbol_value_varalias):
6935 * symeval.h (struct symbol_value_forward):
6936 * symbols.c (syms_of_symbols):
6937 * symbols.c (init_symbols_once_early):
6938 * symbols.c (Fbuilt_in_variable_type):
6939 * symbols.c (Fsymbol_value_in_buffer):
6940 * symbols.c (default_value):
6942 * symbols.c (find_symbol_value_quickly):
6943 * symbols.c (store_symval_forwarding):
6944 * symbols.c (set_default_console_slot_variable):
6945 * symbols.c (set_default_buffer_slot_variable):
6946 * symbols.c (verify_ok_for_buffer_local):
6947 * symbols.c (symbol_is_constant):
6948 * symbols.c (oblookup):
6949 * symbols.c (Funintern):
6950 * symbols.c (Fintern):
6951 * symbols.c (check_obarray):
6953 * specifier.h (struct specifier_methods):
6955 * specifier.c (specifier_instance):
6956 * specifier.c (specifier_instance_from_inst_list):
6957 * specifier.c (decode_locale_type):
6958 * specifier.c (specifier_equal):
6959 * specifier.c (finalize_specifier):
6960 * specifier.c (prune_specifiers):
6961 * specifier.c (kill_specifier_buffer_locals):
6962 * sound.c (init_native_sound):
6965 * search.c (Fmatch_data):
6966 * search.c (match_limit):
6967 * search.c (Freplace_match):
6968 * search.c (skip_chars):
6969 * search.c (scan_buffer):
6971 * scrollbar.c (specifier_vars_of_scrollbar):
6972 * scrollbar.c (Fscrollbar_set_hscroll):
6973 * scrollbar.c (vertical_scrollbar_changed_in_window):
6974 * scrollbar.c (release_window_mirror_scrollbars):
6975 * scrollbar.c (free_scrollbar_instance):
6978 * s/msdos.h (O_BINARY):
6980 * s/freebsd.h (LIBS_TERMCAP):
6981 * regex.c (re_match_2_internal):
6982 * regex.c (compile_extended_range):
6983 * regex.c (POP_FAILURE_POINT):
6984 * regex.c (PUSH_FAILURE_POINT):
6985 * redisplay.h (RESET_CHANGED_SET_FLAGS):
6987 * redisplay.h (struct display_line):
6988 * redisplay.h (struct rune):
6989 * redisplay.c (vars_of_redisplay):
6990 * redisplay.c (redisplay_variable_changed):
6991 * redisplay.c (UPDATE_CACHE_RETURN):
6992 * redisplay.c (validate_line_start_cache):
6993 * redisplay.c (mark_redisplay_structs):
6994 * redisplay.c (mark_glyph_block_dynarr):
6995 * redisplay.c (window_line_number):
6996 * redisplay.c (redisplay_frame):
6997 * redisplay.c (redisplay_window):
6998 * redisplay.c (generate_modeline):
6999 * redisplay.c (create_right_glyph_block):
7000 * redisplay.c (create_left_glyph_block):
7001 * redisplay.c (create_text_block):
7003 * redisplay-x.c (x_output_hline):
7004 * redisplay-x.c (x_output_vertical_divider):
7005 * redisplay-tty.c (tty_output_display_block):
7006 * redisplay-output.c (output_display_line):
7007 * redisplay-output.c:
7008 * redisplay-msw.c (mswindows_output_vertical_divider):
7009 * redisplay-msw.c (mswindows_ring_bell):
7010 * redisplay-msw.c (mswindows_output_cursor):
7014 * puresize.h (RAW_PURESIZE):
7015 * profile.c (syms_of_profile):
7016 * profile.c (Fstart_profiling):
7017 * profile.c (sigprof_handler):
7020 * process.c (vars_of_process):
7021 * process.c (read_process_output):
7022 * process.c (get_process):
7024 * process-unix.c (unix_open_multicast_group):
7025 * process-unix.c (unix_get_tty_name):
7026 * process-unix.c (unix_send_process):
7027 * process-unix.c (unix_reap_exited_processes):
7028 * process-unix.c (unix_create_process):
7029 * process-unix.c (unix_init_process_io_handles):
7030 * process-unix.c (allocate_pty):
7032 * process-nt.c (nt_open_network_stream):
7033 * process-nt.c (nt_update_status_if_terminated):
7034 * process-nt.c (nt_finalize_process_data):
7036 * print.c (debug_short_backtrace):
7037 * print.c (debug_backtrace):
7038 * print.c (print_symbol):
7039 * print.c (print_internal):
7040 * print.c (print_cons):
7041 * print.c (Fwrite_char):
7042 * print.c (print_prepare):
7043 * print.c (canonicalize_printcharfun):
7044 * print.c (output_string):
7047 * opaque.c (allocate_managed_opaque):
7049 * offix.c (DndSetData):
7050 * objects.c (face_boolean_create):
7051 * objects.c (font_instantiate):
7052 * objects.c (font_create):
7053 * objects.c (color_create):
7054 * objects.c (finalize_font_instance):
7055 * objects.c (finalize_color_instance):
7057 * objects-x.c (x_font_instance_truename):
7059 * objects-x.c (x_initialize_font_instance):
7060 * objects-x.c (allocate_nearest_color):
7061 * objects-tty.c (tty_initialize_font_instance):
7062 * objects-tty.c (tty_initialize_color_instance):
7063 * objects-msw.c (mswindows_initialize_color_instance):
7064 * ntproc.c (syms_of_ntproc):
7065 * ntproc.c (Fwin32_set_process_priority):
7066 * ntproc.c (sys_spawnve):
7068 * ntheap.c (get_data_end):
7072 * nt.c (generate_inode_val):
7073 * nt.c (sys_rename):
7075 * mule-wnnfns.c (Fwnn_hinsi_number):
7076 * mule-wnnfns.c (Fwnn_yuragi):
7077 * mule-wnnfns.c (Fwnn_common_learn):
7078 * mule-wnnfns.c (Fwnn_suffix_learn):
7079 * mule-wnnfns.c (Fwnn_prefix_learn):
7080 * mule-wnnfns.c (Fwnn_okuri_learn):
7081 * mule-wnnfns.c (Fwnn_complex_conv):
7082 * mule-wnnfns.c (Fwnn_last_is_first):
7083 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
7084 * mule-wnnfns.c (Fwnn_notrans_dict_add):
7085 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
7086 * mule-wnnfns.c (Fwnn_fisys_dict_add):
7087 * mule-wnnfns.c (Fwnn_hinsi_list):
7088 * mule-wnnfns.c (Fwnn_fuzokugo_set):
7089 * mule-wnnfns.c (Fwnn_dict_search):
7090 * mule-wnnfns.c (Fwnn_word_toroku):
7091 * mule-wnnfns.c (Fwnn_hindo_update):
7092 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
7093 * mule-wnnfns.c (Fwnn_kakutei):
7094 * mule-wnnfns.c (Fwnn_begin_henkan):
7095 * mule-wnnfns.c (Fwnn_dict_comment):
7096 * mule-wnnfns.c (Fwnn_dict_add):
7097 * mule-wnnfns.c (Fwnn_open):
7098 * mule-mcpath.c (mc_getcwd):
7099 * mule-coding.c (vars_of_mule_coding):
7100 * mule-coding.c (convert_to_external_format):
7101 * mule-coding.c (encoding_marker):
7102 * mule-coding.c (decoding_marker):
7103 * mule-coding.c (Fcopy_coding_system):
7104 * mule-coding.c (Fmake_coding_system):
7105 * mule-coding.c (Fcoding_system_list):
7106 * mule-coding.c (Ffind_coding_system):
7107 * mule-coding.c (symbol_to_eol_type):
7109 * mule-charset.c (complex_vars_of_mule_charset):
7110 * mule-charset.c (vars_of_mule_charset):
7111 * mule-charset.c (Fset_charset_ccl_program):
7112 * mule-charset.c (struct charset_list_closure):
7113 * mule-charset.c (Ffind_charset):
7114 * mule-charset.c (make_charset):
7115 * mule-charset.c (non_ascii_valid_char_p):
7117 * mule-ccl.c (ccl_driver):
7118 * mule-canna.c (c2mu):
7119 * mule-canna.c (Fcanna_henkan_begin):
7120 * mule-canna.c (Fcanna_parse):
7121 * mule-canna.c (Fcanna_store_yomi):
7122 * mule-canna.c (Fcanna_touroku_string):
7123 * mule-canna.c (Fcanna_initialize):
7125 * menubar.c (menu_parse_submenu_keywords):
7126 * menubar-x.c (make_dummy_xbutton_event):
7127 * menubar-x.c (set_frame_menubar):
7128 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7131 * menubar-msw.c (mswindows_popup_menu):
7132 * menubar-msw.c (mswindows_update_frame_menubars):
7133 * menubar-msw.c (mswindows_handle_wm_command):
7134 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
7135 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
7136 * menubar-msw.c (update_frame_menubar_maybe):
7137 * menubar-msw.c (populate_or_checksum_helper):
7138 * menubar-msw.c (empty_menu):
7141 * marker.c (set_marker_internal):
7142 * marker.c (print_marker):
7145 * lstream.c (lisp_buffer_rewinder):
7146 * lstream.c (mark_lstream):
7148 * lrecord.h (struct lrecord_header):
7149 * lread.c (readevalloop):
7150 * lread.c (locate_file):
7151 * lread.c (locate_file_in_directory):
7152 * lread.c (Flocate_file):
7153 * lread.c (load_force_doc_string_unwind):
7154 * lread.c (ebolify_bytecode_constants):
7159 * linuxplay.c (linux_play_data_or_file):
7160 * linuxplay.c (audio_init):
7163 * keymap.c (describe_map):
7164 * keymap.c (describe_map_mapper):
7165 * keymap.c (Fdescribe_bindings_internal):
7166 * keymap.c (Fsingle_key_description):
7167 * keymap.c (map_keymap_sorted):
7168 * keymap.c (get_relevant_keymaps):
7169 * keymap.c (Flookup_key):
7170 * keymap.c (raw_lookup_key_mapper):
7171 * keymap.c (Fdefine_key):
7172 * keymap.c (Fevent_matches_key_specifier_p):
7173 * keymap.c (key_desc_list_to_event):
7174 * keymap.c (define_key_parser):
7175 * keymap.c (define_key_check_and_coerce_keysym):
7176 * keymap.c (keymap_submaps):
7177 * keymap.c (keymap_store_internal):
7178 * keymap.c (keymap_delete_inverse_internal):
7179 * keymap.c (keymap_store_inverse_internal):
7180 * keymap.c (print_keymap):
7181 * keymap.c (Lisp_Keymap):
7184 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
7185 * insdel.c (make_gap):
7186 * input-method-xlib.c (get_XIM_input):
7187 * input-method-xlib.c (XIM_init_frame):
7192 * gui-x.c (button_item_to_widget_value):
7193 * gui-x.c (popup_selection_callback):
7194 * glyphs.h (struct image_instantiator_methods):
7195 * glyphs.c (mark_glyph_cachels):
7196 * glyphs.c (Fglyph_type):
7197 * glyphs.c (image_instantiate):
7198 * glyphs.c (image_create):
7199 * glyphs.c (make_image_instance_1):
7200 * glyphs.c (finalize_image_instance):
7202 * glyphs-x.c (finalize_subwindow):
7203 * glyphs-x.c (xface_validate):
7204 * glyphs-x.c (x_locate_pixmap_file):
7205 * glyphs-x.c (convert_EImage_to_XImage):
7207 * glyphs-msw.c (mswindows_resource_instantiate):
7208 * glyphs-msw.c (xpm_to_eimage):
7209 * glyphs-msw.c (convert_EImage_to_DIBitmap):
7210 * glyphs-eimage.c (tiff_instantiate):
7211 * glyphs-eimage.c (png_instantiate):
7212 * glyphs-eimage.c (struct png_error_struct):
7213 * glyphs-eimage.c (gif_memory_storage):
7216 * getloadavg.c (getloadavg):
7219 * free-hook.c (log_gcpro):
7220 * free-hook.c (check_malloc):
7221 * free-hook.c (check_free):
7222 * free-hook.c (ROUND_UP_TO_PAGE):
7224 * frame.h (struct frame):
7226 * frame.c (change_frame_size_1):
7227 * frame.c (allocate_frame_core):
7229 * frame-x.c (x_focus_on_frame):
7230 * frame-x.c (x_init_frame_2):
7231 * frame-x.c (x_popup_frame):
7232 * frame-x.c (xemacs_XtPopup):
7234 * frame-x.c (Foffix_start_drag_internal):
7235 * frame-x.c (x_cde_destroy_callback):
7236 * frame-x.c (x_wm_hack_wm_protocols):
7237 * frame-tty.c (tty_frame_visible_p):
7238 * frame-msw.c (mswindows_make_frame_invisible):
7239 * frame-msw.c (mswindows_after_init_frame):
7240 * frame-msw.c (mswindows_init_frame_1):
7241 * fns.c (syms_of_fns):
7242 * fns.c (Fbase64_decode_string):
7244 * fns.c (Ffillarray):
7245 * fns.c (Fobject_plist):
7247 * fns.c (Fcanonicalize_lax_plist):
7248 * fns.c (Fcanonicalize_plist):
7249 * fns.c (Fplist_remprop):
7250 * fns.c (Fplist_get):
7251 * fns.c (advance_plist_pointers):
7252 * fns.c (internal_plist_put):
7253 * fns.c (Fnreverse):
7256 * fns.c (Fsubstring):
7257 * fns.c (Fbvconcat):
7259 * fns.c (length_with_bytecode_hack):
7260 * fns.c (print_bit_vector):
7262 * floatfns.c (Ffloor):
7264 * floatfns.c (in_float_error):
7265 * fileio.c (Ffile_modes):
7266 * fileio.c (Fexpand_file_name):
7267 * fileio.c (Fmake_temp_name):
7268 * fileio.c (Ffile_name_nondirectory):
7269 * fileio.c (Ffile_name_directory):
7271 * file-coding.c (vars_of_mule_coding):
7272 * file-coding.c (convert_to_external_format):
7273 * file-coding.c (encoding_marker):
7274 * file-coding.c (decoding_marker):
7275 * file-coding.c (Fcopy_coding_system):
7276 * file-coding.c (Fmake_coding_system):
7277 * file-coding.c (struct coding_system_list_closure):
7278 * file-coding.c (Ffind_coding_system):
7279 * file-coding.c (symbol_to_eol_type):
7281 * faces.h (struct face_cachel):
7282 * faces.c (vars_of_faces):
7283 * faces.c (face_property_was_changed):
7284 * faces.c (mark_face_cachels):
7285 * faces.c (temporary_faces_list):
7286 * faces.c (struct face_list_closure):
7288 * extents.h (struct extent):
7289 * extents.c (vars_of_extents):
7290 * extents.c (struct copy_string_extents_1_arg):
7291 * extents.c (add_string_extents_mapper):
7292 * extents.c (Fextent_property):
7293 * extents.c (Fset_extent_property):
7294 * extents.c (symbol_to_glyph_layout):
7295 * extents.c (properties_equal):
7296 * extents.c (print_extent):
7297 * extents.c (print_extent_1):
7298 * extents.c (extent_in_region_p):
7299 * extents.c (gap_array_make_gap):
7301 * events.h (struct Lisp_Event):
7303 * events.c (Fevent_properties):
7304 * events.c (format_event_object):
7305 * events.c (Fmake_event):
7306 * events.c (event_equal):
7307 * events.c (print_event):
7308 * events.c (mark_event):
7309 * event-stream.c ((read-char)
7310 * event-stream.c (vars_of_event_stream):
7311 * event-stream.c (syms_of_event_stream):
7312 * event-stream.c (Fset_recent_keys_ring_size):
7313 * event-stream.c (Fsit_for):
7314 * event-stream.c (Fnext_event):
7315 * event-stream.c (execute_help_form):
7316 * event-stream.c (maybe_kbd_translate):
7318 * event-msw.c (vars_of_event_mswindows):
7319 * event-msw.c (mswindows_wnd_proc):
7320 * event-msw.c (mswindows_need_event):
7321 * event-msw.c (mswindows_drain_windows_queue):
7322 * event-msw.c (mswindows_pump_outstanding_events):
7324 * event-msw.c (slurp_thread):
7325 * event-msw.c (struct ntpipe_slurp_stream):
7326 * event-msw.c (HANDLE_TO_USID):
7327 * event-Xt.c (emacs_Xt_handle_magic_event):
7328 * event-Xt.c (x_event_to_emacs_event):
7329 * event-Xt.c (x_reset_modifier_mapping):
7330 * event-Xt.c (x_reset_key_mapping):
7332 * eval.c (syms_of_eval):
7333 * eval.c (warn_when_safe):
7334 * eval.c (warn_when_safe_lispobj):
7335 * eval.c (Fbacktrace_frame):
7336 * eval.c (Fbacktrace):
7337 * eval.c (top_level_set):
7338 * eval.c (unbind_to_hairy):
7339 * eval.c (specbind_magic):
7340 * eval.c (specbind_unwind_wasnt_local):
7341 * eval.c (call2_trapping_errors):
7342 * eval.c (call1_trapping_errors):
7343 * eval.c (catch_them_squirmers_call2):
7344 * eval.c (call0_trapping_errors):
7345 * eval.c (run_hook_trapping_errors):
7346 * eval.c (catch_them_squirmers_eval_in_buffer):
7347 * eval.c (call4_in_buffer):
7348 * eval.c (call3_in_buffer):
7349 * eval.c (call2_in_buffer):
7350 * eval.c (call1_in_buffer):
7351 * eval.c (call0_in_buffer):
7352 * eval.c (run_hook):
7353 * eval.c (run_hook_with_args_in_buffer):
7356 * eval.c (do_autoload):
7357 * eval.c (un_autoload):
7358 * eval.c (Fautoload):
7359 * eval.c (Finteractive_p):
7360 * eval.c (Fcommand_execute):
7361 * eval.c (signal_quit):
7362 * eval.c (call_with_suspended_errors):
7363 * eval.c (signal_error):
7364 * eval.c (return_from_signal):
7365 * eval.c (Fcall_with_condition_handler):
7366 * eval.c (run_condition_case_handlers):
7367 * eval.c (condition_case_1):
7368 * eval.c (Funwind_protect):
7369 * eval.c (unwind_to_catch):
7370 * eval.c (internal_catch):
7371 * eval.c (Fmacroexpand_internal):
7372 * eval.c (Fuser_variable_p):
7373 * eval.c (Fdefconst):
7375 * eval.c (Ffunction):
7376 * eval.c (signal_call_debugger):
7377 * eval.c (call_debugger):
7380 * emacs.c (sort_args):
7384 * editfns.c (Fencode_time):
7385 * editfns.c (Fdecode_time):
7386 * editfns.c (Fuser_full_name):
7388 * editfns.c (save_excursion_restore):
7391 * doprnt.c (emacs_doprnt_1):
7392 * doc.c (verify_doc_mapper):
7393 * doc.c (Fsnarf_documentation):
7394 * doc.c (Fdocumentation):
7396 * dired.c (user_name_completion):
7397 * dired.c (Fdirectory_files):
7400 * dgif_lib.c (FreeSavedImages):
7401 * dgif_lib.c (DGifGetImageDesc):
7403 * device.h (struct device):
7404 * device.c (Fselect_device):
7405 * device.c (allocate_device):
7407 * device-x.c (Fx_keysym_on_keyboard_p):
7408 * device-x.c (Fx_valid_keysym_name_p):
7409 * device-x.c (x_IO_error_handler):
7410 * device-x.c (x_delete_device):
7411 * device-x.c (x_finish_init_device):
7412 * device-x.c (x_init_device):
7414 * device-msw.c (mswindows_init_device):
7416 * database.c (vars_of_database):
7417 * database.c (Fput_database):
7418 * database.c (Fopen_database):
7419 * database.c (berkdb_remove):
7420 * database.c (berkdb_put):
7421 * database.c (Fdatabasep):
7422 * database.c (print_database):
7424 * data.c (vars_of_data):
7425 * data.c (syms_of_data):
7426 * data.c (init_errors_once_early):
7427 * data.c (prune_weak_lists):
7428 * data.c (finish_marking_weak_lists):
7429 * data.c (print_weak_list):
7431 * data.c (Fstring_to_number):
7432 * data.c (Fnumber_to_string):
7433 * data.c (Findirect_function):
7436 * data.c (Fsubr_interactive):
7438 * data.c (Fkeywordp):
7441 * console.h (CONSOLE_NAME):
7443 * console.c (vars_of_console):
7444 * console.c (Fselect_console):
7446 * console-x.h (DEVICE_X_COLORMAP):
7447 * console-x.h (struct x_device):
7448 * console-x.c (x_device_to_console_connection):
7449 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
7450 * console-tty.c (tty_init_console):
7452 * console-msw.h (struct mswindows_frame):
7455 * cmds.c (internal_self_insert):
7456 * cmds.c (Fforward_line):
7457 * cmds.c (Fforward_char):
7460 * chartab.c (mark_char_table_entry):
7462 * casefiddle.c (casify_word):
7463 * callproc.c (child_setup):
7464 * callproc.c (Fcall_process_internal):
7466 * callint.c (Fcall_interactively):
7468 * bytecode.c (execute_rare_opcode):
7469 * bytecode.c (execute_optimized_program):
7472 * buffer.h (BUFFER_REALLOC):
7473 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
7474 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
7476 * buffer.h (MAP_INDIRECT_BUFFERS):
7477 * buffer.h (CHECK_LIVE_BUFFER):
7478 * buffer.c (init_initial_directory):
7479 * buffer.c (complex_vars_of_buffer):
7480 * buffer.c (vars_of_buffer):
7481 * buffer.c (finish_init_buffer):
7482 * buffer.c (Fget_file_buffer):
7483 * buffer.c (Fbuffer_list):
7484 * buffer.c (mark_buffer):
7485 * balloon_help.c (balloon_help_move_to_pointer):
7486 * balloon_help.c (show_help):
7489 * alloc.c (garbage_collect_1):
7490 * alloc.c (sweep_strings):
7491 * alloc.c (sweep_compiled_functions):
7492 * alloc.c (sweep_bit_vectors_1):
7493 * alloc.c (sweep_vectors_1):
7494 * alloc.c (sweep_lcrecords_1):
7495 * alloc.c (tick_lcrecord_stats):
7496 * alloc.c (pure_string_sizeof):
7497 * alloc.c (mark_conses_in_list):
7498 * alloc.c (mark_object):
7499 * alloc.c (report_pure_usage):
7500 * alloc.c (make_pure_float):
7501 * alloc.c (make_pure_string):
7502 * alloc.c (free_managed_lcrecord):
7503 * alloc.c (mark_string):
7504 * alloc.c (noseeum_make_marker):
7505 * alloc.c (allocate_event):
7506 * alloc.c (Fbit_vector):
7507 * alloc.c (Fvector):
7508 * alloc.c (make_float):
7509 * alloc.c (Fmake_list):
7511 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
7512 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
7513 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
7514 * alloc.c (dbg_constants):
7515 * alloc.c (gc_record_type_p):
7516 * alloc.c (free_lcrecord):
7517 * alloc.c (xmalloc):
7518 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
7520 * Makefile.in.in (mostlyclean):
7521 * Makefile.in.in (external_client_xlib_objs_nonshared):
7522 * Makefile.in.in (temacs_link_args):
7523 * Makefile.in.in (release):
7524 * Makefile.in.in (dnd_objs):
7525 * Makefile.in.in (objs):
7526 * Makefile.in.in (PROGNAME):
7527 * EmacsShell.c: cast strings to (XtPointer)
7528 * EmacsFrame.c: cast strings to (XtPointer)
7530 - rewrite basic lisp functions for speed
7531 - rewrite bytecode interpreter for speed
7532 - rewrite list looping constructs for speed and safety using
7534 - use size_t where appropriate.
7535 - new hashtable implementation
7536 - cleanup implementation of opaques
7537 - opaques can now be purecopy'ed
7538 - move some cl functionality into C for speed.
7539 - remove last remaining VMS support
7541 - improve gdb/dbx debugger support
7542 - move pure.c back into alloc.c for performance
7543 - enable report_pure_usage() if --memory-usage-stats
7544 - remove remnants of Energize support (EMACS_BTL, cadillac...)
7545 - don't use symbols with leading `_' or embedded `__'
7546 - globally cleanup duplicated semicolons `;;'
7547 - I give in on %p vs %lx - we use printf("%lx",(long) p)
7549 - globally replace O_NDELAY with O_NONBLOCK.
7550 - globally replace CDISABLE with _POSIX_VDISABLE.
7551 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
7552 - define (and maybe use!) STDERR_FILENO and friends.
7553 - add support for macros defined in C
7554 - `when', `unless', `not' and `defalias' now defined in C,
7555 so that they are universally available.
7556 - rename defvar_mumble to defvar_magic
7557 - rename RETURN__ to RETURN_SANS_WARNINGS
7558 - use consistent style of initial caps in error messages
7559 - implement last, butlast, nbutlast, copy-list in C.
7560 - provide typedefs for all struct Lisp_foo types
7561 - Lisp_Objects must be initialized to Qnil rather than 0.
7562 - make sure XEmacs runs (slowly) with always_gc == 1;
7563 - fast and safe LOOP_* macros
7564 - change calls to XSETOBJ to XSETFOO
7565 - replace calls to XSETINT by make_int()
7566 - plug up memory leaks
7567 - use style markobj (foo), not silly ((markobj) (foo))
7568 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
7570 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
7572 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
7574 1998-11-28 SL Baur <steve@altair.xemacs.org>
7576 * XEmacs 21.2-beta4 is released.
7578 1998-11-27 SL Baur <steve@altair.xemacs.org>
7580 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
7581 property in control-1 charset.
7582 From Julian Bradfield <jcb@daimi.au.dk>
7584 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
7586 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
7588 Add stub for :label.
7590 * gui.c (gui_item_add_keyval_pair): ditto.
7592 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
7593 :key-sequence keyword.
7595 Support :active for submenus like the Windows code and FSF Emacs.
7597 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
7599 * dired.c (make_directory_hash_table): make_string() is OK because
7600 readdir() Mule-encapsulates.
7602 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
7604 * fns.c (Fbase64_encode_string): Fix docstring.
7605 (Fbase64_decode_string): Ditto.
7607 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
7609 * editfns.c (Ftranslate_region): Use
7610 convert_bufbyte_string_into_emchar_string().
7612 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
7614 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
7616 (Ftranslate_region): Turn table into an array of Emchars for
7619 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
7621 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
7623 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
7625 * chartab.c (Freset_char_table): Don't blindly fill chartables of
7626 type `char' with nils.
7628 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
7629 for tables of type `char'.
7631 1998-11-26 Didier Verna <verna@inf.enst.fr>
7633 * input-method-xlib.c (Initialize_Locale): don't call
7634 XtSetLanguageProc. We've done the whole work here.
7635 * input-method-xfs.c (Initialize_Locale): ditto.
7636 * input-method-motif.c (Initialize_Locale): ditto.
7638 1998-11-26 Didier Verna <verna@inf.enst.fr>
7640 * process-unix.c (unix_create_process): handle properly
7641 Vfile_name_coding_system for converting the program and directory
7644 1998-11-27 SL Baur <steve@altair.xemacs.org>
7646 * m/arm.h: New file.
7647 From James LewisMoss <dres@ioa.com>
7649 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
7652 Fix the realpath() problem of UnixWare2.1.3.
7653 Patches for NEC's sysv4.2 machine.
7655 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
7657 * dired.c (Fdirectory_files): Remove redundant code.
7659 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
7661 * fns.c (free_malloced_ptr): New function.
7662 (XMALLOC_OR_ALLOCA): New macro.
7663 (XMALLOC_UNBIND): Ditto.
7664 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
7665 to be freed in case of non-local exit.
7666 (Fbase64_encode_string): Ditto.
7667 (Fbase64_decode_region): Ditto.
7668 (Fbase64_decode_string): Ditto.
7669 (STORE_BYTE): New macro.
7670 (base64_decode_1): Use it.
7672 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
7674 * fns.c (base64_value_to_char): Base64 stuff.
7676 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
7678 * editfns.c (Fbuffer_substring): New function.
7680 * lisp.h: Declare make_string_from_buffer_no_extents().
7682 * insdel.c (make_string_from_buffer_1): New function.
7683 (make_string_from_buffer_no_extents): Ditto.
7685 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7687 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
7688 sound work on AIX with OSS installed. Linux should still work.
7690 1998-11-03 Andy Piper <andyp@parallax.co.uk>
7692 * config.h.in: name change for cygwin/version.h
7694 * configure.in: check for cygwin/version.h now.
7696 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
7697 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
7698 move cygwin32/version.h to cygwin/version.h
7700 1998-11-03 Olivier Galibert <galibert@pobox.com>
7702 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
7705 1998-10-22 Andy Piper <andyp@parallax.co.uk>
7707 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
7708 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
7709 enable BROKEN_SIGIO under b20 to make QUIT work.
7711 1998-10-22 Andy Piper <andyp@parallax.co.uk>
7713 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
7714 to fit within the constraints of the screen size. I.e. make the
7715 frame small enough to fit and move it if some of it will be
7718 1998-10-19 Greg Klanderman <greg@alphatech.com>
7720 * dired.c: conditionalize inclusion of user-name-completion
7721 primitives on non-Windows NT. The needed functions don't exist on NT.
7723 1998-11-24 SL Baur <steve@altair.xemacs.org>
7725 * gifrlib.h: Clean up types for 64 bit compile.
7726 * dgif_lib.c (DGifInitRead): Ditto.
7727 (MakeSavedImage): Ditto.
7728 * emacs.c (decode_path): Ditto.
7729 From Steve Carney <carney@pa.dec.com>
7731 1998-10-16 William M. Perry <wmperry@aventail.com>
7733 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
7734 (cehckboxes instead of checkboxes).
7736 1998-10-15 SL Baur <steve@altair.xemacs.org>
7738 * XEmacs 21.2-beta3 is released.
7740 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
7742 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
7743 gnuclient. Otherwise, we run xemacs as we always did. This gets
7744 rid of the annoying DOS window when running gnuclient.
7746 1998-10-13 Andy Piper <andyp@parallax.co.uk>
7748 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
7749 HAVE_MS_WINDOWS typo.
7751 1998-10-13 SL Baur <steve@altair.xemacs.org>
7753 * process-unix.c (unix_send_process): Set closed flag on writable
7754 pipe after SIGPIPE is received and before we call deactivate_process.
7756 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
7758 * window.c (Fset_window_start): respect narrowing when
7759 checking wheter start is at the beginning of a line.
7760 (Fset_window_buffer): Ditto
7761 Fixes repeatable crash in VM.
7763 1998-10-09 SL Baur <steve@altair.xemacs.org>
7765 * window.c (specifier_vars_of_window): Set default vertical
7766 divider width to 1 on ttys.
7768 1998-10-08 Martin Buchholz <martin@xemacs.org>
7773 Add <stddef.h> to get ptrdiff_t declaration
7775 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
7777 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
7778 is used for Motif or Lucid scrollbars under X.
7780 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
7782 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
7785 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
7787 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
7789 1998-10-05 Andy Piper <andyp@parallax.co.uk>
7791 * s/cygwin32.h: more cygwin b20 reorganisation.
7793 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
7795 * nas.c: Added necessary support functions to be able to handle
7796 WAVE files in memory, just like the support for SND files in
7799 1998-09-30 SL Baur <steve@altair.xemacs.org>
7801 * callproc.c (child_setup): Fix spelling typo.
7803 1998-09-29 SL Baur <steve@altair.xemacs.org>
7805 * XEmacs 21.2-beta2 is released.
7807 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
7809 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
7810 to prevent memory corruption in the case of jumping out of a series of
7811 nested match patterns. This is a rather brute force approach, though.
7813 1998-09-02 Andy Piper <andyp@parallax.co.uk>
7815 * config.h.in: ditto.
7817 * s/cygwin32.h: rearrange declarations to cope with cygwin
7818 b20. Include cygwin32/version.h if it exists.
7820 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
7822 * device-msw.c (mswindows_init_device): Call new
7823 mswindows_enumerate_fonts() function in objects-msw.c instead
7824 of font_enum_callback_1() to enumerate fonts.
7826 font_enum_callback_1() and _2() moved to objects-msw.c.
7828 * faces.c (complex_vars_of_faces): Make the mswindows default
7829 face font fully specified and provide some fallbacks.
7831 * objects-msw.c: font_enum_callback_1() and _2() moved here
7832 from objects-msw.c. Obtain the enumerated font's character
7833 sets by table lookup instead of using the locale-specific
7834 string provided by Windows.
7836 New public non-method mswindows_enumerate_fonts() that fills
7837 in the supplied mswindows device's font list.
7839 mswindows_initialize_font_instance: Use the supplied name
7840 variable instead of f->name when signalling errors. Match font
7841 weights and character sets using lookup tables which handle
7842 spaces instead of by frobbing.
7844 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
7846 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
7847 on the size of code fragments passed to run_in_other_process.
7849 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
7850 the amount of memory to allocate in the other process.
7852 Removed sigkill_code_end(), sigint_code_end() and
7853 sig_enable_code_end() since they are now redundant.
7855 send_signal() and enable_child_signals(): Don't try to work
7856 out the end of the code fragments passed to
7857 run_in_other_process()
7859 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
7861 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
7864 * src/unexelf.c: Partially synched with FSF's 20.3.
7866 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
7868 * insdel.c (signal_after_change): Map across indirect buffers
7869 here, and not in the upper-level functions.
7870 (signal_first_change): Don't check for Armageddon.
7871 (signal_before_change): Map across indirect buffers here.
7872 (prepare_to_modify_buffer): ...and here.
7874 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
7876 * insdel.c (signal_after_change): Add return value.
7877 (buffer_insert_string_1): Use it.
7878 (buffer_delete_range): Ditto.
7879 (buffer_replace_char): Ditto.
7880 (cancel_multiple_change): Map the indirect buffers.
7882 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
7884 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
7885 (uninit_buffer_text): Ditto.
7887 * buffer.c (Fmake_indirect_buffer): Implement stricter
7890 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
7892 * insdel.c (change_function_restore): Reverse order of
7893 function-call and assignment.
7894 (first_change_hook_restore): Ditto.
7896 * extents.c (mark_extent_auxiliary): Mark them.
7897 (Fset_extent_property): Set them.
7898 (Fextent_property): Get them.
7899 (Fextent_properties): Ditto.
7900 (vars_of_extents): Set their default.
7902 * extents.h (struct extent_auxiliary): Add before_change_functions
7903 and after_change_functions.
7905 * insdel.c (signal_before_change): Use it.
7906 (signal_after_change): Ditto.
7908 * extents.c (report_extent_modification): New function.
7910 * insdel.c (signal_before_change): Don't check for Armageddon.
7911 (signal_after_change): Ditto.
7913 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
7915 * redisplay.c (redisplay_window): make sure a new starting point
7916 is chosen if it somehow got moved from the beginning of the line
7917 -- this can happen because Fwiden was called recently.
7919 * window.c (Fset_window_start): set start_at_line_beg correctly
7920 (Fset_window_buffer): Ditto
7922 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
7924 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
7925 (uninit_buffer_text): Ditto.
7927 * buffer.c (Fmake_indirect_buffer): Implement stricter
7930 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
7932 * emacs.c (main_1): Removed references to *vars_of_filelock.
7934 * lisp.h: Added Fsystem_name.
7936 * filelock.c: Replaced by version from FSF 20.2. Now implements
7937 locking by using symlinks which is NFS safe. However keep the
7938 GCPRO's in lock_file and the calls to callx_in_buffer like our old
7939 version (and of course use ansi C, acessor macros, etc).
7941 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
7943 * process-unix.c (unix_create_process): Reset SIGHUP handler to
7944 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
7945 in init_signals_very_early. However these should not be passed
7946 on to children attached to the new pty.
7948 1998-08-28 Andy Piper <andyp@parallax.co.uk>
7950 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
7952 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
7954 * fileio.c (file-name-directory, file_name_as_directory):
7955 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
7957 1998-09-02 Andy Piper <andyp@parallax.co.uk>
7959 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
7961 * ralloc.c: uncomment __morecore.
7963 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
7965 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
7966 WriteFile() to fix a winsock 1.x bug on Win95.
7968 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
7970 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
7972 (x_event_to_emacs_event): Ditto.
7973 (emacs_Xt_handle_focus_event): Ditto.
7974 (emacs_Xt_handle_magic_event): Ditto.
7976 * console-x.h (struct x_device): New flag being_deleted.
7977 (DEVICE_X_BEING_DELETED): New macro.
7979 * device-x.c (x_IO_error_handler): Throw to top-level instead of
7980 returning. Before doing that, set the being_deleted flag on the
7983 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
7985 * device-x.c (x-seppuku-on-epipe): Removed.
7987 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
7989 * frame-x.c (x_delete_frame): Flush the X output buffer after
7990 calling XtDestroyWidget to ensure that the windows are really
7993 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
7995 * menubar-x.c (my_run_hook): New unused function.
7996 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
7997 since we ignore the results of the contained functions anyway.
7999 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
8001 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
8002 interlaced GIF files that are smaller than 4 lines high...
8004 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
8006 * buffer.c (map_over_sharing_buffers): Deleted.
8008 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
8010 * buffer.c (Fkill_buffer): Keep indirect_children updated while
8013 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
8015 * insdel.c (buffer_insert_string_1): Advance the point bytind in
8017 (buffer_delete_range): Ditto.
8019 * marker.c (init_buffer_markers): Set point-marker to the value of
8020 point in an indirect buffer.
8022 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
8024 * undo.c (undo_prelude): Test last-undo-buffer against base
8027 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
8029 * buffer.h (BUFFER_BASE_BUFFER): New macro.
8031 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
8033 * insdel.c (init_buffer_text): Initialize it here.
8035 * line-number.c: Address line_number_cache through buffer->text.
8037 * buffer.c (mark_buffer): Mark line number cache.
8039 * bufslots.h (line_number_cache): Move to struct buffer_text.
8041 * insdel.c (buffer_insert_string_1): Propagate signals and changes
8042 across the children buffers.
8043 (buffer_delete_range): Ditto.
8044 (buffer_replace_char): Ditto.
8048 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
8050 * buffer.c (Fmake_indirect_buffer): Uncomment.
8052 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
8054 * macros.c (Fend_kbd_macro): Remove trailing period from error
8056 (Fexecute_kbd_macro): Ditto.
8058 1998-08-21 Greg Klanderman <greg@alphatech.com>
8060 * dired.c (Fuser_name_completion): remove optional 2nd argument.
8061 (Fuser_name_completion_1): new function to return uniqueness
8062 indication in addition to the user name completion.
8063 (user_name_completion): change type of `uniq' argument.
8065 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
8067 * lread.c (vars_of_lread): Removed `source-directory' variable.
8069 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
8071 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
8074 1998-08-19 SL Baur <steve@altair.xemacs.org>
8076 * dired.c (vars_of_dired): Fix misapplied patch.
8078 1998-08-16 Martin Buchholz <martin@xemacs.org>
8080 * fns.c (Fremrassq, remrassq_no_quit):
8081 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
8083 1998-07-17 Didier Verna <verna@inf.enst.fr>
8085 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
8086 style as foreground GC for faces that have the `dim' property.
8087 (x_output_string): when the `dim' face property is set,
8088 ensure the gray pixmap has been created, and get a proper
8089 foreground GC to draw the text.
8091 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
8093 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
8094 Manually track the state of the left and right Ctrl and Alt
8097 1998-08-07 Matt Stupple <matts@tibco.com>
8099 * ntproc.c: don't wait on char_consumed at thread entry.
8100 Additionally, to get the 'process' marked as finished, ensure
8101 that the CHILD_ACTIVE macro returns false, so before exiting
8102 close char_avail and set it to NULL, and close other handles
8103 to reduce handle leak problems.
8105 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
8107 * menubar-msw.c (displayable_menu_item): take account of menu
8108 depth when deciding whether to try to display accelerators.
8110 1998-08-04 Andy Piper <andyp@parallax.co.uk>
8112 * event-msw.c: use MsgWaitForMultipleObjects if there are no
8115 * glyphs-msw.c: fix a couple of potential handle leaks.
8117 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
8119 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
8120 *decoding ONLY* back into the core.
8121 * glyphs-eimage.c: Change referenced header file for GIF
8122 reading to point to the incore version.
8124 1998-07-20 Martin Buchholz <martin@xemacs.org>
8126 * casefiddle.c (casify_object):
8127 Change algorithm from O(N**2) to O(N).
8131 1998-07-22 Greg Klanderman <greg@alphatech.com>
8133 * dired.c (file_name_completion_unwind): don't leak the cons.
8135 1998-07-20 Greg Klanderman <greg@alphatech.com>
8137 * dired.c (Fuser_name_completion): new function.
8138 (Fuser_name_all_completions): new function.
8139 (user_name_completion): new function.
8140 (syms_of_dired): 2 new DEFSUBRs.
8141 (vars_of_dired): initialize user name cache vars.
8143 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
8145 * glyphs-eimage.c (png_instantiate): Add proper handling for background
8146 colors taken from the default face. Also correct a thinko in
8147 transparency (not alpha) handling.
8149 1998-07-23 Martin Buchholz <martin@xemacs.org>
8151 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
8152 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
8153 * lread.c (Fload_internal): Be very careful with printfs of
8155 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
8158 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
8160 * callint.c (Fcall_interactively): GCPRO prompt string before
8161 passing it to Fread_key_sequence
8163 1998-07-27 SL Baur <steve@altair.xemacs.org>
8165 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
8166 Vvertical_divider_map.
8168 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
8169 Qnil or 0, none were initialized prior to this change.
8171 Rename misnamed `V' prefixed integer variables:
8172 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
8173 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
8174 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
8175 Vcanna_ichiran_revLen.
8177 Rename misnamed `V' prefixed integer variables and initialize
8178 properly in the vars_of routine.
8179 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
8180 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
8181 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
8182 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
8183 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
8184 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
8185 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
8186 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
8187 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
8188 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
8189 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
8190 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
8191 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
8192 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
8193 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
8194 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
8195 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
8196 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
8197 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
8198 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
8199 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
8200 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
8201 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
8202 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
8203 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
8204 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
8205 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
8206 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
8207 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
8208 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
8209 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
8210 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
8211 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
8212 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
8213 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
8214 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
8215 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
8216 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
8217 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
8218 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
8219 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
8220 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
8221 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
8222 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
8223 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
8224 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
8226 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
8228 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
8229 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
8230 keys thus no longer considering all keysyms on a key.
8232 1998-07-19 SL Baur <steve@altair.xemacs.org>
8234 * XEmacs 21.2-beta1 is released.
8236 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
8238 * eldap.c (Fldap_search_internal): When converting the list of
8239 attributes to search Copy the final 0 from Lisp strings to C
8241 Check base, not Vldap_default_base as a a string
8243 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
8245 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
8247 * unexnt.c: Unconditionally define bss_start and bss_size, and
8248 ensure that they don't go in the .bss section.
8250 1998-07-17 Olivier Galibert <galibert@pobox.com>
8252 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
8253 byte order is dependant of the local byte order).
8254 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
8256 1998-07-18 SL Baur <steve@altair.xemacs.org>
8258 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
8259 Qmswindows_resource.
8260 From Jonathan Harris <jhar@tardis.ed.ac.uk>
8262 1998-07-12 SL Baur <steve@altair.xemacs.org>
8264 * general.c (syms_of_general): Add defsymbol for Qresource.
8266 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
8267 Qmswindows_resource.
8268 (TopLevel): Rename 'resource image format to 'mswindows_resource.
8269 (mswindows_resource_validate): Rename.
8270 (mswindows_resource_normalize): Rename.
8271 (mswindows_resource_possible_dest_types): Rename.
8272 (mswindows_resource_instantiate): Rename.
8273 (image_instantiator_format_create_glyphs_mswindows): Replace
8274 `resource' with `mswindows.resource'.
8276 * XEmacs 21.0-pre5 is released.
8278 1998-07-10 SL Baur <steve@altair.xemacs.org>
8280 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
8281 server type in environment.
8282 Use alloca-ed strings instead of tiny fixed size ones.
8284 1998-07-09 SL Baur <steve@altair.xemacs.org>
8286 * XEmacs 21.0-pre4 is released.
8288 1998-07-01 James N. Potts <jnpotts@plutonium.net>
8290 * fileio.c: (expand_file_name): under win32: Don't treat names
8291 as UNC names if a drive letter has been specified. If a drive
8292 has been specified, strip out extra directory-seperators that
8293 reportedly cause problems under Win95.
8295 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
8297 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
8298 MSVC >= 5.0. Put emacs init and zero-init data in a special
8299 section of the executable when this is defined.
8301 * unexnt.c, ntheap.h:
8302 Removed unused find_section() and get_section_size().
8305 Fix up the executable's checksum after dumping otherwise the
8307 When DUMP_SEPARATE_SECTION is defined, don't need to dump
8308 zero-init data separately from init data. Dump emacs data
8309 into a special section of the executable.
8310 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
8311 my_ebss instead of up to the end of bss.
8313 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
8315 * filelock.c: Removed Vconfigure_lock_directory - already
8318 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
8319 defined in frame.c and general.c respectively.
8321 * glyphs-msw.c: Removed Qresource - already defined in
8324 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
8326 * eldap.c (Fldap_search_internal): Docstring fixes
8328 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
8330 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
8331 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
8332 EMACSPACKAGEPATH and INFOPATH variables.
8333 Removed unused get_emacs_configuration function.
8335 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
8336 it is now defined at build-time by the makefile.
8338 1998-07-01 James N. Potts <jnpotts@plutonium.net>
8340 * fileio.c: (expand_file_name): under win32: Don't treat names as
8341 UNC names if a drive letter has been specified. If a drive has
8342 been specified, strip out extra directory-seperators that
8343 reportedly cause problems under Win95.
8345 1998-07-05 Andy Piper <andyp@parallax.co.uk>
8347 * faces.c (complex_vars_of_faces): for the gui-element face don't
8348 fallback to the default face, instead provide reasonable default
8349 fallbacks that were previously hardcoded elsewhere.
8351 1998-07-06 Olivier Galibert <galibert@pobox.com>
8353 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
8354 when the X server endianness is different than the client's one.
8356 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
8358 * eval.c (run_hook_with_args_in_buffer): Check
8359 default (non-buffer-local) value of hook for
8360 nil before treating it as a function. Don't initialize
8361 the `globals' variable twice.
8363 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
8365 * fileio.c: Don't do directory seperator canonicalisation in
8366 substitute-in-file-name because we don't know that the
8367 filename refers to a local file.
8369 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
8371 * process-nt.c (nt_create_process): Try appending the standard
8372 executable file extensions to the filename if none supplied.
8374 1998-06-29 SL Baur <steve@altair.xemacs.org>
8376 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
8378 From Keisuke Mori <ksk@ntts.com>
8380 1998-06-24 Andy Piper <andyp@parallax.co.uk>
8382 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
8383 images if we have masks. This handles the xbm case (have masks)
8384 and avoids overuse of resources in the xpm case (generally no masks).
8385 Don't output small toolbars.
8387 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
8389 * eval.c (run_hook_with_args_in_buffer): Don't treat
8390 the default value of a buffer local hook as a list of
8391 hooks unless it is both a cons and the car of that cons
8394 1998-06-29 SL Baur <steve@altair.xemacs.org>
8396 * extents.c: Email address for Ben Wing is ben@xemacs.org.
8397 * process-unix.c: Ditto.
8398 * mule-coding.h: Ditto.
8399 * mule-coding.c: Ditto.
8400 * mule-charset.c: Ditto.
8401 * mule-charset.h: Ditto.
8402 * file-coding.c: Ditto.
8403 * file-coding.h: Ditto.
8405 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
8407 * event-msw.c: Guard against recursion when freeing
8408 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
8410 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
8411 Call ShowWindow twice in init_frame_3 to get round runemacs
8414 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
8416 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
8418 * winslots.h: Rename.
8420 * window.c (specifier_vars_of_window): Renamed
8421 vertical-divider-draggable-p to vertical-divider-always-visible-p,
8422 as suggested by Ben Wing.
8423 (specifier_vars_of_window): Fix docstrings.
8425 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
8427 * unexaix.c: Line number information works correctly again.
8429 1998-06-22 Olivier Galibert <galibert@pobox.com>
8431 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
8433 1998-06-21 Martin Buchholz <martin@xemacs.org>
8435 * editfns.c (get_home_directory): ANSIfy.
8436 XEmacs is compilable under C *and* C++.
8437 It's XEmacs, not Xemacs!
8439 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
8441 * console-msw.h: added a list of fonts to device data.
8443 * device-msw.c: enumerate list of available fonts in
8444 mswindows_init_device. Free list in mswindows_delete_device.
8446 * objects-msw.c: Added helper function match_font used by
8447 mswindows_initialize_font_instance and mswindows_list_fonts.
8448 Allow a charset to be specified in a font string, even if
8449 previous fields havn't been specified.
8451 1998-06-23 Greg Klanderman <greg@alphatech.com>
8453 * indent.c (column_at_point): column cache bugfix.
8454 Set last_known_column_point to the buffer position for
8455 which the column was requested, not buffer's point.
8457 * redisplay.c (decode_mode_spec): for current-column, show
8458 window's point's column, not buffer's point's column.
8460 1998-06-23 Andy Piper <andyp@parallax.co.uk>
8462 * menubar-msw.c (mswindows_handle_wm_command): use
8463 enqueue_misc_user event rather than
8464 mswindows_enqueue_msic_user_event to fix customize problems. Add some
8467 * console-msw.h: declare mswindows_enqueue_magic_event.
8469 * event-msw.c (mswindows_enqueue_magic_event): make global.
8471 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
8473 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
8474 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
8475 (add_position_to_cache): Use EMACS_INT instead of int.
8477 1998-06-21 Olivier Galibert <galibert@pobox.com>
8479 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
8480 suitable for an int used as a boolean (btw, C sucks.).
8482 1998-06-18 Andy Piper <andyp@parallax.co.uk>
8484 * object-msw.c: remove warnings.
8486 * device-msw.c: #define wrongly named cygwin structure elements.
8488 * s/cygwin32.h: define DEMI_BOLD
8490 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
8492 * redisplay-msw.c: new function mswindows_apply_face_effects.
8493 This is called by output_string and output_cursor to display
8494 underline and strikeout on faces.
8496 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
8498 * console-msw.h: added a list of fonts to device data.
8500 * device-msw.c: enumerate list of available fonts in
8501 mswindows_init_device. Free list in mswindows_delete_device.
8503 * objects-msw.c: Added helper function match_font used by
8504 mswindows_initialize_font_instance and mswindows_list_fonts.
8505 Allow a charset to be specified in a font string, even if
8506 previous fields havn't been specified.
8508 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
8511 Removed compilation warnings from mswindows_string_to_color.
8512 mswindows_list_fonts returns a more general bogus font.
8513 New lisp-visible function mswindows-color-list.
8515 1998-06-19 David Bush <david.bush@adn.alcatel.com>
8517 * editfns.c (Fuser_login_name): Modify to user new function
8519 (user_login_name): C only function to avoid Lisp object overhead
8520 Returns "unknown" instead of nil in Cygwin environment
8522 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
8523 equivalent for current user in Cygwin environment. Use new
8524 function user_login_name to get username.
8526 * lisp.h: Declare user_login_name
8528 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
8530 * unexaix.c (make_hdr): Fixed bias computations so debugging info
8532 Some other insignificant nitpicks.
8534 1998-06-18 Andy Piper <andyp@parallax.co.uk>
8536 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
8537 creating the image list and make sure he bk color is transparent.
8539 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
8541 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
8542 completed_timeouts. The timer could have expired.
8544 1998-06-17 Andy Piper <andyp@parallax.co.uk>
8546 * console-msw.h: move XEMACS_RECT_WH inside frame
8547 parameters. define macors to access it.
8549 * frame-msw.c (mswindows_init_frame_1): use new target_rect
8550 parameter to intialise desired sizing. (mswindows_init_frame_2):
8551 enable and size the frame to something sensible when we get
8552 here. (mswindows_set_frame_properites): use new
8553 mswindows_size_frame_internal function and size frame if frame
8554 parameters not just if init is finished - WM_SIZE happens too
8555 early for some specs. (mswindows_size_frame_internal): new
8556 function abstracted from mswindows_set_frame_properties.
8557 (Vmswindows_use_system_frame_size_defaults):
8558 new variable controls whether to allow the system to pick frame
8559 size defaults, defaults to nil.
8561 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
8562 than duplicated code.
8564 1998-06-15 Colin Rafferty <colin@xemacs.org>
8566 * Makefile.in.in: Made EXTW_LINK expand properly.
8568 1998-06-12 Martin Buchholz <martin@xemacs.org>
8570 * redisplay.c (vars_of_redisplay): default value of
8571 column-number-start-at-one should be NIL!
8573 1998-06-11 Martin Buchholz <martin@xemacs.org>
8576 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
8578 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
8580 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
8581 build_string to avoid crashes under Mule.
8583 1998-06-13 Andy Piper <andyp@parallax.co.uk>
8585 * ntplay.c (play_sound_data_1): don't delete the sound data until
8586 the next sound is played and the previous one finished.
8588 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
8590 * fileio.c (directory-sep-char): Escape backslashes.
8592 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
8594 * event-stream.c: Fix docstring reference.
8596 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
8598 * alloc.c (make_float): Remove useless initialization of `next'
8600 (make_pure_float): Ditto.
8602 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
8604 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
8606 * fileio.c (Fmake_directory_internal): Remove conditionals
8607 on WINDOWSNT when calling mkdir.
8609 * ntproc.c: Deleted the following unused functions:
8610 register_child, reap_subprocess, sys_wait.
8612 * nt.c (sys_rename): Ifzeroed this implementation.
8613 Deleted the following unused functions:
8614 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
8615 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
8616 sys_read, sys_write.
8617 Merger sys_fopen and sys_open with sysdep.c implementation.
8619 * sysdep.c: Removed MS-DOS code.
8620 (sys_rename): Deal with Microsoft rename weirdness.
8621 (sys_open): Implemented for Windows.
8625 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
8627 * buffer.c (complex_vars_of_buffer): Removed %t description from
8630 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
8632 * scrollbar-msw.c: initialize the cbSize element of the
8633 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
8634 to ignore the value of cbSize, but Win95 (and I presume Win98)
8635 appear to want it set to sizeof(SCROLLINFO).
8637 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
8639 * event-stream.c: Defined Qcancel_mode_internal.
8640 (syms_of_event_stream): defsymbol'ed it.
8642 * events.h: Externed it.
8644 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
8646 1998-06-04 Oliver Graf <ograf@fga.de>
8648 * frame-x.c (x_cde_destroy_callback): free the data
8649 (cde-start-drag-internal) corrected root position, 21.1 needs this
8650 hardcoded in Button events
8651 (offix-start-drag-internal) corrected root position
8653 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
8655 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
8658 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
8660 * dialog-msw.c (button_width): Removed `inline' from the function
8663 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
8665 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
8666 Note that adding this flag to subsequent frames causes problems.
8668 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
8670 * glyphs-eimage.c (png_instantiate) move 'struct
8671 png_memory_storage tbr' out of nested block to avoid dangling
8674 1998-06-02 Andy Piper <andyp@parallax.co.uk>
8677 * faces.c: rename 3d-object -> gui-element. add toolbar face which
8678 inherits from gui-element.
8680 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
8681 with existing code, generate masks correctly.
8683 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
8685 * glyphs-eimage.c: Changed included header for gifs to use
8686 Gifreader instead of giflib.
8688 * glyphs-x.c: removed the image-related functions that were
8689 moved into glyphs-eimage.
8691 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
8693 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
8694 if built without X Windows support.
8696 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
8698 * fns.c (Fconcat): Synch docstring with new reality.
8700 1998-06-03 SL Baur <steve@altair.xemacs.org>
8702 * frame.c: Remove reference to msdos.h (which is going away).
8703 Suggested by Hrvoje Niksic and Kirill Katsnelson.
8705 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
8707 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
8711 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
8713 * events.h: Fixed commentary about misc-user scrollbar events.
8715 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
8716 object as an event channel, instead of window object.
8717 (x_update_horizontal_scrollbar_callback): Ditto.
8719 1998-05-29 Andy Piper <andyp@parallax.co.uk>
8721 * ntplay.c (play_sound_data_1) new function. convert alloca data
8722 to malloc if necessary.
8723 (play_sound_file): if the file is not in our path then convert to
8726 1998-06-01 SL Baur <steve@altair.xemacs.org>
8728 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
8729 * msdos.c (Frecent_doskeys): Ditto.
8731 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
8732 Suggested by Reggie Perry <perry@zso.dec.com>
8734 * buffer.h: Eliminate size in declaration.
8736 1998-06-01 Olivier Galibert <galibert@pobox.com>
8738 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
8740 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
8742 * gui.c (gui_item_init): Changed the default value for config member
8743 from Qunbound to Qnil.
8745 1998-06-01 Greg Klanderman <greg@alphatech.com>
8747 * indent.c (vmotion_pixels): Don't #define abs().
8749 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
8751 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
8754 1998-05-30 Andy Piper <andyp@parallax.co.uk>
8756 * glyphs.h: add xbm declarations.
8758 * console.h: add xbm_instantiate_method device method.
8760 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
8761 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
8762 (xbm_possible_dest_types): moved here from glyphs-x.c. use
8763 locate_pixmap_file device method and read_bitmap_data_from_file
8764 instead of XmuReadBitmapDataFromFile.
8765 (xbm_instatntiate): make a device method.
8767 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
8768 new function that just calls XmuReadBitmapDataFromFile.
8769 (x_xbm_instatntiate): device method from xbm_instantiate.
8771 * glyphs-msw.c (read_bitmap_data) (NextInt)
8772 (read_bitmap_data_from_file): new functions copied from Xmu
8774 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
8775 inline data to an mswindows bitmap.
8776 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
8777 (mswindows_xbm_instantiate): mswindows-ized versions of the X
8780 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
8782 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
8783 `modeline-visible-p'.
8784 Declared specifier lisp variables at the beginning oh the file
8787 * procimpl.h (struct process_methods): Changed semantics of
8788 create_process method so it accepts lisp strings instead of
8791 * process.c (Fstart_process_internal): Moved building of
8792 unix style argv from here to process-unix.c, ...
8794 * process-unix.c (unix_create_process): ... right here.
8796 * process-nt.c (nt_create_process): Changed this function to
8797 support new semantics, so avoided a GC problem.
8799 * events.c (Fmake_event): Document misc-user events properties.
8800 (Fmake_event): Do not allow arbitrary objects for channel property
8801 of misc-user events.
8802 (Fmake_event): Change misc-user event validation: it is function
8803 which is required, not button.
8805 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
8807 (mswindows_enqueue_misc_user_event): Added function.
8808 (mswindows_bump_queue): Removed function.
8809 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
8810 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
8811 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
8812 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
8813 really nothing, which is my personal favorite thing.
8815 * console-msw.h: Removed prototype for mswindows_bump_queue().
8816 Added prototype for mswindows_enqueue_misc_user_event().
8818 * menubar-msw.c (mswindows_handle_wm_command): Use
8819 mswindows_enqueue_misc_user_event().
8821 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
8823 * dialog-msw.c (dialog_proc): Ditto.
8825 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
8826 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
8827 user events channel.
8829 1998-05-29 Greg Klanderman <greg@alphatech.com>
8831 * window.c (Fwindow_displayed_text_pixel_height): was relying on
8832 incorrect semantics of vmotion_pixels which has been fixed. don't
8833 use it anymore as it can't easily be used.
8835 * indent.c (vmotion_pixels): fix off by one bug moving up. also
8836 the motion was reported incorrectly if you tried to go past end of
8839 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
8841 * toolbar.h: Removed misleading commentary, as Martin suggested.
8843 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
8845 * lisp.h: Extern Qactivate_menubar_hook.
8847 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
8850 1998-05-29 Andy Piper <andyp@parallax.co.uk>
8852 * glyphs-msw.c: use BPLINE macro.
8854 * select-msw.c (mswindows-selection-exists-p)
8855 (mswindows-delete-selection): doc string fixes.
8857 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
8858 unpressable. warning elimination.
8860 1998-05-28 Martin Buchholz <martin@xemacs.org>
8862 * alloc.c (dbg_constants):
8865 Remove toolbar_data debugging code, since that lrecord has
8868 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
8870 * alloc.c: zap cached value of (user-home-directory), so that
8873 * buffer.c: From init_buffer(), separated out code that
8874 determined the initial directory for the *scratch* buffer, and
8875 put them into a function called "init_initial_directory()".
8876 The initial directory is now available as a global "char *"
8877 called initial_directory.
8879 * buffer.h: Added extern entries for initial_directory[] and
8880 init_initial_directory().
8882 * editfns.c: added new elisp function "user-home-directory",
8883 which basically returns getenv("HOME"), but attempts to use
8884 other values if $HOME isn't set.This may have to be tweaked in
8885 the future as, under Unix, "/" is used if $HOME isn't set (this
8886 probably should be set to the current directory). To support
8887 this, a new C function, "get_home_directory()", now exists,
8888 which returns the "home directory", as a "char *" string.
8890 * emacs.c: Rearrange NT initialization order so that
8891 environment/registry variables will be properly entered into
8892 Vprocess_enviroment.
8894 * fileio.c: replaced egetenv("HOME") with calls to the new
8895 get_home_directory().
8897 * lisp.h: Added function prototypes for uncache_home_directory()
8898 and get_home_directory(), along with lisp prototypes for
8899 Fuser_home_directory() and friends.
8901 * nt.c: replaced getenv("HOME") with calls to the new
8902 get_home_directory().
8904 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
8905 warnings about getcwd(), etc. not having prototypes.
8907 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
8909 * process-nt.c (send_signal): Emulate SIGHUP.
8910 (validate_signal_number): Ditto.
8912 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
8913 remove MOD_SHIFT from ASCII characters.
8914 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
8917 1998-05-24 Oliver Graf <ograf@fga.de>
8919 * frame-x.c (cde-start-drag-internal): added filename and multi-
8921 (x_cde_convert_callback) dito
8923 1998-05-26 Oliver Graf <ograf@fga.de>
8925 * frame-x.c: include event-mod.h also with CDE
8926 (x_cde_convert_callback) made the thing working
8927 (cde-start-drag-internal) also debugging
8929 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
8936 - add __OpenBSD__ where __NetBSD__ was found.
8937 - TODO: replace platform-specific conditional compilation by
8938 feature tests in configure.in.
8940 1998-05-15 Greg Klanderman <greg@alphatech.com>
8942 * window.c (Fwindow_displayed_text_pixel_height): New function.
8943 (syms_of_window): DEFSUBR it.
8945 * indent.c (Fvertical_motion_pixels): New function - request
8947 (vmotion_pixels): helper.
8948 (syms_of_indent): DEFSUBR.
8949 * lisp.h: declaration for vmotion_pixels().
8951 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
8952 to request returning motion in pixels.
8953 (Fvertical_motion_pixels): Remove, functionality merged into
8955 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
8956 (Fmove_to_window_line): ditto.
8957 * lisp.h: Change declaration for Fvertical_motion.
8959 * window.c: rename window-text-pixel-{height,width,edges} to
8960 window-text-area-pixel-*.
8962 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
8964 * tooltalk.c (vars_of_tooltalk) added staticpro for
8965 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
8967 1998-05-27 Andy Piper <andyp@parallax.co.uk>
8969 * faces.c: create a new 3d_object_face, make modeline and
8970 vertical_divider faces fallback to this rather than the default.
8972 1998-05-21 Andy Piper <andyp@parallax.co.uk>
8974 * s/cygwin32.h: define charsets for cygwin.
8976 1998-05-25 Andy Piper <andyp@parallax.co.uk>
8978 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
8979 and coordinates. resize bitmaps if we have already settled on a
8982 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
8984 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
8986 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
8988 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
8992 * gui-x.c (popup_selection_callback): Ditto.
8994 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
8996 * gui.c (get_callback): Renamed to get_gui_callback.
8998 1998-05-17 Martin Buchholz <martin@xemacs.org>
9000 * glyphs.h: order rearrangement.
9002 * device-tty.c (tty_asynch_device_change): Warning suppression.
9003 * device-x.c (x_device_system_metrics): Warning suppression.
9004 Make Doc strings consistent with coding standards.
9006 1998-05-24 Martin Buchholz <martin@xemacs.org>
9008 * general.c: multiple definition of `Qicon'. general.c seems
9009 like a good home for Qicon.
9011 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
9013 * This patch is to fix compilation warnings under Windows.
9015 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
9016 Added prototypes for FSF inherited functions, with which XEmacs is
9017 sprinkled thoroughly.
9018 Removed some #if 0 code. Bracketed some more definitions, probably
9019 related to Visual C versions prior to 4 (we do not support them).
9021 * sysfloat.h (logb): Finally, get logb() prototyped.
9023 * sysfile.h: Added Windows specific includes.
9024 Removed old Windows specific code bracketed with #if 0.
9026 * sysdep.h: Added prototype for xrealpath().
9028 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
9030 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
9031 vars_of_dired_mswindows and init_ntproc (Grrr).
9033 * realpath.c: Added Windows specific include files.
9034 (xrealpath): Conditionalized declaration of some auto variables on
9035 S_IFLNK, to avoid warnings.
9037 * ntproc.c: Disabled some compiler warnings. This file is going to
9038 die, so I have not cleaned it up much.
9039 (set_process_dir): Const parameter.
9040 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
9041 (Fwin32_long_file_name): Ditto.
9042 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
9045 * nt.h: Added prototypes for set_process_dir and convert_time.
9047 * nt.c: More include files.
9048 (getpwnam): Consted char* argument.
9049 (get_emacs_configuration): Const return value.
9050 (opendir): Const argument.
9051 (stat): Casted converstion long->short.
9052 (stat): Removed ad hoc and questionable support for non-MSC compile.
9053 (sys_pipe): Removed unused auto variable.
9054 (_sys_read_ahead): Removed calls to DebPrint.
9055 (sys_read): Ditto, in 2 places.
9056 (term_ntproc): Added unused int parameter to signal handler, to
9057 avoid a warning when compiling a call to signal().
9058 (msw_sigset): Properly return old signandler or NULL instead of void.
9060 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
9062 * gmalloc.c (morecore): Ditto.
9063 (_free_internal): Ditto.
9065 * lread.c (parse_integer): Ditto.
9067 * dired-msw.c: Added several include files.
9069 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
9070 of Compilers to Shut Up.
9072 * callproc.c: Added #includes to suppress warnings under Windows.
9073 (init_callproc): Removed #if0'ed code and unused variables.
9075 1998-05-25 Andy Piper <andyp@parallax.co.uk>
9077 * device-msw.c (mswindows_device_system_metrics): do planes in a
9078 way consistent with X.
9080 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
9081 use SetPixel, use DIBits functions.
9082 (xpm_to_eimage): frob colors more closely like xpm deos.
9084 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
9085 to be closer to X version.
9087 * event-msw.c: use tooltip string directly.
9089 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
9091 * objects-msw.c: frob rgb colors that only Kyle uses.
9093 * dialog-msw.c (button_width): INLINE -> inline.
9095 1998-05-23 SL Baur <steve@altair.xemacs.org>
9097 * getloadavg.c (getloadavg): Fix typo.
9099 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
9101 * objects-msw.c (mswindows_initialize_font_instance): Added support
9102 for font character sets.
9103 Replaced 'XXX' with '####' in comments throughout the file.
9105 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
9107 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
9108 console_type_create_dialog_mswindows(), to initialize Windows dialog
9111 * symsinit.h: Prototyped the above functions.
9113 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
9114 checks to dialog.c...
9116 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
9117 device must support dialog boxes, and the descriptor must supply at
9120 * dialog-msw.c: New file, dialogs for Windows.
9122 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
9124 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
9125 (Fldap_search_internal): Removed unused variable `err'
9127 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
9130 1998-05-17 Martin Buchholz <martin@xemacs.org>
9132 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
9133 defined. Therefore there is no need to handle the case when
9134 HAVE_LDAP is undefined. Similarily, there is no reason to have
9135 any code wrapped within `#ifdef emacs', since this code is only
9136 useful within an emacs. This simplifies the code significantly.
9138 * inline.c: Include eldap.h only if HAVE_LDAP.
9139 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
9142 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
9144 * unexnt.c (copy_executable_and_dump_data_section): Suppress
9145 printing dump stats when building without DEBUG_XEMACS.
9146 (dump_bss_and_heap): Ditto.
9148 1998-05-21 Andy Piper <andyp@parallax.co.uk>
9150 * gnuclient.c: don't suppress window system if there is no display
9151 and we are running under mswindows. send 'mswindows device type if
9152 we are in this situation.
9154 1998-05-20 Andy Piper <andyp@parallax.co.uk>
9157 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
9159 * glyphs-msw.c: change cursor imgae type name to resource. Fix
9162 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
9164 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
9165 {top,bottom}-{left,right} values in addition to
9166 {top,bottom}_{left,right}.
9168 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
9170 * fileio.c (Fmake_temp_name): Remove unreached code.
9172 * process-nt.c (validate_signal_number): Use
9173 signal_simple_error().
9175 1998-05-19 Martin Buchholz <martin@xemacs.org>
9178 * sound.c (vars_of_sound):
9179 * sysdep.c (reset_sigio_on_device):
9180 * window.c (window_bottom_gutter_height):
9181 unexhp9k800.c:258: warning: implicit declaration of function
9182 `calculate_checksum'
9183 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
9184 sysdep.c:1012: warning: unused variable `owner'
9185 window.c:993: warning: `window_right_toolbar_width' defined but not used
9187 1998-05-19 Andy Piper <andyp@parallax.co.uk>
9189 * glyphs-msw.c (mswindows_create_resized_mask)
9190 (mswindows_create_resized_bitmap): new funnctions split out from
9191 mswindows_resize_dibitmap_instance.
9193 * glyphs-msw.h: declare new resize functions.
9195 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
9196 functions so that the original bitmaps are preserved.
9198 * sheap.c: fixup static heap exhausted error to avoid FAQs.
9200 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
9201 color if we are trying to output 0 depth bg pixmap.
9203 * scrollbar-msw.c: warning elimination.
9205 1998-05-18 Martin Buchholz <martin@xemacs.org>
9207 * frame-x.c (x_update_frame_external_traits): Start preprocessor
9208 directives in column 1.
9210 * search.c (skip_chars): Avoid using xzero with arrays, since some
9211 compilers get confused by the construct &array.
9213 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
9216 * objects-msw.c: Changed the charset value for a new font from
9217 "don't care" to "ansi".
9219 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
9221 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
9223 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
9224 modifier on control chars.
9225 Use IsCharAlpha() instead of isaplha().
9227 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
9229 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
9231 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
9233 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
9234 charset when creating font.
9235 (mswindows_initialize_color_instance): Do not create brush along
9237 (mswindows_finalize_color_instance): Do not delete it then.
9239 * objects-msw.h (struct mswindows_color_instance_data): Removed
9240 brush slot, and corresponding accessor macro.
9242 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
9244 * toolbar.c: Removed toolbar_data lrecord implementation.
9245 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
9246 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
9247 (compute_frame_toolbar_buttons): Ditto.
9248 (CHECK_TOOLBAR): Ditto.
9249 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
9250 (update_frame_toolbars): Do not check for changed buffer
9251 here. Toolbar information is provided by cached specs in
9252 windows. The check for buffer is eliminated becuase toolbars are
9253 marked changed in set_frame_selected_window() in frame.c
9254 Added check for changed toolbars geometry.
9255 (compute_frame_toolbars_data): Removed unused second parameter;
9256 Adjusted callers of this static function throughout the file.
9257 (init_frame_toolbars): Initialize current_toolbar_size.
9258 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
9259 what is its current expansion, for clarity.
9260 (init_frame_toolbars): Ditto.
9261 (init_device_toolbars): Ditto.
9262 (init_global_toolbars): Ditto.
9264 * toolbar.h: Removed definition of toolbar_data lrecord.
9265 Added accessor macros FRAME_TOOLBAR_BUTTONS and
9266 FRAME_CURRENT_TOOLBAR_SIZE.
9267 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
9269 * toolbar-x.c (x_output_toolbar): The same change as in
9271 (x_output_toolbar): Ditto.
9272 (x_redraw_exposed_toolbar): Ditto.
9274 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
9275 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
9276 (mswindows_output_toolbar): Ditto.
9277 (mswindows_output_toolbar): Ditto.
9279 * frame.c (mark_frame): Removed marking of arrays, according to
9280 frameslots.h change.
9281 (nuke_all_frame_slots): Ditto.
9282 (set_frame_selected_window): Mark toolbars changed when
9283 last_nonminibuf_window changes.
9285 * frame.h (struct frame): Moved some slots to frameslots.h.
9286 Added current_toolbar_size array.
9287 Changed references from toolbar_data to toolbar_buttons in macros
9288 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
9289 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
9290 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
9292 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
9293 Moved arrays of lisp objects here from frame.h: toolbar_size,
9294 toolbar_visible_p, toolbar_border_width.
9295 Removed toolbar_data slot and added toolbar_buttons.
9297 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
9299 * symsinit.h: Externed syms_of_process_nt()
9301 * emacs.c (main_1): Call syms_of_process_nt()
9303 * process-nt.c: Quote process arguments by a call to Lisp function
9304 `nt-quote-process-args'.
9305 (syms_of_process_nt): New function.
9306 (nt_send_process): Flush data stream after each write, to avoid
9307 leaving buffered data.
9308 (nt_send_process): When blocked on process output, wait for
9309 process to slurp more for progressively increasing time intervals.
9311 1998-05-17 Martin Buchholz <martin@xemacs.org>
9313 * window.c (have_undivided_common_edge): Make file-local function
9315 (map_windows): Return 0 if all map functions successful.
9318 * winslots.h: Use unlikely names for local variables in macros to
9319 avoid shadowing warnings.
9321 1998-05-17 Andy Piper <andyp@parallax.co.uk>
9323 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
9324 so that we re-output if the toolbar size has changed.
9326 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
9328 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
9330 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
9332 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
9335 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
9337 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
9338 get bitmap manifest constants defined.
9340 * console-msw.h: Include system files in angle brackets, not in
9343 * window.c (specifier_vars_of_window): Fixed a typo in
9344 `vertical-divider-line-width' docstirng.
9346 1998-05-16 Olivier Galibert <galibert@pobox.com>
9348 * line-number.c (delete_invalidate_line_number_cache): Use an
9350 (buffer_line_number): Remove dangerous, plain wrong when using
9351 64bits emacs ints, cast.
9353 * insdel.c (buffer_delete_range): Use an EMACS_INT.
9355 * cmds.c (Fforward_line): Use EMACS_INTs.
9357 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
9358 (scan_buffer): Ditto.
9359 (bi_find_next_newline_no_quit): Remove useless cast.
9360 (find_next_newline_no_quit): Ditto.
9361 (find_next_newline): Ditto.
9362 (find_before_next_newline): Use an EMACS_INT.
9364 * lisp.h: Change scan_buffer to pass EMACS_INTs.
9366 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
9368 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
9370 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
9372 * gui-x.c (popup_selection_callback): Use it.
9374 * gui.h (get_callback): Declare it.
9376 * gui.c (get_callback): New function.
9378 1998-05-15 SL Baur <steve@altair.xemacs.org>
9380 * window.c (have_undivided_common_edge): Guard scrollbar specific
9382 (window_needs_vertical_divider_1): Ditto.
9384 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
9386 * emacs.c (decode_path): Eliminate compiler warning.
9387 (Fdecode_path): Renamed to Fsplit_path.
9388 (Fsplit_string_by_char): New function.
9390 1998-05-14 Damon Lipparelli <lipp@primus.com>
9392 * winslots.h: close comment
9394 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
9396 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
9398 * bufslots.h: Removed buffer_file_type slot.
9400 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
9402 (complex_vars_of_buffer): Removed buffer-file-type variable and
9403 its default reference.
9405 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
9407 * faces.c (complex_vars_of_faces): Defined
9408 Vvertical_divider_face.
9409 (vars_of_faces): Staticpro it.
9411 * faces.h: Externed Vvertical_divider_face.
9413 * redisplay-x.c (x_output_vertical_divider): Use
9414 Vvertical_divider_face to draw the divider instead of modeline
9417 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
9418 divider face using Vvertical_divider_face background.
9419 Fix drawing spacing gaps around the divider.
9421 1998-05-14 Didier Verna <verna@inf.enst.fr>
9423 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
9424 values for the vertical divider line width and spacing. Use the
9425 cached values from the window structure instead.
9426 (x_divider_width): ditto.
9428 * window.c (specifier_vars_of_window): new specifiers:
9429 vertical-divier -line-width and -spacing.
9430 (vertical_divider_global_width_changed): formerly known as
9431 vertical_divider_shadow_thickness_changed.
9433 * winslots.h: new slots: vertical_specifier _line_width and
9434 _spacing. Plus corrected a comment typo.
9436 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
9438 * window.h: Declared window_divider_width().
9440 * console-stream.c (stream_divider_width): Removed method.
9441 (console_type_create_stream): And declaration for it.
9443 * redisplay.c (pixel_to_glyph_translation): Use
9444 window_divider_width() instead of divider_width redisplay method.
9445 (pixel_to_glyph_translation): Fix top divider edge calculation
9446 when scrollbar is on top.
9448 * window.c (window_divider_width): New function, an outphaser for
9449 divider_width redisplay method.
9450 (window_right_gutter_width): Use it.
9451 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
9452 specifiers, set fallback values differently on TTYs, and document
9453 the behavior of these on TTYs in the docstrings.
9455 * scrollbar.c (update_scrollbar_instance): Use
9456 window_divider_width() instead of divider_width redisplay method.
9458 * console.h (struct console_methods): Removed divider_width_method.
9460 * redisplay-tty.c (tty_divider_width): Removed device method.
9461 (console_type_create_redisplay_tty): Removed definition for it.
9462 (tty_output_vertical_divider): Respect the value returned by
9463 window_divider_width thus divider line width specification.
9465 * redisplay-msw.c (mswindows_divider_width): Removed device method.
9466 (console_type_create_redisplay_mswindows): Removed definition for it.
9467 (mswinodws_output_vertical_divider): Respect the value returned by
9468 window_divider_width thus divider line width specification.
9470 1998-05-15 Andy Piper <andyp@parallax.co.uk>
9472 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
9474 1998-05-15 Andy Piper <andyp@parallax.co.uk>
9476 * glyphs-msw.c: resource loading implementation.
9477 (cursor_normalize): new function.
9478 (cursor_validate): ditto.
9479 (cursor_instantiate): ditto.
9480 (cursor_name_to_resource): ditto.
9481 (cursor_possible_dest_types): ditto.
9482 (check_valid_symbol): ditto.
9483 (check_valid_string_or_int): ditto.
9485 1998-05-14 Martin Buchholz <martin@xemacs.org>
9487 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
9490 * process-unix.c (process_signal_char): Use VSUSP instead of
9491 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
9493 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
9495 * specifier.c (specifier_instance): Change locale precedence of
9496 instantiation so window locale has higher priority than buffer
9498 (Fspecifier_instance): Reflect this in docstring.
9499 (Fadd_spec_list_to_specifier): Ditto.
9500 (Fadd_spec_to_specifier): Ditto.
9501 (Fremove_specifier): Ditto.
9503 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
9505 ** Dialog separation into a device method from Andy Piper
9507 * emacs.c (main_1): Call console_type_create_dialog_x().
9509 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
9510 into this device method.
9511 (console_type_create_dialog_x): New function.
9513 * dialog.c (Fpopup_dialog_box): New function.
9514 (syms_of_dialog): Defsubr it.
9516 * console.h (struct console_methods): Declared
9517 popup_dialog_box_method().
9519 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
9521 1998-05-14 Oliver Graf <ograf@fga.de>
9523 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
9524 * frame-x.c (x_cde_transfer_callback): checked for merge errors
9526 1998-05-13 Oliver Graf <ograf@fga.de>
9528 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
9530 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
9532 * console.h (device_metrics): Removed dbcs, input-method-editor
9533 and right-to-left metrics.
9535 * device.c (Fdevice_system_metric): Ditto.
9536 (Fdevice_system_metrics): Ditto.
9537 (syms_of_device): Ditto.
9538 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
9541 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
9543 * line-number.h (mark_line_number_cache): Remove unused
9546 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
9547 (get_nearest_line_number): Simplify.
9548 (add_position_to_cache): Make the old marker point nowhere.
9550 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
9552 ** Renamed window-divider-map => vertical-divider-map
9553 and event-over-divider-p => event-over-vertical-divider-p,
9554 in the following files/functions:
9556 * events.c (Fevent_over_divider_p):
9557 * keymap.c (get_relevant_keymaps):
9560 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
9562 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
9564 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
9566 * window.c (vertical_divider_changed_in_window): Renamed so.
9567 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
9568 (window_needs_vertical_divider_1): Decide whether we need it based
9569 on the value of the above specifier. If separators are unwanted,
9570 put them only if there's no scrollbar between this window and its
9572 (have_undivided_common_edge): New function, helper for the above.
9573 (window_needs_vertical_divider): Return either a cached value,
9574 or clauclate and cache one.
9575 (invalidate_vertical_divider_cache_in_window): Implemented.
9576 (map_windows): Changed return type to int, return the value from
9579 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
9580 (struct window): Added need_vertical_divider_p and
9581 need_vertical_divider_valid_p.
9583 * winslots.h: Added vertical_divider_draggable_p slot.
9585 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
9586 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
9588 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
9590 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
9591 invalidate_vertical_divider_cache_in_frame().
9594 1998-05-14 Andy Piper <andyp@parallax.co.uk>
9596 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
9598 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
9599 masks correctly and don't select 0.
9601 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
9603 * winslots.h: New file, declaration of some struct window and
9604 struct saved_window members.
9606 * window.h (struct window): Include it, with required preprocessor
9609 * window.c (mark_window): Ditto.
9610 (allocate_window): Ditto.
9611 (struct saved_window): Ditto.
9612 (mark_window_config): Ditto.
9613 (saved_window_equal): Ditto.
9614 (Fset_window_configuration): Ditto.
9616 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
9618 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
9620 1998-05-12 Didier Verna <verna@inf.enst.fr>
9622 * redisplay-x.c (x_output_vertical_divider): draw shadows around
9623 the divider line. The shadow thickness is currently
9624 hard-wired. This will probably be turned into a specifier soon.
9626 1998-05-12 Didier Verna <verna@inf.enst.fr>
9628 * console.h (struct console_methods): the divider_width console
9629 method now requires a struct window * argument.
9631 * redisplay-x.c (x_divider_width): ditto. Plus remove
9632 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
9633 (x_output_vertical_divider): give a depressed look when the shadow
9634 thickness is negative.
9636 * console-stream.c (stream_divider_width): pass a struct window *
9639 * redisplay-tty.c (tty_divider_width): ditto.
9641 * window.c (window_right_gutter_width): totdi.
9643 * redisplay.c (generate_modeline): ittod.
9645 * scrollbar.c (update_scrollbar_instance): ttido.
9647 * redisplay-msw.c (mswindows_divider_width): ottid.
9648 WARNING: this enables to compile, but the feature is not functional.
9650 * window.h (struct window): new field
9651 vertical_divider_shadow_thickness.
9653 * window.c (specifier_vars_of_window): new specifier
9654 vertical-divider-shadow-thickness.
9655 (vertical_divider_shadow_thickness_changed): new function to
9656 inform redisplay that the window has changed.
9657 (mark_window): handle new field vertical_divider_shadow_thickness
9659 (allocate_window): ditto.
9660 (saved_window_equal): toddi.
9661 (Fset_window_configuration): totid.
9662 (save_window_save): ttdio.
9663 (struct saved_window): new field vertical_divider_shadow_thickness.
9665 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
9667 * device-msw.c (mswindows_device_system_metrics): Support a deluge
9670 1998-05-12 Oliver Graf <ograf@fga.de>
9672 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
9673 * event-Xt.c (x_event_to_emacs_event): C++ compability
9675 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
9677 * emacs.c (Fdecode_path): Default SEPCHAR to value of
9680 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
9682 * emacs.c (vars_of_emacs): Do it here; change the meaning of
9685 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
9687 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
9689 * emacs.c (decode_path_1): New function.
9690 (decode_path): Use it.
9691 (Fdecode_path): Renamed from Fdecode_path_internal; use
9694 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
9696 * macros.c (Fzap_last_kbd_macro_event): New function.
9697 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
9699 1998-05-10 Andy Piper <andyp@parallax.co.uk>
9701 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
9702 multiple bitmaps are output vertically as well as horizontally.
9703 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
9704 crossing lines this is handled by
9705 mswindows_output_dibitmap_region.
9707 1998-05-12 Martin Buchholz <martin@xemacs.org>
9709 * inline.c: Include eldap.h
9711 * menubar-x.c (x_update_frame_menubar_internal):
9712 Remove: unused variable `container'
9714 1998-05-11 Martin Buchholz <martin@xemacs.org>
9716 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
9717 Unfortunately, the resulting temacs still cannot dump.
9719 * symbols.c (symbol_is_constant):
9720 (verify_ok_for_buffer_local):
9721 -Wswitch Warning suppression - add default case to switches.
9723 * redisplay.c (decode_mode_spec): Remove unused variables,
9724 Replace Fcoding_system_property (codesys, Qmnemonic) with
9725 XCODING_SYSTEM_MNEMONIC (codesys);
9726 Fcoding_system_property is for users.
9732 Change empty docstrings into no doc strings at all.
9733 Fix bogus FSF-format docstrings.
9736 Standardize docstrings.
9739 Explain problems with matherr.
9741 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
9744 if BROKEN_SIGIO, then SIGIO wants to be undefined.
9745 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
9746 Fix the weird resultant interaction (causes windows problems)
9750 Take new EMACSBOOTSTRAPLOADPATH into account.
9751 Update documentation strings
9754 - Adjust for luser's CDPATH being set to something weird.
9755 - Take into account bash 2.02's tendency to print the cwd when
9756 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
9757 - fix the run-temacs target to use $(DUMPENV)
9758 - fix the run-puremacs target to use $(DUMPENV)
9759 - fix the `depend' target to properly $(RM) the right files
9760 - Generate a better TAGS file for XEmacs' lisp code using
9761 hand-crafted regexps.
9762 - Use standard coding conventions for modules/Makefile.in
9764 1998-05-12 Didier Verna <verna@inf.enst.fr>
9766 * redisplay.c: removed the scrolling modeline code that didn't
9767 make it for 21.0. To be continued ...
9769 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
9771 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
9772 and empty string inputs.
9774 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
9776 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
9778 1998-05-10 Oliver Graf <ograf@fga.de>
9780 * event-stream.c (enqueue_misc_user_event_pos): created
9781 * lisp.h (enqueue_misc_user_event_pos): prototype added
9782 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
9783 * emacs.c: call vars_of_dragdrop
9784 * dragdrop.c (vars_of_dragdrop): provide dragdrop
9786 1998-05-11 Oliver Graf <ograf@fga.de>
9788 * frame-x.c (x_cde_transfer_callback): return at correct pos
9789 * event-Xt.c (x_event_to_emacs_event): changed format of drop
9790 object for MIME (see comment in dragdrop.c)
9791 * dragdrop.c: API change documented in comment
9792 removed provide of dragdrop [is provided by dragdrop.el]
9794 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
9796 * window.c (window_needs_vertical_divider): Enable vertical
9797 dividers for every non-rightmost window.
9798 (window_left_gutter_width): Left gutter consists of mythical
9799 toolbar and a virtual scrollbar.
9800 (window_right_gutter_width): The right one may have a divider
9803 * scrollbar.c (update_scrollbar_instance): Position vertical
9804 scrollbar left to divider if the latter present.
9806 * redisplay.h: Declared OVER_DIVIER constant.
9808 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
9811 * redisplay-x.c (x_output_vertical_divider): Output divider along
9812 the right side of the window, down to window bottom. Swapped
9813 foreground and background colors so it is visible by default.
9815 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
9816 stick the divider to the right window side.
9818 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
9820 (mswindows_divider_width): Ask system for user preferred value.
9821 (mswindows_output_vertical_divider): Always output the divider on
9822 the right side of a window, down to bottom.
9824 * keymap.c (get_relevant_keymaps): Route mouse button events which
9825 happened over a window divider through window-divider-map.
9826 (Fkey_binding): Documented that in the docstring.
9827 Defined the variable Vwindow_divider_map.
9829 * events.c (Fevent_over_divider_p): Added this function.
9831 * events.h: EXFUNed it.
9833 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
9835 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
9836 toolbar geometry is suspected to change.
9838 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9842 Condition dnd and dde code on HAVE_DRAGNDROP.
9844 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
9846 * events.c (format_event_object): Print space as SPC etc.
9848 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
9850 * print.c (print_internal): In the default case, abort() if
9851 ERROR_CHECK_TYPECHECK.
9853 * fileio.c (Fmake_temp_name): Doc fix.
9855 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
9857 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
9859 * undo.c (Fprimitive_undo): Fixed typo.
9861 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
9863 * fns.c (concat): Signal error on integer argument.
9865 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
9867 * console.h (device_metrics): Prefixed each constatnt with DM_
9869 * device.c: (Fdevice_system_metric): Renamed so from plural form
9870 (metrics); Changed parameters order and added DEFAULT parameter;
9871 Unabbreviated some metric constants; Fixed and untabified doc string.
9872 (Fdevice_system_metrics): Added. Returns a plist of all provided
9875 * device-msw.c (mswindows_device_system_metrics): Renamed
9876 device_metrics enum constants.
9877 Return Qunbound instead of Qnil.
9879 * device-tty.c (tty_device_system_metrics): Ditto.
9881 * device-x.c (x_device_system_metrics): Ditto.
9883 1998-05-10 Andy Piper <andyp@parallax.co.uk>
9885 * redisplay-msw.c: implement background pixmaps (really!). Make
9886 sure bg color is transparent if we have bg pmaps.
9887 * (mswindows_output_string) (mswindows_clear_region): output bg
9889 * (mswindows_output_dibitmap_region): new function.
9890 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
9891 the bg color rather than transparently.
9893 * toolbar-msw.c: use masks if they exist.
9895 * glyphs-msw.c: set up masks correctly.
9897 * event-msw.c: typedef SOCKET if cygwin and not msg select().
9899 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
9901 * regex.c (re_match_2_internal): Check for quit.
9903 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
9905 * frame.c (Ffocus_frame): New function.