1 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
6 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
8 * mule-charset.c (Vcharacter_variant_table): New variable.
10 (Fchar_variants): New function.
11 (Fput_char_attribute): Register `->ucs' value to
12 `Vcharacter_variant_table'.
13 (syms_of_mule_charset): Add new function `char-variants' and new
15 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
17 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
19 * mule-charset.c (get_char_code_table): Allow negative character
21 (put_char_code_table): Likewise.
22 (Vcharacter_composition_table): New variable.
23 (Q_decomposition): New variable.
24 (Qwide): New variable.
25 (Qnarrow): New variable.
26 (Qcompat): New variable.
27 (QnoBreak): New variable.
28 (Qsuper): New variable.
29 (Qfraction): New variable.
30 (to_char_code): New function.
31 (Fget_composite_char): New function.
32 (Fput_char_attribute): Register `->decomposition' value to
33 `Vcharacter_composition_table'.
34 (syms_of_mule_charset): Add new function `get-composite-char', new
35 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
36 `super' and `fraction'.
37 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
39 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
41 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
42 character; copy the return value.
44 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
46 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
48 * mule-charset.c (range_charset_code_point): Must use make_int.
49 (split_builtin_char): New function.
51 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
53 * mule-charset.c (char_byte_table): Change name from
54 "char-code-table" to "char-byte-table".
55 (mark_char_code_table): New function.
56 (char_code_table_equal): New function.
57 (char_code_table_hash): New function.
58 (char_code_table_description): New constant.
59 (char_code_table): New type.
60 (make_char_code_table): New function.
61 (copy_char_code_table): New function.
62 (get_char_code_table): Modify for `char_code_table' type.
63 (put_char_code_table): Likewise.
64 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
67 * char-ucs.h (char_code_table): New type.
68 (XCHAR_CODE_TABLE): New macro.
69 (XSETCHAR_CODE_TABLE): New macro.
70 (CHAR_CODE_TABLE_P): New macro.
71 (GC_CHAR_CODE_TABLE_P): New macro.
72 (struct Lisp_Char_Code_Table): New structure.
74 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
76 * mule-charset.c (Fmake_charset): Setup byte_offset for
79 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
81 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
84 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
86 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
89 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
91 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
92 charset, it is regarded as a charset.
93 (put_char_attribute): New function in UTF-2000.
94 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
95 charset, mapping-table of the charset is modified.
96 (Fdefine_char): New function in UTF-2000.
97 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
98 `Fput_char_attribute'.
99 (syms_of_mule_charset): Add new function `define-char' and new
100 symbol `ucs' in UTF-2000.
101 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
103 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
105 * mule-charset.c (Fcharset_name): Define `byte_offset' in
106 non-UTF-2000 configuration.
108 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
110 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
111 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
113 * mule-charset.c (mark_charset): `cs->encoding_table' has been
115 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
116 (Fset_charset_mapping_table): Likewise.
118 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
119 (CHARSET_ENCODING_TABLE): Delete.
120 (XCHARSET_ENCODING_TABLE): Delete.
121 (charset_code_point): New interface.
123 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
125 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
126 instead of `charset_get_byte1' and `charset_get_byte2'.
128 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
129 (charset_get_byte2): Deleted.
131 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
133 * char-ucs.h (SPLIT_CHAR): New inline function.
134 (breakup_char_1): Use `SPLIT_CHAR'.
136 * mule-charset.c (range_charset_code_point): New function.
137 (charset_code_point): New function.
139 * char-ucs.h (range_charset_code_point): New interface.
140 (breakup_char_1): Use `range_charset_code_point'.
142 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
144 * mule-charset.c (Fmake_charset): Delete unused local variable
147 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
148 (breakup_char_1): Find a charset and code-point in
149 `Vcharacter_attribute_table'.
151 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
153 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
156 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
158 * mule-charset.c (Vcharacter_attribute_table): New variable.
159 (Fchar_attribute_alist): New function.
160 (Fget_char_attribute): New function.
161 (Fput_char_attribute): New function.
162 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
164 (syms_of_mule_charset): Add new function `char-attribute-alist',
165 `get-char-attribute' and `put-char-attribute'.
166 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
168 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
170 * mule-charset.c (Fmake_charset): Just use
171 `get_unallocated_leading_byte'.
173 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
174 sets; don't use final-byte based number for private sets.
176 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
178 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
181 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
183 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
186 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
188 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
189 of `CHAR_LEADING_BYTE' in UTF-2000.
191 * insdel.c (find_charsets_in_bufbyte_string): Use
192 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
193 (find_charsets_in_emchar_string): Likewise.
195 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
196 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
198 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
199 (CHAR_CHARSET_ID): New macro.
201 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
203 * chartab.c (get_char_table): Don't use type `Charset_ID' for
204 charset-id - MIN_LEADING_BYTE.
205 (put_char_table): Likewise.
207 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
209 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
210 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
211 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
212 (CHARSET_ID_OFFSET): New macro.
213 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
214 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
215 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
216 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
218 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
220 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
221 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
222 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
223 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
224 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
226 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
228 * mule-charset.c (next_allocated_leading_byte): New variable in
230 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
231 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
232 (get_unallocated_leading_byte): Simply use
233 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
234 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
237 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
238 (MAX_LEADING_BYTE_PRIVATE): New macro.
239 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
240 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
242 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
244 * mule-charset.c (Fmake_charset): Allocate final-byte based
245 charset-id for 94-set, 96-set and 94x94-set.
247 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
249 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
251 (Fmake_charset): Likewise.
252 (complex_vars_of_mule_charset): Modify the font registry of
253 `ucs-bmp' not to match `Ethiopic-Unicode'.
255 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
257 * mule-charset.c (complex_vars_of_mule_charset): Add font
258 registory of `ucs-bmp'.
260 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
262 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
263 coded-charsets in `default-coded-charset-priority-list' when
264 breaking up a character.
266 * mule-charset.c (Vcharset_latin_viscii): New variable.
267 (Qlatin_viscii): New variable.
268 (make_charset): Don't use `decoding_table'.
269 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
271 (Fset_charset_mapping_table): New implementation.
272 (syms_of_mule_charset): Add new symbol `latin-viscii'.
273 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
274 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
275 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
276 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
277 charset `latin_viscii'.
279 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
280 (CHARSET_TYPE_94X94): Change to 1 from 2.
281 (CHARSET_TYPE_96): Change to 2 from 1.
282 (CHARSET_TYPE_128): New macro.
283 (CHARSET_TYPE_128X128): Change to 5 from 4.
284 (CHARSET_TYPE_256): New macro.
285 (CHARSET_TYPE_256X256): Change to 7 from 5.
286 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
288 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
290 * text-coding.c (char_encode_shift_jis): Refer
291 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
292 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
294 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
295 (char_byte_table_equal): New function in UTF-2000.
296 (char_byte_table_hash): New function in UTF-2000.
297 (char_byte_table_description): New constant in UTF-2000.
298 (char_byte_table): New type in UTF-2000.
299 (make_char_byte_table): New function in UTF-2000.
300 (copy_char_byte_table): New function in UTF-2000.
301 (make_char_code_table): New macro in UTF-2000.
302 (get_char_code_table): New function in UTF-2000.
303 (put_char_code_table): New function in UTF-2000.
304 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
305 (charset_description): Add setting in UTF-2000.
306 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
307 `CHARSET_TO_BYTE1_TABLE(cs)'.
308 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
309 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
310 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
311 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
312 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
313 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
314 `CHARSET_TO_BYTE2_TABLE(cs)'.
316 * char-ucs.h (char_byte_table): New type.
317 (XCHAR_BYTE_TABLE): New macro.
318 (XSETCHAR_BYTE_TABLE): New macro.
319 (CHAR_BYTE_TABLE_P): New macro.
320 (GC_CHAR_BYTE_TABLE_P): New macro.
321 (struct Lisp_Char_Byte_Table): New structure.
322 (get_char_code_table): New interface.
323 (Emchar_to_byte_table): Deleted.
324 (get_byte_from_character_table): Deleted.
325 (struct Lisp_Charset): Add `encoding_table'; delete
326 `to_byte1_table' and `to_byte2_table'.
327 (CHARSET_ENCODING_TABLE): New macro.
328 (CHARSET_TO_BYTE1_TABLE): Deleted.
329 (CHARSET_TO_BYTE2_TABLE): Deleted.
330 (XCHARSET_ENCODING_TABLE): New macro.
331 (XCHARSET_TO_BYTE1_TABLE): Deleted.
332 (XCHARSET_TO_BYTE2_TABLE): Deleted.
334 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
336 * mule-charset.c (syms_of_mule_charset): Delete charset alias
337 `vietnamese-viscii-*'.
339 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
341 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
342 (Qvietnamese_viscii_upper): New variable.
343 (Fdefine_charset_alias): New function.
344 (syms_of_mule_charset): Add new function `define-charset-alias'.
345 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
346 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
349 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
351 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
352 (MAX_CHAR_OBS_94x94): New macro.
353 (breakup_char_1): Support obsolete XEmacs-UCS private code space
356 * mule-charset.c (put_byte_from_character_table): Change unit size
358 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
360 (Fmake_reverse_direction_charset): Modify dummy argument of
361 `make_charset' for non-UTF-2000 environment.
363 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
365 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
367 * mule-charset.c (destroy_byte_from_character_table): New macro.
368 (latin_jisx0201_to_ucs): Deleted.
369 (latin_iso8859_2_to_ucs): Deleted.
370 (latin_iso8859_3_to_ucs): Deleted.
371 (latin_iso8859_4_to_ucs): Deleted.
372 (latin_iso8859_9_to_ucs): Deleted.
373 (latin_viscii_lower_to_ucs): Deleted.
374 (latin_viscii_upper_to_ucs): Deleted.
375 (mark_charset): Mark `cs->decoding_table'.
376 (Fcharset_mapping_table): Fix DOC-string.
377 (Fset_charset_mapping_table): New function.
378 (syms_of_mule_charset): Add nwe function
379 `set-charset-mapping-table'.
380 (complex_vars_of_mule_charset): Don't setup and use
383 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
385 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
388 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
390 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
391 (Vcharset_katakana_jisx0208): New variable.
392 (Qhiragana_jisx0208): New variable.
393 (Qkatakana_jisx0208): New variable.
394 (make_charset): Add new argument `byte_offset'.
395 (charset_get_byte1): Modify for new coded-charset definition; use
396 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
397 `XCHARSET_BYTE_OFFSET'.
398 (Fmake_charset): Modify for `make_charset'.
399 (Fmake_reverse_direction_charset): Likewise.
400 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
402 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
403 `.' in font registry of charset `katakana-jisx0201',
404 `latin-jisx0201', `vietnamese-viscii-lower' and
405 `vietnamese-viscii-upper'; modify DOC-string of charset
406 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
407 registry of charset `japanese-jisx0208' not to use font for JIS
408 X0208:1990; add new charset `hiragana-jisx0208' and
411 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
412 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
413 (struct Lisp_Charset): Add `byte_offset'.
414 (CHARSET_BYTE_OFFSET): New macro.
415 (XCHARSET_UCS_MIN): New macro.
416 (XCHARSET_UCS_MAX): New macro.
417 (XCHARSET_CODE_OFFSET): New macro.
418 (XCHARSET_BYTE_OFFSET): New macro.
419 (MIN_CHAR_HIRAGANA): New macro.
420 (MAX_CHAR_HIRAGANA): New macro.
421 (MIN_CHAR_KATAKANA): New macro.
422 (MAX_CHAR_KATAKANA): New macro.
423 (MAKE_CHAR): Modify for new coded-charset definition; use
424 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
425 `XCHARSET_BYTE_OFFSET'.
427 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
429 * mule-charset.c (CHAR96): Deleted.
430 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
432 (latin_iso8859_2_to_ucs): Likewise.
433 (latin_iso8859_3_to_ucs): Likewise.
434 (latin_iso8859_4_to_ucs): Likewise.
435 (latin_iso8859_9_to_ucs): Likewise.
436 (latin_viscii_lower_to_ucs): Likewise.
437 (latin_viscii_upper_to_ucs): Likewise.
438 (latin_tcvn5712_to_ucs): Commented out.
439 (make_charset): Change type of argument `decoding_table' from
440 <Emchar*> to <Lisp_Object> [vector of characters].
441 (Fmake_charset): Modify for `make_charset'.
442 (Fmake_reverse_direction_charset): Likewise.
443 (Fcharset_mapping_table): New function in UTF-2000.
444 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
446 (complex_vars_of_mule_charset): Modify for type change of
447 `*_to_ucs'; modify for `make_charset'.
449 * char-ucs.h (struct Lisp_Charset): Change type of
450 `decoding_table' from <Emchar*> to <Lisp_Object>.
451 (MAKE_CHAR): Modify for new specification of `decoding_table'.
453 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
455 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
456 error with non-UTF-2000-Mule.
458 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
460 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
462 (Vcharset_chinese_cns11643_4): Likewise.
463 (Vcharset_chinese_cns11643_5): Likewise.
464 (Vcharset_chinese_cns11643_6): Likewise.
465 (Vcharset_chinese_cns11643_7): Likewise.
466 (Qchinese_cns11643_3): Likewise.
467 (Qchinese_cns11643_4): Likewise.
468 (Qchinese_cns11643_5): Likewise.
469 (Qchinese_cns11643_6): Likewise.
470 (Qchinese_cns11643_7): Likewise.
471 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
472 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
473 and `chinese-cns11643-7' to lisp/mule/chinese.el.
474 (complex_vars_of_mule_charset): Likewise.
476 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
478 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
480 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
481 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
483 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
485 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
487 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
488 (breakup_char_1): Likewise.
490 * text-coding.c (char_encode_iso2022): Keep designated charsets if
491 one of them includes the specified character.
493 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
495 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
497 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
499 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
501 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
503 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
504 definition for non-UTF-2000 Mule.
505 (latin_iso8859_3_to_ucs): Likewise.
506 (latin_iso8859_4_to_ucs): Likewise.
507 (latin_iso8859_9_to_ucs): Likewise.
508 (latin_jisx0201_to_ucs): Likewise.
509 (MIN_CHAR_THAI): Likewise.
510 (MAX_CHAR_THAI): Likewise.
511 (MIN_CHAR_GREEK): Likewise.
512 (MAX_CHAR_GREEK): Likewise.
513 (MIN_CHAR_HEBREW): Likewise.
514 (MAX_CHAR_HEBREW): Likewise.
515 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
516 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
517 (MIN_CHAR_CYRILLIC): Likewise.
518 (MAX_CHAR_CYRILLIC): Likewise.
520 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
522 * char-ucs.h (breakup_char_1): Use
523 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
524 thai-tis620 and katakana-jisx0201 area.
526 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
528 * char-ucs.h (breakup_char_1): Use
529 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
532 * text-coding.c (reset_encoding_stream): Fixed.
533 (char_encode_ucs4): Delete `& 255'.
535 * char-ucs.h (breakup_char_1): Use
536 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
538 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
540 * file-coding.c (Fmake_coding_system): Don't set up
541 `codesys->fixed.size'.
542 (encode_coding_no_conversion): Don't refer
543 `str->codesys->fixed.size'.
545 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
547 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
548 (latin_a_char_to_byte1): Deleted.
549 (latin_a_char_to_byte2): Deleted.
551 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
553 * mule-charset.c (make_charset): Add new argument `ucs_min',
554 `ucs_max' and `code_offset'.
555 (charset_get_byte1): New implementation [delete specific charset
556 depended implementations].
557 (Fmake_charset): Modify for `make_charset'.
558 (Fmake_reverse_direction_charset): Likewise.
559 (complex_vars_of_mule_charset): Likewise.
561 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
563 (CHARSET_UCS_MIN): New macro.
564 (CHARSET_UCS_MAX): New macro.
565 (CHARSET_CODE_OFFSET): New macro.
566 (MAKE_CHAR): Delete charset depended definitions [except
569 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
571 * char-ucs.h (breakup_char_1): Use
572 `Vdefault_coded_charset_priority_list' for C0-Controls,
573 Basic-Latin, C1-Controls and Latin-1-Supplement area.
575 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
577 * char-ucs.h (charset_get_byte1): New function.
578 (XCHARSET_GET_BYTE1): Deleted.
579 (charset_get_byte2): New function.
580 (XCHARSET_GET_BYTE2): Deleted.
581 (Vdefault_coded_charset_priority_list): New external variable.
582 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
583 `Vdefault_preferred_coded_charset_list'.
585 * mule-charset.c (charset_get_byte1): New function.
586 (charset_get_byte2): New function.
587 (Vdefault_coded_charset_priority_list): New variable.
588 (vars_of_mule_charset): Add new variable
589 `default-coded-charset-priority-list'.
591 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
593 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
594 (XCHARSET_GET_BYTE2): New inline function.
595 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
596 `XCHARSET_GET_BYTE2'.
598 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
600 * mule-charset.c (make_charset): Initialize
601 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
602 NULL if table is not defined.
604 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
606 * text-coding.c (char_encode_shift_jis): Use
607 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
608 `ucs_to_latin_jisx0201'.
610 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
611 (ucs_to_latin_iso8859_2): Deleted.
612 (ucs_to_latin_iso8859_3): Deleted.
613 (ucs_to_latin_iso8859_4): Deleted.
614 (ucs_to_latin_iso8859_9): Deleted.
615 (ucs_to_latin_viscii_lower): Deleted.
616 (ucs_to_latin_viscii_upper): Deleted.
617 (ucs_to_latin_tcvn5712): Deleted.
618 (make_charset): Add new argument `decoding_table'; set up
619 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
620 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
621 `decoding_table' is defined in UTF-2000.
622 (Fmake_charset): Modify for `make_charset'.
623 (Fmake_reverse_direction_charset): Likewise.
624 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
625 and `GENERATE_96_SET'.
627 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
628 (ucs_to_latin_jisx0201): Deleted.
629 (latin_iso8859_2_to_ucs): Deleted.
630 (ucs_to_latin_iso8859_2): Deleted.
631 (latin_iso8859_3_to_ucs): Deleted.
632 (ucs_to_latin_iso8859_3): Deleted.
633 (latin_iso8859_4_to_ucs): Deleted.
634 (ucs_to_latin_iso8859_4): Deleted.
635 (latin_iso8859_9_to_ucs): Deleted.
636 (ucs_to_latin_iso8859_9): Deleted.
637 (latin_viscii_lower_to_ucs): Deleted.
638 (ucs_to_latin_viscii_lower): Deleted.
639 (latin_viscii_upper_to_ucs): Deleted.
640 (ucs_to_latin_viscii_upper): Deleted.
641 (struct Lisp_Charset): Renamed `encoding_table' to
642 `to_byte1_table'; add `to_byte2_table'.
643 (CHARSET_DECODING_TABLE): New macro.
644 (CHARSET_TO_BYTE1_TABLE): New macro.
645 (CHARSET_TO_BYTE2_TABLE): New macro.
646 (XCHARSET_DECODING_TABLE): New macro.
647 (XCHARSET_TO_BYTE1_TABLE): New macro.
648 (XCHARSET_TO_BYTE2_TABLE): New macro.
649 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
651 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
652 don't use `ucs_to_*' tables.
654 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
656 * text-coding.c (Fmake_coding_system): Don't set up
657 `codesys->fixed.size'.
658 (encode_coding_no_conversion): Use `if' instead of `switch'.
660 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
662 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
664 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
665 (Fmake_charset): Modify for `make_charset'.
666 (Fmake_reverse_direction_charset): Likewise.
667 (complex_vars_of_mule_charset): Likewise.
669 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
671 * text-coding.c (char_encode_shift_jis): Use table
672 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
674 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
676 * text-coding.c (text_encode_generic): Use `if' instead of
678 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
681 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
683 * text-coding.c (encode_coding_sjis): Deleted.
684 (char_encode_shift_jis): New function.
685 (char_finish_shift_jis): New function.
686 (reset_encoding_stream): Set up `encode_char' and `finish' for
687 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
688 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
689 (char_encode_utf8): Treat `eol_type'.
691 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
693 * file-coding.c (decode_coding_iso2022): Use
694 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
696 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
698 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
701 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
703 * char-lb.h (CHAR_COLUMNS): New macro.
705 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
707 * text-coding.c (char_encode_ucs4): New function.
708 (char_finish_ucs4): New function.
709 (encode_coding_ucs4): Deleted.
710 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
711 (text_encode_generic): Delete local variable `charset' and `half'.
712 (ucs_to_mule_table): Deleted.
713 (mule_to_ucs_table): Deleted.
714 (Fset_ucs_char): Deleted.
715 (ucs_to_char): Deleted.
716 (Fucs_char): Deleted.
717 (Fset_char_ucs): Deleted.
718 (Fchar_ucs): Deleted.
719 (decode_ucs4): Deleted.
720 (mule_char_to_ucs4): Deleted.
721 (encode_ucs4): Deleted.
722 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
723 (decode_coding_utf8): Likewise.
724 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
725 (char_encode_iso2022): Fixed.
726 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
727 `Fset_char_ucs' and `Fchar_ucs'.
728 (complex_vars_of_file_coding): Don't initialize
731 * objects-tty.c (tty_initialize_font_instance): Don't use
734 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
737 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
738 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
740 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
741 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
742 (emchar_string_displayed_columns): Likewise.
744 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
745 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
746 (string_column_at_point): Likewise.
747 (Fmove_to_column): Likewise.
749 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
750 `encoding_table' and `decoding_table'.
751 (CHARSET_REP_BYTES): Deleted.
752 (XCHARSET_REP_BYTES): Deleted.
753 (XCHARSET_COLUMNS): Deleted.
754 (CHAR_COLUMNS): New macro.
755 (lookup_composite_char): Deleted unconditionally.
756 (composite_char_string): Likewise.
758 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
760 * char-ucs.h (Emchar_to_byte_table): New type.
761 (get_byte_from_character_table): New function interface.
762 (Vcharset_latin_jisx0201): New variable.
763 (latin_jisx0201_to_ucs): New variable.
764 (ucs_to_latin_jisx0201): New variable.
765 (Vcharset_latin_iso8859_2): New variable.
766 (latin_iso8859_2_to_ucs): New variable.
767 (ucs_to_latin_iso8859_2): New variable.
768 (Vcharset_latin_iso8859_3): New variable.
769 (latin_iso8859_3_to_ucs): New variable.
770 (ucs_to_latin_iso8859_3): New variable.
771 (Vcharset_latin_iso8859_4): New variable.
772 (latin_iso8859_4_to_ucs): New variable.
773 (ucs_to_latin_iso8859_4): New variable.
774 (Vcharset_latin_iso8859_9): New variable.
775 (latin_iso8859_9_to_ucs): New variable.
776 (ucs_to_latin_iso8859_9): New variable.
777 (Vcharset_latin_viscii_lower): New variable.
778 (latin_viscii_lower_to_ucs): New variable.
779 (ucs_to_latin_viscii_lower): New variable.
780 (Vcharset_latin_viscii_upper): New variable.
781 (latin_viscii_upper_to_ucs): New variable.
782 (ucs_to_latin_viscii_upper): New variable.
783 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
784 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
785 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
786 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
787 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
788 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
789 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
790 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
791 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
792 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
794 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
795 (Vcharset_latin_viscii_upper): New variable.
796 (make_byte_from_character_table): New function.
797 (put_byte_from_character_table): New function.
798 (get_byte_from_character_table): New function.
800 (ucs_to_latin_jisx0201): New variable.
801 (latin_jisx0201_to_ucs): New variable.
802 (ucs_to_latin_iso8859_2): New variable.
803 (latin_iso8859_2_to_ucs): New variable.
804 (ucs_to_latin_iso8859_3): New variable.
805 (latin_iso8859_3_to_ucs): New variable.
806 (ucs_to_latin_iso8859_4): New variable.
807 (latin_iso8859_4_to_ucs): New variable.
808 (ucs_to_latin_iso8859_9): New variable.
809 (latin_iso8859_9_to_ucs): New variable.
810 (ucs_to_latin_viscii_lower): New variable.
811 (latin_viscii_lower_to_ucs): New variable.
812 (ucs_to_latin_viscii_upper): New variable.
813 (latin_viscii_upper_to_ucs): New variable.
814 (ucs_to_latin_tcvn5712): New variable.
815 (latin_tcvn5712_to_ucs): New variable.
816 (Qlatin_viscii_lower): New variable.
817 (Qlatin_viscii_upper): New variable.
818 (syms_of_mule_charset): Set up new symbol
819 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
820 (complex_vars_of_mule_charset): Set up new charset
821 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
822 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
823 `ucs_to_<CHARSET>' tables.
825 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
827 * text-coding.c: New file.
829 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
831 * mule-charset.c (Fmake_char): Fix problem of 256-set.
833 * char-ucs.h (Vcharset_ucs_bmp): New variable.
834 (MAKE_CHAR): Modify for `ucs-bmp'.
835 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
836 non-MULE characters of BMP.
838 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
840 * mule-charset.c (vars_of_mule_charset):
841 Update `utf-2000-version' to 0.6.
843 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
846 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
847 - Include character.h for `CHAR_ASCII_P'.
849 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
851 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
852 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
854 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
855 (BYTE_C0_P): Likewise.
856 (BYTE_C1_P): Likewise.
857 (Lstream_get_emchar_1): Likewise.
858 (Lstream_fput_emchar): Likewise.
859 (Lstream_funget_emchar): Likewise.
860 (copy_internal_to_external): Likewise.
861 (copy_external_to_internal): Likewise.
863 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
864 (BYTE_C0_P): Likewise.
865 (BYTE_C1_P): Likewise.
866 (Lstream_get_emchar_1): Likewise.
867 (Lstream_fput_emchar): Likewise.
868 (Lstream_funget_emchar): Likewise.
869 (copy_internal_to_external): Likewise.
870 (copy_external_to_internal): Likewise.
872 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
873 (REP_BYTES_BY_FIRST_BYTE): Likewise.
875 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
876 (BYTE_ASCII_P): Moved to mb-1byte.h.
878 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
880 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
882 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
883 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
884 (VALID_CHARPTR_P): Moved to mb-*byte.h.
885 (VALIDATE_CHARPTR_BACKWARD): Likewise.
886 (VALIDATE_CHARPTR_FORWARD): Likewise.
887 (simple_charptr_emchar): Moved to mb-multibyte.h.
888 (simple_set_charptr_emchar): Likewise.
889 (simple_charptr_copy_char): Likewise.
890 (non_ascii_charptr_emchar): Likewise.
891 (non_ascii_set_charptr_emchar): Likewise.
892 (non_ascii_charptr_copy_char): Likewise.
893 (charptr_emchar): Moved to mb-*byte.h.
894 (set_charptr_emchar): Likewise.
895 (charptr_copy_char): Likewise.
897 * mb-1byte.h, mb-multibyte.h: New files.
899 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
901 * mb-utf-8.h (MULTIBYTE): New macro.
902 (MAX_EMCHAR_LEN): Moved from buffer.h.
903 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
905 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
907 * mb-lb.h, multibyte.h: New files.
909 * char-1byte.h (Charset_ID): Moved from buffer.h.
910 (MIN_LEADING_BYTE): Likewise.
911 (LEADING_BYTE_ASCII): Likewise.
912 (NUM_LEADING_BYTES): Likewise.
913 (CHARSETP): Likewise.
914 (CHARSET_BY_LEADING_BYTE): Likewise.
915 (XCHARSET_LEADING_BYTE): Likewise.
916 (XCHARSET_GRAPHIC): Likewise.
917 (XCHARSET_COLUMNS): Likewise.
918 (XCHARSET_DIMENSION): Likewise.
919 (CHAR_CHARSET): Likewise.
920 (CHAR_LEADING_BYTE): Likewise.
921 (BREAKUP_CHAR): Likewise.
922 (Vcharset_ascii): Likewise.
924 * buffer.h: Include multibyte.h unconditionally.
925 (VALID_CHARPTR_P): Moved to multibyte.h.
926 (ASSERT_VALID_CHARPTR): Likewise.
927 (REAL_INC_CHARPTR): Likewise.
928 (REAL_INC_CHARBYTIND): Likewise.
929 (REAL_DEC_CHARPTR): Likewise.
930 (INC_CHARPTR): Likewise.
931 (INC_CHARBYTIND): Likewise.
932 (DEC_CHARPTR): Likewise.
933 (VALIDATE_CHARPTR_BACKWARD): Likewise.
934 (VALIDATE_CHARPTR_FORWARD): Likewise.
935 (charptr_n_addr): Likewise.
936 (MAX_EMCHAR_LEN): Moved to mb-*.h.
937 (simple_charptr_emchar): Moved to multibyte.h.
938 (simple_set_charptr_emchar): Likewise.
939 (simple_charptr_copy_char): Likewise.
940 (non_ascii_charptr_emchar): Likewise.
941 (non_ascii_set_charptr_emchar): Likewise.
942 (non_ascii_charptr_copy_char): Likewise.
943 (charptr_emchar): Likewise.
944 (set_charptr_emchar): Likewise.
945 (charptr_copy_char): Likewise.
946 (charptr_emchar_n): Likewise.
947 (Charset_ID): Moved to char-1byte.h.
948 (Vcharset_ascii): Likewise.
949 (CHAR_CHARSET): Likewise.
950 (CHAR_LEADING_BYTE): Likewise.
951 (LEADING_BYTE_ASCII): Likewise.
952 (NUM_LEADING_BYTES): Likewise.
953 (MIN_LEADING_BYTE): Likewise.
954 (CHARSETP): Likewise.
955 (CHARSET_BY_LEADING_BYTE): Likewise.
956 (XCHARSET_LEADING_BYTE): Likewise.
957 (XCHARSET_GRAPHIC): Likewise.
958 (XCHARSET_COLUMNS): Likewise.
959 (XCHARSET_DIMENSION): Likewise.
960 (BREAKUP_CHAR): Likewise.
962 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
964 * character.h: Add document about interface for characters.
966 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
967 (MAKE_CHAR): Delete comment about
968 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
969 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
970 (BREAKUP_CHAR): Modify name of arguments.
971 (CHAR_CHARSET): Modify name of argument.
973 * buffer.h: Delete document about Emchar accessors.
975 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
977 * character.h (CHAR_INTP): Moved from buffer.h
978 (CHAR_OR_CHAR_INTP): Likewise.
979 (XCHAR_OR_CHAR_INT): Likewise.
980 (CHECK_CHAR_COERCE_INT): Likewise.
982 * buffer.h (CHAR_INTP): Moved to character.h
983 (CHAR_OR_CHAR_INTP): Likewise.
984 (XCHAR_OR_CHAR_INT): Likewise.
985 (CHECK_CHAR_COERCE_INT): Likewise.
987 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
990 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
991 - Include char-1byte.h, char-lb.h or char-ucs.h.
993 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
995 * buffer.h: Include character unconditionally.
996 (valid_char_p): Moved to char-*.h.
997 (non_ascii_valid_char_p): Moved to char-lb.h.
999 * char-1byte.h, char-lb.h, char-ucs.h: New files.
1001 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1003 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
1004 in UTF-2000 because it is not ported yet and not to use
1005 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
1006 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
1007 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
1009 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
1010 (CHAR_ASCII_P): Moved from character.h.
1012 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
1013 (CHAR_ASCII_P): Likewise.
1014 (CHAR_FIELD1_MASK): Deleted.
1015 (CHAR_FIELD2_MASK): Deleted.
1016 (CHAR_FIELD3_MASK): Deleted.
1017 (MAX_CHAR_BASIC_LATIN): New macro.
1018 (CHAR_FIELD1): Deleted.
1019 (CHAR_FIELD2_INTERNAL): Deleted.
1020 (CHAR_FIELD3_INTERNAL): Deleted.
1021 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
1022 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
1023 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
1024 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
1025 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
1026 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
1027 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
1028 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
1029 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
1030 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
1031 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
1032 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
1033 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
1034 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
1035 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
1036 (MIN_CHAR_COMPOSITION): Deleted.
1037 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
1038 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
1040 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
1042 * buffer.h: Include mb-utf-8.h in UTF-2000.
1044 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
1046 * mb-utf-8.h: New file.
1048 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
1050 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
1053 * mule-charset.h, buffer.h (Charset_ID): New type.
1055 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1057 * mule-canna.c (c2mu): Use `MAKE_CHAR',
1058 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
1059 instead of `MULE_CHAR_PRIVATE_OFFSET',
1060 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
1061 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
1062 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
1064 * character.h (Vcharset_japanese_jisx0212): New variable
1067 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1069 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
1070 (charset_by_attributes): Delete array about direction.
1071 (latin_a_char_to_charset): New variable in UTF-2000.
1072 (latin_a_char_to_byte1): New variable in UTF-2000.
1073 (latin_a_char_to_byte2): New variable in UTF-2000.
1074 (Qucs_bmp): New variable.
1075 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
1077 (next_allocated_2_byte_leading_byte): Likewise.
1078 (non_ascii_set_charptr_emchar): Likewise.
1079 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
1080 `CHARSET_TYPE_256X256' in UTF-2000; modify for
1081 `charset_by_attributes'.
1082 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
1083 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
1084 and `CHARSET_BY_LEADING_BYTE'.
1085 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
1086 `utf-2000-version' to `vars_of_mule_charset'.
1087 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
1088 define `leading-code-private-11' in UTF-2000; move setting of
1089 `utf-2000-version' from `syms_of_mule_charset'.
1090 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
1093 * character.h (Charset_ID): New type.
1094 (LEADING_BYTE_UCS_BMP): New macro.
1095 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
1096 (CHARSET_ID_OFFSET_94): New macro.
1097 (MIN_CHARSET_ID_PRIVATE_94): New macro.
1098 (MAX_CHARSET_ID_PRIVATE_94): New macro.
1099 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
1101 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
1102 (LEADING_BYTE_LATIN_JISX0201): Likewise.
1103 (CHARSET_ID_OFFSET_96): New macro.
1104 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
1105 CHARSET_ID_OFFSET_96 and final-byte.
1106 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
1107 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
1108 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
1109 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
1110 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
1111 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
1112 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
1113 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
1114 (LEADING_BYTE_THAI_TIS620): Likewise.
1115 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
1116 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
1117 (CHARSET_ID_OFFSET_94x94): New macro.
1118 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
1119 CHARSET_ID_OFFSET_94x94 and final-byte.
1120 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
1121 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
1122 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
1123 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
1124 (LEADING_BYTE_CHINESE_GB2312): Likewise.
1125 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
1126 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
1127 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
1128 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
1129 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
1130 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
1131 (CHARSET_TYPE_128X128): New macro.
1132 (CHARSET_TYPE_256X256): New macro.
1133 (XCHARSET_PRIVATE_P): Delete unconditionally.
1134 (charset_by_attributes): Delete array about direction.
1135 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
1136 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
1137 (MIN_CHAR_94): New macro.
1138 (MAX_CHAR_94): New macro.
1139 (MIN_CHAR_96): New macro.
1140 (MAX_CHAR_96): New macro.
1141 (MIN_CHAR_94x94): New macro.
1142 (MAX_CHAR_94x94): New macro.
1143 (MIN_CHAR_96x96): New macro.
1144 (MAX_CHAR_96x96): New macro.
1145 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
1146 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1147 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
1149 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
1150 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
1151 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
1152 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
1153 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
1154 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
1155 `XCHARSET_LEADING_BYTE' to make code-point.
1156 (latin_a_char_to_charset): New variable.
1157 (latin_a_char_to_byte1): New variable.
1158 (latin_a_char_to_byte2): New variable.
1159 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
1160 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
1161 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
1163 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
1164 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
1165 (find_charsets_in_emchar_string): Likewise.
1166 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
1168 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
1170 (decode_coding_iso2022): Likewise.
1172 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
1175 * redisplay.c (redisplay_text_width_emchar_string): Use
1176 `Charset_ID' instead of `unsigned char'.
1177 (redisplay_frame_text_width_string): Likewise.
1179 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
1182 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
1183 instead of `unsigned char'.
1184 (face_cachel_charset_font_metric_info): Likewise.
1186 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
1187 (get_non_ascii_char_table_value): Likewise.
1188 (get_char_table): Likewise.
1189 (put_char_table): Likewise.
1190 (map_over_other_charset): Likewise.
1191 (map_char_table): Likewise.
1193 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
1194 instead of `unsigned char'.
1196 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
1198 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
1199 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
1201 * mule-charset.c (leading_code_private_11): Don't define in
1204 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
1205 in UTF-2000 because it is not ported yet and not to use
1206 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
1208 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
1210 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
1212 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1214 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
1217 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
1218 of unsigned char to store leading-byte.
1220 * chartab.c (get_non_ascii_char_table_value): Don't use
1221 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
1223 * file-coding.c (encode_coding_big5): Delete bogus implementation
1226 * character.h (LEADING_BYTE_*): Delete definition for
1228 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
1229 (LEADING_BYTE_PREFIX_P): Deleted.
1230 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
1231 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
1232 (BUFBYTE_LEADING_BYTE_P): Deleted.
1233 (CHARSET_PRIVATE_P): Deleted unconditionally.
1234 (rep_bytes_by_first_byte): Deleted unconditionally.
1235 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
1236 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
1237 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1238 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
1239 (CHAR_FIELD2): Deleted.
1240 (CHAR_FIELD3): Deleted.
1241 (MAKE_CHAR): Delete definition for non-UTF-2000.
1242 (BREAKUP_CHAR_1_UNSAFE): Deleted.
1243 (breakup_char_1): New implementation.
1244 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
1245 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1247 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1249 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1252 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1254 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1255 (CHARSET_PRIVATE_P): Likewise.
1256 (XCHARSET_PRIVATE_P): Likewise.
1257 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1259 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1261 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1263 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1265 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1266 (NUM_LEADING_BYTES): Changed from 128 to 256.
1267 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1268 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1270 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1272 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1274 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1275 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1276 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1277 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1278 (Qchinese_cns11643_3): New variable in UTF2000.
1279 (Qchinese_cns11643_4): New variable in UTF2000.
1280 (Qchinese_cns11643_5): New variable in UTF2000.
1281 (Qchinese_cns11643_6): New variable in UTF2000.
1282 (Qchinese_cns11643_7): New variable in UTF2000.
1283 (syms_of_mule_charset): Define `chinese-cns11643-3',
1284 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1285 and `chinese-cns11643-7' in UTF2000.
1286 (vars_of_mule_charset): Initialize
1287 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1289 (complex_vars_of_mule_charset): Setup charset
1290 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1291 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1293 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1295 * mule-charset.c: Move setting for `leading-code-private-11' from
1296 `syms_of_mule_charset' to `vars_of_mule_charset'.
1298 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1300 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1301 and `NUM_LEADING_BYTES' in assert.
1303 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1305 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1307 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1308 `NUM_LEADING_BYTES' instead of 128.
1310 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1312 * mule-charset.h (charset_by_leading_byte): Use
1313 `NUM_LEADING_BYTES' instead of 128.
1314 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1316 * mule-charset.c (charset_by_leading_byte): Use
1317 `NUM_LEADING_BYTES' instead of 128.
1318 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1320 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1323 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1325 * mule-charset.c (syms_of_mule_charset): Update to
1328 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1330 * file-coding.c (encode_coding_sjis): New implementation for
1331 UTF2000. (decode_coding_sjis): Ditto.
1333 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1335 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1336 Don't define in UTF2000.
1338 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1341 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1342 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1345 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1347 * config.h.in (CHAR_IS_UCS4): New macro.
1349 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1350 conventional MULE representation.
1351 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1353 * mule-charset.h: Reverted to original.
1355 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1356 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1357 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1359 * character.h: New file.
1361 * file-coding.c (Fmake_coding_system): Set 1 to
1362 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1364 (encode_coding_no_conversion): New implementation for UTF2000.
1366 * file-coding.h (struct Lisp_Coding_System): Add new member
1369 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1371 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1372 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1373 (encode_coding_iso2022): New implementation for UTF2000.
1375 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1377 * mule-canna.c (c2mu): New implementation for UTF2000.
1380 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1382 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1384 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1386 * file-coding.c (reset_encoding_stream): Set 0 to
1387 `str->iso2022.current_char_boundary' in UTF2000.
1388 (encode_utf8): Don't define in UTF2000.
1389 (encode_coding_utf8): New implementation for UTF-8 representation
1391 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1393 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1395 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1397 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1399 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1401 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1403 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1404 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1405 as UTF-8 in UTF2000.
1406 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1407 (non_ascii_valid_char_p): Don't define in UTF2000.
1408 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1409 (Lstream_get_emchar_1): Likewise.
1410 (utf-2000-version): New variable in UTF2000.
1412 * lread.c (read_escape): Add new reader `u'.
1414 * insdel.c (three_to_one_table): Don't define in UTF2000.
1415 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1416 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1418 (bytind_to_bufpos_func): Likewise.
1419 (buffer_mule_signal_inserted_region): Likewise.
1420 (vars_of_insdel): Don't initialize `three_to_one_table'.
1421 (init_buffer_text): Use `buf->text->mule_size' instead of
1422 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1425 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1426 UTF-8 representation in UTF2000.
1427 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1428 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1429 (decode_coding_iso2022): Don't define local variable `lb' in
1430 UTF2000; don't use LEADING_BYTE in UTF2000; use
1431 `DECODE_ADD_UCS_CHAR' in UTF2000.
1432 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1434 * config.h.in (UTF2000): New macro.
1436 * buffer.h (struct buffer_text): Add new member `mule_size' and
1437 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1438 (valid_char_p): Return always 1 in UTF2000.
1439 (MAX_EMCHAR_LEN): 6 in UTF2000.
1440 (three_to_one_table): Don't define in UTF2000.
1441 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1443 (real_bytind_to_bufpos): Likewise.
1445 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1447 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1449 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1450 representation change.
1451 (Vutf_2000_version): New variable.
1452 (leading_code_private_11): New variable.
1453 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1454 `leading-code-private-11'.
1456 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1457 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1458 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1459 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1460 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1461 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1462 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1463 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1464 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1465 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1466 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1467 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1468 (MIN_CHAR_GREEK): New macro.
1469 (MAX_CHAR_GREEK): New macro.
1470 (MIN_CHAR_CYRILLIC): New macro.
1471 (MAX_CHAR_CYRILLIC): New macro.
1472 (MIN_CHAR_HEBREW): New macro.
1473 (MAX_CHAR_HEBREW): New macro.
1474 (MIN_CHAR_THAI): New macro.
1475 (MAX_CHAR_THAI): New macro.
1476 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1477 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1478 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1479 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1480 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1481 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1482 (CHAR_FIELD2): New inline function.
1483 (CHAR_FIELD3): New inline function.
1484 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1485 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1486 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1487 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1488 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1489 (MIN_CHAR_COMPOSITION): Likewise.
1490 (CHAR_LEADING_BYTE): Modified for character representation change.
1491 (MAKE_CHAR): Likewise.
1493 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1494 (Vcharset_greek_iso8859_7): Likewise.
1495 (Vcharset_cyrillic_iso8859_5): Likewise.
1496 (Vcharset_hebrew_iso8859_8): Likewise.
1497 (Vcharset_thai_tis620): Likewise.
1498 (Vcharset_katakana_jisx0201): Likewise.
1500 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1502 * file-coding.c (determine_real_coding_system): Treat `coding:'
1505 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1507 * file-coding.c (struct decoding_stream): New member `counter'.
1508 (reset_decoding_stream): Initialize `counter'.
1509 (decode_coding_ucs4): Use `counter'.
1510 (decode_coding_utf8): Likewise.
1512 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1514 * XEmacs 21.2.19 is released
1516 1999-07-27 Jeff Miller <jmiller@smart.net>
1518 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1519 menubar_show_keybindings.
1521 1999-07-23 SL Baur <steve@miho>
1523 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1524 definition of Qccl_program.
1526 * mule-ccl.h: Make a global declaration of it here.
1528 1999-07-20 Bob Weiner <weiner@beopen.com>
1530 * s/sco7.h: Added from rr@sco.com.
1532 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1534 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1536 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1538 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1539 (mule_encode): Likewise.
1541 * mule-ccl.c (Qccl_program): New variable.
1542 (CCL_SUSPEND): New macro.
1543 (CCL_INVALID_CMD): New macro.
1544 (CCL_READ_CHAR): Don't regard as invalid command while processing
1545 the last block even if input is empty; use
1546 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1547 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1549 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1550 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1551 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1552 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1553 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1555 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1557 * mule-ccl.h (struct ccl_program): New member stack_idx.
1559 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1560 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1562 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1564 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1566 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1569 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1571 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1572 processing the last block, don't just finish but processes eol
1573 block of the current CCL program.
1574 (ccl_driver): Add a new jump label ccl_repeat for the above
1577 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1579 * mule-ccl.c: Typo in comments fixed.
1580 (Qccl_program_idx): New variables.
1581 (CCL_ReadMultibyteChar2): Macro name changed from
1582 CCL_ReadMultibyteCharacter.
1583 (CCL_WriteMultibyteChar2): Macro name changed from
1584 CCL_WriteMultibyteChar2.
1585 (ccl_driver): Adjusted for the above changes.
1586 (resolve_symbol_ccl_program): New function.
1587 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1588 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1589 numbers by resolve_symbol_ccl_program.
1590 (Fccl_execute_on_string): Likewise.
1591 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1592 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1594 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1596 * mule-ccl.h: (struct ccl_program): New member private_state.
1599 (CCL_Call): Fix the comment.
1600 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1601 macros for CCL Commands.
1603 (ccl_driver): New case lable `CCL_Extention'.
1604 (setup_ccl_program): Initialize the member `private_state' of CCL.
1606 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1608 * keymap.c (copy_keymap_internal): Inherit the default binding.
1610 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1612 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1613 focus the event (XIM_focus_event).
1614 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1615 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1616 the interface for future use (XIM_SetGeometry).
1617 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1618 location (XIM_SetSpotLocation).
1619 (x_output_eol_cursor): Ditto.
1621 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1623 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1624 Olivier's change to lrecord.h of 1999-04-22
1626 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1628 * gutter.c (redraw_exposed_gutter): Change type of pos from
1629 enum toolbar_pos -> enum gutter_pos, since former is only defined
1630 if toolbar support is.
1632 1999-07-19 Andy Piper <andy@xemacs.org>
1634 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1637 * gutter.c (gutter_validate): new function for the gutter specifier.
1638 (specifier_type_create_gutter): declare specifier validator.
1640 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1642 1999-07-18 Andy Piper <andy@xemacs.org>
1644 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1646 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1648 (mswindows_resize_subwindow): new function.
1650 * gutter.c (redraw_exposed_gutter): only reset the
1651 current_display_lines if non-zero.
1652 (Fgutter_pixel_height): new function.
1653 (Fgutter_pixel_width): new function.
1655 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1656 we want to retrive from the tab control.
1658 1999-07-17 Andy Piper <andy@xemacs.org>
1660 * window.c (change_window_height): mark gutters changed when we're
1663 * gutter.c (specifier_vars_of_gutter): make defaults more
1666 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1668 (DEFAULT_GUTTER_WIDTH): change.
1669 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1671 1999-07-18 Andy Piper <andy@xemacs.org>
1673 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1675 1999-07-16 Andy Piper <andy@xemacs.org>
1677 * frame.c (Fmake_frame): call init_frame_gutters().
1679 * redisplay.c (add_emchar_rune): use string functions if we are
1680 working with a string.
1681 (position_redisplay_data_type): add string element.
1683 1999-07-15 Andy Piper <andy@xemacs.org>
1685 * winslots.h: add real_gutter_size slots to hold the actual gutter
1686 size. This is important for autodetected sizes.
1688 * gutter.c (calculate_gutter_size): calculate size for gutters
1689 that have 'autodetect size.
1691 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1692 extent of divider for gutters.
1694 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1695 divider for gutters.
1697 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1698 position to take into account the gutters.
1700 * redisplay.c (generate_modeline): adjust modeline position to
1701 take into account the gutters.
1703 1999-07-14 Andy Piper <andy@xemacs.org>
1705 * gutter.c (frame_topmost_window): new function.
1706 (frame_bottommost_window): ditto.
1707 (frame_leftmost_window): ditto.
1708 (frame_rightmost_window): ditto.
1710 1999-07-13 Andy Piper <andy@xemacs.org>
1712 * redisplay.c (calculate_display_line_boundaries): use text
1713 boundaries so that gutters get handled properly.
1715 1999-07-12 Andy Piper <andy@xemacs.org>
1717 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1720 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1723 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1726 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1728 * gutter.c: new file - implements gutters. All new functions are
1729 semantically equivalent to the toolbar functions.
1730 (gutter_was_visible): new function.
1731 (get_gutter_coords): ditto.
1732 (output_gutter): ditto.
1733 (clear_gutter): ditto.
1734 (update_frame_gutters): ditto.
1735 (redraw_exposed_gutter): ditto.
1736 (redraw_exposed_gutters): ditto.
1737 (free_frame_gutters): ditto.
1738 (init_frame_gutters): ditto.
1739 (decode_gutter_position): ditto.
1740 (Fset_default_gutter_position): ditto.
1741 (Fset_default_gutter_position): ditto.
1742 (Fdefault_gutter_position): ditto.
1743 (gutter_after_change): ditto.
1744 (Fgutter_specifier_p): ditto.
1745 (recompute_overlaying_specifier): ditto.
1746 (gutter_specs_changed): ditto.
1747 (default_gutter_specs_changed): ditto.
1748 (gutter_geometry_changed_in_window): ditto.
1749 (default_gutter_size_changed_in_window): ditto.
1750 (default_gutter_border_width_changed_in_window): ditto.
1751 (default_gutter_visible_p_changed_in_window): ditto.
1752 (syms_of_gutter): ditto.
1753 (vars_of_gutter): ditto.
1754 (specifier_type_create_gutter): ditto.
1755 (specifier_vars_of_gutter): ditto.
1757 * gutter.h: new file. Contains gutter constants and sizing macros
1758 similar to those for the toolbar.
1760 * winslots.h: add gutter variables.
1762 * window.h: declare window_is_* functions.
1764 * window.c (window_is_lowest): make non-static.
1765 (window_is_highest): ditto.
1766 (window_top_toolbar_height): deleted.
1767 (window_bottom_toolbar_height): deleted.
1768 (window_left_toolbar_width): deleted.
1769 (window_right_toolbar_width): deleted.
1770 (window_top_gutter_height): add gutter sizing.
1771 (window_bottom_gutter_height): ditto.
1772 (window_left_gutter_width): ditto.
1773 (window_right_gutter_width): ditto.
1775 * symsinit.h: declarations for gutters vars etc.
1777 * search.c (bi_find_next_emchar_in_string): new function.
1779 * scrollbar.c (update_scrollbar_instance): remove reference to
1780 window_bottom_toolbar_height which did nothing.
1782 * redisplay.h (struct display_line): add face indices for
1783 overriding defaults in output_display_line.
1784 Add gutter_changed flags and declarations.
1786 * redisplay.c (create_string_text_block): new function, similar to
1787 create_text_block but for strings. Display tables etc are used
1788 from the currently selected window.
1789 (generate_string_display_line): ditto. Similar to
1790 generate_display_line.
1791 (generate_displayable_area): generate display lines for a given
1792 area on a frame. Input is the string, with associated extents, to
1794 (redisplay_frame): add gutter_changed check.
1795 (redisplay_device): ditto.
1796 (redisplay_without_hooks): ditto.
1798 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1799 (x_redraw_exposed_area): redraw exposed gutters.
1800 (x_bevel_area): new redisplay device method.
1801 (x_type_create_redisplay_mswindows): add bevel_area device method.
1802 (x_output_display_block): fiddly Martin-style cleanup.
1803 (x_output_vertical_divider): use bevel_area.
1805 * redisplay-output.c (output_display_line): check display_lines
1806 for face information before using defaults.
1807 (bevel_modeline): new function, calls bevel_area with appropriate
1810 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1811 (mswindows_redraw_exposed_area): redraw exposed gutters.
1812 (mswindows_bevel_area): new redisplay device method.
1813 (console_type_create_redisplay_mswindows): add bevel_area device
1816 * indent.c (string_column_at_point): add column_at_point but for
1819 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1820 instantiate widgets that we have a toolkit for.
1822 * general.c: add Qgutter.
1824 * frame.h (struct frame): add display lines for gutters and
1827 * frame.c (set_frame_selected_window): mark gutters changed.
1829 * emacs.c (main_1): add gutter initialisation.
1831 * device.h (struct device): add gutter_changed flag and macros to
1834 * console.h (struct console_methods): new bevel area redisplay
1837 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1838 REAL_INC_BYTIND is for buffers.
1839 (INC_CHARPTR): ditto.
1841 * Makefile.in.in (objs): add gutter.o
1843 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1845 * XEmacs 21.2.18 is released
1847 1999-07-08 SL Baur <steve@mule.m17n.org>
1849 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1851 (emacs_Xt_handle_magic_event): Ditto.
1852 * redisplay-x.c (x_output_string): Ditto.
1853 (x_output_eol_cursor): Ditto.
1855 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1857 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1858 problem that when XIM is destroyed or missed with some reason,
1859 xemacs will die. Now xim=xlib waits the XIM will be ready and
1860 endures the case of XIM end up.
1862 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1864 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1865 SIGINT and SIGCHLD before calling tt_open and restore the
1866 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1868 1999-07-06 SL Baur <steve@xemacs.org>
1870 * s/linux.h: gcc-2.8 changes for powerpc
1871 From Justin Vallon <vallon@mindspring.com>
1873 1999-07-05 Didier Verna <verna@inf.enst.fr>
1875 * indent.c: new symbol Qcoerce.
1876 (Fmove_to_column): use it + doc string update.
1878 1999-07-04 Andy Piper <andy@xemacs.org>
1880 * console.c: undo earlier Fprovide changes.
1884 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1885 function. validate appropriate image formats for tty.
1887 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1888 initialize consoles parameter.
1889 (struct image_instantiator_methods): add consoles parameter.
1890 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1892 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1895 * glyphs-msw.c: declare instantiators for later use.
1896 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1897 and friends on the mswindows console.
1898 * glyphs-x.c: ditto.
1900 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1901 that have not been registered on the supplied device.
1902 (Fvalid_image_instantiator_format_p): add locale argument.
1903 (instantiate_image_instantiator): valid image instantiator on the
1906 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1909 * emacs.c (main_1): add call to
1910 image_instantiator_format_create_glyphs_tty().
1912 1999-06-29 Olivier Galibert <galibert@pobox.com>
1914 * lisp.h: Add #include <stddef.h>.
1916 * sysdep.c: Remove #include <stddef.h>.
1917 * symbols.c: Remove #include <stddef.h>.
1918 * sheap.c: Remove #include <stddef.h>.
1919 * opaque.c: Remove #include <stddef.h>.
1920 * nt.c: Remove #include <stddef.h>.
1921 * mule-charset.c: Remove #include <stddef.h>.
1922 * marker.c: Remove #include <stddef.h>.
1923 * file-coding.c: Remove #include <stddef.h>.
1924 * extents.c: Remove #include <stddef.h>.
1925 * elhash.c: Remove #include <stddef.h>.
1926 * data.c: Remove #include <stddef.h>.
1927 * chartab.c: Remove #include <stddef.h>.
1928 * bytecode.c: Remove #include <stddef.h>.
1929 * alloc.c: Remove #include <stddef.h>. Fix vector description
1931 1999-06-30 SL Baur <steve@miho.m17n.org>
1933 * editfns.c: Document "%s" format spec.
1934 Suggested by Bob Weiner <weiner@altrasoft.com>
1936 1999-06-29 Andy Piper <andy@xemacs.org>
1938 * event-msw.c: fix definition booboo.
1940 1999-06-28 Andy Piper <andy@xemacs.org>
1942 * glyphs-x.c: change tree -> tree-view, progress ->
1943 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1945 (complex_vars_of_glyphs_x): provide-on-console the implemented
1948 * glyphs-msw.c: ditto.
1949 (complex_vars_of_glyphs_mswindows): ditto.
1951 * lisp.h: add Fprovide_on_console.
1953 * fns.c (Ffeaturep): add extra optional console argument.
1954 (Fprovide_on_console): like Fprovide but provides only on the
1955 specified console-type.
1956 (Frequire): check console-features as well as global features.
1958 * console.c (Fconsole_features): new function. return features for
1960 (syms_of_console): add Fconsole_features.
1962 * console.h (CONMETH_FEATURES): new function for accessing features.
1963 (CONSOLE_FEATURES): ditto.
1964 (struct console_methods): add features slot.
1965 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1967 1999-06-28 Andy Piper <andy@xemacs.org>
1969 * event-Xt.c (handle_focus_event_1): conditionally compile for
1972 * s/cygwin32.h: fix me website address.
1974 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1976 * gui-x.c (button_item_to_widget_value): only add callback if it
1979 * glyphs-x.c: add progress, edit and combo instantiators.
1980 (x_widget_set_property): new function. uses lwlib to set widget
1982 (x_widget_property): new function. uses lwlib to get widget
1984 (x_button_instantiate): support images in buttons.
1985 (x_button_property): new function. use lwlib to get the selected
1987 (x_progress_instantiate): new function for instantiating progress
1989 (x_progress_set_property): new function. sets the progress gauge
1991 (x_edit_instantiate): new function. for instantiating edit fields.
1992 (x_combo_instantiate): new function. for instantiating combo
1994 (image_instantiator_format_create_glyphs_x): add new device ii
1997 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1999 * console.h (CONSOLE_FEATURES): new features accesor.
2001 * conslots.h (MARKED_SLOT): add features entry.
2003 1999-06-25 Andy Piper <andy@xemacs.org>
2005 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
2008 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
2010 * gui.h (struct Lisp_Gui_Item): add accelerator.
2012 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
2013 (gui_item_init): ditto.
2014 (gui_add_item_keywords_to_plist): ditto.
2015 (mark_gui_item): ditto.
2016 (gui_item_hash): ditto.
2017 (gui_item_accelerator): new function.
2018 (gui_name_accelerator): new function stolen from gui-x.c
2020 * gui-x.c (popup_selection_callback): always define. mark
2021 subwindows changed after calling a callback.
2022 (menu_name_to_accelerator): deleted.
2023 (button_item_to_widget_value): forward gui_item things to gui_item
2026 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
2027 appropriate accesors.
2029 * glyphs-x.c: declare new glyph formats.
2030 (x_finalize_image_instance): unmanage and destroy widgets if they
2032 (x_unmap_subwindow): handle widgets specially.
2033 (x_map_subwindow): ditto. offset display of widgets by offset of
2034 text widget within container.
2035 (x_update_subwindow): new function. call lw_modify_all_widgets
2036 when we are a widget.
2037 (x_widget_instantiate): new function for generically creating
2038 widgets-glyphs. toolkit specifics forwarded to lwlib.
2039 (x_button_instantiate): new function for instantiating
2040 widgets-glyph buttons.
2041 (console_type_create_glyphs_x): register update_subwindow.
2042 (image_instantiator_format_create_glyphs_x): register widget and
2045 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
2047 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
2048 when we get a button press in case we do not have the focus.
2049 (handle_focus_event_1): set the keyboard focus to the text widget
2050 if we do not have it.
2052 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
2055 1999-06-24 SL Baur <steve@miho.m17n.org>
2057 * syntax.c (scan_words): Restore non-Mule code.
2058 (word_constituent_p): Restore.
2060 1999-06-23 Olivier Galibert <galibert@pobox.com>
2062 * config.h.in: Add missing #undef *_USER_DEFINED.
2064 1999-06-23 SL Baur <steve@miho.m17n.org>
2066 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
2067 int (fixes a 64-bit problem).
2069 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
2072 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2074 * paths.h.in (PATH_DOC): Made doc-directory configurable.
2076 1999-06-22 Olivier Galibert <galibert@pobox.com>
2078 * lrecord.h: Added basic external description system.
2080 * symbols.c: Added symbol, symbol-value-buffer-local,
2081 symbol-value-lisp-magic and symbol-value-varalias description.
2082 * mule-charset.c: Added charset description.
2083 * marker.c: Added marker description.
2084 * keymap.c: Added keymap description.
2085 * glyphs.c: Added glyph description.
2086 * floatfns.c: Added float description.
2087 * file-coding.c: Added coding-system description.
2088 * extents.c: Added extent description.
2089 * elhash.c: Added hash-table description.
2090 * data.c: Added weak-list desciption.
2091 * chartab.c: Added char-table-entry and char-table description.
2092 * bytecode.c: Added compiled-function description.
2093 * alloc.c: Added cons, vector and string description.
2095 1999-06-22 Olivier Galibert <galibert@pobox.com>
2097 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
2098 Updated everything to the removal of the "flags" substructure.
2100 * lisp.h (subr_lheader_initializer): Updated.
2101 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
2103 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2105 * syntax.c (word_constituent_p): Deleted.
2106 (scan_words): Use `WORD_BOUNDARY_P'.
2108 * chartab.c (Vword_combining_categories): New variable.
2109 (Vword_separating_categories): Likewise.
2110 (CATEGORYP): New macro.
2111 (CATEGORY_SET): Likewise.
2112 (CATEGORY_MEMBER): Likewise.
2113 (word_boundary_p): New function.
2114 (complex_vars_of_chartab): Set up new variable
2115 `word-combining-categories' and `word-separating-categories'.
2117 1999-06-18 Olivier Galibert <galibert@pobox.com>
2119 * lrecord.h: Added description as a placehold in the lrecord
2120 implementation structures. Added the parameter to all constructor
2123 * alloc.c: Added placeholders.
2125 * bytecode.c: Ditto.
2129 * database.c: Ditto.
2134 * event-stream.c: Ditto.
2138 * file-coding.c: Ditto.
2139 * floatfns.c: Ditto.
2147 * mule-charset.c: Ditto.
2151 * rangetab.c: Ditto.
2152 * specifier.c: Ditto.
2155 * tooltalk.c: Ditto.
2158 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
2160 * XEmacs 21.2.17 is released
2162 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
2164 * config.h.in (HAVE_LDAP_SET_OPTION): New define
2165 (HAVE_LDAP_GET_LDERRNO): Ditto
2166 (HAVE_LDAP_RESULT2ERROR): Ditto
2167 (HAVE_LDAP_PARSE_RESULT): Ditto
2168 (HAVE_UMICH_LDAP): Removed
2169 (HAVE_NS_LDAP): Removed
2171 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
2172 suggested by Olivier Galibert
2173 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
2175 * eldap.c: Take the removal of `livep' into account in all the
2177 (signal_ldap_error): Take two additional parameters
2178 Added new finer compilation conditions in order to use
2179 ldap_parse_result or ldap_result2error if available
2180 (Fldap_open): Conform to this new API
2181 (Fldap_search_internal): Ditto
2183 1999-06-17 SL Baur <steve@miho.m17n.org>
2185 * data.c (struct int_or_double): Should use EMACS_INT not int.
2187 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
2189 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
2192 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2194 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
2195 `CCL_MODE_ENCODING'.
2197 * file-coding.c (mule_decode): Run `ccl_driver' with
2198 `CCL_MODE_DECODING'.
2199 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2201 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
2202 (ccl_driver): Add new argument `conversion_mode'.
2203 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2204 (Fccl_execute_on_string): Likewise [perhaps it is better to add
2205 new optional argument].
2207 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
2208 (CCL_MODE_DECODING): New macro.
2209 (ccl_driver): Add new argument `conversion_mode'.
2211 1999-06-15 SL Baur <steve@miho.m17n.org>
2213 * mule-charset.c (Fsplit_char): New subr.
2214 (Fchar_octet): delete.
2215 (syms_of_mule_charset): DEFSUBR it.
2217 1999-06-13 Andy Piper <andy@xemacs.org>
2219 * menubar.h: update declarations involving gui_items.
2221 * lisp.h: declare Lisp_Gui_Item.
2223 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
2225 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
2226 (print_image_instance): ditto.
2227 (image_instance_equal): ditto.
2228 (image_instance_hash): ditto.
2230 * event-msw.c (mswindows_need_event): assert badly_p status.
2231 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
2232 callbacks in tree-view and tab-control widgets.
2233 (emacs_mswindows_next_event): modify use of
2234 mswindows_dequeue_dispatch_event.
2236 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
2237 lisp-based gui_items.
2239 * glyphs-msw.c (mswindows_update_subwindow): update use of
2241 (mswindows_register_gui_item): new function.
2242 (mswindows_register_gui_item): fix to use lisp gui_items.
2243 (mswindows_widget_instantiate): ditto.
2244 (mswindows_button_instantiate): ditto.
2245 (add_tree_item): new function to recursively add tree view
2247 (add_tree_item_list): ditto.
2248 (mswindows_tree_instantiate): new function. instantiate tree view
2250 (add_tab_item): new function to add tabs to a tab control.
2251 (mswindows_tab_instantiate): new function. instantiate tab
2253 (image_instantiator_format_create_glyphs_mswindows): add tree view
2255 (vars_of_glyphs_mswindows): ditto.
2257 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
2259 (check_valid_item_list): ditto.
2260 (initialize_widget_image_instance): fix to use new lisp gui_item.
2261 (widget_instantiate_1): allow the setting of default textwidth in
2263 (widget_instantiate): change to use new widget_instantiate_1
2265 (combo_instantiate): ditto.
2266 (static_instantiate): ditto.
2267 (tab_instantiate): new function for tab widgets.
2268 (image_instantiator_format_create_glyphs_widget): add tab and tree
2271 * menubar-msw.c (displayable_menu_item): convert to use lisp
2273 (populate_menu_add_item): ditto.
2274 (populate_or_checksum_helper): ditto.
2276 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
2278 (Fmenu_find_real_submenu): ditto.
2280 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
2282 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
2283 objects, convert functions that use them accordingly.
2284 (gui_item_init): ditto.
2285 (gui_item_active_p): ditto.
2286 (gui_item_selected_p): ditto.
2287 (gui_item_included_p): ditto.
2288 (gui_item_display_flush_left): ditto.
2289 (gui_item_display_flush_right): ditto.
2290 (mark_gui_item): ditto.
2291 (allocate_gui_item): new function to create a gui_item.
2292 (make_gui_item_from_keywords_internal): ditto. create and return a
2293 gui_item as well as setting keywords.
2294 (gui_parse_item_keywords): ditto.
2295 (gui_parse_item_keywords_no_errors): ditto.
2296 (gui_add_item_keywords_to_plist): new function, not yet used.
2297 (gui_item_hash): new function.
2298 (gui_item_id_hash): use gui_item_hash.
2299 (gui_item_equal): new function.
2300 (print_gui_item): new function.
2302 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
2304 * XEmacs 21.2.16 is released
2306 1999-06-10 Andy Piper <andy@xemacs.org>
2308 * select-msw.c (mswindows_own_selection): only set the clipboard
2310 (mswindows_get_foreign_selection): only get the clipboard if
2312 (mswindows_disown_selection): only disown the clipboard if asked.
2314 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2316 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
2318 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
2319 of coding-category `no-conversion'.
2321 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2323 * file-coding.c (Qraw_text): New variable.
2324 (syms_of_mule_coding): Add new symbol `raw-text'.
2325 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
2326 define coding-system `binary' independently; define coding-system
2327 `no-conversion' as an alias for `raw-text'.
2329 * file-coding.h (Qraw_text): New variable.
2331 1999-06-08 SL Baur <steve@xemacs.org>
2333 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2335 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2337 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2339 (base64_decode_1): Signal errors instead of returning -1.
2341 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2343 * mule-charset.c (Fmake_char): Update docstring.
2345 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2347 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2349 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2351 * fns.c (base64_decode_1): Allow and ignore any non-base64
2352 characters in input.
2354 1999-05-27 Olivier Galibert <galibert@pobox.com>
2356 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2357 of report_pure_usage().
2359 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2361 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2363 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2365 * XEmacs 21.2.15 is released
2367 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2369 * frame.c (Fset_mouse_position):
2370 (Fset_mouse_pixel_position):
2371 * window.c (Fsplit_window):
2372 (Fmove_to_window_line):
2373 Fix crash when invoking functions with an already-deleted window
2376 * indent.c (vertical_motion_1):
2378 (Fvertical_motion_pixels):
2379 * window.c (Fwindow_displayed_text_pixel_height):
2380 Fix error message when invoking functions with an already-deleted
2383 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2385 * sysdep.c (request_sigio_on_device): Guard against glibc
2386 2.1's stub streams implementation.
2388 1999-06-03 SL Baur <steve@xemacs.org>
2391 * emacs.c: Implement x.y.z version numbers
2392 From Jan Vroonhof <vroonhof@math.ethz.ch>
2394 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2396 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2397 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2400 1999-06-03 SL Baur <steve@xemacs.org>
2403 * device-x.c: rename session option to wmcommand.
2404 From Oliver Graf <ograf@rhein-zeitung.de>
2406 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2408 * fns.c (Fsubstring): Don't traverse the same region twice with
2409 charcount_to_bytecount().
2411 1999-06-03 SL Baur <steve@steve1.m17n.org>
2413 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2416 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2417 doesn't really work as is implied by the commentary).
2418 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2420 1999-06-02 SL Baur <steve@steve1.m17n.org>
2422 * symsinit.h: Declare vars_of_ntproc.
2423 * emacs.c (main_1): Call it.
2425 * ntproc.c (syms_of_ntproc): Move variable initializations from
2427 (vars_of_ntproc): ... to here [new function].
2429 * file-coding.c (syms_of_file_coding): Rename.
2430 (vars_of_file_coding): Ditto.
2431 (complex_vars_of_file_coding): Ditto.
2433 * symsinit.h: Rename *_mule_coding to *_file_coding.
2435 * emacs.c (main_1): Call them by the proper name.
2437 * device-msw.c (syms_of_device_mswindows): Move variable
2438 initializations from here ...
2439 (vars_of_device_mswindows): ... to here.
2441 * chartab.c (vars_of_chartab): New function.
2443 * symsinit.h: New function, vars_of_chartab.
2445 * emacs.c (main_1): Call it.
2447 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2448 (vars_of_mule_canna): ... to here.
2450 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2451 initializations out of syms_of_mule_ccl.
2453 * symsinit.h: Declare new function vars_of_mule_ccl.
2455 * emacs.c (main_1): Call it.
2457 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2459 * fns.c (base64_decode_1): Ignore whitespace.
2461 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2463 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2466 1999-05-21 Andy Piper <andy@xemacs.org>
2468 * xselect.c: deleted.
2470 * symsinit.h: declare select initialisation.
2472 * select.h: new file. declare commonly used select functions and
2475 * select.c: new file. generalised from xselect.c.
2476 (clean_local_selection_data): moved from xselect.c.
2477 (get_local_selection): ditto. device specific pieces called via a
2479 (handle_selection_clear): ditto.
2480 (Fown_selection_internal): renamed and generalised from
2481 Fx_own_selection_internal. moved from xselect.c.
2482 (Fdisown_selection_internal): ditto.
2483 (Fselection_owner_p): ditto.
2484 (Fselection_exists_p): ditto.
2485 (Fget_selection_internal): ditto.
2486 (syms_of_select): new function. QXXXX values moved from xselect.c
2487 (vars_of_select): new function. selection_converter_alist,
2488 lost_selection_hooks moved and renamed from xselect.c
2490 * select-x.c: renamed from xselect.c.
2491 (x_own_selection): converted to device specific. non-X-specific
2492 bits moved to select.c.
2493 (x_get_foreign_selection): ditto.
2494 (x_disown_selection): ditto.
2495 (x_selection_exists_p): ditto.
2496 (console_type_create_select_x): new function.
2498 * select-msw.c (mswindows_own_selection): new device method to set
2499 the clipboard when we 'own' the selection.
2500 (mswindows_get_foreign_selection): new device method to get the
2502 (mswindows_disown_selection): new device method to delete the
2503 selection when we 'disown' it.
2504 (console_type_create_select_mswindows): new function.
2506 * emacs.c (main_1): add select to things to initialise.
2508 * console.h (struct console_methods): new console methods for
2511 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2513 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2515 * print.c (long_to_string): Install a faster version.
2517 1999-05-16 Andy Piper <andy@xemacs.org>
2519 * ntproc.c (syms_of_ntproc): default
2520 win32-start-process-share-console to t.
2522 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2524 * config.h.in: Do it here.
2526 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2528 1999-05-14 Andy Piper <andy@xemacs.org>
2530 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2533 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2535 * XEmacs 21.2.14 is released
2537 1999-05-12 Andy Piper <andy@xemacs.org>
2539 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2541 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2543 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2544 run_temacs_argv array -- fixes random memory corruption crash
2546 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2548 * window.c (Fcurrent_window_configuration):
2549 Save minibuffer height;
2551 * window.c (set_window_configuration): use it.
2553 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2555 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2557 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2559 * redisplay.c (redisplay_window): Do not put data
2560 in the line start cache if it is not guaranteed to be correct
2562 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2564 * window.c (struct window_config): Removed frame
2566 (window_config_equal): No longer compare frame sizes.
2567 (Fset_window_configuration): Resize old top window to fit in the
2568 current frame directly, no longer use a fake frame resize.
2569 (Fcurrent_window_configuration): No longer save frame size
2571 1999-05-11 Andy Piper <andy@xemacs.org>
2573 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2576 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2578 * sysdep.c (init_system_name): If gethostname gives a proper
2579 domain name, don't look further for one.
2581 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2583 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2584 (Fintern_soft): Accept a symbol argument.
2586 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2588 * symbols.c (Fintern): ...do it here.
2590 * lread.c (read_atom): Don't handle keywords here.
2592 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2594 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2596 1999-05-03 Olivier Galibert <galibert@pobox.com>
2598 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2599 is interned in the main obarray.
2601 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2603 * menubar-x.c (pre_activate_callback): set accelerator field in
2604 "No menu" entries to nil. Avoid crash in
2605 command_builder_operate_menu_accelerator
2607 1999-05-03 Olivier Galibert <galibert@pobox.com>
2609 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2611 * lisp.h (DEFUN): Fix lrecord header initialisation.
2613 1999-05-02 Andy Piper <andy@xemacs.org>
2615 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2617 * ntproc.c (sys_kill): cast using MS mandated defines.
2619 1999-04-29 Andy Piper <andy@xemacs.org>
2621 * m/intel386.h: remove redundant definitions.
2623 * s/mingw32.h: new header for mingw32.
2625 * unexnt.c: (open_input_file): function moved to nt.c.
2626 (close_file_data): ditto.
2627 (rva_to_section): function moved to ntproc.
2629 * symsinit.h: declare syms_of_ntproc();
2631 * objects-msw.c (mswindows_font_instance_truename): new function.
2633 * ntproc.c: remove many warnings.
2634 (_sys_read_ahead): moved from nt.c and made static.
2635 (rva_to_section): moved from unexnt.c but not defined under
2637 (win32_executable_type): implement what we can for mingw32
2639 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2641 * ntheap.h: remove declarations of functions that are now static.
2643 * ntheap.c: support static heap.
2645 * nt.h: conditionalise X_OK definition.
2647 * nt.c: eliminate many warnings and support mingw32.
2648 (open_input_file): function moved from unexnt.c and made static
2649 (close_file_data): ditto.
2650 (_sys_read_ahead): moved to ntproc.c
2652 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2654 * console-msw.h: support mingw32.
2655 * getloadavg.c: ditto.
2662 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2663 some systems don't have all of the encapsulated system calls.
2665 * callproc.c: warning elimination.
2666 * dired-msw.c: ditto.
2667 * process-nt.c: ditto.
2668 * realpath.c: ditto.
2670 * Makefile.in.in: tweak : and ; for building under mswindows.
2672 1999-04-26 Michael Harnois <mharnois@willinet.net>
2674 * eldap.c (allocate_ldap): Adapt to the new semantics of
2675 alloc_lcrecord_type().
2677 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2679 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2681 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2683 * Delete mule-coding.c and mule-coding.h because they are not
2686 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2688 * objects.c (print_font_instance): Check for NILP(f->device),
2689 i.e. Vthe_null_font_instance.
2690 (font_instance_truename_internal): ditto.
2691 (Ffont_instance_properties): ditto.
2693 1999-04-22 Olivier Galibert <galibert@pobox.com>
2695 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2698 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2700 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2701 it easier to add new ones.
2703 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2705 * symbols.c (reject_constant_symbols): Ditto.
2706 (init_symbols_once_early): Ditto.
2708 * print.c (print_symbol): Don't use ->obarray.
2710 * symbols.c (Funintern): Ditto.
2712 * alloc.c (Fmake_symbol): Don't set ->obarray.
2714 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2716 * symbols.c (init_symbols_once_early): Removed
2717 Vpure_uninterned_symbol_table.
2718 (Fintern): Don't store to ->obarray field.
2720 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2722 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2723 (eq_with_ebola_notice): Remove abracadabra support.
2725 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2727 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2728 retrieve the distinguished names of entries
2730 1999-03-08 Martin Buchholz <martin@xemacs.org>
2732 * lread.c (read_escape): Make hex escapes read only two hex digits.
2734 1999-04-05 Olivier Galibert <galibert@pobox.com>
2736 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2737 * make-src-depend: Remove puresize-adjust.h.
2738 * src-headers: Remove puresize-adjust.h.
2739 * config.h.in: Kill everything purespace/gung-ho related.
2741 * dbxrc: Make gung-ho mandatory.
2744 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2745 c_readonly and lisp_readonly. Remove implementation arrays.
2746 (C_READONLY_RECORD_HEADER_P): Added.
2747 (LISP_READONLY_RECORD_HEADER_P): Added.
2748 (SET_C_READONLY_RECORD_HEADER): Added.
2749 (SET_LISP_READONLY_RECORD_HEADER): Added.
2751 * lisp.h: Kill everything purespace/non gung-ho related.
2752 (CHECK_C_WRITEABLE): Added.
2753 (CHECK_LISP_WRITEABLE): Added.
2754 (C_READONLY): Added.
2755 (LISP_READONLY): Added.
2757 * lisp-union.h: Make gung-ho mandatory.
2758 * lisp-disunion.h: Ditto.
2760 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2761 set_lheader_implementation calls.
2762 (c_readonly): Added.
2763 (lisp_readonly): Added.
2764 (make_string_nocopy): Added.
2765 (Fpurecopy): Changed to do nothing. Kept the old documentation
2766 for reference purposes for the next patches.
2767 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2768 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2769 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2771 * fns.c: Make gung-ho mandatory.
2772 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2774 (Ffillarray): Ditto.
2776 * data.c: Make gung-ho mandatory.
2777 (pure_write_error): Removed.
2778 (c_write_error): Added.
2779 (lisp_write_error): Added.
2780 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2784 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2785 make_string or make_string_nocopy. Fix various
2786 alloc_lcrecord_type.
2788 * lread.c: Remove everything purespace related.
2789 (Flocate_file_clear_hashing): purified -> c_readonly.
2790 (locate_file): Ditto.
2791 (read_atom): make_pure_pname -> make_string.
2793 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2795 (Fdump_emacs): Ditto.
2797 * print.c (print_internal): Make gung-ho mandatory.
2798 * ntheap.c (sbrk): Ditto.
2799 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2800 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2802 * sheap.c (more_static_core): Remove puresize-adjust.h from
2805 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2807 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2808 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2809 * events.c (deinitialize_event): Fix set_lheader_implementation.
2810 (zero_event): Ditto.
2811 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2812 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2813 * mule-charset.c (make_charset): Ditto.
2814 * console.c (allocate_console): Ditto.
2815 (complex_vars_of_console): Ditto.
2816 * file-coding.c (allocate_coding_system): Ditto.
2817 * device.c (allocate_device): Ditto
2818 * gui-x.c (gcpro_popup_callbacks): Ditto.
2819 * extents.c (allocate_extent_auxiliary): Ditto.
2820 (allocate_extent_info): Ditto.
2821 (copy_extent): Ditto.
2822 * glyphs.c (allocate_image_instance): Ditto.
2823 (allocate_glyph): Ditto.
2824 * frame.c (allocate_frame_core): Ditto.
2825 * database.c (allocate_database): Ditto.
2826 * tooltalk.c (make_tooltalk_message): Ditto.
2827 (make_tooltalk_pattern): Ditto.
2828 * rangetab.c (Fmake_range_table): Ditto.
2829 (Fcopy_range_table): Ditto.
2830 * process.c (make_process_internal): Ditto.
2831 * chartab.c (Fmake_char_table): Ditto.
2832 (make_char_table_entry): Ditto.
2833 (copy_char_table_entry): Ditto.
2834 (Fcopy_char_table): Ditto.
2835 * elhash.c (make_general_lisp_hash_table): Ditto.
2836 (Fcopy_hash_table): Ditto.
2837 * buffer.c (allocate_buffer): Ditto.
2838 (complex_vars_of_buffer): Ditto.
2839 * event-stream.c (allocate_command_builder): Ditto.
2840 * objects.c (Fmake_color_instance): Ditto.
2841 (Fmake_font_instance): Ditto.
2842 (vars_of_objects): Ditto.
2843 * toolbar.c (update_toolbar_button): Ditto.
2844 * window.c (allocate_window): Ditto.
2845 (make_dummy_parent): Ditto.
2846 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2847 (vars_of_window): Fix make_lcrecord_list.
2848 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2850 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2851 * opaque.c (make_opaque): Fix alloc_lrecord.
2852 (make_opaque_list): Fix alloc_lrecord_type.
2854 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2856 * process.c (Fstart_process_internal): Ditto.
2858 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2861 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2863 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2866 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2867 (emodules_load): Use it when calling locate_file().
2869 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2872 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2873 (vars_of_callproc): Initialize it.
2874 (Fcall_process_internal): Use it when calling locate_file().
2876 * alloc.c (disksave_object_finalization): Use
2877 Flocate_file_clear_hashing().
2879 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2880 given `t' as argument.
2882 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2884 * lread.c (locate_file): Expand `pathel' when appropriate.
2885 (Flocate_file_clear_hashing): Expand path elements.
2886 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2888 * dired.c (make_directory_hash_table): Create the hash-table only
2889 if the directory open is successful.
2891 * lread.c (decode_mode_1): New function.
2892 (decode_mode): Ditto.
2893 (Flocate_file): Use them.
2894 (Flocate_file): Expand FILENAME.
2895 (locate_file_map_suffixes): New function.
2896 (locate_file_in_directory_mapper): New function.
2897 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2898 and locate_file_map_suffixes().
2899 (locate_file_construct_suffixed_files): Use
2900 locate_file_map_suffixes().
2901 (locate_file_without_hash): Don't GCPRO path.
2902 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2903 (syms_of_lread): Remove Qlocate_file_hash_table.
2904 (locate_file_find_directory_hash_table): Use
2905 Vlocate_file_hash_table.
2906 (locate_file_refresh_hashing): Ditto.
2908 * lread.c: Renamed read_objects to Vread_objects.
2910 1999-04-16 Olivier Galibert <galibert@pobox.com>
2912 * mule-charset.c: Generally resync with fsf 20.3 charset
2914 (make_charset): Add long and short name. Use id instead of
2916 (Fmake_charset): Ditto.
2917 (Fmake_reverse_direction_charset): Ditto.
2918 (Fcharset_property): Ditto.
2919 (Fcharset_short_name): Added.
2920 (Fcharset_long_name): Added.
2921 (Fcharset_description): Renamed from charset-doc-string.
2922 (syms_of_mule_charset): Synced symbols.
2923 (complex_vars_of_mule_charset): Synced charsets.
2925 * mule-charset.h: Removed leading byte (uses id instead), added
2926 short and long name.
2928 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2930 * file-coding.c (Fdefine_coding_system_alias): New function.
2932 1999-04-08 Olivier Galibert <galibert@pobox.com>
2934 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2935 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2937 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2939 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2940 attach to the extent is valid.
2942 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2944 * dired.c (user_name_completion): Mule-ize.
2945 (user_name_completion): Use xmalloc/xrealloc/xfree.
2946 (user_name_completion): Use DO_REALLOC.
2947 (user_name_completion): Cut down the number of static variables;
2949 (user_name_completion): Username completion is always
2952 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2954 * fns.c (base64_decode_1): Remove COUNTER.
2955 (base64_decode_1): Accept CRLF in addition to CR.
2956 (base64_decode_1): Disallow a stray character after final EOF; the
2957 check was probably a remnant of buggy recode code.
2959 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2961 * fns.c (init_provide_once): Provide `base64'.
2963 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2965 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2966 (Fbase64_encode_region): If buffer is read-only, bail out early.
2967 (Fbase64_decode_region): Ditto.
2968 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2970 (Fbase64_encode_string): Ditto.
2971 (Fbase64_decode_region): Ditto.
2972 (Fbase64_decode_string): Ditto.
2974 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2976 * dired.c (Fdirectory_files): Remove redundant code.
2978 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2980 * frame-msw.c Make raise-frame restore minimised windows.
2982 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2984 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2987 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2989 * toolbar-msw.c Consider captions when deciding whether to rebuild
2990 toolbar. This fixes the initial toolbar display for those of us
2991 who don't like captions. These patches applied by Andy Piper.
2993 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2995 * XEmacs 21.2.13 is released
2997 1999-03-12 SL Baur <steve@xemacs.org>
2999 * file-coding.c: Guard ucs table initialization with ifdef MULE.
3001 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
3003 * file-coding.c: docstring and comment improvements.
3004 (decode_ucs4) flag possible data loss with comment.
3006 1999-03-10 Martin Buchholz <martin@xemacs.org>
3008 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
3012 (decode_coding_ucs4):
3013 (encode_coding_ucs4):
3014 (detect_coding_utf8):
3015 (decode_coding_utf8):
3017 (encode_coding_utf8):
3018 Add CHECK_* macros where needed to avoid crashes.
3019 #ifdef out all composite character support using
3020 #ifdef ENABLE_COMPOSITE_CHARS
3021 Use normal XEmacs coding standards.
3023 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
3025 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3027 * file-coding.c (make-coding-system): Add description about
3028 `ucs-4' and `utf-8'.
3029 (detection_state): Modify to implement ucs-4 and utf-8.
3030 (detect_coding_type): Likewise.
3031 (detect_coding_ucs4): New implementation.
3032 (detect_coding_utf8): New implementation.
3033 (encode_utf8): fixed.
3034 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
3037 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3039 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
3040 2022 registry to private area.
3042 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3044 * file-coding.c (encode_utf8): New function.
3045 (encode_coding_utf8): New implementation.
3047 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3049 * file-coding.c (ucs_to_mule_table): New variable; abolish
3050 `Vucs_to_mule_table'
3051 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
3052 (set-ucs-char): New function.
3053 (ucs_to_char): New function.
3054 (ucs-char): New function.
3055 (set-char-ucs): New function.
3056 (char-ucs): New function.
3057 (decode_ucs4): Use `ucs_to_char'.
3058 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
3059 `mule-to-ucs-table'.
3061 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3063 * chartab.h: EXFUN `Fget_char_table'.
3065 * file-coding.c (encode_ucs4): New function.
3066 (encode_coding_ucs4): Use `encode_ucs4'.
3068 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3070 * file-coding.c (decode_coding_ucs4): New implementation.
3072 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3074 * file-coding.c (decode_coding_ucs4): fixed.
3076 * file-coding.c (Vmule_to_ucs_table): New variable.
3077 (mule_char_to_ucs4): New function.
3078 (encode_coding_ucs4): New implementation.
3079 (complex_vars_of_mule_coding): Define variable
3080 `mule-to-ucs-table'.
3082 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3084 * file-coding.c (decode_coding_utf8): New implementation.
3086 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3088 * file-coding.c (decode_coding_utf8): fixed.
3090 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3092 * file-coding.c (Vucs_to_mule_table): New variable.
3093 (decode_ucs4): Refer `Vucs_to_mule_table'.
3094 (complex_vars_of_mule_coding): Define variable
3095 `ucs-to-mule-table'.
3097 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3099 * file-coding.c (detect_coding_ucs4): New function (not
3101 (decode_coding_ucs4): New function.
3102 (encode_coding_ucs4): New function (not implemented yet).
3103 (detect_coding_utf8): New function (not implemented yet).
3104 (decode_coding_utf8): New function.
3105 (encode_coding_utf8): New function (not implemented yet).
3106 (make-coding-system): New type `ucs4' and `utf8'.
3107 (coding-system-type): Likewise.
3108 (detection_state): Add `ucs4' and `utf8'.
3109 (detect_coding_type): Likewise.
3110 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
3111 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
3112 (decode_ucs4): New function (very incomplete).
3113 (syms_of_mule_coding): Add `ucs4' and `utf8'.
3115 * file-coding.h: Add definitions for UCS-4 and UTF-8.
3117 1999-03-08 Martin Buchholz <martin@xemacs.org>
3120 (non_ascii_valid_char_p):
3121 (lookup_composite_char):
3122 (composite_char_string):
3123 (make-composite-char):
3124 (composite-char-string):
3125 (syms_of_mule_charset):
3126 (complex_vars_of_mule_charset):
3127 * mule-charset.h (LEADING_BYTE_COMPOSITE):
3128 (CHAR_LEADING_BYTE):
3130 * file-coding.h (CODING_STATE_COMPOSITE):
3131 (CODING_STATE_ISO2022_LOCK):
3133 (LEADING_BYTE_COMPOSITE):
3134 * file-coding.c (struct iso2022_decoder):
3137 (parse_iso2022_esc):
3138 (encode_coding_iso2022):
3139 #ifdef out all composite character support using
3140 #ifdef ENABLE_COMPOSITE_CHARS
3142 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
3144 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
3146 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
3147 way of `Fbase64_encode_region'.
3149 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
3151 * fns.c (base64_encode_1): Don't add a newline at the tail.
3153 1999-03-08 Andy Piper <andy@xemacs.org>
3155 * menubar-msw.c (displayable_menu_item): correct off-by-one &
3158 1999-03-07 Martin Buchholz <martin@xemacs.org>
3160 * console-stream.h (struct stream_console):
3161 * event-unixoid.c (event_stream_unixoid_select_console):
3162 (event_stream_unixoid_unselect_console):
3163 * print.c (Fexternal_debugging_output):
3164 * sysdep.c (reset_one_device):
3165 * console-stream.c (stream_init_console):
3166 (stream_delete_console):
3167 (allocate_stream_console_struct): move into stream_init_console.
3168 (free_stream_console_struct): move into stream_delete_console.
3169 Use `fd' only for file descriptors.
3170 Therefore, rename members of struct stream_console.
3172 * systime.h: Unix98 says sys/time.h should define select(), but
3173 some systems define that in unistd.h. So include that file always.
3175 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
3176 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
3177 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
3179 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
3183 Add #include <stdio.h>.
3184 Some versions of assert.h use printf() without #include'ing stdio.h
3186 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
3187 (log_gcpro): Remove unused variable FRAME.
3188 (show_gcprohist): Ansify.
3189 Comment the #endif's
3191 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
3192 after it's just been XtDestroy'ed!
3194 1999-02-18 Martin Buchholz <martin@xemacs.org>
3196 * opaque.c (print_opaque):
3200 Egcs 1.1.1 seems to have a bug where
3201 INTP (p->size_or_chain)
3202 will crash XEmacs. Fix by introducing intermediate variable.
3204 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
3206 * dired.c (Fdirectory_files):
3207 (Ffile_name_completion):
3208 (Ffile_name_all_completions):
3209 (file_name_completion):
3210 - Use `directory' instead of `dirname' to sync with FSF Emacs and
3211 avoid compiler warnings.
3212 - Fix up docstrings so that C variables match documentation.
3214 1999-03-05 Martin Buchholz <martin@xemacs.org>
3216 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
3217 variables as small as possible to help out the compiler and the maintainer.
3219 * alloc.c: (disksave_object_finalization):
3220 Set all the *-load-path variables to
3221 nil, not just load-path itself. This gets the locate-file hash
3222 tables garbage collected BEFORE dump, and has the side effect of
3223 preventing crashes on OSF4.0+egcs.
3228 - Clean up gdb/dbx debugging support.
3229 - Storing an EMACS_INT in an enum is not 64-bit clean!
3230 - So change the enum to a set of separate variables.
3231 - Add test cases to help debug the debugging support!
3232 - Add `lisp-shadows' and `run-temacs' targets for dbx.
3233 - Both dbx and gdb have been tested now.
3235 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3237 * XEmacs 21.2.12 is released
3239 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3241 * device-x.c: Support to find best visual without flashing.
3243 1999-03-02 Paul Keusemann <pkeusem@visi.com>
3245 * database.c (berkdb_map): Add flags argument to cursor call (must
3246 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
3248 1999-03-03 Martin Buchholz <martin@xemacs.org>
3252 General cleanup. Get free-hook.c working again.
3253 Remove unused functions:
3254 make_strings_hash_table, copy_hash, expand_hash_table.
3258 Always use new ANSI-style function prototypes.
3260 * unexalpha.c (unexec): Never use implicit int.
3262 * sgiplay.c (close_sound_file):
3264 (restore_audio_port):
3269 (write_mulaw_8_chunk):
3270 (write_linear_chunk):
3271 (write_linear_32_chunk):
3272 (initialize_audio_port):
3275 (set_output_format):
3276 (adjust_audio_volume):
3277 (get_current_volumes):
3279 Always use new ANSI-style function prototypes.
3280 Use unistd.h for missing prototypes.
3282 * unexelfsgi.c (round_up):
3284 (unexec): Always use new ANSI-style function prototypes
3286 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
3288 * console.h (struct console_methods): Always use full ANSI prototypes
3290 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
3292 1999-03-02 Andy Piper <andy@xemacs.org>
3294 * event-stream.c (init_event_stream): make sure native mswindows
3295 gets an appropriate event loop.
3297 1999-02-22 Andy Piper <andy@xemacs.org>
3299 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
3300 than SW_SHOWNORMAL to prevent resizing of maximised frames.
3301 (mswindows_raise_frame): remove comment.
3303 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
3305 * XEmacs 21.2.11 is released
3307 1999-02-25 SL Baur <steve@xemacs.org>
3309 * mule-charset.c (Qleading_byte): New variable to implement
3310 charset-leading-byte function.
3311 (Fcharset_property): Use it.
3312 (syms_of_mule_charset): Initialize it.
3313 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3315 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
3317 * glyphs-x.c (cononvert_EImage_to_XImage): correct
3318 bytes per pixel counting.
3320 1999-02-15 Andy Piper <andy@xemacs.org>
3322 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
3325 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3327 * fns.c (Fbase64_encode_string): New optional argument
3330 1999-02-16 Martin Buchholz <martin@xemacs.org>
3332 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3333 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3335 1999-02-10 Martin Buchholz <martin@xemacs.org>
3337 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3338 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3340 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3342 * XEmacs 21.2.10 is released
3344 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3346 * process-nt.c (nt_send_process):
3347 Fix for process-send-region/process-send-string breaking when size
3348 of the input > 128 chars: change maximum chunk size for process
3349 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3352 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3354 * XEmacs 21.2.9 is released
3356 1999-01-30 Martin Buchholz <martin@xemacs.org>
3358 * bytecode.c (funcall_compiled_function): Call
3359 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3361 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3362 #ifdef 0 out unused macro.
3364 1999-01-27 Martin Buchholz <martin@xemacs.org>
3366 * gui.c (gui_parse_item_keywords_internal): Make static.
3368 1999-01-21 Andy Piper <andy@xemacs.org>
3370 * glyphs-msw.c: add xface support.
3371 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3372 (image_instantiator_format_create_glyphs_mswindows): do device
3373 specific initialisation for xfaces.
3374 (xbm_create_bitmap_from_data): line data must be padded to a word
3377 * glyphs-x.c (xface_validate): moved to glyphs.c
3378 (xface_normalize): ditto.
3379 (xface_possible_dest_types): ditto.
3380 (image_instantiator_format_create_glyphs_x): do device specific
3381 initialisation for xfaces.
3383 * glyphs.h: declare xface symbol.
3385 * glyphs.c: move generic xface support here.
3386 (xface_validate): moved from glyphs-x.c
3387 (xface_normalize): ditto.
3388 (xface_possible_dest_types): ditto.
3389 (image_instantiator_format_create): xface declarations moved from
3392 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3394 * event-stream.c (vars_of_event_stream): Fixing documentation.
3396 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3398 * glyphs-eimage.c (gif_instantiate): Correct handling of
3399 interlaced gifs to avoid writing past the end of the eimage
3402 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3404 * search.c (Freplace_match): Handle single backslash at end of
3407 1999-01-12 William M. Perry <wmperry@aventail.com>
3409 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3410 avoid connection errors.
3412 1999-01-12 Andy Piper <andy@xemacs.org>
3414 * redisplay-output.c (redisplay_update_line): backout change that
3415 shouldn't have gone ine.
3417 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3419 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3420 collide with ldap.el
3422 1999-01-11 Andy Piper <andy@xemacs.org>
3424 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3425 (DISPLAY_LINE_YPOS): new macro.
3427 * redisplay-msw.c (mswindows_output_string): use it.
3428 (mswindows_output_pixmap): ditto.
3429 (mswindows_output_display_block): ditto.
3431 * redisplay-output.c (redisplay_output_display_block): new
3432 function. just call the devmeth, maybe insert some generic code
3434 (compare_display_blocks): use it.
3435 (output_display_line): ditto.
3436 (redisplay_unmap_subwindows_maybe): new function. potentially
3437 unmap subwindows in the given area.
3439 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3442 1999-01-10 J. Kean Johnston <jkj@sco.com>
3444 * Makefile.in.in: Set value of moduledir
3445 - Changed DUMPENV to include $(MODULEPATH)
3446 - Added install rule to install header files for use by ellcc.
3448 * config.h.in: Added INHIBIT_SITE_MODULES
3449 - Added HAVE__DLERROR
3450 - Added HAVE_DLFCN_H
3451 - Added DLSYM_NEEDS_UNDERSCORE
3455 * emodules.c: New file containing dynamic loading code.
3457 * emodules.h: New file.
3459 * emacs.c: Added variables Vmodule_directory,
3460 Vsite_module_directory, Vconfigure_module_directory and
3461 Vconfigure_site_module_directory.
3462 - (main_1): Added new variable inhibit_site_modules and command
3463 line options `-no-site-modules' and `--no-site-modules'.
3464 - (main_1): Call syms_of_module() instead of syms_of_dll().
3465 - (main_1): Call vars_of_module().
3466 - (vars_of_emacs): Introduce inhibit-site-modules,
3467 module-directory, configure-module-directory,
3468 site-module-directory, and configure-site-module-directory to the
3471 * lisp.h: Declare load_module and list_modules, as well as
3472 Vmodule_directory, Vsite_module_directory,
3473 Vconfigure_module_directory and Vconfigure_site_module_directory.
3475 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3476 - Added correct support for site-lisp directory.
3478 * symbols.c (defsubr): Modified to allow modules to add new subrs
3480 - (defsubr_macro): Same.
3481 - (defvar_magick): Only use purespace when not initialized, so
3482 that loaded modules can still add symbols.
3484 * symsinit.h: Add definitions for syms_of_module(),
3485 vars_of_module(). Removed syms_of_dll().
3487 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3488 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3489 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3491 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3492 explicitly pass -belf for native cc.
3494 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3495 hard-coding the library name.
3497 1999-01-01 <martin@xemacs.org>
3499 * device-x.c (Fx_set_font_path):
3500 Add proper cast to permit compilation under C++.
3502 * buffer.c (directory_is_current_directory):
3503 Add proper casts to permit compilation under C++.
3505 1998-12-30 Damon Lipparelli <lipp@primus.com>
3507 * event-msw.c (mswindows_wnd_proc):
3508 Fixed failure when building with MSVC 5.
3510 1998-12-29 Martin Buchholz <martin@xemacs.org>
3512 * file-coding.c (decode_coding_iso2022):
3513 - Prevent crash when decoding ISO7/Lock detected files
3514 - the usual martin fiddling
3516 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3520 Fixed failures when building with MSVC.
3521 * unexnt.c (dump_bss_and_heap):
3522 Removed compiler warning by removing bss_data variable.
3524 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3526 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3527 so that packages that distribute their own fonts can access them.
3529 1998-12-28 Andy Piper <andy@xemacs.org>
3531 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3532 that have an image provided.
3534 * glyphs.h: add Q_image decl.
3536 * glyphs-widget.c new functionality allowing images in
3538 (check_valid_glyph_or_image): new function to validate
3539 glyphs passed in through :image.
3540 (widget_normalize): new function. convert :image parameters into
3541 real glyphs if not already so.
3542 (widget_instantiate_1): mess with size parameters to be similar to
3544 (syms_of_glyphs_widget): new keyword :image.
3545 (image_instantiator_format_create_glyphs_widget): normalize
3546 buttons and allow :image.
3548 1998-12-27 Andy Piper <andy@xemacs.org>
3550 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3552 * glyphs-widget.c (check_valid_anything): no-op function.
3553 (check_valid_callback): check callbacks in gui_items.
3554 (check_valid_symbol): as it sounds.
3555 (check_valid_string_or_vector): ditto.
3556 (widget_validate): modified for descriptors that are vectors or
3557 sequences of keyword/val pairs.
3558 (widget_instantiate_1): ditto.
3559 (image_instantiator_format_create_glyphs_widget): allow gui_item
3560 keywords in the instantiator.
3562 * gui.c (gui_parse_item_keywords_internal): renamed from
3563 gui_parse_item_keywords but taking error behaviour.
3564 (gui_parse_item_keywords): use it.
3565 (gui_parse_item_keywords_no_errors): ditto.
3566 (gui_item_add_keyval_pair): add Error_behavior flag and only
3567 signal invalid keywords if required.
3569 * gui.h: new gui signatures.
3571 * menubar.c (menu_parse_submenu_keywords): use new
3572 gui_item_add_keyval_pair signature.
3574 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3576 1998-12-28 Martin Buchholz <martin@xemacs.org>
3578 * XEmacs 21.2.8 is released.
3580 1998-12-28 Martin Buchholz <martin@xemacs.org>
3582 * editfns.c (get_home_directory):
3583 (user-home-directory): Simplify.
3586 * callproc.c (child_setup):
3587 - Environment variables were being passed to inferior processes
3588 using internal encoding.
3589 - Convert to external encoding.
3590 - Rename local var `tem' to better name `tail'.
3591 - Use Flength instead of `manual' calculation.
3593 * buffer.c (kill-buffer):
3595 (set-buffer-major-mode):
3597 - Fix up parameter names to correspond to docstrings.
3598 - Don't use `bufname' when a buffer will do as well.
3599 - Remove one unneeded GCPRO.
3601 * buffer.h (initial_directory):
3602 * buffer.c (init_initial_directory):
3603 - use correct conversions between internal and external format.
3604 (directory_is_current_directory): new function
3605 (init_buffer): convert initial_directory to internal format.
3606 - solve crashes when current working directory is non-ASCII.
3608 * alloc.c (xmalloc):
3611 - remove stupid casts, since XEmacs requires an ANSI C system.
3612 (lrecord_type_index): replace abort() with more readable assert().
3614 (reset_lcrecord_stats): remove.
3615 (sweep_lcrecords_1):
3616 - replace call to reset_lcrecord_stats() with call to xzero().
3618 1998-12-27 Martin Buchholz <martin@xemacs.org>
3620 * process-unix.c (unix_create_process):
3621 - Fix crash invoking program with non-ASCII name.
3622 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3623 - Remove unused variable `env'.
3624 - Rename `temp' to better name `save_errno'.
3625 - Reorganize code for clarity. But still too chicken to nuke the
3628 1998-12-24 Martin Buchholz <martin@xemacs.org>
3630 * XEmacs 21.2.7 is released.
3632 1998-12-23 Martin Buchholz <martin@xemacs.org>
3634 * glyphs.c (decode_device_ii_format):
3636 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3638 * glyphs-x.c (x_subwindow_instantiate):
3639 - A image instance mask was being assigned to a image instance type!
3640 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3642 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3644 * glyphs-x.h: Make indentation consistent.
3646 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3648 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3650 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3654 Move declarations of decode_device_ii_format and
3655 decode_image_instantiator_format into glyphs.h where they belong.
3657 1998-12-22 Martin Buchholz <martin@xemacs.org>
3659 * frame-x.c (x_delete_frame): Revert part of my changes at the
3660 suggestion of Gunnar Evermann - unfortunately no one really
3661 understands this code.
3663 * callproc.c (init_callproc): code cleanup.
3665 * free-hook.c (malloc):
3670 (block_input_malloc):
3671 (block_input_realloc):
3672 * device-x.c (x_delete_device):
3673 * emacs.c (voodoo_free_hook):
3674 * events.c (print_event):
3676 (CHECK_EVENT_TYPE2):
3677 (CHECK_EVENT_TYPE3):
3678 Use proper prototypes.
3679 Make C_E_T macros a little faster.
3680 Pedantic fiddly little changes. You really don't care.
3682 1998-12-22 Andy Piper <andy@xemacs.org>
3684 * redisplay-output.c (redisplay_clear_region): make sure that
3685 fg/bg colors get set even when we are in the border area.
3687 1998-12-13 Martin Buchholz <martin@xemacs.org>
3689 * console-msw.c: Function definitions follow coding standards
3690 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3692 1998-12-11 Martin Buchholz <martin@xemacs.org>
3694 * events.h (struct timeout_data):
3695 * event-tty.c (tty_timeout_to_emacs_event):
3696 * event-msw.c (mswindows_wm_timer_callback):
3697 * event-Xt.c (Xt_timeout_to_emacs_event):
3698 * event-msw.c (mswindows_cancel_dispatch_event):
3699 Make sure Lisp_Objects inside events are initialized to Qnil, not
3700 Qnull_pointer, which is now illegal.
3702 1998-12-10 Martin Buchholz <martin@xemacs.org>
3704 * lisp.h: Fix up prototypes to match alloc.c
3706 1998-12-08 Martin Buchholz <martin@xemacs.org>
3708 * windowsnt.h: Remove `support' for using index and rindex
3710 * filelock.c (current_lock_owner):
3711 - Change uses of index -> strchr, rindex -> strrchr
3713 1998-12-07 Martin Buchholz <martin@xemacs.org>
3715 * sysdep.c (set_descriptor_non_blocking):
3716 Since O_NONBLOCK is now always #defined, make use of fcntl
3717 conditional on F_SETFL being defined.
3719 * console-msw.c (DHEADgER):
3728 - max_align_t should not be visible to the user of the
3730 - use Bufbyte instead of char
3731 - parens around (FOOP (obj)) are always redundant.
3732 If they were necessary, we should fix the macro instead.
3733 - Always use string_data(foo) instead of foo->data.
3736 1998-12-06 Martin Buchholz <martin@xemacs.org>
3738 * frame-msw.c (mswindows_init_frame_1):
3739 - use make_lisp_hash_table, not Fmake_hash_table
3743 * alloc.c (make_vector): remove travesty
3747 (make_bit_vector_internal):
3749 (make_bit_vector_from_byte_vector):
3751 - make vector_equal a little faster.
3752 - Don't use variable name `new'.
3753 - Use size_t instead of EMACS_INT.
3754 - usual Martin-style pointless bit-twiddling.
3760 Make mapcar faster. In particular, make
3761 (mapc #'identity long-string)
3762 MUCH faster under Mule.
3763 * tests/automated/lisp-tests.el: Test 'em!
3765 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3768 1998-12-01 Martin Buchholz <martin@xemacs.org>
3770 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3771 Qnil, not NULL, to initialize `null' Lisp_Objects.
3773 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3775 * specifier.c (display_table_validate): Update.
3777 * redisplay.c (create_text_block): Use them.
3779 * glyphs.c (display_table_entry): New function.
3780 (get_display_tables): Ditto.
3782 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3784 * eldap.c (toplevel): Mention that eldap.c compiles with
3786 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3787 (Fldap_search_internal): Ditto
3789 1998-12-11 Martin Buchholz <martin@xemacs.org>
3791 * event-msw.c (mswindows_cancel_dispatch_event):
3792 Gratuitous code prettification
3795 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3797 * fns.c (Fnconc): Fix use of wrong_type_argument().
3799 * floatfns.c (Ffloat): Fix docstring.
3800 (Ffloat): Fix use of wrong_type_argument().
3802 (extract_float): Ditto.
3807 1998-12-06 Martin Buchholz <martin@xemacs.org>
3809 * frame-msw.c (mswindows_init_frame_1):
3810 - use make_lisp_hash_table, not Fmake_hash_table
3814 * alloc.c (make_vector): remove travesty
3818 (make_bit_vector_internal):
3820 (make_bit_vector_from_byte_vector):
3822 - make vector_equal a little faster.
3823 - Don't use variable name `new'.
3824 - Use size_t instead of EMACS_INT.
3825 - usual Martin-style pointless bit-twiddling.
3831 Make mapcar faster. In particular, make
3832 (mapc #'identity long-string)
3833 MUCH faster under Mule.
3834 * tests/automated/lisp-tests.el: Test 'em!
3836 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3839 1998-12-02 Didier Verna <verna@inf.enst.fr>
3841 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3842 accelerator field to nil for labels.
3844 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3846 * menubar-msw.c (displayable_menu_item):
3847 Escape occurrences of '&' and support occurrences of the
3848 '%_' accelerator indicator in menus.
3850 1998-11-26 Didier Verna <verna@inf.enst.fr>
3852 * dired.c (Fdirectory_files): use make_string instead of
3853 make_ext_string on the filename. The conversion external->internal
3854 format is already done in sys_readdir.
3856 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3858 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3860 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3863 (Belatedly) added Kirill to list of file's authors.
3864 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3865 quit checking. WM_PAINT messages cause redisplay, but
3866 windows' states are not necessarily stable when this function
3869 1998-12-17 Andy Piper <andy@xemacs.org>
3871 * strftime.c (zone_name): CONSTify.
3873 1998-12-15 Andy Piper <andy@xemacs.org>
3875 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3876 (mswindows_widget_property): return Qunbound when no property available.
3877 (mswindows_button_property): ditto.
3878 (mswindows_combo_property): ditto.
3879 (mswindows_widget_set_property): ditto.
3881 * glyphs-widget.c (check_valid_item_list): use properties.
3883 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3885 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3886 (Fimage_instance_property): ditto.
3887 * glyphs-widget.c (widget_property): ditto.
3888 (widget_set_property): ditto.
3890 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3891 as setting the class cursor so that GC actually changes the
3894 * config.h: don't undef MAIL_USE_POP.
3896 1998-12-13 Andy Piper <andy@xemacs.org>
3899 (image_instantiator_format_create_glyphs_mswindows): line ->
3901 (mswindows_label_instantiate): ditto. Play with window flags.
3902 (image_instantiator_format_create_glyphs_mswindows): ditto.
3903 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3905 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3906 cope with lines and labels.
3907 (static_instantiate): use widget_instantiate_1.
3909 (image_instantiator_format_create_glyphs_widget): ditto.
3911 1998-12-10 Andy Piper <andy@xemacs.org>
3913 * Makefile.in.in (objs): add gui.o
3915 1998-12-10 Andy Piper <andy@xemacs.org>
3917 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3920 1998-12-09 Andy Piper <andy@xemacs.org>
3922 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3923 image instance is removed so that the subwindow cache gets reset
3924 and thus destroyed images get GC'd.
3926 1998-12-08 Andy Piper <andy@xemacs.org>
3928 * gui-msw.c (mswindows_handle_gui_wm_command): call
3929 MARK_SUBWINDOWS_CHANGED.
3931 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3932 subwindows really get deleted.
3934 * redisplay.c: new variable subwindows_changed[_set].
3935 (redisplay_window): use it.
3936 (redisplay_frame): ditto.
3937 (redisplay_device): ditto.
3938 (redisplay_without_hooks): ditto.
3940 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3941 subwindows redisplay as per glyphs equivalent.
3942 * redisplay.h: ditto.
3943 (MARK_SUBWINDOWS_CHANGED): ditto.
3944 (RESET_CHANGED_SET_FLAGS): ditto.
3945 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3947 1998-12-07 Andy Piper <andy@xemacs.org>
3949 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3952 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3954 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3955 messages and paint widget glyphs as appropriate with their face fg
3958 1998-12-06 Andy Piper <andy@xemacs.org>
3960 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3961 here rather than in glyphs-widget - do this because we only want
3962 to provide what is really available.
3964 * glyphs.c (Fimage_instance_property): new function to get the
3965 properties of image instances. wires through to console specific
3966 methods and then to widget specific methods.
3967 (Fset_image_instance_property): ditto but for setting widget properties.
3968 (check_valid_face): make extern so that it can be used elsewhere.
3970 * glyphs-widget.c (widget_property): new function. gets the
3971 properties of widgets in general and wires the function through to
3972 widget specific ones.
3973 (widget_set_property): ditto but for setting widget properties.
3975 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3976 add items to the list. Play with window styles a bit to get the
3978 (mswindows_widget_property): break out specific widget properties.
3979 (mswindows_button_property): new function. gets the checked state
3981 (mswindows_combo_property): new function. gets the current
3982 selection in the combo box.
3983 (mswindows_widget_set_property): new function. sets specific
3984 properties of specific widgets.
3986 * glyphs-widget.c (check_valid_item_list): new function. check
3987 that items for a combo-box are just a list of strings.
3988 (combo_validate): new function. check there is an item list.
3989 (widget_instantiate_1): new function. renamed from
3990 widget_instantiate so that we can do slightly different things for
3992 (widget_instantiate): call widget_instantiate_1.
3993 (combo_instantiate): new function to instantiate combo boxes,
3994 defaults height to the pixel height of the number of items in the
3996 (syms_of_glyphs_widget): move widget keywords here.
3997 (image_instantiator_format_create_glyphs_widget): use new combo
4000 1998-12-04 Andy Piper <andy@xemacs.org>
4002 * event-msw.c (mswindows_wnd_proc): mule-ize.
4004 * glyphs.c (pixmap_to_lisp_data): mule-ize.
4006 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
4007 (resource_name_to_resource): ditto.
4008 (mswindows_resource_instantiate): ditto.
4009 (mswindows_widget_instantiate): ditto.
4010 (mswindows_widget_set_property): ditto.
4012 * redisplay-output.c (redisplay_output_subwindow): don't show
4013 subwindows if they are obscured at the edge of the frame, emacs
4014 gets into some sort of redisplay loop otherwise.
4016 * gui.h: prototype gui_item_selected_p.
4018 * gui.c (gui_item_selected_p): new function to determine the
4019 selected state of a gui_item.
4021 * frame.h (struct frame): add subwindows_changed flag.
4023 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
4025 * glyphs.c (update_subwindow): new function to update a
4027 (update_frame_subwindows): new function to update all the
4028 subwindows on a frame.
4030 * console.h (struct console_methods): add update_subwindow.
4032 * glyphs-msw.c (mswindows_widget_property): return selected state
4033 for selected property.
4034 (mswindows_update_subwindow): new function. updates widget glyphs
4035 in redisplay as per menubars or toolbars e.g. selected state.
4036 (console_type_create_glyphs_mswindows): add update_subwindow.
4038 1998-12-03 Andy Piper <andy@xemacs.org>
4040 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
4041 tty coding system things are such.
4043 * glyphs-widget.c (widget_face_font_info): new function for
4044 pulling out height and width metrics for a widget's face.
4045 (widget_text_to_pixel_conversion): calculate pixel sizes of text
4048 * event-msw.c (mswindows_drain_windows_queue): translate messages
4049 that are destined for subwindows. This makes edit fields interact
4050 with the keyboard correctly.
4051 nuke warnings by #ifndef'ing out stuff not required by msg select().
4053 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
4054 macro defining the iiforma without the symbol required by widget.
4055 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
4057 * general.c (syms_of_general): add Qwidget, Qselected.
4059 * faces.c (complex_vars_of_faces): add widget face inheriting from
4062 1998-11-09 Andy Piper <andy@xemacs.org>
4064 * window.h (struct window): add a cache of subwindows on a
4067 * window.c (mark_window): mark the subwindow_instance_cache.
4068 (allocate_window): initialise the subwindow instance_cache.
4070 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
4071 instead of the devmeth.
4072 (x_clear_toolbar): ditto.
4074 * redisplay-x.c (x_output_display_block): call
4075 redisplay_output_subwindow for subwindows and widgets.
4077 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
4078 types to do nothing for.
4080 * lisp.h: declare new widget/subwindow symbols.
4082 * glyphs.c (image_instantiate): cache subwindows on a per-window
4084 (subwindow_possible_dest_types): new function for subwindow dest
4086 (subwindow_instantiate): generic instantiation of a
4087 subwindow. specialised by device multi-methods.
4088 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
4090 (Fimage_instance_subwindow_id): ditto.
4091 (Fresize_subwindow): ditto.
4092 (Fforce_subwindow_map): ditto.
4094 * glyphs-x.c (x_print_image_instance): remove subwindow
4095 stuff. Handled genrically in glyphs.c.
4096 (x_image_instance_equal): ditto.
4097 (x_image_instance_hash): ditto.
4098 (x_finalize_image_instance): delete subwindows when required.
4099 (mark_subwindow) (print_subwindow) (finalize_subwindow)
4100 (subwindow_hash) (Fmake_subwindow): deleted because of new,
4101 glyph-based, subwindow implementation.
4102 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
4104 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
4106 (x_unmap_subwindow): new function to unmap X subwindows.
4107 (x_map_subwindow): new function to map X subwindows.
4108 (x_subwindow_instantiate): new function to instantiate X
4110 (x_resize_subwindow): new function to resize X subwindows.
4111 (console_type_create_glyphs_x): add subwindow functions.
4112 (image_instantiator_format_create_glyphs_x): add device
4113 multi-methods for xpm, xbm and subwindow.
4115 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
4116 (subwindow-width): ditto.
4117 (subwindow-height): ditto.
4119 * glyphs-msw.c (mswindows_widget_instantiate): new function for
4120 generally instantiating ms subwindows. Used by
4121 mswindows_*_instantiate.
4122 (mswindows_edit_instantiate): instantiate an edit field on a
4125 1998-11-04 Andy Piper <andy@xemacs.org>
4127 * symsinit.h: declare new functions.
4129 * redisplay.h: declare new functions.
4131 * redisplay-x.c (x_output_display_block): call
4132 redisplay_clear_region rather than x_clear_region.
4133 (x_output_string): ditto.
4134 (x_output_pixmap): ditto.
4135 (x_clear_to_window_end): ditto.
4136 (x_output_eol_cursor): ditto.
4137 (x_clear_region): only do X specific things. other duties handled
4138 in redisplay_clear_region.
4140 * redisplay-tty.c (tty_clear_region): do tty specific things - some
4141 duties moved to redisplay_clear_region.
4143 * redisplay-output.c (clear_left_border): use
4144 redisplay_clear_region instead of device method.
4145 (clear_right_border): ditto.
4146 (output_display_line): ditto.
4147 (redisplay_output_subwindow): ditto.
4148 (redisplay_clear_top_of_window): ditto.
4149 (redisplay_clear_region): perform duties previously handled by
4150 device methods. call the appropriate device method at the
4151 end. unmap subwindows if necessary.
4153 * redisplay-msw.c (mswindows_output_string): use
4154 redisplay_clear_region instead of mswindows_clear_region.
4155 (mswindows_clear_to_window_end): ditto.
4156 (mswindows_output_display_block): output subwindows when required.
4157 (mswindows_clear_region): only do mswindows specific things,
4158 everything else is now handled in redisplay_clear_region.
4160 * gui.h: add item id hash defines and declare function prototypes.
4162 * gui.c (mark_gui_item): new function for marking gui_items.
4163 (gui_item_hash): generic hash function for generating command ids
4166 * gui-msw.c: new file.
4167 (mswindows_handle_gui_wm_command): new function to handle widget
4170 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
4172 (IIFORMAT_HAS_SHARED_METHOD): ditto.
4173 (DEFINE_DEVICE_IIFORMAT): ditto.
4174 (INITIALIZE_DEVICE_IIFORMAT): ditto.
4175 (struct Lisp_Image_Instance): add widget and subwindow data plus
4176 appropriate access functions.
4178 * glyphs.c (decode_device_ii_format): new function for decoding
4179 image instantiator functions based on a device type as well as an
4181 (decode_image_instantiator_format): just call
4182 decode_device_ii_format with nil device.
4183 (add_entry_to_device_ii_format_list): new function for per device
4185 (add_entry_to_image_instantiator_format_list): just call
4186 add_entry_to_device_ii_format_list with nil device.
4187 (check_valid_vector): new function.
4188 (instantiate_image_instantiator): instantiate using per-format
4189 method and then per-format-per-device method (device
4190 multi-methods). signal an error if neither is possible.
4191 (mark_image_instance): cope with subwindows and widgets.
4192 (print_image_instance): ditto.
4193 (image_instance_equal): ditto.
4194 (image_instance_hash): ditto.
4195 (allocate_glyph): ditto.
4196 (glyph_width): ditto.
4197 (glyph_height_internal): ditto.
4198 (xpm_instantiate): removed because of device multi-methods.
4199 (mark_subwindow_cachels): new cachel functions for caching
4200 instantiated subwindows on a per-frame basis. mostly copied from
4201 glyph cachel functions.
4202 (update_subwindow_cachel_data): ditto.
4203 (add_subwindow_cachel): ditto.
4204 (get_subwindow_cachel_index): ditto.
4205 (reset_subwindow_cachels): ditto.
4206 (mark_subwindow_cachels_as_not_updated): ditto.
4207 (unmap_subwindow): generic unmapping of subwindows based on cachel
4209 (map_subwindow): ditto.
4210 (initialize_subwindow_image_instance): generic initialisation of
4212 (syms_of_glyphs): add widget keywords.
4214 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
4217 1998-11-04 Andy Piper <andy@xemacs.org>
4219 * glyphs-widget.c: new file for instantiating widget type glyphs.
4220 (widget_possible_dest_types): new general dest type function for
4222 (widget_validate): ditto.
4223 (initialize_widget_image_instance): ditto
4224 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
4225 before handing on control to device multi-methods.
4226 (syms_of_glyphs_widget): new function.
4227 (image_instantiator_format_create_glyphs_widget): new function,
4228 added placeholders for button, edit, combo, scrollbar
4229 (vars_of_glyphs_widget): new function.
4231 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
4232 storing window ids of widgets.
4234 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
4235 deletion of widget and subwindow glyphs.
4236 (mswindows_unmap_subwindow): new device function for unmapping
4237 subwindows on a msw frame.
4238 (mswindows_map_subwindow): ditto.
4239 (mswindows_register_image_instance): register instantiated widgets
4240 with the widget hastable.
4241 (mswindows_button_instantiate): instantiate a button type widget
4243 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
4245 (image_instantiator_format_create_glyphs_mswindows): add device
4246 multi-methods for xbm, xpm, subwindow, edit and button.
4248 * frame.h (struct frame): add subwindow_cachels dynarr for caching
4249 information about subwindows visible on the current frame. used by
4250 redisplay_clear_region to unmap subwindows as required.
4252 * frame.c (mark_frame): mark subwindow_cachels.
4253 (allocate_frame_core): instantiate subwindow_cachels.
4255 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
4258 * event-msw.c (mswindows_wnd_proc): add call to
4259 mswindows_handle_gui_wm_command to handle widget callbacks.
4261 * emacs.c (main_1): add calls to glyphs-widget initialisation
4264 * console.h (struct console_methods): add
4265 unmap/map_subwindow_method for use be redisplay_clear_region to
4266 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
4267 with by image instantiator multi-methods. Add
4268 resize_subwindow_method.
4270 * console-stream.c (stream_clear_region): change signature to
4271 match new generic clear region function.
4273 * Makefile.in.in: add glyphs-widget.o to list of objects.
4275 * console-msw.h (struct mswindows_frame): add widget hashtable for
4276 wiring command ids to callbacks.
4278 1998-12-16 Andy Piper <andy@xemacs.org>
4280 * XEmacs 21.2.6 is released
4282 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
4284 * md5.c (Fmd5): Correctly initiate string input stream.
4286 * Makefile.in.in (tests): Add md5-tests.el.
4288 1998-12-06 Martin Buchholz <martin@xemacs.org>
4291 * alloc.c (make_vector): remove travesty
4295 (make_bit_vector_internal):
4297 (make_bit_vector_from_byte_vector):
4299 - make vector_equal a little faster.
4300 - Don't use variable name `new'.
4301 - Use size_t instead of EMACS_INT.
4302 - usual Martin-style pointless bit-twiddling.
4308 Make mapcar faster. In particular, make
4309 (mapc #'identity long-string)
4310 MUCH faster under Mule.
4311 * tests/automated/lisp-tests.el: Test 'em!
4313 1998-12-06 Martin Buchholz <martin@xemacs.org>
4315 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4318 1998-12-13 Martin Buchholz <martin@xemacs.org>
4320 * console-msw.c: Function definitions follow coding standards
4321 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4323 1998-12-11 Martin Buchholz <martin@xemacs.org>
4325 * events.h (struct timeout_data):
4326 * event-tty.c (tty_timeout_to_emacs_event):
4327 * event-msw.c (mswindows_wm_timer_callback):
4328 * event-Xt.c (Xt_timeout_to_emacs_event):
4329 * event-msw.c (mswindows_cancel_dispatch_event):
4330 Make sure Lisp_Objects inside events are initialized to Qnil, not
4331 Qnull_pointer, which is now illegal.
4333 1998-12-10 Martin Buchholz <martin@xemacs.org>
4335 * lisp.h: Fix up prototypes to match alloc.c
4337 1998-12-09 Andy Piper <andy@xemacs.org>
4339 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4340 XSETINT for assigning lisp objects.
4342 1998-12-07 Martin Buchholz <martin@xemacs.org>
4345 * console-msw.c (DHEADER):
4354 - max_align_t should not be visible to the user of the
4356 - use Bufbyte instead of char
4357 - parens around (FOOP (obj)) are always redundant.
4358 If they were necessary, we should fix the macro instead.
4359 - Always use string_data(foo) instead of foo->data.
4361 1998-12-07 Martin Buchholz <martin@xemacs.org>
4363 * sysdep.c (set_descriptor_non_blocking):
4364 Since O_NONBLOCK is now always #defined, make use of fcntl
4365 conditional on F_SETFL being defined.
4367 1998-12-09 Andy Piper <andy@xemacs.org>
4369 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4370 that got removed in the merge
4372 1998-11-30 Greg Klanderman <greg@alphatech.com>
4374 * dired.c (vars_of_dired): bugfix for previous conditionalization
4375 of user-name-completion on non- Windows NT.
4377 1998-12-08 Martin Buchholz <martin@xemacs.org>
4379 * windowsnt.h: Remove `support' for using index and rindex
4381 * filelock.c (current_lock_owner):
4382 - Change uses of index -> strchr, rindex -> strrchr
4384 1998-12-06 Martin Buchholz <martin@xemacs.org>
4386 * frame-msw.c (mswindows_init_frame_1):
4387 - use make_lisp_hash_table, not Fmake_hash_table
4390 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4392 * XEmacs 21.2.5 is released
4394 1998-11-30 Martin Buchholz <martin@xemacs.org>
4396 * xselect.c (receive_incremental_selection):
4397 * xselect.c (x_get_window_property):
4398 * xmu.c (XmuReadBitmapDataFromFile):
4399 * xmu.c (XmuCursorNameToIndex):
4400 * xgccache.c (describe_gc_cache):
4401 * xgccache.c (gc_cache_lookup):
4402 * xgccache.c (free_gc_cache):
4403 * xgccache.c (make_gc_cache):
4405 * window.c (map_windows_1):
4406 * window.c (Fother_window_for_scrolling):
4407 * window.c (window_scroll):
4408 * window.c (change_window_height):
4409 * window.c (Fsplit_window):
4410 * window.c (window_left_gutter_width):
4411 * window.c (window_modeline_height):
4412 * window.c (invalidate_vertical_divider_cache_in_window):
4413 * window.c (window_needs_vertical_divider_1):
4414 * window.c (update_mirror_internal):
4415 * window.c (SET_LAST_FACECHANGE):
4416 * widget.c (Fwidget_plist_member):
4417 * unexec.c (copy_text_and_data):
4418 * unexcw.c (copy_executable_and_dump_data_section):
4420 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4421 * tooltalk.c (struct Lisp_Tooltalk_Message):
4422 * toolbar.h (struct toolbar_button):
4423 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4424 * toolbar.c (recompute_overlaying_specifier):
4425 * toolbar.c (toolbar_validate):
4426 * toolbar.c (toolbar_button_at_pixpos):
4427 * toolbar.c (get_toolbar_coords):
4428 * toolbar.c (update_frame_toolbars):
4430 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4431 * toolbar-msw.c (mswindows_find_toolbar_pos):
4432 * toolbar-msw.c (mswindows_output_toolbar):
4433 * toolbar-msw.c (mswindows_clear_toolbar):
4442 * sysdep.c (sys_fopen):
4443 * sysdep.c (sys_open):
4444 * sysdep.c (tty_init_sys_modes_on_device):
4445 * sysdep.c (get_eof_char):
4446 * sysdep.c (child_setup_tty):
4447 * sysdep.c (set_descriptor_non_blocking):
4449 * syntax.c (scan_words):
4452 * symeval.h (struct symbol_value_varalias):
4453 * symeval.h (struct symbol_value_forward):
4454 * symbols.c (syms_of_symbols):
4455 * symbols.c (init_symbols_once_early):
4456 * symbols.c (Fbuilt_in_variable_type):
4457 * symbols.c (Fsymbol_value_in_buffer):
4458 * symbols.c (default_value):
4460 * symbols.c (find_symbol_value_quickly):
4461 * symbols.c (store_symval_forwarding):
4462 * symbols.c (set_default_console_slot_variable):
4463 * symbols.c (set_default_buffer_slot_variable):
4464 * symbols.c (verify_ok_for_buffer_local):
4465 * symbols.c (symbol_is_constant):
4466 * symbols.c (oblookup):
4467 * symbols.c (Funintern):
4468 * symbols.c (Fintern):
4469 * symbols.c (check_obarray):
4471 * specifier.h (struct specifier_methods):
4473 * specifier.c (specifier_instance):
4474 * specifier.c (specifier_instance_from_inst_list):
4475 * specifier.c (decode_locale_type):
4476 * specifier.c (specifier_equal):
4477 * specifier.c (finalize_specifier):
4478 * specifier.c (prune_specifiers):
4479 * specifier.c (kill_specifier_buffer_locals):
4480 * sound.c (init_native_sound):
4483 * search.c (Fmatch_data):
4484 * search.c (match_limit):
4485 * search.c (Freplace_match):
4486 * search.c (skip_chars):
4487 * search.c (scan_buffer):
4489 * scrollbar.c (specifier_vars_of_scrollbar):
4490 * scrollbar.c (Fscrollbar_set_hscroll):
4491 * scrollbar.c (vertical_scrollbar_changed_in_window):
4492 * scrollbar.c (release_window_mirror_scrollbars):
4493 * scrollbar.c (free_scrollbar_instance):
4496 * s/msdos.h (O_BINARY):
4498 * s/freebsd.h (LIBS_TERMCAP):
4499 * regex.c (re_match_2_internal):
4500 * regex.c (compile_extended_range):
4501 * regex.c (POP_FAILURE_POINT):
4502 * regex.c (PUSH_FAILURE_POINT):
4503 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4505 * redisplay.h (struct display_line):
4506 * redisplay.h (struct rune):
4507 * redisplay.c (vars_of_redisplay):
4508 * redisplay.c (redisplay_variable_changed):
4509 * redisplay.c (UPDATE_CACHE_RETURN):
4510 * redisplay.c (validate_line_start_cache):
4511 * redisplay.c (mark_redisplay_structs):
4512 * redisplay.c (mark_glyph_block_dynarr):
4513 * redisplay.c (window_line_number):
4514 * redisplay.c (redisplay_frame):
4515 * redisplay.c (redisplay_window):
4516 * redisplay.c (generate_modeline):
4517 * redisplay.c (create_right_glyph_block):
4518 * redisplay.c (create_left_glyph_block):
4519 * redisplay.c (create_text_block):
4521 * redisplay-x.c (x_output_hline):
4522 * redisplay-x.c (x_output_vertical_divider):
4523 * redisplay-tty.c (tty_output_display_block):
4524 * redisplay-output.c (output_display_line):
4525 * redisplay-output.c:
4526 * redisplay-msw.c (mswindows_output_vertical_divider):
4527 * redisplay-msw.c (mswindows_ring_bell):
4528 * redisplay-msw.c (mswindows_output_cursor):
4532 * puresize.h (RAW_PURESIZE):
4533 * profile.c (syms_of_profile):
4534 * profile.c (Fstart_profiling):
4535 * profile.c (sigprof_handler):
4538 * process.c (vars_of_process):
4539 * process.c (read_process_output):
4540 * process.c (get_process):
4542 * process-unix.c (unix_open_multicast_group):
4543 * process-unix.c (unix_get_tty_name):
4544 * process-unix.c (unix_send_process):
4545 * process-unix.c (unix_reap_exited_processes):
4546 * process-unix.c (unix_create_process):
4547 * process-unix.c (unix_init_process_io_handles):
4548 * process-unix.c (allocate_pty):
4550 * process-nt.c (nt_open_network_stream):
4551 * process-nt.c (nt_update_status_if_terminated):
4552 * process-nt.c (nt_finalize_process_data):
4554 * print.c (debug_short_backtrace):
4555 * print.c (debug_backtrace):
4556 * print.c (print_symbol):
4557 * print.c (print_internal):
4558 * print.c (print_cons):
4559 * print.c (Fwrite_char):
4560 * print.c (print_prepare):
4561 * print.c (canonicalize_printcharfun):
4562 * print.c (output_string):
4565 * opaque.c (allocate_managed_opaque):
4567 * offix.c (DndSetData):
4568 * objects.c (face_boolean_create):
4569 * objects.c (font_instantiate):
4570 * objects.c (font_create):
4571 * objects.c (color_create):
4572 * objects.c (finalize_font_instance):
4573 * objects.c (finalize_color_instance):
4575 * objects-x.c (x_font_instance_truename):
4577 * objects-x.c (x_initialize_font_instance):
4578 * objects-x.c (allocate_nearest_color):
4579 * objects-tty.c (tty_initialize_font_instance):
4580 * objects-tty.c (tty_initialize_color_instance):
4581 * objects-msw.c (mswindows_initialize_color_instance):
4582 * ntproc.c (syms_of_ntproc):
4583 * ntproc.c (Fwin32_set_process_priority):
4584 * ntproc.c (sys_spawnve):
4586 * ntheap.c (get_data_end):
4590 * nt.c (generate_inode_val):
4591 * nt.c (sys_rename):
4593 * mule-wnnfns.c (Fwnn_hinsi_number):
4594 * mule-wnnfns.c (Fwnn_yuragi):
4595 * mule-wnnfns.c (Fwnn_common_learn):
4596 * mule-wnnfns.c (Fwnn_suffix_learn):
4597 * mule-wnnfns.c (Fwnn_prefix_learn):
4598 * mule-wnnfns.c (Fwnn_okuri_learn):
4599 * mule-wnnfns.c (Fwnn_complex_conv):
4600 * mule-wnnfns.c (Fwnn_last_is_first):
4601 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4602 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4603 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4604 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4605 * mule-wnnfns.c (Fwnn_hinsi_list):
4606 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4607 * mule-wnnfns.c (Fwnn_dict_search):
4608 * mule-wnnfns.c (Fwnn_word_toroku):
4609 * mule-wnnfns.c (Fwnn_hindo_update):
4610 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4611 * mule-wnnfns.c (Fwnn_kakutei):
4612 * mule-wnnfns.c (Fwnn_begin_henkan):
4613 * mule-wnnfns.c (Fwnn_dict_comment):
4614 * mule-wnnfns.c (Fwnn_dict_add):
4615 * mule-wnnfns.c (Fwnn_open):
4616 * mule-mcpath.c (mc_getcwd):
4617 * mule-coding.c (vars_of_mule_coding):
4618 * mule-coding.c (convert_to_external_format):
4619 * mule-coding.c (encoding_marker):
4620 * mule-coding.c (decoding_marker):
4621 * mule-coding.c (Fcopy_coding_system):
4622 * mule-coding.c (Fmake_coding_system):
4623 * mule-coding.c (Fcoding_system_list):
4624 * mule-coding.c (Ffind_coding_system):
4625 * mule-coding.c (symbol_to_eol_type):
4627 * mule-charset.c (complex_vars_of_mule_charset):
4628 * mule-charset.c (vars_of_mule_charset):
4629 * mule-charset.c (Fset_charset_ccl_program):
4630 * mule-charset.c (struct charset_list_closure):
4631 * mule-charset.c (Ffind_charset):
4632 * mule-charset.c (make_charset):
4633 * mule-charset.c (non_ascii_valid_char_p):
4635 * mule-ccl.c (ccl_driver):
4636 * mule-canna.c (c2mu):
4637 * mule-canna.c (Fcanna_henkan_begin):
4638 * mule-canna.c (Fcanna_parse):
4639 * mule-canna.c (Fcanna_store_yomi):
4640 * mule-canna.c (Fcanna_touroku_string):
4641 * mule-canna.c (Fcanna_initialize):
4643 * menubar.c (menu_parse_submenu_keywords):
4644 * menubar-x.c (make_dummy_xbutton_event):
4645 * menubar-x.c (set_frame_menubar):
4646 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4649 * menubar-msw.c (mswindows_popup_menu):
4650 * menubar-msw.c (mswindows_update_frame_menubars):
4651 * menubar-msw.c (mswindows_handle_wm_command):
4652 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4653 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4654 * menubar-msw.c (update_frame_menubar_maybe):
4655 * menubar-msw.c (populate_or_checksum_helper):
4656 * menubar-msw.c (empty_menu):
4659 * marker.c (set_marker_internal):
4660 * marker.c (print_marker):
4663 * lstream.c (lisp_buffer_rewinder):
4664 * lstream.c (mark_lstream):
4666 * lrecord.h (struct lrecord_header):
4667 * lread.c (readevalloop):
4668 * lread.c (locate_file):
4669 * lread.c (locate_file_in_directory):
4670 * lread.c (Flocate_file):
4671 * lread.c (load_force_doc_string_unwind):
4672 * lread.c (ebolify_bytecode_constants):
4677 * linuxplay.c (linux_play_data_or_file):
4678 * linuxplay.c (audio_init):
4681 * keymap.c (describe_map):
4682 * keymap.c (describe_map_mapper):
4683 * keymap.c (Fdescribe_bindings_internal):
4684 * keymap.c (Fsingle_key_description):
4685 * keymap.c (map_keymap_sorted):
4686 * keymap.c (get_relevant_keymaps):
4687 * keymap.c (Flookup_key):
4688 * keymap.c (raw_lookup_key_mapper):
4689 * keymap.c (Fdefine_key):
4690 * keymap.c (Fevent_matches_key_specifier_p):
4691 * keymap.c (key_desc_list_to_event):
4692 * keymap.c (define_key_parser):
4693 * keymap.c (define_key_check_and_coerce_keysym):
4694 * keymap.c (keymap_submaps):
4695 * keymap.c (keymap_store_internal):
4696 * keymap.c (keymap_delete_inverse_internal):
4697 * keymap.c (keymap_store_inverse_internal):
4698 * keymap.c (print_keymap):
4699 * keymap.c (Lisp_Keymap):
4702 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4703 * insdel.c (make_gap):
4704 * input-method-xlib.c (get_XIM_input):
4705 * input-method-xlib.c (XIM_init_frame):
4710 * gui-x.c (button_item_to_widget_value):
4711 * gui-x.c (popup_selection_callback):
4712 * glyphs.h (struct image_instantiator_methods):
4713 * glyphs.c (mark_glyph_cachels):
4714 * glyphs.c (Fglyph_type):
4715 * glyphs.c (image_instantiate):
4716 * glyphs.c (image_create):
4717 * glyphs.c (make_image_instance_1):
4718 * glyphs.c (finalize_image_instance):
4720 * glyphs-x.c (finalize_subwindow):
4721 * glyphs-x.c (xface_validate):
4722 * glyphs-x.c (x_locate_pixmap_file):
4723 * glyphs-x.c (convert_EImage_to_XImage):
4725 * glyphs-msw.c (mswindows_resource_instantiate):
4726 * glyphs-msw.c (xpm_to_eimage):
4727 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4728 * glyphs-eimage.c (tiff_instantiate):
4729 * glyphs-eimage.c (png_instantiate):
4730 * glyphs-eimage.c (struct png_error_struct):
4731 * glyphs-eimage.c (gif_memory_storage):
4734 * getloadavg.c (getloadavg):
4737 * free-hook.c (log_gcpro):
4738 * free-hook.c (check_malloc):
4739 * free-hook.c (check_free):
4740 * free-hook.c (ROUND_UP_TO_PAGE):
4742 * frame.h (struct frame):
4744 * frame.c (change_frame_size_1):
4745 * frame.c (allocate_frame_core):
4747 * frame-x.c (x_focus_on_frame):
4748 * frame-x.c (x_init_frame_2):
4749 * frame-x.c (x_popup_frame):
4750 * frame-x.c (xemacs_XtPopup):
4752 * frame-x.c (Foffix_start_drag_internal):
4753 * frame-x.c (x_cde_destroy_callback):
4754 * frame-x.c (x_wm_hack_wm_protocols):
4755 * frame-tty.c (tty_frame_visible_p):
4756 * frame-msw.c (mswindows_make_frame_invisible):
4757 * frame-msw.c (mswindows_after_init_frame):
4758 * frame-msw.c (mswindows_init_frame_1):
4759 * fns.c (syms_of_fns):
4760 * fns.c (Fbase64_decode_string):
4762 * fns.c (Ffillarray):
4763 * fns.c (Fobject_plist):
4765 * fns.c (Fcanonicalize_lax_plist):
4766 * fns.c (Fcanonicalize_plist):
4767 * fns.c (Fplist_remprop):
4768 * fns.c (Fplist_get):
4769 * fns.c (advance_plist_pointers):
4770 * fns.c (internal_plist_put):
4771 * fns.c (Fnreverse):
4774 * fns.c (Fsubstring):
4775 * fns.c (Fbvconcat):
4777 * fns.c (length_with_bytecode_hack):
4778 * fns.c (print_bit_vector):
4780 * floatfns.c (Ffloor):
4782 * floatfns.c (in_float_error):
4783 * fileio.c (Ffile_modes):
4784 * fileio.c (Fexpand_file_name):
4785 * fileio.c (Fmake_temp_name):
4786 * fileio.c (Ffile_name_nondirectory):
4787 * fileio.c (Ffile_name_directory):
4789 * file-coding.c (vars_of_mule_coding):
4790 * file-coding.c (convert_to_external_format):
4791 * file-coding.c (encoding_marker):
4792 * file-coding.c (decoding_marker):
4793 * file-coding.c (Fcopy_coding_system):
4794 * file-coding.c (Fmake_coding_system):
4795 * file-coding.c (struct coding_system_list_closure):
4796 * file-coding.c (Ffind_coding_system):
4797 * file-coding.c (symbol_to_eol_type):
4799 * faces.h (struct face_cachel):
4800 * faces.c (vars_of_faces):
4801 * faces.c (face_property_was_changed):
4802 * faces.c (mark_face_cachels):
4803 * faces.c (temporary_faces_list):
4804 * faces.c (struct face_list_closure):
4806 * extents.h (struct extent):
4807 * extents.c (vars_of_extents):
4808 * extents.c (struct copy_string_extents_1_arg):
4809 * extents.c (add_string_extents_mapper):
4810 * extents.c (Fextent_property):
4811 * extents.c (Fset_extent_property):
4812 * extents.c (symbol_to_glyph_layout):
4813 * extents.c (properties_equal):
4814 * extents.c (print_extent):
4815 * extents.c (print_extent_1):
4816 * extents.c (extent_in_region_p):
4817 * extents.c (gap_array_make_gap):
4819 * events.h (struct Lisp_Event):
4821 * events.c (Fevent_properties):
4822 * events.c (format_event_object):
4823 * events.c (Fmake_event):
4824 * events.c (event_equal):
4825 * events.c (print_event):
4826 * events.c (mark_event):
4827 * event-stream.c ((read-char)
4828 * event-stream.c (vars_of_event_stream):
4829 * event-stream.c (syms_of_event_stream):
4830 * event-stream.c (Fset_recent_keys_ring_size):
4831 * event-stream.c (Fsit_for):
4832 * event-stream.c (Fnext_event):
4833 * event-stream.c (execute_help_form):
4834 * event-stream.c (maybe_kbd_translate):
4836 * event-msw.c (vars_of_event_mswindows):
4837 * event-msw.c (mswindows_wnd_proc):
4838 * event-msw.c (mswindows_need_event):
4839 * event-msw.c (mswindows_drain_windows_queue):
4840 * event-msw.c (mswindows_pump_outstanding_events):
4842 * event-msw.c (slurp_thread):
4843 * event-msw.c (struct ntpipe_slurp_stream):
4844 * event-msw.c (HANDLE_TO_USID):
4845 * event-Xt.c (emacs_Xt_handle_magic_event):
4846 * event-Xt.c (x_event_to_emacs_event):
4847 * event-Xt.c (x_reset_modifier_mapping):
4848 * event-Xt.c (x_reset_key_mapping):
4850 * eval.c (syms_of_eval):
4851 * eval.c (warn_when_safe):
4852 * eval.c (warn_when_safe_lispobj):
4853 * eval.c (Fbacktrace_frame):
4854 * eval.c (Fbacktrace):
4855 * eval.c (top_level_set):
4856 * eval.c (unbind_to_hairy):
4857 * eval.c (specbind_magic):
4858 * eval.c (specbind_unwind_wasnt_local):
4859 * eval.c (call2_trapping_errors):
4860 * eval.c (call1_trapping_errors):
4861 * eval.c (catch_them_squirmers_call2):
4862 * eval.c (call0_trapping_errors):
4863 * eval.c (run_hook_trapping_errors):
4864 * eval.c (catch_them_squirmers_eval_in_buffer):
4865 * eval.c (call4_in_buffer):
4866 * eval.c (call3_in_buffer):
4867 * eval.c (call2_in_buffer):
4868 * eval.c (call1_in_buffer):
4869 * eval.c (call0_in_buffer):
4870 * eval.c (run_hook):
4871 * eval.c (run_hook_with_args_in_buffer):
4874 * eval.c (do_autoload):
4875 * eval.c (un_autoload):
4876 * eval.c (Fautoload):
4877 * eval.c (Finteractive_p):
4878 * eval.c (Fcommand_execute):
4879 * eval.c (signal_quit):
4880 * eval.c (call_with_suspended_errors):
4881 * eval.c (signal_error):
4882 * eval.c (return_from_signal):
4883 * eval.c (Fcall_with_condition_handler):
4884 * eval.c (run_condition_case_handlers):
4885 * eval.c (condition_case_1):
4886 * eval.c (Funwind_protect):
4887 * eval.c (unwind_to_catch):
4888 * eval.c (internal_catch):
4889 * eval.c (Fmacroexpand_internal):
4890 * eval.c (Fuser_variable_p):
4891 * eval.c (Fdefconst):
4893 * eval.c (Ffunction):
4894 * eval.c (signal_call_debugger):
4895 * eval.c (call_debugger):
4898 * emacs.c (sort_args):
4902 * editfns.c (Fencode_time):
4903 * editfns.c (Fdecode_time):
4904 * editfns.c (Fuser_full_name):
4906 * editfns.c (save_excursion_restore):
4909 * doprnt.c (emacs_doprnt_1):
4910 * doc.c (verify_doc_mapper):
4911 * doc.c (Fsnarf_documentation):
4912 * doc.c (Fdocumentation):
4914 * dired.c (user_name_completion):
4915 * dired.c (Fdirectory_files):
4918 * dgif_lib.c (FreeSavedImages):
4919 * dgif_lib.c (DGifGetImageDesc):
4921 * device.h (struct device):
4922 * device.c (Fselect_device):
4923 * device.c (allocate_device):
4925 * device-x.c (Fx_keysym_on_keyboard_p):
4926 * device-x.c (Fx_valid_keysym_name_p):
4927 * device-x.c (x_IO_error_handler):
4928 * device-x.c (x_delete_device):
4929 * device-x.c (x_finish_init_device):
4930 * device-x.c (x_init_device):
4932 * device-msw.c (mswindows_init_device):
4934 * database.c (vars_of_database):
4935 * database.c (Fput_database):
4936 * database.c (Fopen_database):
4937 * database.c (berkdb_remove):
4938 * database.c (berkdb_put):
4939 * database.c (Fdatabasep):
4940 * database.c (print_database):
4942 * data.c (vars_of_data):
4943 * data.c (syms_of_data):
4944 * data.c (init_errors_once_early):
4945 * data.c (prune_weak_lists):
4946 * data.c (finish_marking_weak_lists):
4947 * data.c (print_weak_list):
4949 * data.c (Fstring_to_number):
4950 * data.c (Fnumber_to_string):
4951 * data.c (Findirect_function):
4954 * data.c (Fsubr_interactive):
4956 * data.c (Fkeywordp):
4959 * console.h (CONSOLE_NAME):
4961 * console.c (vars_of_console):
4962 * console.c (Fselect_console):
4964 * console-x.h (DEVICE_X_COLORMAP):
4965 * console-x.h (struct x_device):
4966 * console-x.c (x_device_to_console_connection):
4967 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4968 * console-tty.c (tty_init_console):
4970 * console-msw.h (struct mswindows_frame):
4973 * cmds.c (internal_self_insert):
4974 * cmds.c (Fforward_line):
4975 * cmds.c (Fforward_char):
4978 * chartab.c (mark_char_table_entry):
4980 * casefiddle.c (casify_word):
4981 * callproc.c (child_setup):
4982 * callproc.c (Fcall_process_internal):
4984 * callint.c (Fcall_interactively):
4986 * bytecode.c (execute_rare_opcode):
4987 * bytecode.c (execute_optimized_program):
4990 * buffer.h (BUFFER_REALLOC):
4991 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4992 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4994 * buffer.h (MAP_INDIRECT_BUFFERS):
4995 * buffer.h (CHECK_LIVE_BUFFER):
4996 * buffer.c (init_initial_directory):
4997 * buffer.c (complex_vars_of_buffer):
4998 * buffer.c (vars_of_buffer):
4999 * buffer.c (finish_init_buffer):
5000 * buffer.c (Fget_file_buffer):
5001 * buffer.c (Fbuffer_list):
5002 * buffer.c (mark_buffer):
5003 * balloon_help.c (balloon_help_move_to_pointer):
5004 * balloon_help.c (show_help):
5007 * alloc.c (garbage_collect_1):
5008 * alloc.c (sweep_strings):
5009 * alloc.c (sweep_compiled_functions):
5010 * alloc.c (sweep_bit_vectors_1):
5011 * alloc.c (sweep_vectors_1):
5012 * alloc.c (sweep_lcrecords_1):
5013 * alloc.c (tick_lcrecord_stats):
5014 * alloc.c (pure_string_sizeof):
5015 * alloc.c (mark_conses_in_list):
5016 * alloc.c (mark_object):
5017 * alloc.c (report_pure_usage):
5018 * alloc.c (make_pure_float):
5019 * alloc.c (make_pure_string):
5020 * alloc.c (free_managed_lcrecord):
5021 * alloc.c (mark_string):
5022 * alloc.c (noseeum_make_marker):
5023 * alloc.c (allocate_event):
5024 * alloc.c (Fbit_vector):
5025 * alloc.c (Fvector):
5026 * alloc.c (make_float):
5027 * alloc.c (Fmake_list):
5029 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
5030 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
5031 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
5032 * alloc.c (dbg_constants):
5033 * alloc.c (gc_record_type_p):
5034 * alloc.c (free_lcrecord):
5035 * alloc.c (xmalloc):
5036 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
5038 * Makefile.in.in (mostlyclean):
5039 * Makefile.in.in (external_client_xlib_objs_nonshared):
5040 * Makefile.in.in (temacs_link_args):
5041 * Makefile.in.in (release):
5042 * Makefile.in.in (dnd_objs):
5043 * Makefile.in.in (objs):
5044 * Makefile.in.in (PROGNAME):
5045 * EmacsShell.c: cast strings to (XtPointer)
5046 * EmacsFrame.c: cast strings to (XtPointer)
5048 - rewrite basic lisp functions for speed
5049 - rewrite bytecode interpreter for speed
5050 - rewrite list looping constructs for speed and safety using
5052 - use size_t where appropriate.
5053 - new hashtable implementation
5054 - cleanup implementation of opaques
5055 - opaques can now be purecopy'ed
5056 - move some cl functionality into C for speed.
5057 - remove last remaining VMS support
5059 - improve gdb/dbx debugger support
5060 - move pure.c back into alloc.c for performance
5061 - enable report_pure_usage() if --memory-usage-stats
5062 - remove remnants of Energize support (EMACS_BTL, cadillac...)
5063 - don't use symbols with leading `_' or embedded `__'
5064 - globally cleanup duplicated semicolons `;;'
5065 - I give in on %p vs %lx - we use printf("%lx",(long) p)
5067 - globally replace O_NDELAY with O_NONBLOCK.
5068 - globally replace CDISABLE with _POSIX_VDISABLE.
5069 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
5070 - define (and maybe use!) STDERR_FILENO and friends.
5071 - add support for macros defined in C
5072 - `when', `unless', `not' and `defalias' now defined in C,
5073 so that they are universally available.
5074 - rename defvar_mumble to defvar_magic
5075 - rename RETURN__ to RETURN_SANS_WARNINGS
5076 - use consistent style of initial caps in error messages
5077 - implement last, butlast, nbutlast, copy-list in C.
5078 - provide typedefs for all struct Lisp_foo types
5079 - Lisp_Objects must be initialized to Qnil rather than 0.
5080 - make sure XEmacs runs (slowly) with always_gc == 1;
5081 - fast and safe LOOP_* macros
5082 - change calls to XSETOBJ to XSETFOO
5083 - replace calls to XSETINT by make_int()
5084 - plug up memory leaks
5085 - use style markobj (foo), not silly ((markobj) (foo))
5086 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
5088 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
5090 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
5092 1998-11-28 SL Baur <steve@altair.xemacs.org>
5094 * XEmacs 21.2-beta4 is released.
5096 1998-11-27 SL Baur <steve@altair.xemacs.org>
5098 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
5099 property in control-1 charset.
5100 From Julian Bradfield <jcb@daimi.au.dk>
5102 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
5104 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
5106 Add stub for :label.
5108 * gui.c (gui_item_add_keyval_pair): ditto.
5110 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
5111 :key-sequence keyword.
5113 Support :active for submenus like the Windows code and FSF Emacs.
5115 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
5117 * dired.c (make_directory_hash_table): make_string() is OK because
5118 readdir() Mule-encapsulates.
5120 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5122 * fns.c (Fbase64_encode_string): Fix docstring.
5123 (Fbase64_decode_string): Ditto.
5125 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5127 * editfns.c (Ftranslate_region): Use
5128 convert_bufbyte_string_into_emchar_string().
5130 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5132 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
5134 (Ftranslate_region): Turn table into an array of Emchars for
5137 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5139 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
5141 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5143 * chartab.c (Freset_char_table): Don't blindly fill chartables of
5144 type `char' with nils.
5146 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
5147 for tables of type `char'.
5149 1998-11-26 Didier Verna <verna@inf.enst.fr>
5151 * input-method-xlib.c (Initialize_Locale): don't call
5152 XtSetLanguageProc. We've done the whole work here.
5153 * input-method-xfs.c (Initialize_Locale): ditto.
5154 * input-method-motif.c (Initialize_Locale): ditto.
5156 1998-11-26 Didier Verna <verna@inf.enst.fr>
5158 * process-unix.c (unix_create_process): handle properly
5159 Vfile_name_coding_system for converting the program and directory
5162 1998-11-27 SL Baur <steve@altair.xemacs.org>
5164 * m/arm.h: New file.
5165 From James LewisMoss <dres@ioa.com>
5167 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5170 Fix the realpath() problem of UnixWare2.1.3.
5171 Patches for NEC's sysv4.2 machine.
5173 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5175 * dired.c (Fdirectory_files): Remove redundant code.
5177 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5179 * fns.c (free_malloced_ptr): New function.
5180 (XMALLOC_OR_ALLOCA): New macro.
5181 (XMALLOC_UNBIND): Ditto.
5182 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
5183 to be freed in case of non-local exit.
5184 (Fbase64_encode_string): Ditto.
5185 (Fbase64_decode_region): Ditto.
5186 (Fbase64_decode_string): Ditto.
5187 (STORE_BYTE): New macro.
5188 (base64_decode_1): Use it.
5190 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5192 * fns.c (base64_value_to_char): Base64 stuff.
5194 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5196 * editfns.c (Fbuffer_substring): New function.
5198 * lisp.h: Declare make_string_from_buffer_no_extents().
5200 * insdel.c (make_string_from_buffer_1): New function.
5201 (make_string_from_buffer_no_extents): Ditto.
5203 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5205 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
5206 sound work on AIX with OSS installed. Linux should still work.
5208 1998-11-03 Andy Piper <andyp@parallax.co.uk>
5210 * config.h.in: name change for cygwin/version.h
5212 * configure.in: check for cygwin/version.h now.
5214 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5215 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5216 move cygwin32/version.h to cygwin/version.h
5218 1998-11-03 Olivier Galibert <galibert@pobox.com>
5220 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
5223 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5225 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5226 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5227 enable BROKEN_SIGIO under b20 to make QUIT work.
5229 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5231 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
5232 to fit within the constraints of the screen size. I.e. make the
5233 frame small enough to fit and move it if some of it will be
5236 1998-10-19 Greg Klanderman <greg@alphatech.com>
5238 * dired.c: conditionalize inclusion of user-name-completion
5239 primitives on non-Windows NT. The needed functions don't exist on NT.
5241 1998-11-24 SL Baur <steve@altair.xemacs.org>
5243 * gifrlib.h: Clean up types for 64 bit compile.
5244 * dgif_lib.c (DGifInitRead): Ditto.
5245 (MakeSavedImage): Ditto.
5246 * emacs.c (decode_path): Ditto.
5247 From Steve Carney <carney@pa.dec.com>
5249 1998-10-16 William M. Perry <wmperry@aventail.com>
5251 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
5252 (cehckboxes instead of checkboxes).
5254 1998-10-15 SL Baur <steve@altair.xemacs.org>
5256 * XEmacs 21.2-beta3 is released.
5258 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
5260 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
5261 gnuclient. Otherwise, we run xemacs as we always did. This gets
5262 rid of the annoying DOS window when running gnuclient.
5264 1998-10-13 Andy Piper <andyp@parallax.co.uk>
5266 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
5267 HAVE_MS_WINDOWS typo.
5269 1998-10-13 SL Baur <steve@altair.xemacs.org>
5271 * process-unix.c (unix_send_process): Set closed flag on writable
5272 pipe after SIGPIPE is received and before we call deactivate_process.
5274 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
5276 * window.c (Fset_window_start): respect narrowing when
5277 checking wheter start is at the beginning of a line.
5278 (Fset_window_buffer): Ditto
5279 Fixes repeatable crash in VM.
5281 1998-10-09 SL Baur <steve@altair.xemacs.org>
5283 * window.c (specifier_vars_of_window): Set default vertical
5284 divider width to 1 on ttys.
5286 1998-10-08 Martin Buchholz <martin@xemacs.org>
5291 Add <stddef.h> to get ptrdiff_t declaration
5293 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5295 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
5296 is used for Motif or Lucid scrollbars under X.
5298 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
5300 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
5303 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5305 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
5307 1998-10-05 Andy Piper <andyp@parallax.co.uk>
5309 * s/cygwin32.h: more cygwin b20 reorganisation.
5311 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
5313 * nas.c: Added necessary support functions to be able to handle
5314 WAVE files in memory, just like the support for SND files in
5317 1998-09-30 SL Baur <steve@altair.xemacs.org>
5319 * callproc.c (child_setup): Fix spelling typo.
5321 1998-09-29 SL Baur <steve@altair.xemacs.org>
5323 * XEmacs 21.2-beta2 is released.
5325 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
5327 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
5328 to prevent memory corruption in the case of jumping out of a series of
5329 nested match patterns. This is a rather brute force approach, though.
5331 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5333 * config.h.in: ditto.
5335 * s/cygwin32.h: rearrange declarations to cope with cygwin
5336 b20. Include cygwin32/version.h if it exists.
5338 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5340 * device-msw.c (mswindows_init_device): Call new
5341 mswindows_enumerate_fonts() function in objects-msw.c instead
5342 of font_enum_callback_1() to enumerate fonts.
5344 font_enum_callback_1() and _2() moved to objects-msw.c.
5346 * faces.c (complex_vars_of_faces): Make the mswindows default
5347 face font fully specified and provide some fallbacks.
5349 * objects-msw.c: font_enum_callback_1() and _2() moved here
5350 from objects-msw.c. Obtain the enumerated font's character
5351 sets by table lookup instead of using the locale-specific
5352 string provided by Windows.
5354 New public non-method mswindows_enumerate_fonts() that fills
5355 in the supplied mswindows device's font list.
5357 mswindows_initialize_font_instance: Use the supplied name
5358 variable instead of f->name when signalling errors. Match font
5359 weights and character sets using lookup tables which handle
5360 spaces instead of by frobbing.
5362 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5364 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5365 on the size of code fragments passed to run_in_other_process.
5367 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5368 the amount of memory to allocate in the other process.
5370 Removed sigkill_code_end(), sigint_code_end() and
5371 sig_enable_code_end() since they are now redundant.
5373 send_signal() and enable_child_signals(): Don't try to work
5374 out the end of the code fragments passed to
5375 run_in_other_process()
5377 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5379 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5382 * src/unexelf.c: Partially synched with FSF's 20.3.
5384 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5386 * insdel.c (signal_after_change): Map across indirect buffers
5387 here, and not in the upper-level functions.
5388 (signal_first_change): Don't check for Armageddon.
5389 (signal_before_change): Map across indirect buffers here.
5390 (prepare_to_modify_buffer): ...and here.
5392 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5394 * insdel.c (signal_after_change): Add return value.
5395 (buffer_insert_string_1): Use it.
5396 (buffer_delete_range): Ditto.
5397 (buffer_replace_char): Ditto.
5398 (cancel_multiple_change): Map the indirect buffers.
5400 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5402 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5403 (uninit_buffer_text): Ditto.
5405 * buffer.c (Fmake_indirect_buffer): Implement stricter
5408 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5410 * insdel.c (change_function_restore): Reverse order of
5411 function-call and assignment.
5412 (first_change_hook_restore): Ditto.
5414 * extents.c (mark_extent_auxiliary): Mark them.
5415 (Fset_extent_property): Set them.
5416 (Fextent_property): Get them.
5417 (Fextent_properties): Ditto.
5418 (vars_of_extents): Set their default.
5420 * extents.h (struct extent_auxiliary): Add before_change_functions
5421 and after_change_functions.
5423 * insdel.c (signal_before_change): Use it.
5424 (signal_after_change): Ditto.
5426 * extents.c (report_extent_modification): New function.
5428 * insdel.c (signal_before_change): Don't check for Armageddon.
5429 (signal_after_change): Ditto.
5431 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5433 * redisplay.c (redisplay_window): make sure a new starting point
5434 is chosen if it somehow got moved from the beginning of the line
5435 -- this can happen because Fwiden was called recently.
5437 * window.c (Fset_window_start): set start_at_line_beg correctly
5438 (Fset_window_buffer): Ditto
5440 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5442 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5443 (uninit_buffer_text): Ditto.
5445 * buffer.c (Fmake_indirect_buffer): Implement stricter
5448 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5450 * emacs.c (main_1): Removed references to *vars_of_filelock.
5452 * lisp.h: Added Fsystem_name.
5454 * filelock.c: Replaced by version from FSF 20.2. Now implements
5455 locking by using symlinks which is NFS safe. However keep the
5456 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5457 version (and of course use ansi C, acessor macros, etc).
5459 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5461 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5462 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5463 in init_signals_very_early. However these should not be passed
5464 on to children attached to the new pty.
5466 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5468 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5470 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5472 * fileio.c (file-name-directory, file_name_as_directory):
5473 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5475 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5477 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5479 * ralloc.c: uncomment __morecore.
5481 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5483 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5484 WriteFile() to fix a winsock 1.x bug on Win95.
5486 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5488 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5490 (x_event_to_emacs_event): Ditto.
5491 (emacs_Xt_handle_focus_event): Ditto.
5492 (emacs_Xt_handle_magic_event): Ditto.
5494 * console-x.h (struct x_device): New flag being_deleted.
5495 (DEVICE_X_BEING_DELETED): New macro.
5497 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5498 returning. Before doing that, set the being_deleted flag on the
5501 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5503 * device-x.c (x-seppuku-on-epipe): Removed.
5505 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5507 * frame-x.c (x_delete_frame): Flush the X output buffer after
5508 calling XtDestroyWidget to ensure that the windows are really
5511 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5513 * menubar-x.c (my_run_hook): New unused function.
5514 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5515 since we ignore the results of the contained functions anyway.
5517 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5519 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5520 interlaced GIF files that are smaller than 4 lines high...
5522 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5524 * buffer.c (map_over_sharing_buffers): Deleted.
5526 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5528 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5531 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5533 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5535 (buffer_delete_range): Ditto.
5537 * marker.c (init_buffer_markers): Set point-marker to the value of
5538 point in an indirect buffer.
5540 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5542 * undo.c (undo_prelude): Test last-undo-buffer against base
5545 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5547 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5549 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5551 * insdel.c (init_buffer_text): Initialize it here.
5553 * line-number.c: Address line_number_cache through buffer->text.
5555 * buffer.c (mark_buffer): Mark line number cache.
5557 * bufslots.h (line_number_cache): Move to struct buffer_text.
5559 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5560 across the children buffers.
5561 (buffer_delete_range): Ditto.
5562 (buffer_replace_char): Ditto.
5566 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5568 * buffer.c (Fmake_indirect_buffer): Uncomment.
5570 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5572 * macros.c (Fend_kbd_macro): Remove trailing period from error
5574 (Fexecute_kbd_macro): Ditto.
5576 1998-08-21 Greg Klanderman <greg@alphatech.com>
5578 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5579 (Fuser_name_completion_1): new function to return uniqueness
5580 indication in addition to the user name completion.
5581 (user_name_completion): change type of `uniq' argument.
5583 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5585 * lread.c (vars_of_lread): Removed `source-directory' variable.
5587 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5589 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5592 1998-08-19 SL Baur <steve@altair.xemacs.org>
5594 * dired.c (vars_of_dired): Fix misapplied patch.
5596 1998-08-16 Martin Buchholz <martin@xemacs.org>
5598 * fns.c (Fremrassq, remrassq_no_quit):
5599 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5601 1998-07-17 Didier Verna <verna@inf.enst.fr>
5603 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5604 style as foreground GC for faces that have the `dim' property.
5605 (x_output_string): when the `dim' face property is set,
5606 ensure the gray pixmap has been created, and get a proper
5607 foreground GC to draw the text.
5609 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5611 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5612 Manually track the state of the left and right Ctrl and Alt
5615 1998-08-07 Matt Stupple <matts@tibco.com>
5617 * ntproc.c: don't wait on char_consumed at thread entry.
5618 Additionally, to get the 'process' marked as finished, ensure
5619 that the CHILD_ACTIVE macro returns false, so before exiting
5620 close char_avail and set it to NULL, and close other handles
5621 to reduce handle leak problems.
5623 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5625 * menubar-msw.c (displayable_menu_item): take account of menu
5626 depth when deciding whether to try to display accelerators.
5628 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5630 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5633 * glyphs-msw.c: fix a couple of potential handle leaks.
5635 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5637 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5638 *decoding ONLY* back into the core.
5639 * glyphs-eimage.c: Change referenced header file for GIF
5640 reading to point to the incore version.
5642 1998-07-20 Martin Buchholz <martin@xemacs.org>
5644 * casefiddle.c (casify_object):
5645 Change algorithm from O(N**2) to O(N).
5649 1998-07-22 Greg Klanderman <greg@alphatech.com>
5651 * dired.c (file_name_completion_unwind): don't leak the cons.
5653 1998-07-20 Greg Klanderman <greg@alphatech.com>
5655 * dired.c (Fuser_name_completion): new function.
5656 (Fuser_name_all_completions): new function.
5657 (user_name_completion): new function.
5658 (syms_of_dired): 2 new DEFSUBRs.
5659 (vars_of_dired): initialize user name cache vars.
5661 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5663 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5664 colors taken from the default face. Also correct a thinko in
5665 transparency (not alpha) handling.
5667 1998-07-23 Martin Buchholz <martin@xemacs.org>
5669 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5670 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5671 * lread.c (Fload_internal): Be very careful with printfs of
5673 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5676 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5678 * callint.c (Fcall_interactively): GCPRO prompt string before
5679 passing it to Fread_key_sequence
5681 1998-07-27 SL Baur <steve@altair.xemacs.org>
5683 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5684 Vvertical_divider_map.
5686 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5687 Qnil or 0, none were initialized prior to this change.
5689 Rename misnamed `V' prefixed integer variables:
5690 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5691 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5692 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5693 Vcanna_ichiran_revLen.
5695 Rename misnamed `V' prefixed integer variables and initialize
5696 properly in the vars_of routine.
5697 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5698 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5699 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5700 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5701 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5702 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5703 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5704 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5705 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5706 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5707 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5708 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5709 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5710 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5711 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5712 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5713 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5714 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5715 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5716 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5717 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5718 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5719 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5720 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5721 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5722 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5723 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5724 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5725 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5726 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5727 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5728 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5729 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5730 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5731 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5732 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5733 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5734 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5735 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5736 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5737 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5738 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5739 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5740 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5741 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5742 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5744 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5746 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5747 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5748 keys thus no longer considering all keysyms on a key.
5750 1998-07-19 SL Baur <steve@altair.xemacs.org>
5752 * XEmacs 21.2-beta1 is released.
5754 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5756 * eldap.c (Fldap_search_internal): When converting the list of
5757 attributes to search Copy the final 0 from Lisp strings to C
5759 Check base, not Vldap_default_base as a a string
5761 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5763 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5765 * unexnt.c: Unconditionally define bss_start and bss_size, and
5766 ensure that they don't go in the .bss section.
5768 1998-07-17 Olivier Galibert <galibert@pobox.com>
5770 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5771 byte order is dependant of the local byte order).
5772 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5774 1998-07-18 SL Baur <steve@altair.xemacs.org>
5776 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5777 Qmswindows_resource.
5778 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5780 1998-07-12 SL Baur <steve@altair.xemacs.org>
5782 * general.c (syms_of_general): Add defsymbol for Qresource.
5784 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5785 Qmswindows_resource.
5786 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5787 (mswindows_resource_validate): Rename.
5788 (mswindows_resource_normalize): Rename.
5789 (mswindows_resource_possible_dest_types): Rename.
5790 (mswindows_resource_instantiate): Rename.
5791 (image_instantiator_format_create_glyphs_mswindows): Replace
5792 `resource' with `mswindows.resource'.
5794 * XEmacs 21.0-pre5 is released.
5796 1998-07-10 SL Baur <steve@altair.xemacs.org>
5798 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5799 server type in environment.
5800 Use alloca-ed strings instead of tiny fixed size ones.
5802 1998-07-09 SL Baur <steve@altair.xemacs.org>
5804 * XEmacs 21.0-pre4 is released.
5806 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5808 * fileio.c: (expand_file_name): under win32: Don't treat names
5809 as UNC names if a drive letter has been specified. If a drive
5810 has been specified, strip out extra directory-seperators that
5811 reportedly cause problems under Win95.
5813 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5815 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5816 MSVC >= 5.0. Put emacs init and zero-init data in a special
5817 section of the executable when this is defined.
5819 * unexnt.c, ntheap.h:
5820 Removed unused find_section() and get_section_size().
5823 Fix up the executable's checksum after dumping otherwise the
5825 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5826 zero-init data separately from init data. Dump emacs data
5827 into a special section of the executable.
5828 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5829 my_ebss instead of up to the end of bss.
5831 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5833 * filelock.c: Removed Vconfigure_lock_directory - already
5836 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5837 defined in frame.c and general.c respectively.
5839 * glyphs-msw.c: Removed Qresource - already defined in
5842 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5844 * eldap.c (Fldap_search_internal): Docstring fixes
5846 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5848 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5849 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5850 EMACSPACKAGEPATH and INFOPATH variables.
5851 Removed unused get_emacs_configuration function.
5853 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5854 it is now defined at build-time by the makefile.
5856 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5858 * fileio.c: (expand_file_name): under win32: Don't treat names as
5859 UNC names if a drive letter has been specified. If a drive has
5860 been specified, strip out extra directory-seperators that
5861 reportedly cause problems under Win95.
5863 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5865 * faces.c (complex_vars_of_faces): for the gui-element face don't
5866 fallback to the default face, instead provide reasonable default
5867 fallbacks that were previously hardcoded elsewhere.
5869 1998-07-06 Olivier Galibert <galibert@pobox.com>
5871 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5872 when the X server endianness is different than the client's one.
5874 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5876 * eval.c (run_hook_with_args_in_buffer): Check
5877 default (non-buffer-local) value of hook for
5878 nil before treating it as a function. Don't initialize
5879 the `globals' variable twice.
5881 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5883 * fileio.c: Don't do directory seperator canonicalisation in
5884 substitute-in-file-name because we don't know that the
5885 filename refers to a local file.
5887 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5889 * process-nt.c (nt_create_process): Try appending the standard
5890 executable file extensions to the filename if none supplied.
5892 1998-06-29 SL Baur <steve@altair.xemacs.org>
5894 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5896 From Keisuke Mori <ksk@ntts.com>
5898 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5900 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5901 images if we have masks. This handles the xbm case (have masks)
5902 and avoids overuse of resources in the xpm case (generally no masks).
5903 Don't output small toolbars.
5905 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5907 * eval.c (run_hook_with_args_in_buffer): Don't treat
5908 the default value of a buffer local hook as a list of
5909 hooks unless it is both a cons and the car of that cons
5912 1998-06-29 SL Baur <steve@altair.xemacs.org>
5914 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5915 * process-unix.c: Ditto.
5916 * mule-coding.h: Ditto.
5917 * mule-coding.c: Ditto.
5918 * mule-charset.c: Ditto.
5919 * mule-charset.h: Ditto.
5920 * file-coding.c: Ditto.
5921 * file-coding.h: Ditto.
5923 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5925 * event-msw.c: Guard against recursion when freeing
5926 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5928 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5929 Call ShowWindow twice in init_frame_3 to get round runemacs
5932 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5934 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5936 * winslots.h: Rename.
5938 * window.c (specifier_vars_of_window): Renamed
5939 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5940 as suggested by Ben Wing.
5941 (specifier_vars_of_window): Fix docstrings.
5943 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5945 * unexaix.c: Line number information works correctly again.
5947 1998-06-22 Olivier Galibert <galibert@pobox.com>
5949 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5951 1998-06-21 Martin Buchholz <martin@xemacs.org>
5953 * editfns.c (get_home_directory): ANSIfy.
5954 XEmacs is compilable under C *and* C++.
5955 It's XEmacs, not Xemacs!
5957 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5959 * console-msw.h: added a list of fonts to device data.
5961 * device-msw.c: enumerate list of available fonts in
5962 mswindows_init_device. Free list in mswindows_delete_device.
5964 * objects-msw.c: Added helper function match_font used by
5965 mswindows_initialize_font_instance and mswindows_list_fonts.
5966 Allow a charset to be specified in a font string, even if
5967 previous fields havn't been specified.
5969 1998-06-23 Greg Klanderman <greg@alphatech.com>
5971 * indent.c (column_at_point): column cache bugfix.
5972 Set last_known_column_point to the buffer position for
5973 which the column was requested, not buffer's point.
5975 * redisplay.c (decode_mode_spec): for current-column, show
5976 window's point's column, not buffer's point's column.
5978 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5980 * menubar-msw.c (mswindows_handle_wm_command): use
5981 enqueue_misc_user event rather than
5982 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5985 * console-msw.h: declare mswindows_enqueue_magic_event.
5987 * event-msw.c (mswindows_enqueue_magic_event): make global.
5989 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5991 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5992 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5993 (add_position_to_cache): Use EMACS_INT instead of int.
5995 1998-06-21 Olivier Galibert <galibert@pobox.com>
5997 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5998 suitable for an int used as a boolean (btw, C sucks.).
6000 1998-06-18 Andy Piper <andyp@parallax.co.uk>
6002 * object-msw.c: remove warnings.
6004 * device-msw.c: #define wrongly named cygwin structure elements.
6006 * s/cygwin32.h: define DEMI_BOLD
6008 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6010 * redisplay-msw.c: new function mswindows_apply_face_effects.
6011 This is called by output_string and output_cursor to display
6012 underline and strikeout on faces.
6014 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6016 * console-msw.h: added a list of fonts to device data.
6018 * device-msw.c: enumerate list of available fonts in
6019 mswindows_init_device. Free list in mswindows_delete_device.
6021 * objects-msw.c: Added helper function match_font used by
6022 mswindows_initialize_font_instance and mswindows_list_fonts.
6023 Allow a charset to be specified in a font string, even if
6024 previous fields havn't been specified.
6026 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
6029 Removed compilation warnings from mswindows_string_to_color.
6030 mswindows_list_fonts returns a more general bogus font.
6031 New lisp-visible function mswindows-color-list.
6033 1998-06-19 David Bush <david.bush@adn.alcatel.com>
6035 * editfns.c (Fuser_login_name): Modify to user new function
6037 (user_login_name): C only function to avoid Lisp object overhead
6038 Returns "unknown" instead of nil in Cygwin environment
6040 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
6041 equivalent for current user in Cygwin environment. Use new
6042 function user_login_name to get username.
6044 * lisp.h: Declare user_login_name
6046 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6048 * unexaix.c (make_hdr): Fixed bias computations so debugging info
6050 Some other insignificant nitpicks.
6052 1998-06-18 Andy Piper <andyp@parallax.co.uk>
6054 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
6055 creating the image list and make sure he bk color is transparent.
6057 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
6059 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
6060 completed_timeouts. The timer could have expired.
6062 1998-06-17 Andy Piper <andyp@parallax.co.uk>
6064 * console-msw.h: move XEMACS_RECT_WH inside frame
6065 parameters. define macors to access it.
6067 * frame-msw.c (mswindows_init_frame_1): use new target_rect
6068 parameter to intialise desired sizing. (mswindows_init_frame_2):
6069 enable and size the frame to something sensible when we get
6070 here. (mswindows_set_frame_properites): use new
6071 mswindows_size_frame_internal function and size frame if frame
6072 parameters not just if init is finished - WM_SIZE happens too
6073 early for some specs. (mswindows_size_frame_internal): new
6074 function abstracted from mswindows_set_frame_properties.
6075 (Vmswindows_use_system_frame_size_defaults):
6076 new variable controls whether to allow the system to pick frame
6077 size defaults, defaults to nil.
6079 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
6080 than duplicated code.
6082 1998-06-15 Colin Rafferty <colin@xemacs.org>
6084 * Makefile.in.in: Made EXTW_LINK expand properly.
6086 1998-06-12 Martin Buchholz <martin@xemacs.org>
6088 * redisplay.c (vars_of_redisplay): default value of
6089 column-number-start-at-one should be NIL!
6091 1998-06-11 Martin Buchholz <martin@xemacs.org>
6094 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
6096 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
6098 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
6099 build_string to avoid crashes under Mule.
6101 1998-06-13 Andy Piper <andyp@parallax.co.uk>
6103 * ntplay.c (play_sound_data_1): don't delete the sound data until
6104 the next sound is played and the previous one finished.
6106 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
6108 * fileio.c (directory-sep-char): Escape backslashes.
6110 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
6112 * event-stream.c: Fix docstring reference.
6114 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
6116 * alloc.c (make_float): Remove useless initialization of `next'
6118 (make_pure_float): Ditto.
6120 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
6122 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6124 * fileio.c (Fmake_directory_internal): Remove conditionals
6125 on WINDOWSNT when calling mkdir.
6127 * ntproc.c: Deleted the following unused functions:
6128 register_child, reap_subprocess, sys_wait.
6130 * nt.c (sys_rename): Ifzeroed this implementation.
6131 Deleted the following unused functions:
6132 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
6133 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
6134 sys_read, sys_write.
6135 Merger sys_fopen and sys_open with sysdep.c implementation.
6137 * sysdep.c: Removed MS-DOS code.
6138 (sys_rename): Deal with Microsoft rename weirdness.
6139 (sys_open): Implemented for Windows.
6143 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6145 * buffer.c (complex_vars_of_buffer): Removed %t description from
6148 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6150 * scrollbar-msw.c: initialize the cbSize element of the
6151 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
6152 to ignore the value of cbSize, but Win95 (and I presume Win98)
6153 appear to want it set to sizeof(SCROLLINFO).
6155 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
6157 * event-stream.c: Defined Qcancel_mode_internal.
6158 (syms_of_event_stream): defsymbol'ed it.
6160 * events.h: Externed it.
6162 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
6164 1998-06-04 Oliver Graf <ograf@fga.de>
6166 * frame-x.c (x_cde_destroy_callback): free the data
6167 (cde-start-drag-internal) corrected root position, 21.1 needs this
6168 hardcoded in Button events
6169 (offix-start-drag-internal) corrected root position
6171 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6173 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
6176 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6178 * dialog-msw.c (button_width): Removed `inline' from the function
6181 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6183 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
6184 Note that adding this flag to subsequent frames causes problems.
6186 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6188 * glyphs-eimage.c (png_instantiate) move 'struct
6189 png_memory_storage tbr' out of nested block to avoid dangling
6192 1998-06-02 Andy Piper <andyp@parallax.co.uk>
6195 * faces.c: rename 3d-object -> gui-element. add toolbar face which
6196 inherits from gui-element.
6198 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
6199 with existing code, generate masks correctly.
6201 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
6203 * glyphs-eimage.c: Changed included header for gifs to use
6204 Gifreader instead of giflib.
6206 * glyphs-x.c: removed the image-related functions that were
6207 moved into glyphs-eimage.
6209 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
6211 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
6212 if built without X Windows support.
6214 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
6216 * fns.c (Fconcat): Synch docstring with new reality.
6218 1998-06-03 SL Baur <steve@altair.xemacs.org>
6220 * frame.c: Remove reference to msdos.h (which is going away).
6221 Suggested by Hrvoje Niksic and Kirill Katsnelson.
6223 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
6225 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
6229 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6231 * events.h: Fixed commentary about misc-user scrollbar events.
6233 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
6234 object as an event channel, instead of window object.
6235 (x_update_horizontal_scrollbar_callback): Ditto.
6237 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6239 * ntplay.c (play_sound_data_1) new function. convert alloca data
6240 to malloc if necessary.
6241 (play_sound_file): if the file is not in our path then convert to
6244 1998-06-01 SL Baur <steve@altair.xemacs.org>
6246 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
6247 * msdos.c (Frecent_doskeys): Ditto.
6249 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
6250 Suggested by Reggie Perry <perry@zso.dec.com>
6252 * buffer.h: Eliminate size in declaration.
6254 1998-06-01 Olivier Galibert <galibert@pobox.com>
6256 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
6258 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
6260 * gui.c (gui_item_init): Changed the default value for config member
6261 from Qunbound to Qnil.
6263 1998-06-01 Greg Klanderman <greg@alphatech.com>
6265 * indent.c (vmotion_pixels): Don't #define abs().
6267 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6269 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
6272 1998-05-30 Andy Piper <andyp@parallax.co.uk>
6274 * glyphs.h: add xbm declarations.
6276 * console.h: add xbm_instantiate_method device method.
6278 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
6279 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
6280 (xbm_possible_dest_types): moved here from glyphs-x.c. use
6281 locate_pixmap_file device method and read_bitmap_data_from_file
6282 instead of XmuReadBitmapDataFromFile.
6283 (xbm_instatntiate): make a device method.
6285 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
6286 new function that just calls XmuReadBitmapDataFromFile.
6287 (x_xbm_instatntiate): device method from xbm_instantiate.
6289 * glyphs-msw.c (read_bitmap_data) (NextInt)
6290 (read_bitmap_data_from_file): new functions copied from Xmu
6292 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
6293 inline data to an mswindows bitmap.
6294 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
6295 (mswindows_xbm_instantiate): mswindows-ized versions of the X
6298 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6300 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
6301 `modeline-visible-p'.
6302 Declared specifier lisp variables at the beginning oh the file
6305 * procimpl.h (struct process_methods): Changed semantics of
6306 create_process method so it accepts lisp strings instead of
6309 * process.c (Fstart_process_internal): Moved building of
6310 unix style argv from here to process-unix.c, ...
6312 * process-unix.c (unix_create_process): ... right here.
6314 * process-nt.c (nt_create_process): Changed this function to
6315 support new semantics, so avoided a GC problem.
6317 * events.c (Fmake_event): Document misc-user events properties.
6318 (Fmake_event): Do not allow arbitrary objects for channel property
6319 of misc-user events.
6320 (Fmake_event): Change misc-user event validation: it is function
6321 which is required, not button.
6323 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
6325 (mswindows_enqueue_misc_user_event): Added function.
6326 (mswindows_bump_queue): Removed function.
6327 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
6328 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
6329 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
6330 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
6331 really nothing, which is my personal favorite thing.
6333 * console-msw.h: Removed prototype for mswindows_bump_queue().
6334 Added prototype for mswindows_enqueue_misc_user_event().
6336 * menubar-msw.c (mswindows_handle_wm_command): Use
6337 mswindows_enqueue_misc_user_event().
6339 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6341 * dialog-msw.c (dialog_proc): Ditto.
6343 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6344 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6345 user events channel.
6347 1998-05-29 Greg Klanderman <greg@alphatech.com>
6349 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6350 incorrect semantics of vmotion_pixels which has been fixed. don't
6351 use it anymore as it can't easily be used.
6353 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6354 the motion was reported incorrectly if you tried to go past end of
6357 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6359 * toolbar.h: Removed misleading commentary, as Martin suggested.
6361 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6363 * lisp.h: Extern Qactivate_menubar_hook.
6365 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6368 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6370 * glyphs-msw.c: use BPLINE macro.
6372 * select-msw.c (mswindows-selection-exists-p)
6373 (mswindows-delete-selection): doc string fixes.
6375 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6376 unpressable. warning elimination.
6378 1998-05-28 Martin Buchholz <martin@xemacs.org>
6380 * alloc.c (dbg_constants):
6383 Remove toolbar_data debugging code, since that lrecord has
6386 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6388 * alloc.c: zap cached value of (user-home-directory), so that
6391 * buffer.c: From init_buffer(), separated out code that
6392 determined the initial directory for the *scratch* buffer, and
6393 put them into a function called "init_initial_directory()".
6394 The initial directory is now available as a global "char *"
6395 called initial_directory.
6397 * buffer.h: Added extern entries for initial_directory[] and
6398 init_initial_directory().
6400 * editfns.c: added new elisp function "user-home-directory",
6401 which basically returns getenv("HOME"), but attempts to use
6402 other values if $HOME isn't set.This may have to be tweaked in
6403 the future as, under Unix, "/" is used if $HOME isn't set (this
6404 probably should be set to the current directory). To support
6405 this, a new C function, "get_home_directory()", now exists,
6406 which returns the "home directory", as a "char *" string.
6408 * emacs.c: Rearrange NT initialization order so that
6409 environment/registry variables will be properly entered into
6410 Vprocess_enviroment.
6412 * fileio.c: replaced egetenv("HOME") with calls to the new
6413 get_home_directory().
6415 * lisp.h: Added function prototypes for uncache_home_directory()
6416 and get_home_directory(), along with lisp prototypes for
6417 Fuser_home_directory() and friends.
6419 * nt.c: replaced getenv("HOME") with calls to the new
6420 get_home_directory().
6422 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6423 warnings about getcwd(), etc. not having prototypes.
6425 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6427 * process-nt.c (send_signal): Emulate SIGHUP.
6428 (validate_signal_number): Ditto.
6430 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6431 remove MOD_SHIFT from ASCII characters.
6432 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6435 1998-05-24 Oliver Graf <ograf@fga.de>
6437 * frame-x.c (cde-start-drag-internal): added filename and multi-
6439 (x_cde_convert_callback) dito
6441 1998-05-26 Oliver Graf <ograf@fga.de>
6443 * frame-x.c: include event-mod.h also with CDE
6444 (x_cde_convert_callback) made the thing working
6445 (cde-start-drag-internal) also debugging
6447 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6454 - add __OpenBSD__ where __NetBSD__ was found.
6455 - TODO: replace platform-specific conditional compilation by
6456 feature tests in configure.in.
6458 1998-05-15 Greg Klanderman <greg@alphatech.com>
6460 * window.c (Fwindow_displayed_text_pixel_height): New function.
6461 (syms_of_window): DEFSUBR it.
6463 * indent.c (Fvertical_motion_pixels): New function - request
6465 (vmotion_pixels): helper.
6466 (syms_of_indent): DEFSUBR.
6467 * lisp.h: declaration for vmotion_pixels().
6469 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6470 to request returning motion in pixels.
6471 (Fvertical_motion_pixels): Remove, functionality merged into
6473 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6474 (Fmove_to_window_line): ditto.
6475 * lisp.h: Change declaration for Fvertical_motion.
6477 * window.c: rename window-text-pixel-{height,width,edges} to
6478 window-text-area-pixel-*.
6480 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6482 * tooltalk.c (vars_of_tooltalk) added staticpro for
6483 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6485 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6487 * faces.c: create a new 3d_object_face, make modeline and
6488 vertical_divider faces fallback to this rather than the default.
6490 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6492 * s/cygwin32.h: define charsets for cygwin.
6494 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6496 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6497 and coordinates. resize bitmaps if we have already settled on a
6500 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6502 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6504 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6506 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6510 * gui-x.c (popup_selection_callback): Ditto.
6512 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6514 * gui.c (get_callback): Renamed to get_gui_callback.
6516 1998-05-17 Martin Buchholz <martin@xemacs.org>
6518 * glyphs.h: order rearrangement.
6520 * device-tty.c (tty_asynch_device_change): Warning suppression.
6521 * device-x.c (x_device_system_metrics): Warning suppression.
6522 Make Doc strings consistent with coding standards.
6524 1998-05-24 Martin Buchholz <martin@xemacs.org>
6526 * general.c: multiple definition of `Qicon'. general.c seems
6527 like a good home for Qicon.
6529 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6531 * This patch is to fix compilation warnings under Windows.
6533 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6534 Added prototypes for FSF inherited functions, with which XEmacs is
6535 sprinkled thoroughly.
6536 Removed some #if 0 code. Bracketed some more definitions, probably
6537 related to Visual C versions prior to 4 (we do not support them).
6539 * sysfloat.h (logb): Finally, get logb() prototyped.
6541 * sysfile.h: Added Windows specific includes.
6542 Removed old Windows specific code bracketed with #if 0.
6544 * sysdep.h: Added prototype for xrealpath().
6546 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6548 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6549 vars_of_dired_mswindows and init_ntproc (Grrr).
6551 * realpath.c: Added Windows specific include files.
6552 (xrealpath): Conditionalized declaration of some auto variables on
6553 S_IFLNK, to avoid warnings.
6555 * ntproc.c: Disabled some compiler warnings. This file is going to
6556 die, so I have not cleaned it up much.
6557 (set_process_dir): Const parameter.
6558 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6559 (Fwin32_long_file_name): Ditto.
6560 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6563 * nt.h: Added prototypes for set_process_dir and convert_time.
6565 * nt.c: More include files.
6566 (getpwnam): Consted char* argument.
6567 (get_emacs_configuration): Const return value.
6568 (opendir): Const argument.
6569 (stat): Casted converstion long->short.
6570 (stat): Removed ad hoc and questionable support for non-MSC compile.
6571 (sys_pipe): Removed unused auto variable.
6572 (_sys_read_ahead): Removed calls to DebPrint.
6573 (sys_read): Ditto, in 2 places.
6574 (term_ntproc): Added unused int parameter to signal handler, to
6575 avoid a warning when compiling a call to signal().
6576 (msw_sigset): Properly return old signandler or NULL instead of void.
6578 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6580 * gmalloc.c (morecore): Ditto.
6581 (_free_internal): Ditto.
6583 * lread.c (parse_integer): Ditto.
6585 * dired-msw.c: Added several include files.
6587 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6588 of Compilers to Shut Up.
6590 * callproc.c: Added #includes to suppress warnings under Windows.
6591 (init_callproc): Removed #if0'ed code and unused variables.
6593 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6595 * device-msw.c (mswindows_device_system_metrics): do planes in a
6596 way consistent with X.
6598 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6599 use SetPixel, use DIBits functions.
6600 (xpm_to_eimage): frob colors more closely like xpm deos.
6602 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6603 to be closer to X version.
6605 * event-msw.c: use tooltip string directly.
6607 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6609 * objects-msw.c: frob rgb colors that only Kyle uses.
6611 * dialog-msw.c (button_width): INLINE -> inline.
6613 1998-05-23 SL Baur <steve@altair.xemacs.org>
6615 * getloadavg.c (getloadavg): Fix typo.
6617 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6619 * objects-msw.c (mswindows_initialize_font_instance): Added support
6620 for font character sets.
6621 Replaced 'XXX' with '####' in comments throughout the file.
6623 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6625 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6626 console_type_create_dialog_mswindows(), to initialize Windows dialog
6629 * symsinit.h: Prototyped the above functions.
6631 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6632 checks to dialog.c...
6634 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6635 device must support dialog boxes, and the descriptor must supply at
6638 * dialog-msw.c: New file, dialogs for Windows.
6640 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6642 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6643 (Fldap_search_internal): Removed unused variable `err'
6645 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6648 1998-05-17 Martin Buchholz <martin@xemacs.org>
6650 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6651 defined. Therefore there is no need to handle the case when
6652 HAVE_LDAP is undefined. Similarily, there is no reason to have
6653 any code wrapped within `#ifdef emacs', since this code is only
6654 useful within an emacs. This simplifies the code significantly.
6656 * inline.c: Include eldap.h only if HAVE_LDAP.
6657 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6660 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6662 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6663 printing dump stats when building without DEBUG_XEMACS.
6664 (dump_bss_and_heap): Ditto.
6666 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6668 * gnuclient.c: don't suppress window system if there is no display
6669 and we are running under mswindows. send 'mswindows device type if
6670 we are in this situation.
6672 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6675 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6677 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6680 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6682 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6683 {top,bottom}-{left,right} values in addition to
6684 {top,bottom}_{left,right}.
6686 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6688 * fileio.c (Fmake_temp_name): Remove unreached code.
6690 * process-nt.c (validate_signal_number): Use
6691 signal_simple_error().
6693 1998-05-19 Martin Buchholz <martin@xemacs.org>
6696 * sound.c (vars_of_sound):
6697 * sysdep.c (reset_sigio_on_device):
6698 * window.c (window_bottom_gutter_height):
6699 unexhp9k800.c:258: warning: implicit declaration of function
6700 `calculate_checksum'
6701 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6702 sysdep.c:1012: warning: unused variable `owner'
6703 window.c:993: warning: `window_right_toolbar_width' defined but not used
6705 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6707 * glyphs-msw.c (mswindows_create_resized_mask)
6708 (mswindows_create_resized_bitmap): new funnctions split out from
6709 mswindows_resize_dibitmap_instance.
6711 * glyphs-msw.h: declare new resize functions.
6713 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6714 functions so that the original bitmaps are preserved.
6716 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6718 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6719 color if we are trying to output 0 depth bg pixmap.
6721 * scrollbar-msw.c: warning elimination.
6723 1998-05-18 Martin Buchholz <martin@xemacs.org>
6725 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6726 directives in column 1.
6728 * search.c (skip_chars): Avoid using xzero with arrays, since some
6729 compilers get confused by the construct &array.
6731 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6734 * objects-msw.c: Changed the charset value for a new font from
6735 "don't care" to "ansi".
6737 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6739 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6741 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6742 modifier on control chars.
6743 Use IsCharAlpha() instead of isaplha().
6745 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6747 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6749 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6751 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6752 charset when creating font.
6753 (mswindows_initialize_color_instance): Do not create brush along
6755 (mswindows_finalize_color_instance): Do not delete it then.
6757 * objects-msw.h (struct mswindows_color_instance_data): Removed
6758 brush slot, and corresponding accessor macro.
6760 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6762 * toolbar.c: Removed toolbar_data lrecord implementation.
6763 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6764 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6765 (compute_frame_toolbar_buttons): Ditto.
6766 (CHECK_TOOLBAR): Ditto.
6767 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6768 (update_frame_toolbars): Do not check for changed buffer
6769 here. Toolbar information is provided by cached specs in
6770 windows. The check for buffer is eliminated becuase toolbars are
6771 marked changed in set_frame_selected_window() in frame.c
6772 Added check for changed toolbars geometry.
6773 (compute_frame_toolbars_data): Removed unused second parameter;
6774 Adjusted callers of this static function throughout the file.
6775 (init_frame_toolbars): Initialize current_toolbar_size.
6776 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6777 what is its current expansion, for clarity.
6778 (init_frame_toolbars): Ditto.
6779 (init_device_toolbars): Ditto.
6780 (init_global_toolbars): Ditto.
6782 * toolbar.h: Removed definition of toolbar_data lrecord.
6783 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6784 FRAME_CURRENT_TOOLBAR_SIZE.
6785 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6787 * toolbar-x.c (x_output_toolbar): The same change as in
6789 (x_output_toolbar): Ditto.
6790 (x_redraw_exposed_toolbar): Ditto.
6792 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6793 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6794 (mswindows_output_toolbar): Ditto.
6795 (mswindows_output_toolbar): Ditto.
6797 * frame.c (mark_frame): Removed marking of arrays, according to
6798 frameslots.h change.
6799 (nuke_all_frame_slots): Ditto.
6800 (set_frame_selected_window): Mark toolbars changed when
6801 last_nonminibuf_window changes.
6803 * frame.h (struct frame): Moved some slots to frameslots.h.
6804 Added current_toolbar_size array.
6805 Changed references from toolbar_data to toolbar_buttons in macros
6806 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6807 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6808 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6810 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6811 Moved arrays of lisp objects here from frame.h: toolbar_size,
6812 toolbar_visible_p, toolbar_border_width.
6813 Removed toolbar_data slot and added toolbar_buttons.
6815 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6817 * symsinit.h: Externed syms_of_process_nt()
6819 * emacs.c (main_1): Call syms_of_process_nt()
6821 * process-nt.c: Quote process arguments by a call to Lisp function
6822 `nt-quote-process-args'.
6823 (syms_of_process_nt): New function.
6824 (nt_send_process): Flush data stream after each write, to avoid
6825 leaving buffered data.
6826 (nt_send_process): When blocked on process output, wait for
6827 process to slurp more for progressively increasing time intervals.
6829 1998-05-17 Martin Buchholz <martin@xemacs.org>
6831 * window.c (have_undivided_common_edge): Make file-local function
6833 (map_windows): Return 0 if all map functions successful.
6836 * winslots.h: Use unlikely names for local variables in macros to
6837 avoid shadowing warnings.
6839 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6841 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6842 so that we re-output if the toolbar size has changed.
6844 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6846 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6848 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6850 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6853 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6855 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6856 get bitmap manifest constants defined.
6858 * console-msw.h: Include system files in angle brackets, not in
6861 * window.c (specifier_vars_of_window): Fixed a typo in
6862 `vertical-divider-line-width' docstirng.
6864 1998-05-16 Olivier Galibert <galibert@pobox.com>
6866 * line-number.c (delete_invalidate_line_number_cache): Use an
6868 (buffer_line_number): Remove dangerous, plain wrong when using
6869 64bits emacs ints, cast.
6871 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6873 * cmds.c (Fforward_line): Use EMACS_INTs.
6875 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6876 (scan_buffer): Ditto.
6877 (bi_find_next_newline_no_quit): Remove useless cast.
6878 (find_next_newline_no_quit): Ditto.
6879 (find_next_newline): Ditto.
6880 (find_before_next_newline): Use an EMACS_INT.
6882 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6884 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6886 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6888 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6890 * gui-x.c (popup_selection_callback): Use it.
6892 * gui.h (get_callback): Declare it.
6894 * gui.c (get_callback): New function.
6896 1998-05-15 SL Baur <steve@altair.xemacs.org>
6898 * window.c (have_undivided_common_edge): Guard scrollbar specific
6900 (window_needs_vertical_divider_1): Ditto.
6902 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6904 * emacs.c (decode_path): Eliminate compiler warning.
6905 (Fdecode_path): Renamed to Fsplit_path.
6906 (Fsplit_string_by_char): New function.
6908 1998-05-14 Damon Lipparelli <lipp@primus.com>
6910 * winslots.h: close comment
6912 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6914 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6916 * bufslots.h: Removed buffer_file_type slot.
6918 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6920 (complex_vars_of_buffer): Removed buffer-file-type variable and
6921 its default reference.
6923 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6925 * faces.c (complex_vars_of_faces): Defined
6926 Vvertical_divider_face.
6927 (vars_of_faces): Staticpro it.
6929 * faces.h: Externed Vvertical_divider_face.
6931 * redisplay-x.c (x_output_vertical_divider): Use
6932 Vvertical_divider_face to draw the divider instead of modeline
6935 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6936 divider face using Vvertical_divider_face background.
6937 Fix drawing spacing gaps around the divider.
6939 1998-05-14 Didier Verna <verna@inf.enst.fr>
6941 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6942 values for the vertical divider line width and spacing. Use the
6943 cached values from the window structure instead.
6944 (x_divider_width): ditto.
6946 * window.c (specifier_vars_of_window): new specifiers:
6947 vertical-divier -line-width and -spacing.
6948 (vertical_divider_global_width_changed): formerly known as
6949 vertical_divider_shadow_thickness_changed.
6951 * winslots.h: new slots: vertical_specifier _line_width and
6952 _spacing. Plus corrected a comment typo.
6954 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6956 * window.h: Declared window_divider_width().
6958 * console-stream.c (stream_divider_width): Removed method.
6959 (console_type_create_stream): And declaration for it.
6961 * redisplay.c (pixel_to_glyph_translation): Use
6962 window_divider_width() instead of divider_width redisplay method.
6963 (pixel_to_glyph_translation): Fix top divider edge calculation
6964 when scrollbar is on top.
6966 * window.c (window_divider_width): New function, an outphaser for
6967 divider_width redisplay method.
6968 (window_right_gutter_width): Use it.
6969 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6970 specifiers, set fallback values differently on TTYs, and document
6971 the behavior of these on TTYs in the docstrings.
6973 * scrollbar.c (update_scrollbar_instance): Use
6974 window_divider_width() instead of divider_width redisplay method.
6976 * console.h (struct console_methods): Removed divider_width_method.
6978 * redisplay-tty.c (tty_divider_width): Removed device method.
6979 (console_type_create_redisplay_tty): Removed definition for it.
6980 (tty_output_vertical_divider): Respect the value returned by
6981 window_divider_width thus divider line width specification.
6983 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6984 (console_type_create_redisplay_mswindows): Removed definition for it.
6985 (mswinodws_output_vertical_divider): Respect the value returned by
6986 window_divider_width thus divider line width specification.
6988 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6990 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6992 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6994 * glyphs-msw.c: resource loading implementation.
6995 (cursor_normalize): new function.
6996 (cursor_validate): ditto.
6997 (cursor_instantiate): ditto.
6998 (cursor_name_to_resource): ditto.
6999 (cursor_possible_dest_types): ditto.
7000 (check_valid_symbol): ditto.
7001 (check_valid_string_or_int): ditto.
7003 1998-05-14 Martin Buchholz <martin@xemacs.org>
7005 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
7008 * process-unix.c (process_signal_char): Use VSUSP instead of
7009 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
7011 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7013 * specifier.c (specifier_instance): Change locale precedence of
7014 instantiation so window locale has higher priority than buffer
7016 (Fspecifier_instance): Reflect this in docstring.
7017 (Fadd_spec_list_to_specifier): Ditto.
7018 (Fadd_spec_to_specifier): Ditto.
7019 (Fremove_specifier): Ditto.
7021 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7023 ** Dialog separation into a device method from Andy Piper
7025 * emacs.c (main_1): Call console_type_create_dialog_x().
7027 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
7028 into this device method.
7029 (console_type_create_dialog_x): New function.
7031 * dialog.c (Fpopup_dialog_box): New function.
7032 (syms_of_dialog): Defsubr it.
7034 * console.h (struct console_methods): Declared
7035 popup_dialog_box_method().
7037 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
7039 1998-05-14 Oliver Graf <ograf@fga.de>
7041 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
7042 * frame-x.c (x_cde_transfer_callback): checked for merge errors
7044 1998-05-13 Oliver Graf <ograf@fga.de>
7046 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
7048 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7050 * console.h (device_metrics): Removed dbcs, input-method-editor
7051 and right-to-left metrics.
7053 * device.c (Fdevice_system_metric): Ditto.
7054 (Fdevice_system_metrics): Ditto.
7055 (syms_of_device): Ditto.
7056 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
7059 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7061 * line-number.h (mark_line_number_cache): Remove unused
7064 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
7065 (get_nearest_line_number): Simplify.
7066 (add_position_to_cache): Make the old marker point nowhere.
7068 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7070 ** Renamed window-divider-map => vertical-divider-map
7071 and event-over-divider-p => event-over-vertical-divider-p,
7072 in the following files/functions:
7074 * events.c (Fevent_over_divider_p):
7075 * keymap.c (get_relevant_keymaps):
7078 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
7080 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
7082 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7084 * window.c (vertical_divider_changed_in_window): Renamed so.
7085 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
7086 (window_needs_vertical_divider_1): Decide whether we need it based
7087 on the value of the above specifier. If separators are unwanted,
7088 put them only if there's no scrollbar between this window and its
7090 (have_undivided_common_edge): New function, helper for the above.
7091 (window_needs_vertical_divider): Return either a cached value,
7092 or clauclate and cache one.
7093 (invalidate_vertical_divider_cache_in_window): Implemented.
7094 (map_windows): Changed return type to int, return the value from
7097 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
7098 (struct window): Added need_vertical_divider_p and
7099 need_vertical_divider_valid_p.
7101 * winslots.h: Added vertical_divider_draggable_p slot.
7103 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
7104 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
7106 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
7108 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
7109 invalidate_vertical_divider_cache_in_frame().
7112 1998-05-14 Andy Piper <andyp@parallax.co.uk>
7114 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
7116 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
7117 masks correctly and don't select 0.
7119 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7121 * winslots.h: New file, declaration of some struct window and
7122 struct saved_window members.
7124 * window.h (struct window): Include it, with required preprocessor
7127 * window.c (mark_window): Ditto.
7128 (allocate_window): Ditto.
7129 (struct saved_window): Ditto.
7130 (mark_window_config): Ditto.
7131 (saved_window_equal): Ditto.
7132 (Fset_window_configuration): Ditto.
7134 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7136 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
7138 1998-05-12 Didier Verna <verna@inf.enst.fr>
7140 * redisplay-x.c (x_output_vertical_divider): draw shadows around
7141 the divider line. The shadow thickness is currently
7142 hard-wired. This will probably be turned into a specifier soon.
7144 1998-05-12 Didier Verna <verna@inf.enst.fr>
7146 * console.h (struct console_methods): the divider_width console
7147 method now requires a struct window * argument.
7149 * redisplay-x.c (x_divider_width): ditto. Plus remove
7150 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
7151 (x_output_vertical_divider): give a depressed look when the shadow
7152 thickness is negative.
7154 * console-stream.c (stream_divider_width): pass a struct window *
7157 * redisplay-tty.c (tty_divider_width): ditto.
7159 * window.c (window_right_gutter_width): totdi.
7161 * redisplay.c (generate_modeline): ittod.
7163 * scrollbar.c (update_scrollbar_instance): ttido.
7165 * redisplay-msw.c (mswindows_divider_width): ottid.
7166 WARNING: this enables to compile, but the feature is not functional.
7168 * window.h (struct window): new field
7169 vertical_divider_shadow_thickness.
7171 * window.c (specifier_vars_of_window): new specifier
7172 vertical-divider-shadow-thickness.
7173 (vertical_divider_shadow_thickness_changed): new function to
7174 inform redisplay that the window has changed.
7175 (mark_window): handle new field vertical_divider_shadow_thickness
7177 (allocate_window): ditto.
7178 (saved_window_equal): toddi.
7179 (Fset_window_configuration): totid.
7180 (save_window_save): ttdio.
7181 (struct saved_window): new field vertical_divider_shadow_thickness.
7183 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7185 * device-msw.c (mswindows_device_system_metrics): Support a deluge
7188 1998-05-12 Oliver Graf <ograf@fga.de>
7190 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
7191 * event-Xt.c (x_event_to_emacs_event): C++ compability
7193 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7195 * emacs.c (Fdecode_path): Default SEPCHAR to value of
7198 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7200 * emacs.c (vars_of_emacs): Do it here; change the meaning of
7203 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
7205 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7207 * emacs.c (decode_path_1): New function.
7208 (decode_path): Use it.
7209 (Fdecode_path): Renamed from Fdecode_path_internal; use
7212 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7214 * macros.c (Fzap_last_kbd_macro_event): New function.
7215 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
7217 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7219 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
7220 multiple bitmaps are output vertically as well as horizontally.
7221 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
7222 crossing lines this is handled by
7223 mswindows_output_dibitmap_region.
7225 1998-05-12 Martin Buchholz <martin@xemacs.org>
7227 * inline.c: Include eldap.h
7229 * menubar-x.c (x_update_frame_menubar_internal):
7230 Remove: unused variable `container'
7232 1998-05-11 Martin Buchholz <martin@xemacs.org>
7234 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
7235 Unfortunately, the resulting temacs still cannot dump.
7237 * symbols.c (symbol_is_constant):
7238 (verify_ok_for_buffer_local):
7239 -Wswitch Warning suppression - add default case to switches.
7241 * redisplay.c (decode_mode_spec): Remove unused variables,
7242 Replace Fcoding_system_property (codesys, Qmnemonic) with
7243 XCODING_SYSTEM_MNEMONIC (codesys);
7244 Fcoding_system_property is for users.
7250 Change empty docstrings into no doc strings at all.
7251 Fix bogus FSF-format docstrings.
7254 Standardize docstrings.
7257 Explain problems with matherr.
7259 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
7262 if BROKEN_SIGIO, then SIGIO wants to be undefined.
7263 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
7264 Fix the weird resultant interaction (causes windows problems)
7268 Take new EMACSBOOTSTRAPLOADPATH into account.
7269 Update documentation strings
7272 - Adjust for luser's CDPATH being set to something weird.
7273 - Take into account bash 2.02's tendency to print the cwd when
7274 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
7275 - fix the run-temacs target to use $(DUMPENV)
7276 - fix the run-puremacs target to use $(DUMPENV)
7277 - fix the `depend' target to properly $(RM) the right files
7278 - Generate a better TAGS file for XEmacs' lisp code using
7279 hand-crafted regexps.
7280 - Use standard coding conventions for modules/Makefile.in
7282 1998-05-12 Didier Verna <verna@inf.enst.fr>
7284 * redisplay.c: removed the scrolling modeline code that didn't
7285 make it for 21.0. To be continued ...
7287 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7289 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
7290 and empty string inputs.
7292 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7294 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
7296 1998-05-10 Oliver Graf <ograf@fga.de>
7298 * event-stream.c (enqueue_misc_user_event_pos): created
7299 * lisp.h (enqueue_misc_user_event_pos): prototype added
7300 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
7301 * emacs.c: call vars_of_dragdrop
7302 * dragdrop.c (vars_of_dragdrop): provide dragdrop
7304 1998-05-11 Oliver Graf <ograf@fga.de>
7306 * frame-x.c (x_cde_transfer_callback): return at correct pos
7307 * event-Xt.c (x_event_to_emacs_event): changed format of drop
7308 object for MIME (see comment in dragdrop.c)
7309 * dragdrop.c: API change documented in comment
7310 removed provide of dragdrop [is provided by dragdrop.el]
7312 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7314 * window.c (window_needs_vertical_divider): Enable vertical
7315 dividers for every non-rightmost window.
7316 (window_left_gutter_width): Left gutter consists of mythical
7317 toolbar and a virtual scrollbar.
7318 (window_right_gutter_width): The right one may have a divider
7321 * scrollbar.c (update_scrollbar_instance): Position vertical
7322 scrollbar left to divider if the latter present.
7324 * redisplay.h: Declared OVER_DIVIER constant.
7326 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
7329 * redisplay-x.c (x_output_vertical_divider): Output divider along
7330 the right side of the window, down to window bottom. Swapped
7331 foreground and background colors so it is visible by default.
7333 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7334 stick the divider to the right window side.
7336 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7338 (mswindows_divider_width): Ask system for user preferred value.
7339 (mswindows_output_vertical_divider): Always output the divider on
7340 the right side of a window, down to bottom.
7342 * keymap.c (get_relevant_keymaps): Route mouse button events which
7343 happened over a window divider through window-divider-map.
7344 (Fkey_binding): Documented that in the docstring.
7345 Defined the variable Vwindow_divider_map.
7347 * events.c (Fevent_over_divider_p): Added this function.
7349 * events.h: EXFUNed it.
7351 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7353 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7354 toolbar geometry is suspected to change.
7356 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7360 Condition dnd and dde code on HAVE_DRAGNDROP.
7362 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7364 * events.c (format_event_object): Print space as SPC etc.
7366 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7368 * print.c (print_internal): In the default case, abort() if
7369 ERROR_CHECK_TYPECHECK.
7371 * fileio.c (Fmake_temp_name): Doc fix.
7373 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7375 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7377 * undo.c (Fprimitive_undo): Fixed typo.
7379 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7381 * fns.c (concat): Signal error on integer argument.
7383 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7385 * console.h (device_metrics): Prefixed each constatnt with DM_
7387 * device.c: (Fdevice_system_metric): Renamed so from plural form
7388 (metrics); Changed parameters order and added DEFAULT parameter;
7389 Unabbreviated some metric constants; Fixed and untabified doc string.
7390 (Fdevice_system_metrics): Added. Returns a plist of all provided
7393 * device-msw.c (mswindows_device_system_metrics): Renamed
7394 device_metrics enum constants.
7395 Return Qunbound instead of Qnil.
7397 * device-tty.c (tty_device_system_metrics): Ditto.
7399 * device-x.c (x_device_system_metrics): Ditto.
7401 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7403 * redisplay-msw.c: implement background pixmaps (really!). Make
7404 sure bg color is transparent if we have bg pmaps.
7405 * (mswindows_output_string) (mswindows_clear_region): output bg
7407 * (mswindows_output_dibitmap_region): new function.
7408 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7409 the bg color rather than transparently.
7411 * toolbar-msw.c: use masks if they exist.
7413 * glyphs-msw.c: set up masks correctly.
7415 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7417 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7419 * regex.c (re_match_2_internal): Check for quit.
7421 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7423 * frame.c (Ffocus_frame): New function.