1 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
5 (Fmake_charset): Likewise.
6 (complex_vars_of_mule_charset): Modify the font registry of
7 `ucs-bmp' not to match `Ethiopic-Unicode'.
9 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
11 * mule-charset.c (complex_vars_of_mule_charset): Add font
12 registory of `ucs-bmp'.
14 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
16 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
17 coded-charsets in `default-coded-charset-priority-list' when
18 breaking up a character.
20 * mule-charset.c (Vcharset_latin_viscii): New variable.
21 (Qlatin_viscii): New variable.
22 (make_charset): Don't use `decoding_table'.
23 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
25 (Fset_charset_mapping_table): New implementation.
26 (syms_of_mule_charset): Add new symbol `latin-viscii'.
27 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
28 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
29 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
30 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
31 charset `latin_viscii'.
33 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
34 (CHARSET_TYPE_94X94): Change to 1 from 2.
35 (CHARSET_TYPE_96): Change to 2 from 1.
36 (CHARSET_TYPE_128): New macro.
37 (CHARSET_TYPE_128X128): Change to 5 from 4.
38 (CHARSET_TYPE_256): New macro.
39 (CHARSET_TYPE_256X256): Change to 7 from 5.
40 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
42 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
44 * text-coding.c (char_encode_shift_jis): Refer
45 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
46 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
48 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
49 (char_byte_table_equal): New function in UTF-2000.
50 (char_byte_table_hash): New function in UTF-2000.
51 (char_byte_table_description): New constant in UTF-2000.
52 (char_byte_table): New type in UTF-2000.
53 (make_char_byte_table): New function in UTF-2000.
54 (copy_char_byte_table): New function in UTF-2000.
55 (make_char_code_table): New macro in UTF-2000.
56 (get_char_code_table): New function in UTF-2000.
57 (put_char_code_table): New function in UTF-2000.
58 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
59 (charset_description): Add setting in UTF-2000.
60 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
61 `CHARSET_TO_BYTE1_TABLE(cs)'.
62 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
63 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
64 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
65 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
66 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
67 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
68 `CHARSET_TO_BYTE2_TABLE(cs)'.
70 * char-ucs.h (char_byte_table): New type.
71 (XCHAR_BYTE_TABLE): New macro.
72 (XSETCHAR_BYTE_TABLE): New macro.
73 (CHAR_BYTE_TABLE_P): New macro.
74 (GC_CHAR_BYTE_TABLE_P): New macro.
75 (struct Lisp_Char_Byte_Table): New structure.
76 (get_char_code_table): New interface.
77 (Emchar_to_byte_table): Deleted.
78 (get_byte_from_character_table): Deleted.
79 (struct Lisp_Charset): Add `encoding_table'; delete
80 `to_byte1_table' and `to_byte2_table'.
81 (CHARSET_ENCODING_TABLE): New macro.
82 (CHARSET_TO_BYTE1_TABLE): Deleted.
83 (CHARSET_TO_BYTE2_TABLE): Deleted.
84 (XCHARSET_ENCODING_TABLE): New macro.
85 (XCHARSET_TO_BYTE1_TABLE): Deleted.
86 (XCHARSET_TO_BYTE2_TABLE): Deleted.
88 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
90 * mule-charset.c (syms_of_mule_charset): Delete charset alias
91 `vietnamese-viscii-*'.
93 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
95 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
96 (Qvietnamese_viscii_upper): New variable.
97 (Fdefine_charset_alias): New function.
98 (syms_of_mule_charset): Add new function `define-charset-alias'.
99 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
100 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
103 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
105 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
106 (MAX_CHAR_OBS_94x94): New macro.
107 (breakup_char_1): Support obsolete XEmacs-UCS private code space
110 * mule-charset.c (put_byte_from_character_table): Change unit size
112 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
114 (Fmake_reverse_direction_charset): Modify dummy argument of
115 `make_charset' for non-UTF-2000 environment.
117 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
119 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
121 * mule-charset.c (destroy_byte_from_character_table): New macro.
122 (latin_jisx0201_to_ucs): Deleted.
123 (latin_iso8859_2_to_ucs): Deleted.
124 (latin_iso8859_3_to_ucs): Deleted.
125 (latin_iso8859_4_to_ucs): Deleted.
126 (latin_iso8859_9_to_ucs): Deleted.
127 (latin_viscii_lower_to_ucs): Deleted.
128 (latin_viscii_upper_to_ucs): Deleted.
129 (mark_charset): Mark `cs->decoding_table'.
130 (Fcharset_mapping_table): Fix DOC-string.
131 (Fset_charset_mapping_table): New function.
132 (syms_of_mule_charset): Add nwe function
133 `set-charset-mapping-table'.
134 (complex_vars_of_mule_charset): Don't setup and use
137 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
139 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
142 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
144 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
145 (Vcharset_katakana_jisx0208): New variable.
146 (Qhiragana_jisx0208): New variable.
147 (Qkatakana_jisx0208): New variable.
148 (make_charset): Add new argument `byte_offset'.
149 (charset_get_byte1): Modify for new coded-charset definition; use
150 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
151 `XCHARSET_BYTE_OFFSET'.
152 (Fmake_charset): Modify for `make_charset'.
153 (Fmake_reverse_direction_charset): Likewise.
154 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
156 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
157 `.' in font registry of charset `katakana-jisx0201',
158 `latin-jisx0201', `vietnamese-viscii-lower' and
159 `vietnamese-viscii-upper'; modify DOC-string of charset
160 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
161 registry of charset `japanese-jisx0208' not to use font for JIS
162 X0208:1990; add new charset `hiragana-jisx0208' and
165 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
166 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
167 (struct Lisp_Charset): Add `byte_offset'.
168 (CHARSET_BYTE_OFFSET): New macro.
169 (XCHARSET_UCS_MIN): New macro.
170 (XCHARSET_UCS_MAX): New macro.
171 (XCHARSET_CODE_OFFSET): New macro.
172 (XCHARSET_BYTE_OFFSET): New macro.
173 (MIN_CHAR_HIRAGANA): New macro.
174 (MAX_CHAR_HIRAGANA): New macro.
175 (MIN_CHAR_KATAKANA): New macro.
176 (MAX_CHAR_KATAKANA): New macro.
177 (MAKE_CHAR): Modify for new coded-charset definition; use
178 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
179 `XCHARSET_BYTE_OFFSET'.
181 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
183 * mule-charset.c (CHAR96): Deleted.
184 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
186 (latin_iso8859_2_to_ucs): Likewise.
187 (latin_iso8859_3_to_ucs): Likewise.
188 (latin_iso8859_4_to_ucs): Likewise.
189 (latin_iso8859_9_to_ucs): Likewise.
190 (latin_viscii_lower_to_ucs): Likewise.
191 (latin_viscii_upper_to_ucs): Likewise.
192 (latin_tcvn5712_to_ucs): Commented out.
193 (make_charset): Change type of argument `decoding_table' from
194 <Emchar*> to <Lisp_Object> [vector of characters].
195 (Fmake_charset): Modify for `make_charset'.
196 (Fmake_reverse_direction_charset): Likewise.
197 (Fcharset_mapping_table): New function in UTF-2000.
198 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
200 (complex_vars_of_mule_charset): Modify for type change of
201 `*_to_ucs'; modify for `make_charset'.
203 * char-ucs.h (struct Lisp_Charset): Change type of
204 `decoding_table' from <Emchar*> to <Lisp_Object>.
205 (MAKE_CHAR): Modify for new specification of `decoding_table'.
207 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
209 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
210 error with non-UTF-2000-Mule.
212 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
214 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
216 (Vcharset_chinese_cns11643_4): Likewise.
217 (Vcharset_chinese_cns11643_5): Likewise.
218 (Vcharset_chinese_cns11643_6): Likewise.
219 (Vcharset_chinese_cns11643_7): Likewise.
220 (Qchinese_cns11643_3): Likewise.
221 (Qchinese_cns11643_4): Likewise.
222 (Qchinese_cns11643_5): Likewise.
223 (Qchinese_cns11643_6): Likewise.
224 (Qchinese_cns11643_7): Likewise.
225 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
226 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
227 and `chinese-cns11643-7' to lisp/mule/chinese.el.
228 (complex_vars_of_mule_charset): Likewise.
230 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
232 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
234 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
235 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
237 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
239 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
241 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
242 (breakup_char_1): Likewise.
244 * text-coding.c (char_encode_iso2022): Keep designated charsets if
245 one of them includes the specified character.
247 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
249 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
251 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
253 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
255 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
257 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
258 definition for non-UTF-2000 Mule.
259 (latin_iso8859_3_to_ucs): Likewise.
260 (latin_iso8859_4_to_ucs): Likewise.
261 (latin_iso8859_9_to_ucs): Likewise.
262 (latin_jisx0201_to_ucs): Likewise.
263 (MIN_CHAR_THAI): Likewise.
264 (MAX_CHAR_THAI): Likewise.
265 (MIN_CHAR_GREEK): Likewise.
266 (MAX_CHAR_GREEK): Likewise.
267 (MIN_CHAR_HEBREW): Likewise.
268 (MAX_CHAR_HEBREW): Likewise.
269 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
270 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
271 (MIN_CHAR_CYRILLIC): Likewise.
272 (MAX_CHAR_CYRILLIC): Likewise.
274 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
276 * char-ucs.h (breakup_char_1): Use
277 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
278 thai-tis620 and katakana-jisx0201 area.
280 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
282 * char-ucs.h (breakup_char_1): Use
283 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
286 * text-coding.c (reset_encoding_stream): Fixed.
287 (char_encode_ucs4): Delete `& 255'.
289 * char-ucs.h (breakup_char_1): Use
290 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
292 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
294 * file-coding.c (Fmake_coding_system): Don't set up
295 `codesys->fixed.size'.
296 (encode_coding_no_conversion): Don't refer
297 `str->codesys->fixed.size'.
299 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
301 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
302 (latin_a_char_to_byte1): Deleted.
303 (latin_a_char_to_byte2): Deleted.
305 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
307 * mule-charset.c (make_charset): Add new argument `ucs_min',
308 `ucs_max' and `code_offset'.
309 (charset_get_byte1): New implementation [delete specific charset
310 depended implementations].
311 (Fmake_charset): Modify for `make_charset'.
312 (Fmake_reverse_direction_charset): Likewise.
313 (complex_vars_of_mule_charset): Likewise.
315 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
317 (CHARSET_UCS_MIN): New macro.
318 (CHARSET_UCS_MAX): New macro.
319 (CHARSET_CODE_OFFSET): New macro.
320 (MAKE_CHAR): Delete charset depended definitions [except
323 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
325 * char-ucs.h (breakup_char_1): Use
326 `Vdefault_coded_charset_priority_list' for C0-Controls,
327 Basic-Latin, C1-Controls and Latin-1-Supplement area.
329 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
331 * char-ucs.h (charset_get_byte1): New function.
332 (XCHARSET_GET_BYTE1): Deleted.
333 (charset_get_byte2): New function.
334 (XCHARSET_GET_BYTE2): Deleted.
335 (Vdefault_coded_charset_priority_list): New external variable.
336 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
337 `Vdefault_preferred_coded_charset_list'.
339 * mule-charset.c (charset_get_byte1): New function.
340 (charset_get_byte2): New function.
341 (Vdefault_coded_charset_priority_list): New variable.
342 (vars_of_mule_charset): Add new variable
343 `default-coded-charset-priority-list'.
345 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
347 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
348 (XCHARSET_GET_BYTE2): New inline function.
349 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
350 `XCHARSET_GET_BYTE2'.
352 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
354 * mule-charset.c (make_charset): Initialize
355 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
356 NULL if table is not defined.
358 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
360 * text-coding.c (char_encode_shift_jis): Use
361 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
362 `ucs_to_latin_jisx0201'.
364 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
365 (ucs_to_latin_iso8859_2): Deleted.
366 (ucs_to_latin_iso8859_3): Deleted.
367 (ucs_to_latin_iso8859_4): Deleted.
368 (ucs_to_latin_iso8859_9): Deleted.
369 (ucs_to_latin_viscii_lower): Deleted.
370 (ucs_to_latin_viscii_upper): Deleted.
371 (ucs_to_latin_tcvn5712): Deleted.
372 (make_charset): Add new argument `decoding_table'; set up
373 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
374 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
375 `decoding_table' is defined in UTF-2000.
376 (Fmake_charset): Modify for `make_charset'.
377 (Fmake_reverse_direction_charset): Likewise.
378 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
379 and `GENERATE_96_SET'.
381 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
382 (ucs_to_latin_jisx0201): Deleted.
383 (latin_iso8859_2_to_ucs): Deleted.
384 (ucs_to_latin_iso8859_2): Deleted.
385 (latin_iso8859_3_to_ucs): Deleted.
386 (ucs_to_latin_iso8859_3): Deleted.
387 (latin_iso8859_4_to_ucs): Deleted.
388 (ucs_to_latin_iso8859_4): Deleted.
389 (latin_iso8859_9_to_ucs): Deleted.
390 (ucs_to_latin_iso8859_9): Deleted.
391 (latin_viscii_lower_to_ucs): Deleted.
392 (ucs_to_latin_viscii_lower): Deleted.
393 (latin_viscii_upper_to_ucs): Deleted.
394 (ucs_to_latin_viscii_upper): Deleted.
395 (struct Lisp_Charset): Renamed `encoding_table' to
396 `to_byte1_table'; add `to_byte2_table'.
397 (CHARSET_DECODING_TABLE): New macro.
398 (CHARSET_TO_BYTE1_TABLE): New macro.
399 (CHARSET_TO_BYTE2_TABLE): New macro.
400 (XCHARSET_DECODING_TABLE): New macro.
401 (XCHARSET_TO_BYTE1_TABLE): New macro.
402 (XCHARSET_TO_BYTE2_TABLE): New macro.
403 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
405 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
406 don't use `ucs_to_*' tables.
408 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
410 * text-coding.c (Fmake_coding_system): Don't set up
411 `codesys->fixed.size'.
412 (encode_coding_no_conversion): Use `if' instead of `switch'.
414 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
416 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
418 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
419 (Fmake_charset): Modify for `make_charset'.
420 (Fmake_reverse_direction_charset): Likewise.
421 (complex_vars_of_mule_charset): Likewise.
423 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
425 * text-coding.c (char_encode_shift_jis): Use table
426 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
428 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
430 * text-coding.c (text_encode_generic): Use `if' instead of
432 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
435 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
437 * text-coding.c (encode_coding_sjis): Deleted.
438 (char_encode_shift_jis): New function.
439 (char_finish_shift_jis): New function.
440 (reset_encoding_stream): Set up `encode_char' and `finish' for
441 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
442 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
443 (char_encode_utf8): Treat `eol_type'.
445 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
447 * file-coding.c (decode_coding_iso2022): Use
448 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
450 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
452 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
455 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
457 * char-lb.h (CHAR_COLUMNS): New macro.
459 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
461 * text-coding.c (char_encode_ucs4): New function.
462 (char_finish_ucs4): New function.
463 (encode_coding_ucs4): Deleted.
464 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
465 (text_encode_generic): Delete local variable `charset' and `half'.
466 (ucs_to_mule_table): Deleted.
467 (mule_to_ucs_table): Deleted.
468 (Fset_ucs_char): Deleted.
469 (ucs_to_char): Deleted.
470 (Fucs_char): Deleted.
471 (Fset_char_ucs): Deleted.
472 (Fchar_ucs): Deleted.
473 (decode_ucs4): Deleted.
474 (mule_char_to_ucs4): Deleted.
475 (encode_ucs4): Deleted.
476 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
477 (decode_coding_utf8): Likewise.
478 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
479 (char_encode_iso2022): Fixed.
480 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
481 `Fset_char_ucs' and `Fchar_ucs'.
482 (complex_vars_of_file_coding): Don't initialize
485 * objects-tty.c (tty_initialize_font_instance): Don't use
488 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
491 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
492 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
494 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
495 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
496 (emchar_string_displayed_columns): Likewise.
498 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
499 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
500 (string_column_at_point): Likewise.
501 (Fmove_to_column): Likewise.
503 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
504 `encoding_table' and `decoding_table'.
505 (CHARSET_REP_BYTES): Deleted.
506 (XCHARSET_REP_BYTES): Deleted.
507 (XCHARSET_COLUMNS): Deleted.
508 (CHAR_COLUMNS): New macro.
509 (lookup_composite_char): Deleted unconditionally.
510 (composite_char_string): Likewise.
512 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
514 * char-ucs.h (Emchar_to_byte_table): New type.
515 (get_byte_from_character_table): New function interface.
516 (Vcharset_latin_jisx0201): New variable.
517 (latin_jisx0201_to_ucs): New variable.
518 (ucs_to_latin_jisx0201): New variable.
519 (Vcharset_latin_iso8859_2): New variable.
520 (latin_iso8859_2_to_ucs): New variable.
521 (ucs_to_latin_iso8859_2): New variable.
522 (Vcharset_latin_iso8859_3): New variable.
523 (latin_iso8859_3_to_ucs): New variable.
524 (ucs_to_latin_iso8859_3): New variable.
525 (Vcharset_latin_iso8859_4): New variable.
526 (latin_iso8859_4_to_ucs): New variable.
527 (ucs_to_latin_iso8859_4): New variable.
528 (Vcharset_latin_iso8859_9): New variable.
529 (latin_iso8859_9_to_ucs): New variable.
530 (ucs_to_latin_iso8859_9): New variable.
531 (Vcharset_latin_viscii_lower): New variable.
532 (latin_viscii_lower_to_ucs): New variable.
533 (ucs_to_latin_viscii_lower): New variable.
534 (Vcharset_latin_viscii_upper): New variable.
535 (latin_viscii_upper_to_ucs): New variable.
536 (ucs_to_latin_viscii_upper): New variable.
537 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
538 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
539 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
540 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
541 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
542 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
543 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
544 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
545 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
546 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
548 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
549 (Vcharset_latin_viscii_upper): New variable.
550 (make_byte_from_character_table): New function.
551 (put_byte_from_character_table): New function.
552 (get_byte_from_character_table): New function.
554 (ucs_to_latin_jisx0201): New variable.
555 (latin_jisx0201_to_ucs): New variable.
556 (ucs_to_latin_iso8859_2): New variable.
557 (latin_iso8859_2_to_ucs): New variable.
558 (ucs_to_latin_iso8859_3): New variable.
559 (latin_iso8859_3_to_ucs): New variable.
560 (ucs_to_latin_iso8859_4): New variable.
561 (latin_iso8859_4_to_ucs): New variable.
562 (ucs_to_latin_iso8859_9): New variable.
563 (latin_iso8859_9_to_ucs): New variable.
564 (ucs_to_latin_viscii_lower): New variable.
565 (latin_viscii_lower_to_ucs): New variable.
566 (ucs_to_latin_viscii_upper): New variable.
567 (latin_viscii_upper_to_ucs): New variable.
568 (ucs_to_latin_tcvn5712): New variable.
569 (latin_tcvn5712_to_ucs): New variable.
570 (Qlatin_viscii_lower): New variable.
571 (Qlatin_viscii_upper): New variable.
572 (syms_of_mule_charset): Set up new symbol
573 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
574 (complex_vars_of_mule_charset): Set up new charset
575 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
576 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
577 `ucs_to_<CHARSET>' tables.
579 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
581 * text-coding.c: New file.
583 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
585 * mule-charset.c (Fmake_char): Fix problem of 256-set.
587 * char-ucs.h (Vcharset_ucs_bmp): New variable.
588 (MAKE_CHAR): Modify for `ucs-bmp'.
589 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
590 non-MULE characters of BMP.
592 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
594 * mule-charset.c (vars_of_mule_charset):
595 Update `utf-2000-version' to 0.6.
597 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
600 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
601 - Include character.h for `CHAR_ASCII_P'.
603 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
605 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
606 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
608 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
609 (BYTE_C0_P): Likewise.
610 (BYTE_C1_P): Likewise.
611 (Lstream_get_emchar_1): Likewise.
612 (Lstream_fput_emchar): Likewise.
613 (Lstream_funget_emchar): Likewise.
614 (copy_internal_to_external): Likewise.
615 (copy_external_to_internal): Likewise.
617 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
618 (BYTE_C0_P): Likewise.
619 (BYTE_C1_P): Likewise.
620 (Lstream_get_emchar_1): Likewise.
621 (Lstream_fput_emchar): Likewise.
622 (Lstream_funget_emchar): Likewise.
623 (copy_internal_to_external): Likewise.
624 (copy_external_to_internal): Likewise.
626 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
627 (REP_BYTES_BY_FIRST_BYTE): Likewise.
629 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
630 (BYTE_ASCII_P): Moved to mb-1byte.h.
632 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
634 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
636 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
637 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
638 (VALID_CHARPTR_P): Moved to mb-*byte.h.
639 (VALIDATE_CHARPTR_BACKWARD): Likewise.
640 (VALIDATE_CHARPTR_FORWARD): Likewise.
641 (simple_charptr_emchar): Moved to mb-multibyte.h.
642 (simple_set_charptr_emchar): Likewise.
643 (simple_charptr_copy_char): Likewise.
644 (non_ascii_charptr_emchar): Likewise.
645 (non_ascii_set_charptr_emchar): Likewise.
646 (non_ascii_charptr_copy_char): Likewise.
647 (charptr_emchar): Moved to mb-*byte.h.
648 (set_charptr_emchar): Likewise.
649 (charptr_copy_char): Likewise.
651 * mb-1byte.h, mb-multibyte.h: New files.
653 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
655 * mb-utf-8.h (MULTIBYTE): New macro.
656 (MAX_EMCHAR_LEN): Moved from buffer.h.
657 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
659 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
661 * mb-lb.h, multibyte.h: New files.
663 * char-1byte.h (Charset_ID): Moved from buffer.h.
664 (MIN_LEADING_BYTE): Likewise.
665 (LEADING_BYTE_ASCII): Likewise.
666 (NUM_LEADING_BYTES): Likewise.
667 (CHARSETP): Likewise.
668 (CHARSET_BY_LEADING_BYTE): Likewise.
669 (XCHARSET_LEADING_BYTE): Likewise.
670 (XCHARSET_GRAPHIC): Likewise.
671 (XCHARSET_COLUMNS): Likewise.
672 (XCHARSET_DIMENSION): Likewise.
673 (CHAR_CHARSET): Likewise.
674 (CHAR_LEADING_BYTE): Likewise.
675 (BREAKUP_CHAR): Likewise.
676 (Vcharset_ascii): Likewise.
678 * buffer.h: Include multibyte.h unconditionally.
679 (VALID_CHARPTR_P): Moved to multibyte.h.
680 (ASSERT_VALID_CHARPTR): Likewise.
681 (REAL_INC_CHARPTR): Likewise.
682 (REAL_INC_CHARBYTIND): Likewise.
683 (REAL_DEC_CHARPTR): Likewise.
684 (INC_CHARPTR): Likewise.
685 (INC_CHARBYTIND): Likewise.
686 (DEC_CHARPTR): Likewise.
687 (VALIDATE_CHARPTR_BACKWARD): Likewise.
688 (VALIDATE_CHARPTR_FORWARD): Likewise.
689 (charptr_n_addr): Likewise.
690 (MAX_EMCHAR_LEN): Moved to mb-*.h.
691 (simple_charptr_emchar): Moved to multibyte.h.
692 (simple_set_charptr_emchar): Likewise.
693 (simple_charptr_copy_char): Likewise.
694 (non_ascii_charptr_emchar): Likewise.
695 (non_ascii_set_charptr_emchar): Likewise.
696 (non_ascii_charptr_copy_char): Likewise.
697 (charptr_emchar): Likewise.
698 (set_charptr_emchar): Likewise.
699 (charptr_copy_char): Likewise.
700 (charptr_emchar_n): Likewise.
701 (Charset_ID): Moved to char-1byte.h.
702 (Vcharset_ascii): Likewise.
703 (CHAR_CHARSET): Likewise.
704 (CHAR_LEADING_BYTE): Likewise.
705 (LEADING_BYTE_ASCII): Likewise.
706 (NUM_LEADING_BYTES): Likewise.
707 (MIN_LEADING_BYTE): Likewise.
708 (CHARSETP): Likewise.
709 (CHARSET_BY_LEADING_BYTE): Likewise.
710 (XCHARSET_LEADING_BYTE): Likewise.
711 (XCHARSET_GRAPHIC): Likewise.
712 (XCHARSET_COLUMNS): Likewise.
713 (XCHARSET_DIMENSION): Likewise.
714 (BREAKUP_CHAR): Likewise.
716 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
718 * character.h: Add document about interface for characters.
720 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
721 (MAKE_CHAR): Delete comment about
722 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
723 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
724 (BREAKUP_CHAR): Modify name of arguments.
725 (CHAR_CHARSET): Modify name of argument.
727 * buffer.h: Delete document about Emchar accessors.
729 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
731 * character.h (CHAR_INTP): Moved from buffer.h
732 (CHAR_OR_CHAR_INTP): Likewise.
733 (XCHAR_OR_CHAR_INT): Likewise.
734 (CHECK_CHAR_COERCE_INT): Likewise.
736 * buffer.h (CHAR_INTP): Moved to character.h
737 (CHAR_OR_CHAR_INTP): Likewise.
738 (XCHAR_OR_CHAR_INT): Likewise.
739 (CHECK_CHAR_COERCE_INT): Likewise.
741 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
744 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
745 - Include char-1byte.h, char-lb.h or char-ucs.h.
747 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
749 * buffer.h: Include character unconditionally.
750 (valid_char_p): Moved to char-*.h.
751 (non_ascii_valid_char_p): Moved to char-lb.h.
753 * char-1byte.h, char-lb.h, char-ucs.h: New files.
755 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
757 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
758 in UTF-2000 because it is not ported yet and not to use
759 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
760 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
761 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
763 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
764 (CHAR_ASCII_P): Moved from character.h.
766 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
767 (CHAR_ASCII_P): Likewise.
768 (CHAR_FIELD1_MASK): Deleted.
769 (CHAR_FIELD2_MASK): Deleted.
770 (CHAR_FIELD3_MASK): Deleted.
771 (MAX_CHAR_BASIC_LATIN): New macro.
772 (CHAR_FIELD1): Deleted.
773 (CHAR_FIELD2_INTERNAL): Deleted.
774 (CHAR_FIELD3_INTERNAL): Deleted.
775 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
776 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
777 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
778 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
779 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
780 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
781 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
782 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
783 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
784 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
785 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
786 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
787 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
788 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
789 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
790 (MIN_CHAR_COMPOSITION): Deleted.
791 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
792 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
794 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
796 * buffer.h: Include mb-utf-8.h in UTF-2000.
798 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
800 * mb-utf-8.h: New file.
802 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
804 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
807 * mule-charset.h, buffer.h (Charset_ID): New type.
809 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
811 * mule-canna.c (c2mu): Use `MAKE_CHAR',
812 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
813 instead of `MULE_CHAR_PRIVATE_OFFSET',
814 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
815 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
816 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
818 * character.h (Vcharset_japanese_jisx0212): New variable
821 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
823 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
824 (charset_by_attributes): Delete array about direction.
825 (latin_a_char_to_charset): New variable in UTF-2000.
826 (latin_a_char_to_byte1): New variable in UTF-2000.
827 (latin_a_char_to_byte2): New variable in UTF-2000.
828 (Qucs_bmp): New variable.
829 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
831 (next_allocated_2_byte_leading_byte): Likewise.
832 (non_ascii_set_charptr_emchar): Likewise.
833 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
834 `CHARSET_TYPE_256X256' in UTF-2000; modify for
835 `charset_by_attributes'.
836 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
837 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
838 and `CHARSET_BY_LEADING_BYTE'.
839 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
840 `utf-2000-version' to `vars_of_mule_charset'.
841 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
842 define `leading-code-private-11' in UTF-2000; move setting of
843 `utf-2000-version' from `syms_of_mule_charset'.
844 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
847 * character.h (Charset_ID): New type.
848 (LEADING_BYTE_UCS_BMP): New macro.
849 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
850 (CHARSET_ID_OFFSET_94): New macro.
851 (MIN_CHARSET_ID_PRIVATE_94): New macro.
852 (MAX_CHARSET_ID_PRIVATE_94): New macro.
853 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
855 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
856 (LEADING_BYTE_LATIN_JISX0201): Likewise.
857 (CHARSET_ID_OFFSET_96): New macro.
858 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
859 CHARSET_ID_OFFSET_96 and final-byte.
860 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
861 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
862 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
863 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
864 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
865 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
866 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
867 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
868 (LEADING_BYTE_THAI_TIS620): Likewise.
869 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
870 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
871 (CHARSET_ID_OFFSET_94x94): New macro.
872 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
873 CHARSET_ID_OFFSET_94x94 and final-byte.
874 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
875 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
876 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
877 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
878 (LEADING_BYTE_CHINESE_GB2312): Likewise.
879 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
880 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
881 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
882 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
883 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
884 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
885 (CHARSET_TYPE_128X128): New macro.
886 (CHARSET_TYPE_256X256): New macro.
887 (XCHARSET_PRIVATE_P): Delete unconditionally.
888 (charset_by_attributes): Delete array about direction.
889 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
890 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
891 (MIN_CHAR_94): New macro.
892 (MAX_CHAR_94): New macro.
893 (MIN_CHAR_96): New macro.
894 (MAX_CHAR_96): New macro.
895 (MIN_CHAR_94x94): New macro.
896 (MAX_CHAR_94x94): New macro.
897 (MIN_CHAR_96x96): New macro.
898 (MAX_CHAR_96x96): New macro.
899 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
900 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
901 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
903 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
904 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
905 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
906 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
907 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
908 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
909 `XCHARSET_LEADING_BYTE' to make code-point.
910 (latin_a_char_to_charset): New variable.
911 (latin_a_char_to_byte1): New variable.
912 (latin_a_char_to_byte2): New variable.
913 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
914 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
915 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
917 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
918 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
919 (find_charsets_in_emchar_string): Likewise.
920 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
922 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
924 (decode_coding_iso2022): Likewise.
926 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
929 * redisplay.c (redisplay_text_width_emchar_string): Use
930 `Charset_ID' instead of `unsigned char'.
931 (redisplay_frame_text_width_string): Likewise.
933 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
936 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
937 instead of `unsigned char'.
938 (face_cachel_charset_font_metric_info): Likewise.
940 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
941 (get_non_ascii_char_table_value): Likewise.
942 (get_char_table): Likewise.
943 (put_char_table): Likewise.
944 (map_over_other_charset): Likewise.
945 (map_char_table): Likewise.
947 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
948 instead of `unsigned char'.
950 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
952 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
953 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
955 * mule-charset.c (leading_code_private_11): Don't define in
958 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
959 in UTF-2000 because it is not ported yet and not to use
960 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
962 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
964 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
966 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
968 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
971 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
972 of unsigned char to store leading-byte.
974 * chartab.c (get_non_ascii_char_table_value): Don't use
975 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
977 * file-coding.c (encode_coding_big5): Delete bogus implementation
980 * character.h (LEADING_BYTE_*): Delete definition for
982 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
983 (LEADING_BYTE_PREFIX_P): Deleted.
984 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
985 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
986 (BUFBYTE_LEADING_BYTE_P): Deleted.
987 (CHARSET_PRIVATE_P): Deleted unconditionally.
988 (rep_bytes_by_first_byte): Deleted unconditionally.
989 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
990 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
991 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
992 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
993 (CHAR_FIELD2): Deleted.
994 (CHAR_FIELD3): Deleted.
995 (MAKE_CHAR): Delete definition for non-UTF-2000.
996 (BREAKUP_CHAR_1_UNSAFE): Deleted.
997 (breakup_char_1): New implementation.
998 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
999 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1001 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1003 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1006 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1008 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1009 (CHARSET_PRIVATE_P): Likewise.
1010 (XCHARSET_PRIVATE_P): Likewise.
1011 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1013 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1015 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1017 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1019 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1020 (NUM_LEADING_BYTES): Changed from 128 to 256.
1021 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1022 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1024 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1026 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1028 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1029 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1030 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1031 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1032 (Qchinese_cns11643_3): New variable in UTF2000.
1033 (Qchinese_cns11643_4): New variable in UTF2000.
1034 (Qchinese_cns11643_5): New variable in UTF2000.
1035 (Qchinese_cns11643_6): New variable in UTF2000.
1036 (Qchinese_cns11643_7): New variable in UTF2000.
1037 (syms_of_mule_charset): Define `chinese-cns11643-3',
1038 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1039 and `chinese-cns11643-7' in UTF2000.
1040 (vars_of_mule_charset): Initialize
1041 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1043 (complex_vars_of_mule_charset): Setup charset
1044 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1045 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1047 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1049 * mule-charset.c: Move setting for `leading-code-private-11' from
1050 `syms_of_mule_charset' to `vars_of_mule_charset'.
1052 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1054 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1055 and `NUM_LEADING_BYTES' in assert.
1057 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1059 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1061 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1062 `NUM_LEADING_BYTES' instead of 128.
1064 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1066 * mule-charset.h (charset_by_leading_byte): Use
1067 `NUM_LEADING_BYTES' instead of 128.
1068 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1070 * mule-charset.c (charset_by_leading_byte): Use
1071 `NUM_LEADING_BYTES' instead of 128.
1072 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1074 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1077 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1079 * mule-charset.c (syms_of_mule_charset): Update to
1082 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1084 * file-coding.c (encode_coding_sjis): New implementation for
1085 UTF2000. (decode_coding_sjis): Ditto.
1087 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1089 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1090 Don't define in UTF2000.
1092 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1095 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1096 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1099 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1101 * config.h.in (CHAR_IS_UCS4): New macro.
1103 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1104 conventional MULE representation.
1105 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1107 * mule-charset.h: Reverted to original.
1109 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1110 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1111 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1113 * character.h: New file.
1115 * file-coding.c (Fmake_coding_system): Set 1 to
1116 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1118 (encode_coding_no_conversion): New implementation for UTF2000.
1120 * file-coding.h (struct Lisp_Coding_System): Add new member
1123 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1125 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1126 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1127 (encode_coding_iso2022): New implementation for UTF2000.
1129 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1131 * mule-canna.c (c2mu): New implementation for UTF2000.
1134 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1136 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1138 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1140 * file-coding.c (reset_encoding_stream): Set 0 to
1141 `str->iso2022.current_char_boundary' in UTF2000.
1142 (encode_utf8): Don't define in UTF2000.
1143 (encode_coding_utf8): New implementation for UTF-8 representation
1145 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1147 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1149 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1151 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1153 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1155 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1157 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1158 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1159 as UTF-8 in UTF2000.
1160 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1161 (non_ascii_valid_char_p): Don't define in UTF2000.
1162 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1163 (Lstream_get_emchar_1): Likewise.
1164 (utf-2000-version): New variable in UTF2000.
1166 * lread.c (read_escape): Add new reader `u'.
1168 * insdel.c (three_to_one_table): Don't define in UTF2000.
1169 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1170 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1172 (bytind_to_bufpos_func): Likewise.
1173 (buffer_mule_signal_inserted_region): Likewise.
1174 (vars_of_insdel): Don't initialize `three_to_one_table'.
1175 (init_buffer_text): Use `buf->text->mule_size' instead of
1176 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1179 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1180 UTF-8 representation in UTF2000.
1181 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1182 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1183 (decode_coding_iso2022): Don't define local variable `lb' in
1184 UTF2000; don't use LEADING_BYTE in UTF2000; use
1185 `DECODE_ADD_UCS_CHAR' in UTF2000.
1186 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1188 * config.h.in (UTF2000): New macro.
1190 * buffer.h (struct buffer_text): Add new member `mule_size' and
1191 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1192 (valid_char_p): Return always 1 in UTF2000.
1193 (MAX_EMCHAR_LEN): 6 in UTF2000.
1194 (three_to_one_table): Don't define in UTF2000.
1195 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1197 (real_bytind_to_bufpos): Likewise.
1199 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1201 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1203 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1204 representation change.
1205 (Vutf_2000_version): New variable.
1206 (leading_code_private_11): New variable.
1207 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1208 `leading-code-private-11'.
1210 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1211 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1212 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1213 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1214 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1215 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1216 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1217 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1218 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1219 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1220 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1221 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1222 (MIN_CHAR_GREEK): New macro.
1223 (MAX_CHAR_GREEK): New macro.
1224 (MIN_CHAR_CYRILLIC): New macro.
1225 (MAX_CHAR_CYRILLIC): New macro.
1226 (MIN_CHAR_HEBREW): New macro.
1227 (MAX_CHAR_HEBREW): New macro.
1228 (MIN_CHAR_THAI): New macro.
1229 (MAX_CHAR_THAI): New macro.
1230 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1231 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1232 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1233 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1234 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1235 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1236 (CHAR_FIELD2): New inline function.
1237 (CHAR_FIELD3): New inline function.
1238 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1239 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1240 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1241 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1242 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1243 (MIN_CHAR_COMPOSITION): Likewise.
1244 (CHAR_LEADING_BYTE): Modified for character representation change.
1245 (MAKE_CHAR): Likewise.
1247 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1248 (Vcharset_greek_iso8859_7): Likewise.
1249 (Vcharset_cyrillic_iso8859_5): Likewise.
1250 (Vcharset_hebrew_iso8859_8): Likewise.
1251 (Vcharset_thai_tis620): Likewise.
1252 (Vcharset_katakana_jisx0201): Likewise.
1254 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1256 * file-coding.c (determine_real_coding_system): Treat `coding:'
1259 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1261 * file-coding.c (struct decoding_stream): New member `counter'.
1262 (reset_decoding_stream): Initialize `counter'.
1263 (decode_coding_ucs4): Use `counter'.
1264 (decode_coding_utf8): Likewise.
1266 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1268 * XEmacs 21.2.19 is released
1270 1999-07-27 Jeff Miller <jmiller@smart.net>
1272 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1273 menubar_show_keybindings.
1275 1999-07-23 SL Baur <steve@miho>
1277 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1278 definition of Qccl_program.
1280 * mule-ccl.h: Make a global declaration of it here.
1282 1999-07-20 Bob Weiner <weiner@beopen.com>
1284 * s/sco7.h: Added from rr@sco.com.
1286 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1288 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1290 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1292 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1293 (mule_encode): Likewise.
1295 * mule-ccl.c (Qccl_program): New variable.
1296 (CCL_SUSPEND): New macro.
1297 (CCL_INVALID_CMD): New macro.
1298 (CCL_READ_CHAR): Don't regard as invalid command while processing
1299 the last block even if input is empty; use
1300 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1301 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1303 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1304 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1305 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1306 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1307 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1309 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1311 * mule-ccl.h (struct ccl_program): New member stack_idx.
1313 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1314 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1316 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1318 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1320 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1323 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1325 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1326 processing the last block, don't just finish but processes eol
1327 block of the current CCL program.
1328 (ccl_driver): Add a new jump label ccl_repeat for the above
1331 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1333 * mule-ccl.c: Typo in comments fixed.
1334 (Qccl_program_idx): New variables.
1335 (CCL_ReadMultibyteChar2): Macro name changed from
1336 CCL_ReadMultibyteCharacter.
1337 (CCL_WriteMultibyteChar2): Macro name changed from
1338 CCL_WriteMultibyteChar2.
1339 (ccl_driver): Adjusted for the above changes.
1340 (resolve_symbol_ccl_program): New function.
1341 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1342 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1343 numbers by resolve_symbol_ccl_program.
1344 (Fccl_execute_on_string): Likewise.
1345 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1346 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1348 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1350 * mule-ccl.h: (struct ccl_program): New member private_state.
1353 (CCL_Call): Fix the comment.
1354 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1355 macros for CCL Commands.
1357 (ccl_driver): New case lable `CCL_Extention'.
1358 (setup_ccl_program): Initialize the member `private_state' of CCL.
1360 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1362 * keymap.c (copy_keymap_internal): Inherit the default binding.
1364 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1366 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1367 focus the event (XIM_focus_event).
1368 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1369 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1370 the interface for future use (XIM_SetGeometry).
1371 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1372 location (XIM_SetSpotLocation).
1373 (x_output_eol_cursor): Ditto.
1375 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1377 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1378 Olivier's change to lrecord.h of 1999-04-22
1380 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1382 * gutter.c (redraw_exposed_gutter): Change type of pos from
1383 enum toolbar_pos -> enum gutter_pos, since former is only defined
1384 if toolbar support is.
1386 1999-07-19 Andy Piper <andy@xemacs.org>
1388 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1391 * gutter.c (gutter_validate): new function for the gutter specifier.
1392 (specifier_type_create_gutter): declare specifier validator.
1394 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1396 1999-07-18 Andy Piper <andy@xemacs.org>
1398 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1400 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1402 (mswindows_resize_subwindow): new function.
1404 * gutter.c (redraw_exposed_gutter): only reset the
1405 current_display_lines if non-zero.
1406 (Fgutter_pixel_height): new function.
1407 (Fgutter_pixel_width): new function.
1409 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1410 we want to retrive from the tab control.
1412 1999-07-17 Andy Piper <andy@xemacs.org>
1414 * window.c (change_window_height): mark gutters changed when we're
1417 * gutter.c (specifier_vars_of_gutter): make defaults more
1420 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1422 (DEFAULT_GUTTER_WIDTH): change.
1423 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1425 1999-07-18 Andy Piper <andy@xemacs.org>
1427 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1429 1999-07-16 Andy Piper <andy@xemacs.org>
1431 * frame.c (Fmake_frame): call init_frame_gutters().
1433 * redisplay.c (add_emchar_rune): use string functions if we are
1434 working with a string.
1435 (position_redisplay_data_type): add string element.
1437 1999-07-15 Andy Piper <andy@xemacs.org>
1439 * winslots.h: add real_gutter_size slots to hold the actual gutter
1440 size. This is important for autodetected sizes.
1442 * gutter.c (calculate_gutter_size): calculate size for gutters
1443 that have 'autodetect size.
1445 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1446 extent of divider for gutters.
1448 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1449 divider for gutters.
1451 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1452 position to take into account the gutters.
1454 * redisplay.c (generate_modeline): adjust modeline position to
1455 take into account the gutters.
1457 1999-07-14 Andy Piper <andy@xemacs.org>
1459 * gutter.c (frame_topmost_window): new function.
1460 (frame_bottommost_window): ditto.
1461 (frame_leftmost_window): ditto.
1462 (frame_rightmost_window): ditto.
1464 1999-07-13 Andy Piper <andy@xemacs.org>
1466 * redisplay.c (calculate_display_line_boundaries): use text
1467 boundaries so that gutters get handled properly.
1469 1999-07-12 Andy Piper <andy@xemacs.org>
1471 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1474 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1477 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1480 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1482 * gutter.c: new file - implements gutters. All new functions are
1483 semantically equivalent to the toolbar functions.
1484 (gutter_was_visible): new function.
1485 (get_gutter_coords): ditto.
1486 (output_gutter): ditto.
1487 (clear_gutter): ditto.
1488 (update_frame_gutters): ditto.
1489 (redraw_exposed_gutter): ditto.
1490 (redraw_exposed_gutters): ditto.
1491 (free_frame_gutters): ditto.
1492 (init_frame_gutters): ditto.
1493 (decode_gutter_position): ditto.
1494 (Fset_default_gutter_position): ditto.
1495 (Fset_default_gutter_position): ditto.
1496 (Fdefault_gutter_position): ditto.
1497 (gutter_after_change): ditto.
1498 (Fgutter_specifier_p): ditto.
1499 (recompute_overlaying_specifier): ditto.
1500 (gutter_specs_changed): ditto.
1501 (default_gutter_specs_changed): ditto.
1502 (gutter_geometry_changed_in_window): ditto.
1503 (default_gutter_size_changed_in_window): ditto.
1504 (default_gutter_border_width_changed_in_window): ditto.
1505 (default_gutter_visible_p_changed_in_window): ditto.
1506 (syms_of_gutter): ditto.
1507 (vars_of_gutter): ditto.
1508 (specifier_type_create_gutter): ditto.
1509 (specifier_vars_of_gutter): ditto.
1511 * gutter.h: new file. Contains gutter constants and sizing macros
1512 similar to those for the toolbar.
1514 * winslots.h: add gutter variables.
1516 * window.h: declare window_is_* functions.
1518 * window.c (window_is_lowest): make non-static.
1519 (window_is_highest): ditto.
1520 (window_top_toolbar_height): deleted.
1521 (window_bottom_toolbar_height): deleted.
1522 (window_left_toolbar_width): deleted.
1523 (window_right_toolbar_width): deleted.
1524 (window_top_gutter_height): add gutter sizing.
1525 (window_bottom_gutter_height): ditto.
1526 (window_left_gutter_width): ditto.
1527 (window_right_gutter_width): ditto.
1529 * symsinit.h: declarations for gutters vars etc.
1531 * search.c (bi_find_next_emchar_in_string): new function.
1533 * scrollbar.c (update_scrollbar_instance): remove reference to
1534 window_bottom_toolbar_height which did nothing.
1536 * redisplay.h (struct display_line): add face indices for
1537 overriding defaults in output_display_line.
1538 Add gutter_changed flags and declarations.
1540 * redisplay.c (create_string_text_block): new function, similar to
1541 create_text_block but for strings. Display tables etc are used
1542 from the currently selected window.
1543 (generate_string_display_line): ditto. Similar to
1544 generate_display_line.
1545 (generate_displayable_area): generate display lines for a given
1546 area on a frame. Input is the string, with associated extents, to
1548 (redisplay_frame): add gutter_changed check.
1549 (redisplay_device): ditto.
1550 (redisplay_without_hooks): ditto.
1552 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1553 (x_redraw_exposed_area): redraw exposed gutters.
1554 (x_bevel_area): new redisplay device method.
1555 (x_type_create_redisplay_mswindows): add bevel_area device method.
1556 (x_output_display_block): fiddly Martin-style cleanup.
1557 (x_output_vertical_divider): use bevel_area.
1559 * redisplay-output.c (output_display_line): check display_lines
1560 for face information before using defaults.
1561 (bevel_modeline): new function, calls bevel_area with appropriate
1564 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1565 (mswindows_redraw_exposed_area): redraw exposed gutters.
1566 (mswindows_bevel_area): new redisplay device method.
1567 (console_type_create_redisplay_mswindows): add bevel_area device
1570 * indent.c (string_column_at_point): add column_at_point but for
1573 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1574 instantiate widgets that we have a toolkit for.
1576 * general.c: add Qgutter.
1578 * frame.h (struct frame): add display lines for gutters and
1581 * frame.c (set_frame_selected_window): mark gutters changed.
1583 * emacs.c (main_1): add gutter initialisation.
1585 * device.h (struct device): add gutter_changed flag and macros to
1588 * console.h (struct console_methods): new bevel area redisplay
1591 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1592 REAL_INC_BYTIND is for buffers.
1593 (INC_CHARPTR): ditto.
1595 * Makefile.in.in (objs): add gutter.o
1597 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1599 * XEmacs 21.2.18 is released
1601 1999-07-08 SL Baur <steve@mule.m17n.org>
1603 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1605 (emacs_Xt_handle_magic_event): Ditto.
1606 * redisplay-x.c (x_output_string): Ditto.
1607 (x_output_eol_cursor): Ditto.
1609 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1611 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1612 problem that when XIM is destroyed or missed with some reason,
1613 xemacs will die. Now xim=xlib waits the XIM will be ready and
1614 endures the case of XIM end up.
1616 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1618 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1619 SIGINT and SIGCHLD before calling tt_open and restore the
1620 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1622 1999-07-06 SL Baur <steve@xemacs.org>
1624 * s/linux.h: gcc-2.8 changes for powerpc
1625 From Justin Vallon <vallon@mindspring.com>
1627 1999-07-05 Didier Verna <verna@inf.enst.fr>
1629 * indent.c: new symbol Qcoerce.
1630 (Fmove_to_column): use it + doc string update.
1632 1999-07-04 Andy Piper <andy@xemacs.org>
1634 * console.c: undo earlier Fprovide changes.
1638 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1639 function. validate appropriate image formats for tty.
1641 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1642 initialize consoles parameter.
1643 (struct image_instantiator_methods): add consoles parameter.
1644 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1646 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1649 * glyphs-msw.c: declare instantiators for later use.
1650 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1651 and friends on the mswindows console.
1652 * glyphs-x.c: ditto.
1654 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1655 that have not been registered on the supplied device.
1656 (Fvalid_image_instantiator_format_p): add locale argument.
1657 (instantiate_image_instantiator): valid image instantiator on the
1660 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1663 * emacs.c (main_1): add call to
1664 image_instantiator_format_create_glyphs_tty().
1666 1999-06-29 Olivier Galibert <galibert@pobox.com>
1668 * lisp.h: Add #include <stddef.h>.
1670 * sysdep.c: Remove #include <stddef.h>.
1671 * symbols.c: Remove #include <stddef.h>.
1672 * sheap.c: Remove #include <stddef.h>.
1673 * opaque.c: Remove #include <stddef.h>.
1674 * nt.c: Remove #include <stddef.h>.
1675 * mule-charset.c: Remove #include <stddef.h>.
1676 * marker.c: Remove #include <stddef.h>.
1677 * file-coding.c: Remove #include <stddef.h>.
1678 * extents.c: Remove #include <stddef.h>.
1679 * elhash.c: Remove #include <stddef.h>.
1680 * data.c: Remove #include <stddef.h>.
1681 * chartab.c: Remove #include <stddef.h>.
1682 * bytecode.c: Remove #include <stddef.h>.
1683 * alloc.c: Remove #include <stddef.h>. Fix vector description
1685 1999-06-30 SL Baur <steve@miho.m17n.org>
1687 * editfns.c: Document "%s" format spec.
1688 Suggested by Bob Weiner <weiner@altrasoft.com>
1690 1999-06-29 Andy Piper <andy@xemacs.org>
1692 * event-msw.c: fix definition booboo.
1694 1999-06-28 Andy Piper <andy@xemacs.org>
1696 * glyphs-x.c: change tree -> tree-view, progress ->
1697 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1699 (complex_vars_of_glyphs_x): provide-on-console the implemented
1702 * glyphs-msw.c: ditto.
1703 (complex_vars_of_glyphs_mswindows): ditto.
1705 * lisp.h: add Fprovide_on_console.
1707 * fns.c (Ffeaturep): add extra optional console argument.
1708 (Fprovide_on_console): like Fprovide but provides only on the
1709 specified console-type.
1710 (Frequire): check console-features as well as global features.
1712 * console.c (Fconsole_features): new function. return features for
1714 (syms_of_console): add Fconsole_features.
1716 * console.h (CONMETH_FEATURES): new function for accessing features.
1717 (CONSOLE_FEATURES): ditto.
1718 (struct console_methods): add features slot.
1719 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
1721 1999-06-28 Andy Piper <andy@xemacs.org>
1723 * event-Xt.c (handle_focus_event_1): conditionally compile for
1726 * s/cygwin32.h: fix me website address.
1728 * event-msw.c: add NMHDR for pre b20 cygwin builds.
1730 * gui-x.c (button_item_to_widget_value): only add callback if it
1733 * glyphs-x.c: add progress, edit and combo instantiators.
1734 (x_widget_set_property): new function. uses lwlib to set widget
1736 (x_widget_property): new function. uses lwlib to get widget
1738 (x_button_instantiate): support images in buttons.
1739 (x_button_property): new function. use lwlib to get the selected
1741 (x_progress_instantiate): new function for instantiating progress
1743 (x_progress_set_property): new function. sets the progress gauge
1745 (x_edit_instantiate): new function. for instantiating edit fields.
1746 (x_combo_instantiate): new function. for instantiating combo
1748 (image_instantiator_format_create_glyphs_x): add new device ii
1751 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
1753 * console.h (CONSOLE_FEATURES): new features accesor.
1755 * conslots.h (MARKED_SLOT): add features entry.
1757 1999-06-25 Andy Piper <andy@xemacs.org>
1759 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
1762 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
1764 * gui.h (struct Lisp_Gui_Item): add accelerator.
1766 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
1767 (gui_item_init): ditto.
1768 (gui_add_item_keywords_to_plist): ditto.
1769 (mark_gui_item): ditto.
1770 (gui_item_hash): ditto.
1771 (gui_item_accelerator): new function.
1772 (gui_name_accelerator): new function stolen from gui-x.c
1774 * gui-x.c (popup_selection_callback): always define. mark
1775 subwindows changed after calling a callback.
1776 (menu_name_to_accelerator): deleted.
1777 (button_item_to_widget_value): forward gui_item things to gui_item
1780 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
1781 appropriate accesors.
1783 * glyphs-x.c: declare new glyph formats.
1784 (x_finalize_image_instance): unmanage and destroy widgets if they
1786 (x_unmap_subwindow): handle widgets specially.
1787 (x_map_subwindow): ditto. offset display of widgets by offset of
1788 text widget within container.
1789 (x_update_subwindow): new function. call lw_modify_all_widgets
1790 when we are a widget.
1791 (x_widget_instantiate): new function for generically creating
1792 widgets-glyphs. toolkit specifics forwarded to lwlib.
1793 (x_button_instantiate): new function for instantiating
1794 widgets-glyph buttons.
1795 (console_type_create_glyphs_x): register update_subwindow.
1796 (image_instantiator_format_create_glyphs_x): register widget and
1799 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
1801 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
1802 when we get a button press in case we do not have the focus.
1803 (handle_focus_event_1): set the keyboard focus to the text widget
1804 if we do not have it.
1806 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
1809 1999-06-24 SL Baur <steve@miho.m17n.org>
1811 * syntax.c (scan_words): Restore non-Mule code.
1812 (word_constituent_p): Restore.
1814 1999-06-23 Olivier Galibert <galibert@pobox.com>
1816 * config.h.in: Add missing #undef *_USER_DEFINED.
1818 1999-06-23 SL Baur <steve@miho.m17n.org>
1820 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
1821 int (fixes a 64-bit problem).
1823 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
1826 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
1828 * paths.h.in (PATH_DOC): Made doc-directory configurable.
1830 1999-06-22 Olivier Galibert <galibert@pobox.com>
1832 * lrecord.h: Added basic external description system.
1834 * symbols.c: Added symbol, symbol-value-buffer-local,
1835 symbol-value-lisp-magic and symbol-value-varalias description.
1836 * mule-charset.c: Added charset description.
1837 * marker.c: Added marker description.
1838 * keymap.c: Added keymap description.
1839 * glyphs.c: Added glyph description.
1840 * floatfns.c: Added float description.
1841 * file-coding.c: Added coding-system description.
1842 * extents.c: Added extent description.
1843 * elhash.c: Added hash-table description.
1844 * data.c: Added weak-list desciption.
1845 * chartab.c: Added char-table-entry and char-table description.
1846 * bytecode.c: Added compiled-function description.
1847 * alloc.c: Added cons, vector and string description.
1849 1999-06-22 Olivier Galibert <galibert@pobox.com>
1851 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
1852 Updated everything to the removal of the "flags" substructure.
1854 * lisp.h (subr_lheader_initializer): Updated.
1855 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
1857 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
1859 * syntax.c (word_constituent_p): Deleted.
1860 (scan_words): Use `WORD_BOUNDARY_P'.
1862 * chartab.c (Vword_combining_categories): New variable.
1863 (Vword_separating_categories): Likewise.
1864 (CATEGORYP): New macro.
1865 (CATEGORY_SET): Likewise.
1866 (CATEGORY_MEMBER): Likewise.
1867 (word_boundary_p): New function.
1868 (complex_vars_of_chartab): Set up new variable
1869 `word-combining-categories' and `word-separating-categories'.
1871 1999-06-18 Olivier Galibert <galibert@pobox.com>
1873 * lrecord.h: Added description as a placehold in the lrecord
1874 implementation structures. Added the parameter to all constructor
1877 * alloc.c: Added placeholders.
1879 * bytecode.c: Ditto.
1883 * database.c: Ditto.
1888 * event-stream.c: Ditto.
1892 * file-coding.c: Ditto.
1893 * floatfns.c: Ditto.
1901 * mule-charset.c: Ditto.
1905 * rangetab.c: Ditto.
1906 * specifier.c: Ditto.
1909 * tooltalk.c: Ditto.
1912 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
1914 * XEmacs 21.2.17 is released
1916 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
1918 * config.h.in (HAVE_LDAP_SET_OPTION): New define
1919 (HAVE_LDAP_GET_LDERRNO): Ditto
1920 (HAVE_LDAP_RESULT2ERROR): Ditto
1921 (HAVE_LDAP_PARSE_RESULT): Ditto
1922 (HAVE_UMICH_LDAP): Removed
1923 (HAVE_NS_LDAP): Removed
1925 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
1926 suggested by Olivier Galibert
1927 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
1929 * eldap.c: Take the removal of `livep' into account in all the
1931 (signal_ldap_error): Take two additional parameters
1932 Added new finer compilation conditions in order to use
1933 ldap_parse_result or ldap_result2error if available
1934 (Fldap_open): Conform to this new API
1935 (Fldap_search_internal): Ditto
1937 1999-06-17 SL Baur <steve@miho.m17n.org>
1939 * data.c (struct int_or_double): Should use EMACS_INT not int.
1941 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
1943 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
1946 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1948 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
1949 `CCL_MODE_ENCODING'.
1951 * file-coding.c (mule_decode): Run `ccl_driver' with
1952 `CCL_MODE_DECODING'.
1953 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1955 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
1956 (ccl_driver): Add new argument `conversion_mode'.
1957 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
1958 (Fccl_execute_on_string): Likewise [perhaps it is better to add
1959 new optional argument].
1961 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
1962 (CCL_MODE_DECODING): New macro.
1963 (ccl_driver): Add new argument `conversion_mode'.
1965 1999-06-15 SL Baur <steve@miho.m17n.org>
1967 * mule-charset.c (Fsplit_char): New subr.
1968 (Fchar_octet): delete.
1969 (syms_of_mule_charset): DEFSUBR it.
1971 1999-06-13 Andy Piper <andy@xemacs.org>
1973 * menubar.h: update declarations involving gui_items.
1975 * lisp.h: declare Lisp_Gui_Item.
1977 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
1979 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
1980 (print_image_instance): ditto.
1981 (image_instance_equal): ditto.
1982 (image_instance_hash): ditto.
1984 * event-msw.c (mswindows_need_event): assert badly_p status.
1985 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
1986 callbacks in tree-view and tab-control widgets.
1987 (emacs_mswindows_next_event): modify use of
1988 mswindows_dequeue_dispatch_event.
1990 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
1991 lisp-based gui_items.
1993 * glyphs-msw.c (mswindows_update_subwindow): update use of
1995 (mswindows_register_gui_item): new function.
1996 (mswindows_register_gui_item): fix to use lisp gui_items.
1997 (mswindows_widget_instantiate): ditto.
1998 (mswindows_button_instantiate): ditto.
1999 (add_tree_item): new function to recursively add tree view
2001 (add_tree_item_list): ditto.
2002 (mswindows_tree_instantiate): new function. instantiate tree view
2004 (add_tab_item): new function to add tabs to a tab control.
2005 (mswindows_tab_instantiate): new function. instantiate tab
2007 (image_instantiator_format_create_glyphs_mswindows): add tree view
2009 (vars_of_glyphs_mswindows): ditto.
2011 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
2013 (check_valid_item_list): ditto.
2014 (initialize_widget_image_instance): fix to use new lisp gui_item.
2015 (widget_instantiate_1): allow the setting of default textwidth in
2017 (widget_instantiate): change to use new widget_instantiate_1
2019 (combo_instantiate): ditto.
2020 (static_instantiate): ditto.
2021 (tab_instantiate): new function for tab widgets.
2022 (image_instantiator_format_create_glyphs_widget): add tab and tree
2025 * menubar-msw.c (displayable_menu_item): convert to use lisp
2027 (populate_menu_add_item): ditto.
2028 (populate_or_checksum_helper): ditto.
2030 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
2032 (Fmenu_find_real_submenu): ditto.
2034 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
2036 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
2037 objects, convert functions that use them accordingly.
2038 (gui_item_init): ditto.
2039 (gui_item_active_p): ditto.
2040 (gui_item_selected_p): ditto.
2041 (gui_item_included_p): ditto.
2042 (gui_item_display_flush_left): ditto.
2043 (gui_item_display_flush_right): ditto.
2044 (mark_gui_item): ditto.
2045 (allocate_gui_item): new function to create a gui_item.
2046 (make_gui_item_from_keywords_internal): ditto. create and return a
2047 gui_item as well as setting keywords.
2048 (gui_parse_item_keywords): ditto.
2049 (gui_parse_item_keywords_no_errors): ditto.
2050 (gui_add_item_keywords_to_plist): new function, not yet used.
2051 (gui_item_hash): new function.
2052 (gui_item_id_hash): use gui_item_hash.
2053 (gui_item_equal): new function.
2054 (print_gui_item): new function.
2056 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
2058 * XEmacs 21.2.16 is released
2060 1999-06-10 Andy Piper <andy@xemacs.org>
2062 * select-msw.c (mswindows_own_selection): only set the clipboard
2064 (mswindows_get_foreign_selection): only get the clipboard if
2066 (mswindows_disown_selection): only disown the clipboard if asked.
2068 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2070 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
2072 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
2073 of coding-category `no-conversion'.
2075 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2077 * file-coding.c (Qraw_text): New variable.
2078 (syms_of_mule_coding): Add new symbol `raw-text'.
2079 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
2080 define coding-system `binary' independently; define coding-system
2081 `no-conversion' as an alias for `raw-text'.
2083 * file-coding.h (Qraw_text): New variable.
2085 1999-06-08 SL Baur <steve@xemacs.org>
2087 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2089 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2091 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2093 (base64_decode_1): Signal errors instead of returning -1.
2095 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2097 * mule-charset.c (Fmake_char): Update docstring.
2099 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2101 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2103 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2105 * fns.c (base64_decode_1): Allow and ignore any non-base64
2106 characters in input.
2108 1999-05-27 Olivier Galibert <galibert@pobox.com>
2110 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2111 of report_pure_usage().
2113 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2115 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2117 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2119 * XEmacs 21.2.15 is released
2121 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2123 * frame.c (Fset_mouse_position):
2124 (Fset_mouse_pixel_position):
2125 * window.c (Fsplit_window):
2126 (Fmove_to_window_line):
2127 Fix crash when invoking functions with an already-deleted window
2130 * indent.c (vertical_motion_1):
2132 (Fvertical_motion_pixels):
2133 * window.c (Fwindow_displayed_text_pixel_height):
2134 Fix error message when invoking functions with an already-deleted
2137 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2139 * sysdep.c (request_sigio_on_device): Guard against glibc
2140 2.1's stub streams implementation.
2142 1999-06-03 SL Baur <steve@xemacs.org>
2145 * emacs.c: Implement x.y.z version numbers
2146 From Jan Vroonhof <vroonhof@math.ethz.ch>
2148 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2150 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2151 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2154 1999-06-03 SL Baur <steve@xemacs.org>
2157 * device-x.c: rename session option to wmcommand.
2158 From Oliver Graf <ograf@rhein-zeitung.de>
2160 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2162 * fns.c (Fsubstring): Don't traverse the same region twice with
2163 charcount_to_bytecount().
2165 1999-06-03 SL Baur <steve@steve1.m17n.org>
2167 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2170 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2171 doesn't really work as is implied by the commentary).
2172 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2174 1999-06-02 SL Baur <steve@steve1.m17n.org>
2176 * symsinit.h: Declare vars_of_ntproc.
2177 * emacs.c (main_1): Call it.
2179 * ntproc.c (syms_of_ntproc): Move variable initializations from
2181 (vars_of_ntproc): ... to here [new function].
2183 * file-coding.c (syms_of_file_coding): Rename.
2184 (vars_of_file_coding): Ditto.
2185 (complex_vars_of_file_coding): Ditto.
2187 * symsinit.h: Rename *_mule_coding to *_file_coding.
2189 * emacs.c (main_1): Call them by the proper name.
2191 * device-msw.c (syms_of_device_mswindows): Move variable
2192 initializations from here ...
2193 (vars_of_device_mswindows): ... to here.
2195 * chartab.c (vars_of_chartab): New function.
2197 * symsinit.h: New function, vars_of_chartab.
2199 * emacs.c (main_1): Call it.
2201 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2202 (vars_of_mule_canna): ... to here.
2204 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2205 initializations out of syms_of_mule_ccl.
2207 * symsinit.h: Declare new function vars_of_mule_ccl.
2209 * emacs.c (main_1): Call it.
2211 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2213 * fns.c (base64_decode_1): Ignore whitespace.
2215 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2217 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2220 1999-05-21 Andy Piper <andy@xemacs.org>
2222 * xselect.c: deleted.
2224 * symsinit.h: declare select initialisation.
2226 * select.h: new file. declare commonly used select functions and
2229 * select.c: new file. generalised from xselect.c.
2230 (clean_local_selection_data): moved from xselect.c.
2231 (get_local_selection): ditto. device specific pieces called via a
2233 (handle_selection_clear): ditto.
2234 (Fown_selection_internal): renamed and generalised from
2235 Fx_own_selection_internal. moved from xselect.c.
2236 (Fdisown_selection_internal): ditto.
2237 (Fselection_owner_p): ditto.
2238 (Fselection_exists_p): ditto.
2239 (Fget_selection_internal): ditto.
2240 (syms_of_select): new function. QXXXX values moved from xselect.c
2241 (vars_of_select): new function. selection_converter_alist,
2242 lost_selection_hooks moved and renamed from xselect.c
2244 * select-x.c: renamed from xselect.c.
2245 (x_own_selection): converted to device specific. non-X-specific
2246 bits moved to select.c.
2247 (x_get_foreign_selection): ditto.
2248 (x_disown_selection): ditto.
2249 (x_selection_exists_p): ditto.
2250 (console_type_create_select_x): new function.
2252 * select-msw.c (mswindows_own_selection): new device method to set
2253 the clipboard when we 'own' the selection.
2254 (mswindows_get_foreign_selection): new device method to get the
2256 (mswindows_disown_selection): new device method to delete the
2257 selection when we 'disown' it.
2258 (console_type_create_select_mswindows): new function.
2260 * emacs.c (main_1): add select to things to initialise.
2262 * console.h (struct console_methods): new console methods for
2265 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2267 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2269 * print.c (long_to_string): Install a faster version.
2271 1999-05-16 Andy Piper <andy@xemacs.org>
2273 * ntproc.c (syms_of_ntproc): default
2274 win32-start-process-share-console to t.
2276 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2278 * config.h.in: Do it here.
2280 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2282 1999-05-14 Andy Piper <andy@xemacs.org>
2284 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2287 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2289 * XEmacs 21.2.14 is released
2291 1999-05-12 Andy Piper <andy@xemacs.org>
2293 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2295 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2297 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2298 run_temacs_argv array -- fixes random memory corruption crash
2300 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2302 * window.c (Fcurrent_window_configuration):
2303 Save minibuffer height;
2305 * window.c (set_window_configuration): use it.
2307 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2309 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2311 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2313 * redisplay.c (redisplay_window): Do not put data
2314 in the line start cache if it is not guaranteed to be correct
2316 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2318 * window.c (struct window_config): Removed frame
2320 (window_config_equal): No longer compare frame sizes.
2321 (Fset_window_configuration): Resize old top window to fit in the
2322 current frame directly, no longer use a fake frame resize.
2323 (Fcurrent_window_configuration): No longer save frame size
2325 1999-05-11 Andy Piper <andy@xemacs.org>
2327 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2330 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2332 * sysdep.c (init_system_name): If gethostname gives a proper
2333 domain name, don't look further for one.
2335 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2337 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2338 (Fintern_soft): Accept a symbol argument.
2340 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2342 * symbols.c (Fintern): ...do it here.
2344 * lread.c (read_atom): Don't handle keywords here.
2346 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2348 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2350 1999-05-03 Olivier Galibert <galibert@pobox.com>
2352 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2353 is interned in the main obarray.
2355 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2357 * menubar-x.c (pre_activate_callback): set accelerator field in
2358 "No menu" entries to nil. Avoid crash in
2359 command_builder_operate_menu_accelerator
2361 1999-05-03 Olivier Galibert <galibert@pobox.com>
2363 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2365 * lisp.h (DEFUN): Fix lrecord header initialisation.
2367 1999-05-02 Andy Piper <andy@xemacs.org>
2369 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2371 * ntproc.c (sys_kill): cast using MS mandated defines.
2373 1999-04-29 Andy Piper <andy@xemacs.org>
2375 * m/intel386.h: remove redundant definitions.
2377 * s/mingw32.h: new header for mingw32.
2379 * unexnt.c: (open_input_file): function moved to nt.c.
2380 (close_file_data): ditto.
2381 (rva_to_section): function moved to ntproc.
2383 * symsinit.h: declare syms_of_ntproc();
2385 * objects-msw.c (mswindows_font_instance_truename): new function.
2387 * ntproc.c: remove many warnings.
2388 (_sys_read_ahead): moved from nt.c and made static.
2389 (rva_to_section): moved from unexnt.c but not defined under
2391 (win32_executable_type): implement what we can for mingw32
2393 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2395 * ntheap.h: remove declarations of functions that are now static.
2397 * ntheap.c: support static heap.
2399 * nt.h: conditionalise X_OK definition.
2401 * nt.c: eliminate many warnings and support mingw32.
2402 (open_input_file): function moved from unexnt.c and made static
2403 (close_file_data): ditto.
2404 (_sys_read_ahead): moved to ntproc.c
2406 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2408 * console-msw.h: support mingw32.
2409 * getloadavg.c: ditto.
2416 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2417 some systems don't have all of the encapsulated system calls.
2419 * callproc.c: warning elimination.
2420 * dired-msw.c: ditto.
2421 * process-nt.c: ditto.
2422 * realpath.c: ditto.
2424 * Makefile.in.in: tweak : and ; for building under mswindows.
2426 1999-04-26 Michael Harnois <mharnois@willinet.net>
2428 * eldap.c (allocate_ldap): Adapt to the new semantics of
2429 alloc_lcrecord_type().
2431 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2433 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2435 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2437 * Delete mule-coding.c and mule-coding.h because they are not
2440 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2442 * objects.c (print_font_instance): Check for NILP(f->device),
2443 i.e. Vthe_null_font_instance.
2444 (font_instance_truename_internal): ditto.
2445 (Ffont_instance_properties): ditto.
2447 1999-04-22 Olivier Galibert <galibert@pobox.com>
2449 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2452 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2454 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2455 it easier to add new ones.
2457 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2459 * symbols.c (reject_constant_symbols): Ditto.
2460 (init_symbols_once_early): Ditto.
2462 * print.c (print_symbol): Don't use ->obarray.
2464 * symbols.c (Funintern): Ditto.
2466 * alloc.c (Fmake_symbol): Don't set ->obarray.
2468 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2470 * symbols.c (init_symbols_once_early): Removed
2471 Vpure_uninterned_symbol_table.
2472 (Fintern): Don't store to ->obarray field.
2474 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2476 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2477 (eq_with_ebola_notice): Remove abracadabra support.
2479 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2481 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2482 retrieve the distinguished names of entries
2484 1999-03-08 Martin Buchholz <martin@xemacs.org>
2486 * lread.c (read_escape): Make hex escapes read only two hex digits.
2488 1999-04-05 Olivier Galibert <galibert@pobox.com>
2490 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2491 * make-src-depend: Remove puresize-adjust.h.
2492 * src-headers: Remove puresize-adjust.h.
2493 * config.h.in: Kill everything purespace/gung-ho related.
2495 * dbxrc: Make gung-ho mandatory.
2498 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2499 c_readonly and lisp_readonly. Remove implementation arrays.
2500 (C_READONLY_RECORD_HEADER_P): Added.
2501 (LISP_READONLY_RECORD_HEADER_P): Added.
2502 (SET_C_READONLY_RECORD_HEADER): Added.
2503 (SET_LISP_READONLY_RECORD_HEADER): Added.
2505 * lisp.h: Kill everything purespace/non gung-ho related.
2506 (CHECK_C_WRITEABLE): Added.
2507 (CHECK_LISP_WRITEABLE): Added.
2508 (C_READONLY): Added.
2509 (LISP_READONLY): Added.
2511 * lisp-union.h: Make gung-ho mandatory.
2512 * lisp-disunion.h: Ditto.
2514 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2515 set_lheader_implementation calls.
2516 (c_readonly): Added.
2517 (lisp_readonly): Added.
2518 (make_string_nocopy): Added.
2519 (Fpurecopy): Changed to do nothing. Kept the old documentation
2520 for reference purposes for the next patches.
2521 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2522 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2523 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2525 * fns.c: Make gung-ho mandatory.
2526 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2528 (Ffillarray): Ditto.
2530 * data.c: Make gung-ho mandatory.
2531 (pure_write_error): Removed.
2532 (c_write_error): Added.
2533 (lisp_write_error): Added.
2534 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2538 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2539 make_string or make_string_nocopy. Fix various
2540 alloc_lcrecord_type.
2542 * lread.c: Remove everything purespace related.
2543 (Flocate_file_clear_hashing): purified -> c_readonly.
2544 (locate_file): Ditto.
2545 (read_atom): make_pure_pname -> make_string.
2547 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2549 (Fdump_emacs): Ditto.
2551 * print.c (print_internal): Make gung-ho mandatory.
2552 * ntheap.c (sbrk): Ditto.
2553 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2554 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2556 * sheap.c (more_static_core): Remove puresize-adjust.h from
2559 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2561 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2562 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2563 * events.c (deinitialize_event): Fix set_lheader_implementation.
2564 (zero_event): Ditto.
2565 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2566 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2567 * mule-charset.c (make_charset): Ditto.
2568 * console.c (allocate_console): Ditto.
2569 (complex_vars_of_console): Ditto.
2570 * file-coding.c (allocate_coding_system): Ditto.
2571 * device.c (allocate_device): Ditto
2572 * gui-x.c (gcpro_popup_callbacks): Ditto.
2573 * extents.c (allocate_extent_auxiliary): Ditto.
2574 (allocate_extent_info): Ditto.
2575 (copy_extent): Ditto.
2576 * glyphs.c (allocate_image_instance): Ditto.
2577 (allocate_glyph): Ditto.
2578 * frame.c (allocate_frame_core): Ditto.
2579 * database.c (allocate_database): Ditto.
2580 * tooltalk.c (make_tooltalk_message): Ditto.
2581 (make_tooltalk_pattern): Ditto.
2582 * rangetab.c (Fmake_range_table): Ditto.
2583 (Fcopy_range_table): Ditto.
2584 * process.c (make_process_internal): Ditto.
2585 * chartab.c (Fmake_char_table): Ditto.
2586 (make_char_table_entry): Ditto.
2587 (copy_char_table_entry): Ditto.
2588 (Fcopy_char_table): Ditto.
2589 * elhash.c (make_general_lisp_hash_table): Ditto.
2590 (Fcopy_hash_table): Ditto.
2591 * buffer.c (allocate_buffer): Ditto.
2592 (complex_vars_of_buffer): Ditto.
2593 * event-stream.c (allocate_command_builder): Ditto.
2594 * objects.c (Fmake_color_instance): Ditto.
2595 (Fmake_font_instance): Ditto.
2596 (vars_of_objects): Ditto.
2597 * toolbar.c (update_toolbar_button): Ditto.
2598 * window.c (allocate_window): Ditto.
2599 (make_dummy_parent): Ditto.
2600 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2601 (vars_of_window): Fix make_lcrecord_list.
2602 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2604 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2605 * opaque.c (make_opaque): Fix alloc_lrecord.
2606 (make_opaque_list): Fix alloc_lrecord_type.
2608 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2610 * process.c (Fstart_process_internal): Ditto.
2612 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2615 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2617 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2620 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2621 (emodules_load): Use it when calling locate_file().
2623 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2626 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2627 (vars_of_callproc): Initialize it.
2628 (Fcall_process_internal): Use it when calling locate_file().
2630 * alloc.c (disksave_object_finalization): Use
2631 Flocate_file_clear_hashing().
2633 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2634 given `t' as argument.
2636 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2638 * lread.c (locate_file): Expand `pathel' when appropriate.
2639 (Flocate_file_clear_hashing): Expand path elements.
2640 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2642 * dired.c (make_directory_hash_table): Create the hash-table only
2643 if the directory open is successful.
2645 * lread.c (decode_mode_1): New function.
2646 (decode_mode): Ditto.
2647 (Flocate_file): Use them.
2648 (Flocate_file): Expand FILENAME.
2649 (locate_file_map_suffixes): New function.
2650 (locate_file_in_directory_mapper): New function.
2651 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2652 and locate_file_map_suffixes().
2653 (locate_file_construct_suffixed_files): Use
2654 locate_file_map_suffixes().
2655 (locate_file_without_hash): Don't GCPRO path.
2656 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2657 (syms_of_lread): Remove Qlocate_file_hash_table.
2658 (locate_file_find_directory_hash_table): Use
2659 Vlocate_file_hash_table.
2660 (locate_file_refresh_hashing): Ditto.
2662 * lread.c: Renamed read_objects to Vread_objects.
2664 1999-04-16 Olivier Galibert <galibert@pobox.com>
2666 * mule-charset.c: Generally resync with fsf 20.3 charset
2668 (make_charset): Add long and short name. Use id instead of
2670 (Fmake_charset): Ditto.
2671 (Fmake_reverse_direction_charset): Ditto.
2672 (Fcharset_property): Ditto.
2673 (Fcharset_short_name): Added.
2674 (Fcharset_long_name): Added.
2675 (Fcharset_description): Renamed from charset-doc-string.
2676 (syms_of_mule_charset): Synced symbols.
2677 (complex_vars_of_mule_charset): Synced charsets.
2679 * mule-charset.h: Removed leading byte (uses id instead), added
2680 short and long name.
2682 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2684 * file-coding.c (Fdefine_coding_system_alias): New function.
2686 1999-04-08 Olivier Galibert <galibert@pobox.com>
2688 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2689 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2691 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2693 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2694 attach to the extent is valid.
2696 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2698 * dired.c (user_name_completion): Mule-ize.
2699 (user_name_completion): Use xmalloc/xrealloc/xfree.
2700 (user_name_completion): Use DO_REALLOC.
2701 (user_name_completion): Cut down the number of static variables;
2703 (user_name_completion): Username completion is always
2706 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
2708 * fns.c (base64_decode_1): Remove COUNTER.
2709 (base64_decode_1): Accept CRLF in addition to CR.
2710 (base64_decode_1): Disallow a stray character after final EOF; the
2711 check was probably a remnant of buggy recode code.
2713 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
2715 * fns.c (init_provide_once): Provide `base64'.
2717 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
2719 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
2720 (Fbase64_encode_region): If buffer is read-only, bail out early.
2721 (Fbase64_decode_region): Ditto.
2722 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
2724 (Fbase64_encode_string): Ditto.
2725 (Fbase64_decode_region): Ditto.
2726 (Fbase64_decode_string): Ditto.
2728 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
2730 * dired.c (Fdirectory_files): Remove redundant code.
2732 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2734 * frame-msw.c Make raise-frame restore minimised windows.
2736 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2738 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
2741 1999-03-05 Philip Aston <philipa@parallax.co.uk>
2743 * toolbar-msw.c Consider captions when deciding whether to rebuild
2744 toolbar. This fixes the initial toolbar display for those of us
2745 who don't like captions. These patches applied by Andy Piper.
2747 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
2749 * XEmacs 21.2.13 is released
2751 1999-03-12 SL Baur <steve@xemacs.org>
2753 * file-coding.c: Guard ucs table initialization with ifdef MULE.
2755 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
2757 * file-coding.c: docstring and comment improvements.
2758 (decode_ucs4) flag possible data loss with comment.
2760 1999-03-10 Martin Buchholz <martin@xemacs.org>
2762 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
2766 (decode_coding_ucs4):
2767 (encode_coding_ucs4):
2768 (detect_coding_utf8):
2769 (decode_coding_utf8):
2771 (encode_coding_utf8):
2772 Add CHECK_* macros where needed to avoid crashes.
2773 #ifdef out all composite character support using
2774 #ifdef ENABLE_COMPOSITE_CHARS
2775 Use normal XEmacs coding standards.
2777 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
2779 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2781 * file-coding.c (make-coding-system): Add description about
2782 `ucs-4' and `utf-8'.
2783 (detection_state): Modify to implement ucs-4 and utf-8.
2784 (detect_coding_type): Likewise.
2785 (detect_coding_ucs4): New implementation.
2786 (detect_coding_utf8): New implementation.
2787 (encode_utf8): fixed.
2788 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
2791 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2793 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
2794 2022 registry to private area.
2796 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2798 * file-coding.c (encode_utf8): New function.
2799 (encode_coding_utf8): New implementation.
2801 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2803 * file-coding.c (ucs_to_mule_table): New variable; abolish
2804 `Vucs_to_mule_table'
2805 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
2806 (set-ucs-char): New function.
2807 (ucs_to_char): New function.
2808 (ucs-char): New function.
2809 (set-char-ucs): New function.
2810 (char-ucs): New function.
2811 (decode_ucs4): Use `ucs_to_char'.
2812 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
2813 `mule-to-ucs-table'.
2815 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2817 * chartab.h: EXFUN `Fget_char_table'.
2819 * file-coding.c (encode_ucs4): New function.
2820 (encode_coding_ucs4): Use `encode_ucs4'.
2822 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2824 * file-coding.c (decode_coding_ucs4): New implementation.
2826 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2828 * file-coding.c (decode_coding_ucs4): fixed.
2830 * file-coding.c (Vmule_to_ucs_table): New variable.
2831 (mule_char_to_ucs4): New function.
2832 (encode_coding_ucs4): New implementation.
2833 (complex_vars_of_mule_coding): Define variable
2834 `mule-to-ucs-table'.
2836 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2838 * file-coding.c (decode_coding_utf8): New implementation.
2840 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2842 * file-coding.c (decode_coding_utf8): fixed.
2844 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2846 * file-coding.c (Vucs_to_mule_table): New variable.
2847 (decode_ucs4): Refer `Vucs_to_mule_table'.
2848 (complex_vars_of_mule_coding): Define variable
2849 `ucs-to-mule-table'.
2851 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2853 * file-coding.c (detect_coding_ucs4): New function (not
2855 (decode_coding_ucs4): New function.
2856 (encode_coding_ucs4): New function (not implemented yet).
2857 (detect_coding_utf8): New function (not implemented yet).
2858 (decode_coding_utf8): New function.
2859 (encode_coding_utf8): New function (not implemented yet).
2860 (make-coding-system): New type `ucs4' and `utf8'.
2861 (coding-system-type): Likewise.
2862 (detection_state): Add `ucs4' and `utf8'.
2863 (detect_coding_type): Likewise.
2864 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
2865 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
2866 (decode_ucs4): New function (very incomplete).
2867 (syms_of_mule_coding): Add `ucs4' and `utf8'.
2869 * file-coding.h: Add definitions for UCS-4 and UTF-8.
2871 1999-03-08 Martin Buchholz <martin@xemacs.org>
2874 (non_ascii_valid_char_p):
2875 (lookup_composite_char):
2876 (composite_char_string):
2877 (make-composite-char):
2878 (composite-char-string):
2879 (syms_of_mule_charset):
2880 (complex_vars_of_mule_charset):
2881 * mule-charset.h (LEADING_BYTE_COMPOSITE):
2882 (CHAR_LEADING_BYTE):
2884 * file-coding.h (CODING_STATE_COMPOSITE):
2885 (CODING_STATE_ISO2022_LOCK):
2887 (LEADING_BYTE_COMPOSITE):
2888 * file-coding.c (struct iso2022_decoder):
2891 (parse_iso2022_esc):
2892 (encode_coding_iso2022):
2893 #ifdef out all composite character support using
2894 #ifdef ENABLE_COMPOSITE_CHARS
2896 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
2898 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
2900 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
2901 way of `Fbase64_encode_region'.
2903 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
2905 * fns.c (base64_encode_1): Don't add a newline at the tail.
2907 1999-03-08 Andy Piper <andy@xemacs.org>
2909 * menubar-msw.c (displayable_menu_item): correct off-by-one &
2912 1999-03-07 Martin Buchholz <martin@xemacs.org>
2914 * console-stream.h (struct stream_console):
2915 * event-unixoid.c (event_stream_unixoid_select_console):
2916 (event_stream_unixoid_unselect_console):
2917 * print.c (Fexternal_debugging_output):
2918 * sysdep.c (reset_one_device):
2919 * console-stream.c (stream_init_console):
2920 (stream_delete_console):
2921 (allocate_stream_console_struct): move into stream_init_console.
2922 (free_stream_console_struct): move into stream_delete_console.
2923 Use `fd' only for file descriptors.
2924 Therefore, rename members of struct stream_console.
2926 * systime.h: Unix98 says sys/time.h should define select(), but
2927 some systems define that in unistd.h. So include that file always.
2929 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
2930 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
2931 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
2933 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
2937 Add #include <stdio.h>.
2938 Some versions of assert.h use printf() without #include'ing stdio.h
2940 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
2941 (log_gcpro): Remove unused variable FRAME.
2942 (show_gcprohist): Ansify.
2943 Comment the #endif's
2945 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
2946 after it's just been XtDestroy'ed!
2948 1999-02-18 Martin Buchholz <martin@xemacs.org>
2950 * opaque.c (print_opaque):
2954 Egcs 1.1.1 seems to have a bug where
2955 INTP (p->size_or_chain)
2956 will crash XEmacs. Fix by introducing intermediate variable.
2958 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
2960 * dired.c (Fdirectory_files):
2961 (Ffile_name_completion):
2962 (Ffile_name_all_completions):
2963 (file_name_completion):
2964 - Use `directory' instead of `dirname' to sync with FSF Emacs and
2965 avoid compiler warnings.
2966 - Fix up docstrings so that C variables match documentation.
2968 1999-03-05 Martin Buchholz <martin@xemacs.org>
2970 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
2971 variables as small as possible to help out the compiler and the maintainer.
2973 * alloc.c: (disksave_object_finalization):
2974 Set all the *-load-path variables to
2975 nil, not just load-path itself. This gets the locate-file hash
2976 tables garbage collected BEFORE dump, and has the side effect of
2977 preventing crashes on OSF4.0+egcs.
2982 - Clean up gdb/dbx debugging support.
2983 - Storing an EMACS_INT in an enum is not 64-bit clean!
2984 - So change the enum to a set of separate variables.
2985 - Add test cases to help debug the debugging support!
2986 - Add `lisp-shadows' and `run-temacs' targets for dbx.
2987 - Both dbx and gdb have been tested now.
2989 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
2991 * XEmacs 21.2.12 is released
2993 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
2995 * device-x.c: Support to find best visual without flashing.
2997 1999-03-02 Paul Keusemann <pkeusem@visi.com>
2999 * database.c (berkdb_map): Add flags argument to cursor call (must
3000 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
3002 1999-03-03 Martin Buchholz <martin@xemacs.org>
3006 General cleanup. Get free-hook.c working again.
3007 Remove unused functions:
3008 make_strings_hash_table, copy_hash, expand_hash_table.
3012 Always use new ANSI-style function prototypes.
3014 * unexalpha.c (unexec): Never use implicit int.
3016 * sgiplay.c (close_sound_file):
3018 (restore_audio_port):
3023 (write_mulaw_8_chunk):
3024 (write_linear_chunk):
3025 (write_linear_32_chunk):
3026 (initialize_audio_port):
3029 (set_output_format):
3030 (adjust_audio_volume):
3031 (get_current_volumes):
3033 Always use new ANSI-style function prototypes.
3034 Use unistd.h for missing prototypes.
3036 * unexelfsgi.c (round_up):
3038 (unexec): Always use new ANSI-style function prototypes
3040 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
3042 * console.h (struct console_methods): Always use full ANSI prototypes
3044 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
3046 1999-03-02 Andy Piper <andy@xemacs.org>
3048 * event-stream.c (init_event_stream): make sure native mswindows
3049 gets an appropriate event loop.
3051 1999-02-22 Andy Piper <andy@xemacs.org>
3053 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
3054 than SW_SHOWNORMAL to prevent resizing of maximised frames.
3055 (mswindows_raise_frame): remove comment.
3057 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
3059 * XEmacs 21.2.11 is released
3061 1999-02-25 SL Baur <steve@xemacs.org>
3063 * mule-charset.c (Qleading_byte): New variable to implement
3064 charset-leading-byte function.
3065 (Fcharset_property): Use it.
3066 (syms_of_mule_charset): Initialize it.
3067 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3069 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
3071 * glyphs-x.c (cononvert_EImage_to_XImage): correct
3072 bytes per pixel counting.
3074 1999-02-15 Andy Piper <andy@xemacs.org>
3076 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
3079 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3081 * fns.c (Fbase64_encode_string): New optional argument
3084 1999-02-16 Martin Buchholz <martin@xemacs.org>
3086 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3087 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3089 1999-02-10 Martin Buchholz <martin@xemacs.org>
3091 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3092 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3094 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3096 * XEmacs 21.2.10 is released
3098 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3100 * process-nt.c (nt_send_process):
3101 Fix for process-send-region/process-send-string breaking when size
3102 of the input > 128 chars: change maximum chunk size for process
3103 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3106 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3108 * XEmacs 21.2.9 is released
3110 1999-01-30 Martin Buchholz <martin@xemacs.org>
3112 * bytecode.c (funcall_compiled_function): Call
3113 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3115 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3116 #ifdef 0 out unused macro.
3118 1999-01-27 Martin Buchholz <martin@xemacs.org>
3120 * gui.c (gui_parse_item_keywords_internal): Make static.
3122 1999-01-21 Andy Piper <andy@xemacs.org>
3124 * glyphs-msw.c: add xface support.
3125 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3126 (image_instantiator_format_create_glyphs_mswindows): do device
3127 specific initialisation for xfaces.
3128 (xbm_create_bitmap_from_data): line data must be padded to a word
3131 * glyphs-x.c (xface_validate): moved to glyphs.c
3132 (xface_normalize): ditto.
3133 (xface_possible_dest_types): ditto.
3134 (image_instantiator_format_create_glyphs_x): do device specific
3135 initialisation for xfaces.
3137 * glyphs.h: declare xface symbol.
3139 * glyphs.c: move generic xface support here.
3140 (xface_validate): moved from glyphs-x.c
3141 (xface_normalize): ditto.
3142 (xface_possible_dest_types): ditto.
3143 (image_instantiator_format_create): xface declarations moved from
3146 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3148 * event-stream.c (vars_of_event_stream): Fixing documentation.
3150 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3152 * glyphs-eimage.c (gif_instantiate): Correct handling of
3153 interlaced gifs to avoid writing past the end of the eimage
3156 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3158 * search.c (Freplace_match): Handle single backslash at end of
3161 1999-01-12 William M. Perry <wmperry@aventail.com>
3163 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3164 avoid connection errors.
3166 1999-01-12 Andy Piper <andy@xemacs.org>
3168 * redisplay-output.c (redisplay_update_line): backout change that
3169 shouldn't have gone ine.
3171 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3173 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3174 collide with ldap.el
3176 1999-01-11 Andy Piper <andy@xemacs.org>
3178 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3179 (DISPLAY_LINE_YPOS): new macro.
3181 * redisplay-msw.c (mswindows_output_string): use it.
3182 (mswindows_output_pixmap): ditto.
3183 (mswindows_output_display_block): ditto.
3185 * redisplay-output.c (redisplay_output_display_block): new
3186 function. just call the devmeth, maybe insert some generic code
3188 (compare_display_blocks): use it.
3189 (output_display_line): ditto.
3190 (redisplay_unmap_subwindows_maybe): new function. potentially
3191 unmap subwindows in the given area.
3193 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3196 1999-01-10 J. Kean Johnston <jkj@sco.com>
3198 * Makefile.in.in: Set value of moduledir
3199 - Changed DUMPENV to include $(MODULEPATH)
3200 - Added install rule to install header files for use by ellcc.
3202 * config.h.in: Added INHIBIT_SITE_MODULES
3203 - Added HAVE__DLERROR
3204 - Added HAVE_DLFCN_H
3205 - Added DLSYM_NEEDS_UNDERSCORE
3209 * emodules.c: New file containing dynamic loading code.
3211 * emodules.h: New file.
3213 * emacs.c: Added variables Vmodule_directory,
3214 Vsite_module_directory, Vconfigure_module_directory and
3215 Vconfigure_site_module_directory.
3216 - (main_1): Added new variable inhibit_site_modules and command
3217 line options `-no-site-modules' and `--no-site-modules'.
3218 - (main_1): Call syms_of_module() instead of syms_of_dll().
3219 - (main_1): Call vars_of_module().
3220 - (vars_of_emacs): Introduce inhibit-site-modules,
3221 module-directory, configure-module-directory,
3222 site-module-directory, and configure-site-module-directory to the
3225 * lisp.h: Declare load_module and list_modules, as well as
3226 Vmodule_directory, Vsite_module_directory,
3227 Vconfigure_module_directory and Vconfigure_site_module_directory.
3229 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3230 - Added correct support for site-lisp directory.
3232 * symbols.c (defsubr): Modified to allow modules to add new subrs
3234 - (defsubr_macro): Same.
3235 - (defvar_magick): Only use purespace when not initialized, so
3236 that loaded modules can still add symbols.
3238 * symsinit.h: Add definitions for syms_of_module(),
3239 vars_of_module(). Removed syms_of_dll().
3241 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3242 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3243 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3245 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3246 explicitly pass -belf for native cc.
3248 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3249 hard-coding the library name.
3251 1999-01-01 <martin@xemacs.org>
3253 * device-x.c (Fx_set_font_path):
3254 Add proper cast to permit compilation under C++.
3256 * buffer.c (directory_is_current_directory):
3257 Add proper casts to permit compilation under C++.
3259 1998-12-30 Damon Lipparelli <lipp@primus.com>
3261 * event-msw.c (mswindows_wnd_proc):
3262 Fixed failure when building with MSVC 5.
3264 1998-12-29 Martin Buchholz <martin@xemacs.org>
3266 * file-coding.c (decode_coding_iso2022):
3267 - Prevent crash when decoding ISO7/Lock detected files
3268 - the usual martin fiddling
3270 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3274 Fixed failures when building with MSVC.
3275 * unexnt.c (dump_bss_and_heap):
3276 Removed compiler warning by removing bss_data variable.
3278 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3280 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3281 so that packages that distribute their own fonts can access them.
3283 1998-12-28 Andy Piper <andy@xemacs.org>
3285 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3286 that have an image provided.
3288 * glyphs.h: add Q_image decl.
3290 * glyphs-widget.c new functionality allowing images in
3292 (check_valid_glyph_or_image): new function to validate
3293 glyphs passed in through :image.
3294 (widget_normalize): new function. convert :image parameters into
3295 real glyphs if not already so.
3296 (widget_instantiate_1): mess with size parameters to be similar to
3298 (syms_of_glyphs_widget): new keyword :image.
3299 (image_instantiator_format_create_glyphs_widget): normalize
3300 buttons and allow :image.
3302 1998-12-27 Andy Piper <andy@xemacs.org>
3304 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3306 * glyphs-widget.c (check_valid_anything): no-op function.
3307 (check_valid_callback): check callbacks in gui_items.
3308 (check_valid_symbol): as it sounds.
3309 (check_valid_string_or_vector): ditto.
3310 (widget_validate): modified for descriptors that are vectors or
3311 sequences of keyword/val pairs.
3312 (widget_instantiate_1): ditto.
3313 (image_instantiator_format_create_glyphs_widget): allow gui_item
3314 keywords in the instantiator.
3316 * gui.c (gui_parse_item_keywords_internal): renamed from
3317 gui_parse_item_keywords but taking error behaviour.
3318 (gui_parse_item_keywords): use it.
3319 (gui_parse_item_keywords_no_errors): ditto.
3320 (gui_item_add_keyval_pair): add Error_behavior flag and only
3321 signal invalid keywords if required.
3323 * gui.h: new gui signatures.
3325 * menubar.c (menu_parse_submenu_keywords): use new
3326 gui_item_add_keyval_pair signature.
3328 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3330 1998-12-28 Martin Buchholz <martin@xemacs.org>
3332 * XEmacs 21.2.8 is released.
3334 1998-12-28 Martin Buchholz <martin@xemacs.org>
3336 * editfns.c (get_home_directory):
3337 (user-home-directory): Simplify.
3340 * callproc.c (child_setup):
3341 - Environment variables were being passed to inferior processes
3342 using internal encoding.
3343 - Convert to external encoding.
3344 - Rename local var `tem' to better name `tail'.
3345 - Use Flength instead of `manual' calculation.
3347 * buffer.c (kill-buffer):
3349 (set-buffer-major-mode):
3351 - Fix up parameter names to correspond to docstrings.
3352 - Don't use `bufname' when a buffer will do as well.
3353 - Remove one unneeded GCPRO.
3355 * buffer.h (initial_directory):
3356 * buffer.c (init_initial_directory):
3357 - use correct conversions between internal and external format.
3358 (directory_is_current_directory): new function
3359 (init_buffer): convert initial_directory to internal format.
3360 - solve crashes when current working directory is non-ASCII.
3362 * alloc.c (xmalloc):
3365 - remove stupid casts, since XEmacs requires an ANSI C system.
3366 (lrecord_type_index): replace abort() with more readable assert().
3368 (reset_lcrecord_stats): remove.
3369 (sweep_lcrecords_1):
3370 - replace call to reset_lcrecord_stats() with call to xzero().
3372 1998-12-27 Martin Buchholz <martin@xemacs.org>
3374 * process-unix.c (unix_create_process):
3375 - Fix crash invoking program with non-ASCII name.
3376 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3377 - Remove unused variable `env'.
3378 - Rename `temp' to better name `save_errno'.
3379 - Reorganize code for clarity. But still too chicken to nuke the
3382 1998-12-24 Martin Buchholz <martin@xemacs.org>
3384 * XEmacs 21.2.7 is released.
3386 1998-12-23 Martin Buchholz <martin@xemacs.org>
3388 * glyphs.c (decode_device_ii_format):
3390 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3392 * glyphs-x.c (x_subwindow_instantiate):
3393 - A image instance mask was being assigned to a image instance type!
3394 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3396 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3398 * glyphs-x.h: Make indentation consistent.
3400 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3402 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3404 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3408 Move declarations of decode_device_ii_format and
3409 decode_image_instantiator_format into glyphs.h where they belong.
3411 1998-12-22 Martin Buchholz <martin@xemacs.org>
3413 * frame-x.c (x_delete_frame): Revert part of my changes at the
3414 suggestion of Gunnar Evermann - unfortunately no one really
3415 understands this code.
3417 * callproc.c (init_callproc): code cleanup.
3419 * free-hook.c (malloc):
3424 (block_input_malloc):
3425 (block_input_realloc):
3426 * device-x.c (x_delete_device):
3427 * emacs.c (voodoo_free_hook):
3428 * events.c (print_event):
3430 (CHECK_EVENT_TYPE2):
3431 (CHECK_EVENT_TYPE3):
3432 Use proper prototypes.
3433 Make C_E_T macros a little faster.
3434 Pedantic fiddly little changes. You really don't care.
3436 1998-12-22 Andy Piper <andy@xemacs.org>
3438 * redisplay-output.c (redisplay_clear_region): make sure that
3439 fg/bg colors get set even when we are in the border area.
3441 1998-12-13 Martin Buchholz <martin@xemacs.org>
3443 * console-msw.c: Function definitions follow coding standards
3444 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3446 1998-12-11 Martin Buchholz <martin@xemacs.org>
3448 * events.h (struct timeout_data):
3449 * event-tty.c (tty_timeout_to_emacs_event):
3450 * event-msw.c (mswindows_wm_timer_callback):
3451 * event-Xt.c (Xt_timeout_to_emacs_event):
3452 * event-msw.c (mswindows_cancel_dispatch_event):
3453 Make sure Lisp_Objects inside events are initialized to Qnil, not
3454 Qnull_pointer, which is now illegal.
3456 1998-12-10 Martin Buchholz <martin@xemacs.org>
3458 * lisp.h: Fix up prototypes to match alloc.c
3460 1998-12-08 Martin Buchholz <martin@xemacs.org>
3462 * windowsnt.h: Remove `support' for using index and rindex
3464 * filelock.c (current_lock_owner):
3465 - Change uses of index -> strchr, rindex -> strrchr
3467 1998-12-07 Martin Buchholz <martin@xemacs.org>
3469 * sysdep.c (set_descriptor_non_blocking):
3470 Since O_NONBLOCK is now always #defined, make use of fcntl
3471 conditional on F_SETFL being defined.
3473 * console-msw.c (DHEADgER):
3482 - max_align_t should not be visible to the user of the
3484 - use Bufbyte instead of char
3485 - parens around (FOOP (obj)) are always redundant.
3486 If they were necessary, we should fix the macro instead.
3487 - Always use string_data(foo) instead of foo->data.
3490 1998-12-06 Martin Buchholz <martin@xemacs.org>
3492 * frame-msw.c (mswindows_init_frame_1):
3493 - use make_lisp_hash_table, not Fmake_hash_table
3497 * alloc.c (make_vector): remove travesty
3501 (make_bit_vector_internal):
3503 (make_bit_vector_from_byte_vector):
3505 - make vector_equal a little faster.
3506 - Don't use variable name `new'.
3507 - Use size_t instead of EMACS_INT.
3508 - usual Martin-style pointless bit-twiddling.
3514 Make mapcar faster. In particular, make
3515 (mapc #'identity long-string)
3516 MUCH faster under Mule.
3517 * tests/automated/lisp-tests.el: Test 'em!
3519 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3522 1998-12-01 Martin Buchholz <martin@xemacs.org>
3524 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3525 Qnil, not NULL, to initialize `null' Lisp_Objects.
3527 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3529 * specifier.c (display_table_validate): Update.
3531 * redisplay.c (create_text_block): Use them.
3533 * glyphs.c (display_table_entry): New function.
3534 (get_display_tables): Ditto.
3536 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3538 * eldap.c (toplevel): Mention that eldap.c compiles with
3540 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3541 (Fldap_search_internal): Ditto
3543 1998-12-11 Martin Buchholz <martin@xemacs.org>
3545 * event-msw.c (mswindows_cancel_dispatch_event):
3546 Gratuitous code prettification
3549 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3551 * fns.c (Fnconc): Fix use of wrong_type_argument().
3553 * floatfns.c (Ffloat): Fix docstring.
3554 (Ffloat): Fix use of wrong_type_argument().
3556 (extract_float): Ditto.
3561 1998-12-06 Martin Buchholz <martin@xemacs.org>
3563 * frame-msw.c (mswindows_init_frame_1):
3564 - use make_lisp_hash_table, not Fmake_hash_table
3568 * alloc.c (make_vector): remove travesty
3572 (make_bit_vector_internal):
3574 (make_bit_vector_from_byte_vector):
3576 - make vector_equal a little faster.
3577 - Don't use variable name `new'.
3578 - Use size_t instead of EMACS_INT.
3579 - usual Martin-style pointless bit-twiddling.
3585 Make mapcar faster. In particular, make
3586 (mapc #'identity long-string)
3587 MUCH faster under Mule.
3588 * tests/automated/lisp-tests.el: Test 'em!
3590 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3593 1998-12-02 Didier Verna <verna@inf.enst.fr>
3595 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3596 accelerator field to nil for labels.
3598 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3600 * menubar-msw.c (displayable_menu_item):
3601 Escape occurrences of '&' and support occurrences of the
3602 '%_' accelerator indicator in menus.
3604 1998-11-26 Didier Verna <verna@inf.enst.fr>
3606 * dired.c (Fdirectory_files): use make_string instead of
3607 make_ext_string on the filename. The conversion external->internal
3608 format is already done in sys_readdir.
3610 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3612 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3614 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3617 (Belatedly) added Kirill to list of file's authors.
3618 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3619 quit checking. WM_PAINT messages cause redisplay, but
3620 windows' states are not necessarily stable when this function
3623 1998-12-17 Andy Piper <andy@xemacs.org>
3625 * strftime.c (zone_name): CONSTify.
3627 1998-12-15 Andy Piper <andy@xemacs.org>
3629 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3630 (mswindows_widget_property): return Qunbound when no property available.
3631 (mswindows_button_property): ditto.
3632 (mswindows_combo_property): ditto.
3633 (mswindows_widget_set_property): ditto.
3635 * glyphs-widget.c (check_valid_item_list): use properties.
3637 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3639 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3640 (Fimage_instance_property): ditto.
3641 * glyphs-widget.c (widget_property): ditto.
3642 (widget_set_property): ditto.
3644 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3645 as setting the class cursor so that GC actually changes the
3648 * config.h: don't undef MAIL_USE_POP.
3650 1998-12-13 Andy Piper <andy@xemacs.org>
3653 (image_instantiator_format_create_glyphs_mswindows): line ->
3655 (mswindows_label_instantiate): ditto. Play with window flags.
3656 (image_instantiator_format_create_glyphs_mswindows): ditto.
3657 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3659 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3660 cope with lines and labels.
3661 (static_instantiate): use widget_instantiate_1.
3663 (image_instantiator_format_create_glyphs_widget): ditto.
3665 1998-12-10 Andy Piper <andy@xemacs.org>
3667 * Makefile.in.in (objs): add gui.o
3669 1998-12-10 Andy Piper <andy@xemacs.org>
3671 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3674 1998-12-09 Andy Piper <andy@xemacs.org>
3676 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3677 image instance is removed so that the subwindow cache gets reset
3678 and thus destroyed images get GC'd.
3680 1998-12-08 Andy Piper <andy@xemacs.org>
3682 * gui-msw.c (mswindows_handle_gui_wm_command): call
3683 MARK_SUBWINDOWS_CHANGED.
3685 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3686 subwindows really get deleted.
3688 * redisplay.c: new variable subwindows_changed[_set].
3689 (redisplay_window): use it.
3690 (redisplay_frame): ditto.
3691 (redisplay_device): ditto.
3692 (redisplay_without_hooks): ditto.
3694 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3695 subwindows redisplay as per glyphs equivalent.
3696 * redisplay.h: ditto.
3697 (MARK_SUBWINDOWS_CHANGED): ditto.
3698 (RESET_CHANGED_SET_FLAGS): ditto.
3699 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3701 1998-12-07 Andy Piper <andy@xemacs.org>
3703 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
3706 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
3708 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
3709 messages and paint widget glyphs as appropriate with their face fg
3712 1998-12-06 Andy Piper <andy@xemacs.org>
3714 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
3715 here rather than in glyphs-widget - do this because we only want
3716 to provide what is really available.
3718 * glyphs.c (Fimage_instance_property): new function to get the
3719 properties of image instances. wires through to console specific
3720 methods and then to widget specific methods.
3721 (Fset_image_instance_property): ditto but for setting widget properties.
3722 (check_valid_face): make extern so that it can be used elsewhere.
3724 * glyphs-widget.c (widget_property): new function. gets the
3725 properties of widgets in general and wires the function through to
3726 widget specific ones.
3727 (widget_set_property): ditto but for setting widget properties.
3729 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
3730 add items to the list. Play with window styles a bit to get the
3732 (mswindows_widget_property): break out specific widget properties.
3733 (mswindows_button_property): new function. gets the checked state
3735 (mswindows_combo_property): new function. gets the current
3736 selection in the combo box.
3737 (mswindows_widget_set_property): new function. sets specific
3738 properties of specific widgets.
3740 * glyphs-widget.c (check_valid_item_list): new function. check
3741 that items for a combo-box are just a list of strings.
3742 (combo_validate): new function. check there is an item list.
3743 (widget_instantiate_1): new function. renamed from
3744 widget_instantiate so that we can do slightly different things for
3746 (widget_instantiate): call widget_instantiate_1.
3747 (combo_instantiate): new function to instantiate combo boxes,
3748 defaults height to the pixel height of the number of items in the
3750 (syms_of_glyphs_widget): move widget keywords here.
3751 (image_instantiator_format_create_glyphs_widget): use new combo
3754 1998-12-04 Andy Piper <andy@xemacs.org>
3756 * event-msw.c (mswindows_wnd_proc): mule-ize.
3758 * glyphs.c (pixmap_to_lisp_data): mule-ize.
3760 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
3761 (resource_name_to_resource): ditto.
3762 (mswindows_resource_instantiate): ditto.
3763 (mswindows_widget_instantiate): ditto.
3764 (mswindows_widget_set_property): ditto.
3766 * redisplay-output.c (redisplay_output_subwindow): don't show
3767 subwindows if they are obscured at the edge of the frame, emacs
3768 gets into some sort of redisplay loop otherwise.
3770 * gui.h: prototype gui_item_selected_p.
3772 * gui.c (gui_item_selected_p): new function to determine the
3773 selected state of a gui_item.
3775 * frame.h (struct frame): add subwindows_changed flag.
3777 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
3779 * glyphs.c (update_subwindow): new function to update a
3781 (update_frame_subwindows): new function to update all the
3782 subwindows on a frame.
3784 * console.h (struct console_methods): add update_subwindow.
3786 * glyphs-msw.c (mswindows_widget_property): return selected state
3787 for selected property.
3788 (mswindows_update_subwindow): new function. updates widget glyphs
3789 in redisplay as per menubars or toolbars e.g. selected state.
3790 (console_type_create_glyphs_mswindows): add update_subwindow.
3792 1998-12-03 Andy Piper <andy@xemacs.org>
3794 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
3795 tty coding system things are such.
3797 * glyphs-widget.c (widget_face_font_info): new function for
3798 pulling out height and width metrics for a widget's face.
3799 (widget_text_to_pixel_conversion): calculate pixel sizes of text
3802 * event-msw.c (mswindows_drain_windows_queue): translate messages
3803 that are destined for subwindows. This makes edit fields interact
3804 with the keyboard correctly.
3805 nuke warnings by #ifndef'ing out stuff not required by msg select().
3807 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
3808 macro defining the iiforma without the symbol required by widget.
3809 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
3811 * general.c (syms_of_general): add Qwidget, Qselected.
3813 * faces.c (complex_vars_of_faces): add widget face inheriting from
3816 1998-11-09 Andy Piper <andy@xemacs.org>
3818 * window.h (struct window): add a cache of subwindows on a
3821 * window.c (mark_window): mark the subwindow_instance_cache.
3822 (allocate_window): initialise the subwindow instance_cache.
3824 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
3825 instead of the devmeth.
3826 (x_clear_toolbar): ditto.
3828 * redisplay-x.c (x_output_display_block): call
3829 redisplay_output_subwindow for subwindows and widgets.
3831 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
3832 types to do nothing for.
3834 * lisp.h: declare new widget/subwindow symbols.
3836 * glyphs.c (image_instantiate): cache subwindows on a per-window
3838 (subwindow_possible_dest_types): new function for subwindow dest
3840 (subwindow_instantiate): generic instantiation of a
3841 subwindow. specialised by device multi-methods.
3842 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
3844 (Fimage_instance_subwindow_id): ditto.
3845 (Fresize_subwindow): ditto.
3846 (Fforce_subwindow_map): ditto.
3848 * glyphs-x.c (x_print_image_instance): remove subwindow
3849 stuff. Handled genrically in glyphs.c.
3850 (x_image_instance_equal): ditto.
3851 (x_image_instance_hash): ditto.
3852 (x_finalize_image_instance): delete subwindows when required.
3853 (mark_subwindow) (print_subwindow) (finalize_subwindow)
3854 (subwindow_hash) (Fmake_subwindow): deleted because of new,
3855 glyph-based, subwindow implementation.
3856 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
3858 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
3860 (x_unmap_subwindow): new function to unmap X subwindows.
3861 (x_map_subwindow): new function to map X subwindows.
3862 (x_subwindow_instantiate): new function to instantiate X
3864 (x_resize_subwindow): new function to resize X subwindows.
3865 (console_type_create_glyphs_x): add subwindow functions.
3866 (image_instantiator_format_create_glyphs_x): add device
3867 multi-methods for xpm, xbm and subwindow.
3869 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
3870 (subwindow-width): ditto.
3871 (subwindow-height): ditto.
3873 * glyphs-msw.c (mswindows_widget_instantiate): new function for
3874 generally instantiating ms subwindows. Used by
3875 mswindows_*_instantiate.
3876 (mswindows_edit_instantiate): instantiate an edit field on a
3879 1998-11-04 Andy Piper <andy@xemacs.org>
3881 * symsinit.h: declare new functions.
3883 * redisplay.h: declare new functions.
3885 * redisplay-x.c (x_output_display_block): call
3886 redisplay_clear_region rather than x_clear_region.
3887 (x_output_string): ditto.
3888 (x_output_pixmap): ditto.
3889 (x_clear_to_window_end): ditto.
3890 (x_output_eol_cursor): ditto.
3891 (x_clear_region): only do X specific things. other duties handled
3892 in redisplay_clear_region.
3894 * redisplay-tty.c (tty_clear_region): do tty specific things - some
3895 duties moved to redisplay_clear_region.
3897 * redisplay-output.c (clear_left_border): use
3898 redisplay_clear_region instead of device method.
3899 (clear_right_border): ditto.
3900 (output_display_line): ditto.
3901 (redisplay_output_subwindow): ditto.
3902 (redisplay_clear_top_of_window): ditto.
3903 (redisplay_clear_region): perform duties previously handled by
3904 device methods. call the appropriate device method at the
3905 end. unmap subwindows if necessary.
3907 * redisplay-msw.c (mswindows_output_string): use
3908 redisplay_clear_region instead of mswindows_clear_region.
3909 (mswindows_clear_to_window_end): ditto.
3910 (mswindows_output_display_block): output subwindows when required.
3911 (mswindows_clear_region): only do mswindows specific things,
3912 everything else is now handled in redisplay_clear_region.
3914 * gui.h: add item id hash defines and declare function prototypes.
3916 * gui.c (mark_gui_item): new function for marking gui_items.
3917 (gui_item_hash): generic hash function for generating command ids
3920 * gui-msw.c: new file.
3921 (mswindows_handle_gui_wm_command): new function to handle widget
3924 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
3926 (IIFORMAT_HAS_SHARED_METHOD): ditto.
3927 (DEFINE_DEVICE_IIFORMAT): ditto.
3928 (INITIALIZE_DEVICE_IIFORMAT): ditto.
3929 (struct Lisp_Image_Instance): add widget and subwindow data plus
3930 appropriate access functions.
3932 * glyphs.c (decode_device_ii_format): new function for decoding
3933 image instantiator functions based on a device type as well as an
3935 (decode_image_instantiator_format): just call
3936 decode_device_ii_format with nil device.
3937 (add_entry_to_device_ii_format_list): new function for per device
3939 (add_entry_to_image_instantiator_format_list): just call
3940 add_entry_to_device_ii_format_list with nil device.
3941 (check_valid_vector): new function.
3942 (instantiate_image_instantiator): instantiate using per-format
3943 method and then per-format-per-device method (device
3944 multi-methods). signal an error if neither is possible.
3945 (mark_image_instance): cope with subwindows and widgets.
3946 (print_image_instance): ditto.
3947 (image_instance_equal): ditto.
3948 (image_instance_hash): ditto.
3949 (allocate_glyph): ditto.
3950 (glyph_width): ditto.
3951 (glyph_height_internal): ditto.
3952 (xpm_instantiate): removed because of device multi-methods.
3953 (mark_subwindow_cachels): new cachel functions for caching
3954 instantiated subwindows on a per-frame basis. mostly copied from
3955 glyph cachel functions.
3956 (update_subwindow_cachel_data): ditto.
3957 (add_subwindow_cachel): ditto.
3958 (get_subwindow_cachel_index): ditto.
3959 (reset_subwindow_cachels): ditto.
3960 (mark_subwindow_cachels_as_not_updated): ditto.
3961 (unmap_subwindow): generic unmapping of subwindows based on cachel
3963 (map_subwindow): ditto.
3964 (initialize_subwindow_image_instance): generic initialisation of
3966 (syms_of_glyphs): add widget keywords.
3968 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
3971 1998-11-04 Andy Piper <andy@xemacs.org>
3973 * glyphs-widget.c: new file for instantiating widget type glyphs.
3974 (widget_possible_dest_types): new general dest type function for
3976 (widget_validate): ditto.
3977 (initialize_widget_image_instance): ditto
3978 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
3979 before handing on control to device multi-methods.
3980 (syms_of_glyphs_widget): new function.
3981 (image_instantiator_format_create_glyphs_widget): new function,
3982 added placeholders for button, edit, combo, scrollbar
3983 (vars_of_glyphs_widget): new function.
3985 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
3986 storing window ids of widgets.
3988 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
3989 deletion of widget and subwindow glyphs.
3990 (mswindows_unmap_subwindow): new device function for unmapping
3991 subwindows on a msw frame.
3992 (mswindows_map_subwindow): ditto.
3993 (mswindows_register_image_instance): register instantiated widgets
3994 with the widget hastable.
3995 (mswindows_button_instantiate): instantiate a button type widget
3997 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
3999 (image_instantiator_format_create_glyphs_mswindows): add device
4000 multi-methods for xbm, xpm, subwindow, edit and button.
4002 * frame.h (struct frame): add subwindow_cachels dynarr for caching
4003 information about subwindows visible on the current frame. used by
4004 redisplay_clear_region to unmap subwindows as required.
4006 * frame.c (mark_frame): mark subwindow_cachels.
4007 (allocate_frame_core): instantiate subwindow_cachels.
4009 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
4012 * event-msw.c (mswindows_wnd_proc): add call to
4013 mswindows_handle_gui_wm_command to handle widget callbacks.
4015 * emacs.c (main_1): add calls to glyphs-widget initialisation
4018 * console.h (struct console_methods): add
4019 unmap/map_subwindow_method for use be redisplay_clear_region to
4020 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
4021 with by image instantiator multi-methods. Add
4022 resize_subwindow_method.
4024 * console-stream.c (stream_clear_region): change signature to
4025 match new generic clear region function.
4027 * Makefile.in.in: add glyphs-widget.o to list of objects.
4029 * console-msw.h (struct mswindows_frame): add widget hashtable for
4030 wiring command ids to callbacks.
4032 1998-12-16 Andy Piper <andy@xemacs.org>
4034 * XEmacs 21.2.6 is released
4036 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
4038 * md5.c (Fmd5): Correctly initiate string input stream.
4040 * Makefile.in.in (tests): Add md5-tests.el.
4042 1998-12-06 Martin Buchholz <martin@xemacs.org>
4045 * alloc.c (make_vector): remove travesty
4049 (make_bit_vector_internal):
4051 (make_bit_vector_from_byte_vector):
4053 - make vector_equal a little faster.
4054 - Don't use variable name `new'.
4055 - Use size_t instead of EMACS_INT.
4056 - usual Martin-style pointless bit-twiddling.
4062 Make mapcar faster. In particular, make
4063 (mapc #'identity long-string)
4064 MUCH faster under Mule.
4065 * tests/automated/lisp-tests.el: Test 'em!
4067 1998-12-06 Martin Buchholz <martin@xemacs.org>
4069 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4072 1998-12-13 Martin Buchholz <martin@xemacs.org>
4074 * console-msw.c: Function definitions follow coding standards
4075 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4077 1998-12-11 Martin Buchholz <martin@xemacs.org>
4079 * events.h (struct timeout_data):
4080 * event-tty.c (tty_timeout_to_emacs_event):
4081 * event-msw.c (mswindows_wm_timer_callback):
4082 * event-Xt.c (Xt_timeout_to_emacs_event):
4083 * event-msw.c (mswindows_cancel_dispatch_event):
4084 Make sure Lisp_Objects inside events are initialized to Qnil, not
4085 Qnull_pointer, which is now illegal.
4087 1998-12-10 Martin Buchholz <martin@xemacs.org>
4089 * lisp.h: Fix up prototypes to match alloc.c
4091 1998-12-09 Andy Piper <andy@xemacs.org>
4093 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4094 XSETINT for assigning lisp objects.
4096 1998-12-07 Martin Buchholz <martin@xemacs.org>
4099 * console-msw.c (DHEADER):
4108 - max_align_t should not be visible to the user of the
4110 - use Bufbyte instead of char
4111 - parens around (FOOP (obj)) are always redundant.
4112 If they were necessary, we should fix the macro instead.
4113 - Always use string_data(foo) instead of foo->data.
4115 1998-12-07 Martin Buchholz <martin@xemacs.org>
4117 * sysdep.c (set_descriptor_non_blocking):
4118 Since O_NONBLOCK is now always #defined, make use of fcntl
4119 conditional on F_SETFL being defined.
4121 1998-12-09 Andy Piper <andy@xemacs.org>
4123 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4124 that got removed in the merge
4126 1998-11-30 Greg Klanderman <greg@alphatech.com>
4128 * dired.c (vars_of_dired): bugfix for previous conditionalization
4129 of user-name-completion on non- Windows NT.
4131 1998-12-08 Martin Buchholz <martin@xemacs.org>
4133 * windowsnt.h: Remove `support' for using index and rindex
4135 * filelock.c (current_lock_owner):
4136 - Change uses of index -> strchr, rindex -> strrchr
4138 1998-12-06 Martin Buchholz <martin@xemacs.org>
4140 * frame-msw.c (mswindows_init_frame_1):
4141 - use make_lisp_hash_table, not Fmake_hash_table
4144 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4146 * XEmacs 21.2.5 is released
4148 1998-11-30 Martin Buchholz <martin@xemacs.org>
4150 * xselect.c (receive_incremental_selection):
4151 * xselect.c (x_get_window_property):
4152 * xmu.c (XmuReadBitmapDataFromFile):
4153 * xmu.c (XmuCursorNameToIndex):
4154 * xgccache.c (describe_gc_cache):
4155 * xgccache.c (gc_cache_lookup):
4156 * xgccache.c (free_gc_cache):
4157 * xgccache.c (make_gc_cache):
4159 * window.c (map_windows_1):
4160 * window.c (Fother_window_for_scrolling):
4161 * window.c (window_scroll):
4162 * window.c (change_window_height):
4163 * window.c (Fsplit_window):
4164 * window.c (window_left_gutter_width):
4165 * window.c (window_modeline_height):
4166 * window.c (invalidate_vertical_divider_cache_in_window):
4167 * window.c (window_needs_vertical_divider_1):
4168 * window.c (update_mirror_internal):
4169 * window.c (SET_LAST_FACECHANGE):
4170 * widget.c (Fwidget_plist_member):
4171 * unexec.c (copy_text_and_data):
4172 * unexcw.c (copy_executable_and_dump_data_section):
4174 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4175 * tooltalk.c (struct Lisp_Tooltalk_Message):
4176 * toolbar.h (struct toolbar_button):
4177 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4178 * toolbar.c (recompute_overlaying_specifier):
4179 * toolbar.c (toolbar_validate):
4180 * toolbar.c (toolbar_button_at_pixpos):
4181 * toolbar.c (get_toolbar_coords):
4182 * toolbar.c (update_frame_toolbars):
4184 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4185 * toolbar-msw.c (mswindows_find_toolbar_pos):
4186 * toolbar-msw.c (mswindows_output_toolbar):
4187 * toolbar-msw.c (mswindows_clear_toolbar):
4196 * sysdep.c (sys_fopen):
4197 * sysdep.c (sys_open):
4198 * sysdep.c (tty_init_sys_modes_on_device):
4199 * sysdep.c (get_eof_char):
4200 * sysdep.c (child_setup_tty):
4201 * sysdep.c (set_descriptor_non_blocking):
4203 * syntax.c (scan_words):
4206 * symeval.h (struct symbol_value_varalias):
4207 * symeval.h (struct symbol_value_forward):
4208 * symbols.c (syms_of_symbols):
4209 * symbols.c (init_symbols_once_early):
4210 * symbols.c (Fbuilt_in_variable_type):
4211 * symbols.c (Fsymbol_value_in_buffer):
4212 * symbols.c (default_value):
4214 * symbols.c (find_symbol_value_quickly):
4215 * symbols.c (store_symval_forwarding):
4216 * symbols.c (set_default_console_slot_variable):
4217 * symbols.c (set_default_buffer_slot_variable):
4218 * symbols.c (verify_ok_for_buffer_local):
4219 * symbols.c (symbol_is_constant):
4220 * symbols.c (oblookup):
4221 * symbols.c (Funintern):
4222 * symbols.c (Fintern):
4223 * symbols.c (check_obarray):
4225 * specifier.h (struct specifier_methods):
4227 * specifier.c (specifier_instance):
4228 * specifier.c (specifier_instance_from_inst_list):
4229 * specifier.c (decode_locale_type):
4230 * specifier.c (specifier_equal):
4231 * specifier.c (finalize_specifier):
4232 * specifier.c (prune_specifiers):
4233 * specifier.c (kill_specifier_buffer_locals):
4234 * sound.c (init_native_sound):
4237 * search.c (Fmatch_data):
4238 * search.c (match_limit):
4239 * search.c (Freplace_match):
4240 * search.c (skip_chars):
4241 * search.c (scan_buffer):
4243 * scrollbar.c (specifier_vars_of_scrollbar):
4244 * scrollbar.c (Fscrollbar_set_hscroll):
4245 * scrollbar.c (vertical_scrollbar_changed_in_window):
4246 * scrollbar.c (release_window_mirror_scrollbars):
4247 * scrollbar.c (free_scrollbar_instance):
4250 * s/msdos.h (O_BINARY):
4252 * s/freebsd.h (LIBS_TERMCAP):
4253 * regex.c (re_match_2_internal):
4254 * regex.c (compile_extended_range):
4255 * regex.c (POP_FAILURE_POINT):
4256 * regex.c (PUSH_FAILURE_POINT):
4257 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4259 * redisplay.h (struct display_line):
4260 * redisplay.h (struct rune):
4261 * redisplay.c (vars_of_redisplay):
4262 * redisplay.c (redisplay_variable_changed):
4263 * redisplay.c (UPDATE_CACHE_RETURN):
4264 * redisplay.c (validate_line_start_cache):
4265 * redisplay.c (mark_redisplay_structs):
4266 * redisplay.c (mark_glyph_block_dynarr):
4267 * redisplay.c (window_line_number):
4268 * redisplay.c (redisplay_frame):
4269 * redisplay.c (redisplay_window):
4270 * redisplay.c (generate_modeline):
4271 * redisplay.c (create_right_glyph_block):
4272 * redisplay.c (create_left_glyph_block):
4273 * redisplay.c (create_text_block):
4275 * redisplay-x.c (x_output_hline):
4276 * redisplay-x.c (x_output_vertical_divider):
4277 * redisplay-tty.c (tty_output_display_block):
4278 * redisplay-output.c (output_display_line):
4279 * redisplay-output.c:
4280 * redisplay-msw.c (mswindows_output_vertical_divider):
4281 * redisplay-msw.c (mswindows_ring_bell):
4282 * redisplay-msw.c (mswindows_output_cursor):
4286 * puresize.h (RAW_PURESIZE):
4287 * profile.c (syms_of_profile):
4288 * profile.c (Fstart_profiling):
4289 * profile.c (sigprof_handler):
4292 * process.c (vars_of_process):
4293 * process.c (read_process_output):
4294 * process.c (get_process):
4296 * process-unix.c (unix_open_multicast_group):
4297 * process-unix.c (unix_get_tty_name):
4298 * process-unix.c (unix_send_process):
4299 * process-unix.c (unix_reap_exited_processes):
4300 * process-unix.c (unix_create_process):
4301 * process-unix.c (unix_init_process_io_handles):
4302 * process-unix.c (allocate_pty):
4304 * process-nt.c (nt_open_network_stream):
4305 * process-nt.c (nt_update_status_if_terminated):
4306 * process-nt.c (nt_finalize_process_data):
4308 * print.c (debug_short_backtrace):
4309 * print.c (debug_backtrace):
4310 * print.c (print_symbol):
4311 * print.c (print_internal):
4312 * print.c (print_cons):
4313 * print.c (Fwrite_char):
4314 * print.c (print_prepare):
4315 * print.c (canonicalize_printcharfun):
4316 * print.c (output_string):
4319 * opaque.c (allocate_managed_opaque):
4321 * offix.c (DndSetData):
4322 * objects.c (face_boolean_create):
4323 * objects.c (font_instantiate):
4324 * objects.c (font_create):
4325 * objects.c (color_create):
4326 * objects.c (finalize_font_instance):
4327 * objects.c (finalize_color_instance):
4329 * objects-x.c (x_font_instance_truename):
4331 * objects-x.c (x_initialize_font_instance):
4332 * objects-x.c (allocate_nearest_color):
4333 * objects-tty.c (tty_initialize_font_instance):
4334 * objects-tty.c (tty_initialize_color_instance):
4335 * objects-msw.c (mswindows_initialize_color_instance):
4336 * ntproc.c (syms_of_ntproc):
4337 * ntproc.c (Fwin32_set_process_priority):
4338 * ntproc.c (sys_spawnve):
4340 * ntheap.c (get_data_end):
4344 * nt.c (generate_inode_val):
4345 * nt.c (sys_rename):
4347 * mule-wnnfns.c (Fwnn_hinsi_number):
4348 * mule-wnnfns.c (Fwnn_yuragi):
4349 * mule-wnnfns.c (Fwnn_common_learn):
4350 * mule-wnnfns.c (Fwnn_suffix_learn):
4351 * mule-wnnfns.c (Fwnn_prefix_learn):
4352 * mule-wnnfns.c (Fwnn_okuri_learn):
4353 * mule-wnnfns.c (Fwnn_complex_conv):
4354 * mule-wnnfns.c (Fwnn_last_is_first):
4355 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4356 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4357 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4358 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4359 * mule-wnnfns.c (Fwnn_hinsi_list):
4360 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4361 * mule-wnnfns.c (Fwnn_dict_search):
4362 * mule-wnnfns.c (Fwnn_word_toroku):
4363 * mule-wnnfns.c (Fwnn_hindo_update):
4364 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4365 * mule-wnnfns.c (Fwnn_kakutei):
4366 * mule-wnnfns.c (Fwnn_begin_henkan):
4367 * mule-wnnfns.c (Fwnn_dict_comment):
4368 * mule-wnnfns.c (Fwnn_dict_add):
4369 * mule-wnnfns.c (Fwnn_open):
4370 * mule-mcpath.c (mc_getcwd):
4371 * mule-coding.c (vars_of_mule_coding):
4372 * mule-coding.c (convert_to_external_format):
4373 * mule-coding.c (encoding_marker):
4374 * mule-coding.c (decoding_marker):
4375 * mule-coding.c (Fcopy_coding_system):
4376 * mule-coding.c (Fmake_coding_system):
4377 * mule-coding.c (Fcoding_system_list):
4378 * mule-coding.c (Ffind_coding_system):
4379 * mule-coding.c (symbol_to_eol_type):
4381 * mule-charset.c (complex_vars_of_mule_charset):
4382 * mule-charset.c (vars_of_mule_charset):
4383 * mule-charset.c (Fset_charset_ccl_program):
4384 * mule-charset.c (struct charset_list_closure):
4385 * mule-charset.c (Ffind_charset):
4386 * mule-charset.c (make_charset):
4387 * mule-charset.c (non_ascii_valid_char_p):
4389 * mule-ccl.c (ccl_driver):
4390 * mule-canna.c (c2mu):
4391 * mule-canna.c (Fcanna_henkan_begin):
4392 * mule-canna.c (Fcanna_parse):
4393 * mule-canna.c (Fcanna_store_yomi):
4394 * mule-canna.c (Fcanna_touroku_string):
4395 * mule-canna.c (Fcanna_initialize):
4397 * menubar.c (menu_parse_submenu_keywords):
4398 * menubar-x.c (make_dummy_xbutton_event):
4399 * menubar-x.c (set_frame_menubar):
4400 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4403 * menubar-msw.c (mswindows_popup_menu):
4404 * menubar-msw.c (mswindows_update_frame_menubars):
4405 * menubar-msw.c (mswindows_handle_wm_command):
4406 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4407 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4408 * menubar-msw.c (update_frame_menubar_maybe):
4409 * menubar-msw.c (populate_or_checksum_helper):
4410 * menubar-msw.c (empty_menu):
4413 * marker.c (set_marker_internal):
4414 * marker.c (print_marker):
4417 * lstream.c (lisp_buffer_rewinder):
4418 * lstream.c (mark_lstream):
4420 * lrecord.h (struct lrecord_header):
4421 * lread.c (readevalloop):
4422 * lread.c (locate_file):
4423 * lread.c (locate_file_in_directory):
4424 * lread.c (Flocate_file):
4425 * lread.c (load_force_doc_string_unwind):
4426 * lread.c (ebolify_bytecode_constants):
4431 * linuxplay.c (linux_play_data_or_file):
4432 * linuxplay.c (audio_init):
4435 * keymap.c (describe_map):
4436 * keymap.c (describe_map_mapper):
4437 * keymap.c (Fdescribe_bindings_internal):
4438 * keymap.c (Fsingle_key_description):
4439 * keymap.c (map_keymap_sorted):
4440 * keymap.c (get_relevant_keymaps):
4441 * keymap.c (Flookup_key):
4442 * keymap.c (raw_lookup_key_mapper):
4443 * keymap.c (Fdefine_key):
4444 * keymap.c (Fevent_matches_key_specifier_p):
4445 * keymap.c (key_desc_list_to_event):
4446 * keymap.c (define_key_parser):
4447 * keymap.c (define_key_check_and_coerce_keysym):
4448 * keymap.c (keymap_submaps):
4449 * keymap.c (keymap_store_internal):
4450 * keymap.c (keymap_delete_inverse_internal):
4451 * keymap.c (keymap_store_inverse_internal):
4452 * keymap.c (print_keymap):
4453 * keymap.c (Lisp_Keymap):
4456 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4457 * insdel.c (make_gap):
4458 * input-method-xlib.c (get_XIM_input):
4459 * input-method-xlib.c (XIM_init_frame):
4464 * gui-x.c (button_item_to_widget_value):
4465 * gui-x.c (popup_selection_callback):
4466 * glyphs.h (struct image_instantiator_methods):
4467 * glyphs.c (mark_glyph_cachels):
4468 * glyphs.c (Fglyph_type):
4469 * glyphs.c (image_instantiate):
4470 * glyphs.c (image_create):
4471 * glyphs.c (make_image_instance_1):
4472 * glyphs.c (finalize_image_instance):
4474 * glyphs-x.c (finalize_subwindow):
4475 * glyphs-x.c (xface_validate):
4476 * glyphs-x.c (x_locate_pixmap_file):
4477 * glyphs-x.c (convert_EImage_to_XImage):
4479 * glyphs-msw.c (mswindows_resource_instantiate):
4480 * glyphs-msw.c (xpm_to_eimage):
4481 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4482 * glyphs-eimage.c (tiff_instantiate):
4483 * glyphs-eimage.c (png_instantiate):
4484 * glyphs-eimage.c (struct png_error_struct):
4485 * glyphs-eimage.c (gif_memory_storage):
4488 * getloadavg.c (getloadavg):
4491 * free-hook.c (log_gcpro):
4492 * free-hook.c (check_malloc):
4493 * free-hook.c (check_free):
4494 * free-hook.c (ROUND_UP_TO_PAGE):
4496 * frame.h (struct frame):
4498 * frame.c (change_frame_size_1):
4499 * frame.c (allocate_frame_core):
4501 * frame-x.c (x_focus_on_frame):
4502 * frame-x.c (x_init_frame_2):
4503 * frame-x.c (x_popup_frame):
4504 * frame-x.c (xemacs_XtPopup):
4506 * frame-x.c (Foffix_start_drag_internal):
4507 * frame-x.c (x_cde_destroy_callback):
4508 * frame-x.c (x_wm_hack_wm_protocols):
4509 * frame-tty.c (tty_frame_visible_p):
4510 * frame-msw.c (mswindows_make_frame_invisible):
4511 * frame-msw.c (mswindows_after_init_frame):
4512 * frame-msw.c (mswindows_init_frame_1):
4513 * fns.c (syms_of_fns):
4514 * fns.c (Fbase64_decode_string):
4516 * fns.c (Ffillarray):
4517 * fns.c (Fobject_plist):
4519 * fns.c (Fcanonicalize_lax_plist):
4520 * fns.c (Fcanonicalize_plist):
4521 * fns.c (Fplist_remprop):
4522 * fns.c (Fplist_get):
4523 * fns.c (advance_plist_pointers):
4524 * fns.c (internal_plist_put):
4525 * fns.c (Fnreverse):
4528 * fns.c (Fsubstring):
4529 * fns.c (Fbvconcat):
4531 * fns.c (length_with_bytecode_hack):
4532 * fns.c (print_bit_vector):
4534 * floatfns.c (Ffloor):
4536 * floatfns.c (in_float_error):
4537 * fileio.c (Ffile_modes):
4538 * fileio.c (Fexpand_file_name):
4539 * fileio.c (Fmake_temp_name):
4540 * fileio.c (Ffile_name_nondirectory):
4541 * fileio.c (Ffile_name_directory):
4543 * file-coding.c (vars_of_mule_coding):
4544 * file-coding.c (convert_to_external_format):
4545 * file-coding.c (encoding_marker):
4546 * file-coding.c (decoding_marker):
4547 * file-coding.c (Fcopy_coding_system):
4548 * file-coding.c (Fmake_coding_system):
4549 * file-coding.c (struct coding_system_list_closure):
4550 * file-coding.c (Ffind_coding_system):
4551 * file-coding.c (symbol_to_eol_type):
4553 * faces.h (struct face_cachel):
4554 * faces.c (vars_of_faces):
4555 * faces.c (face_property_was_changed):
4556 * faces.c (mark_face_cachels):
4557 * faces.c (temporary_faces_list):
4558 * faces.c (struct face_list_closure):
4560 * extents.h (struct extent):
4561 * extents.c (vars_of_extents):
4562 * extents.c (struct copy_string_extents_1_arg):
4563 * extents.c (add_string_extents_mapper):
4564 * extents.c (Fextent_property):
4565 * extents.c (Fset_extent_property):
4566 * extents.c (symbol_to_glyph_layout):
4567 * extents.c (properties_equal):
4568 * extents.c (print_extent):
4569 * extents.c (print_extent_1):
4570 * extents.c (extent_in_region_p):
4571 * extents.c (gap_array_make_gap):
4573 * events.h (struct Lisp_Event):
4575 * events.c (Fevent_properties):
4576 * events.c (format_event_object):
4577 * events.c (Fmake_event):
4578 * events.c (event_equal):
4579 * events.c (print_event):
4580 * events.c (mark_event):
4581 * event-stream.c ((read-char)
4582 * event-stream.c (vars_of_event_stream):
4583 * event-stream.c (syms_of_event_stream):
4584 * event-stream.c (Fset_recent_keys_ring_size):
4585 * event-stream.c (Fsit_for):
4586 * event-stream.c (Fnext_event):
4587 * event-stream.c (execute_help_form):
4588 * event-stream.c (maybe_kbd_translate):
4590 * event-msw.c (vars_of_event_mswindows):
4591 * event-msw.c (mswindows_wnd_proc):
4592 * event-msw.c (mswindows_need_event):
4593 * event-msw.c (mswindows_drain_windows_queue):
4594 * event-msw.c (mswindows_pump_outstanding_events):
4596 * event-msw.c (slurp_thread):
4597 * event-msw.c (struct ntpipe_slurp_stream):
4598 * event-msw.c (HANDLE_TO_USID):
4599 * event-Xt.c (emacs_Xt_handle_magic_event):
4600 * event-Xt.c (x_event_to_emacs_event):
4601 * event-Xt.c (x_reset_modifier_mapping):
4602 * event-Xt.c (x_reset_key_mapping):
4604 * eval.c (syms_of_eval):
4605 * eval.c (warn_when_safe):
4606 * eval.c (warn_when_safe_lispobj):
4607 * eval.c (Fbacktrace_frame):
4608 * eval.c (Fbacktrace):
4609 * eval.c (top_level_set):
4610 * eval.c (unbind_to_hairy):
4611 * eval.c (specbind_magic):
4612 * eval.c (specbind_unwind_wasnt_local):
4613 * eval.c (call2_trapping_errors):
4614 * eval.c (call1_trapping_errors):
4615 * eval.c (catch_them_squirmers_call2):
4616 * eval.c (call0_trapping_errors):
4617 * eval.c (run_hook_trapping_errors):
4618 * eval.c (catch_them_squirmers_eval_in_buffer):
4619 * eval.c (call4_in_buffer):
4620 * eval.c (call3_in_buffer):
4621 * eval.c (call2_in_buffer):
4622 * eval.c (call1_in_buffer):
4623 * eval.c (call0_in_buffer):
4624 * eval.c (run_hook):
4625 * eval.c (run_hook_with_args_in_buffer):
4628 * eval.c (do_autoload):
4629 * eval.c (un_autoload):
4630 * eval.c (Fautoload):
4631 * eval.c (Finteractive_p):
4632 * eval.c (Fcommand_execute):
4633 * eval.c (signal_quit):
4634 * eval.c (call_with_suspended_errors):
4635 * eval.c (signal_error):
4636 * eval.c (return_from_signal):
4637 * eval.c (Fcall_with_condition_handler):
4638 * eval.c (run_condition_case_handlers):
4639 * eval.c (condition_case_1):
4640 * eval.c (Funwind_protect):
4641 * eval.c (unwind_to_catch):
4642 * eval.c (internal_catch):
4643 * eval.c (Fmacroexpand_internal):
4644 * eval.c (Fuser_variable_p):
4645 * eval.c (Fdefconst):
4647 * eval.c (Ffunction):
4648 * eval.c (signal_call_debugger):
4649 * eval.c (call_debugger):
4652 * emacs.c (sort_args):
4656 * editfns.c (Fencode_time):
4657 * editfns.c (Fdecode_time):
4658 * editfns.c (Fuser_full_name):
4660 * editfns.c (save_excursion_restore):
4663 * doprnt.c (emacs_doprnt_1):
4664 * doc.c (verify_doc_mapper):
4665 * doc.c (Fsnarf_documentation):
4666 * doc.c (Fdocumentation):
4668 * dired.c (user_name_completion):
4669 * dired.c (Fdirectory_files):
4672 * dgif_lib.c (FreeSavedImages):
4673 * dgif_lib.c (DGifGetImageDesc):
4675 * device.h (struct device):
4676 * device.c (Fselect_device):
4677 * device.c (allocate_device):
4679 * device-x.c (Fx_keysym_on_keyboard_p):
4680 * device-x.c (Fx_valid_keysym_name_p):
4681 * device-x.c (x_IO_error_handler):
4682 * device-x.c (x_delete_device):
4683 * device-x.c (x_finish_init_device):
4684 * device-x.c (x_init_device):
4686 * device-msw.c (mswindows_init_device):
4688 * database.c (vars_of_database):
4689 * database.c (Fput_database):
4690 * database.c (Fopen_database):
4691 * database.c (berkdb_remove):
4692 * database.c (berkdb_put):
4693 * database.c (Fdatabasep):
4694 * database.c (print_database):
4696 * data.c (vars_of_data):
4697 * data.c (syms_of_data):
4698 * data.c (init_errors_once_early):
4699 * data.c (prune_weak_lists):
4700 * data.c (finish_marking_weak_lists):
4701 * data.c (print_weak_list):
4703 * data.c (Fstring_to_number):
4704 * data.c (Fnumber_to_string):
4705 * data.c (Findirect_function):
4708 * data.c (Fsubr_interactive):
4710 * data.c (Fkeywordp):
4713 * console.h (CONSOLE_NAME):
4715 * console.c (vars_of_console):
4716 * console.c (Fselect_console):
4718 * console-x.h (DEVICE_X_COLORMAP):
4719 * console-x.h (struct x_device):
4720 * console-x.c (x_device_to_console_connection):
4721 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
4722 * console-tty.c (tty_init_console):
4724 * console-msw.h (struct mswindows_frame):
4727 * cmds.c (internal_self_insert):
4728 * cmds.c (Fforward_line):
4729 * cmds.c (Fforward_char):
4732 * chartab.c (mark_char_table_entry):
4734 * casefiddle.c (casify_word):
4735 * callproc.c (child_setup):
4736 * callproc.c (Fcall_process_internal):
4738 * callint.c (Fcall_interactively):
4740 * bytecode.c (execute_rare_opcode):
4741 * bytecode.c (execute_optimized_program):
4744 * buffer.h (BUFFER_REALLOC):
4745 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
4746 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
4748 * buffer.h (MAP_INDIRECT_BUFFERS):
4749 * buffer.h (CHECK_LIVE_BUFFER):
4750 * buffer.c (init_initial_directory):
4751 * buffer.c (complex_vars_of_buffer):
4752 * buffer.c (vars_of_buffer):
4753 * buffer.c (finish_init_buffer):
4754 * buffer.c (Fget_file_buffer):
4755 * buffer.c (Fbuffer_list):
4756 * buffer.c (mark_buffer):
4757 * balloon_help.c (balloon_help_move_to_pointer):
4758 * balloon_help.c (show_help):
4761 * alloc.c (garbage_collect_1):
4762 * alloc.c (sweep_strings):
4763 * alloc.c (sweep_compiled_functions):
4764 * alloc.c (sweep_bit_vectors_1):
4765 * alloc.c (sweep_vectors_1):
4766 * alloc.c (sweep_lcrecords_1):
4767 * alloc.c (tick_lcrecord_stats):
4768 * alloc.c (pure_string_sizeof):
4769 * alloc.c (mark_conses_in_list):
4770 * alloc.c (mark_object):
4771 * alloc.c (report_pure_usage):
4772 * alloc.c (make_pure_float):
4773 * alloc.c (make_pure_string):
4774 * alloc.c (free_managed_lcrecord):
4775 * alloc.c (mark_string):
4776 * alloc.c (noseeum_make_marker):
4777 * alloc.c (allocate_event):
4778 * alloc.c (Fbit_vector):
4779 * alloc.c (Fvector):
4780 * alloc.c (make_float):
4781 * alloc.c (Fmake_list):
4783 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
4784 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
4785 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
4786 * alloc.c (dbg_constants):
4787 * alloc.c (gc_record_type_p):
4788 * alloc.c (free_lcrecord):
4789 * alloc.c (xmalloc):
4790 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
4792 * Makefile.in.in (mostlyclean):
4793 * Makefile.in.in (external_client_xlib_objs_nonshared):
4794 * Makefile.in.in (temacs_link_args):
4795 * Makefile.in.in (release):
4796 * Makefile.in.in (dnd_objs):
4797 * Makefile.in.in (objs):
4798 * Makefile.in.in (PROGNAME):
4799 * EmacsShell.c: cast strings to (XtPointer)
4800 * EmacsFrame.c: cast strings to (XtPointer)
4802 - rewrite basic lisp functions for speed
4803 - rewrite bytecode interpreter for speed
4804 - rewrite list looping constructs for speed and safety using
4806 - use size_t where appropriate.
4807 - new hashtable implementation
4808 - cleanup implementation of opaques
4809 - opaques can now be purecopy'ed
4810 - move some cl functionality into C for speed.
4811 - remove last remaining VMS support
4813 - improve gdb/dbx debugger support
4814 - move pure.c back into alloc.c for performance
4815 - enable report_pure_usage() if --memory-usage-stats
4816 - remove remnants of Energize support (EMACS_BTL, cadillac...)
4817 - don't use symbols with leading `_' or embedded `__'
4818 - globally cleanup duplicated semicolons `;;'
4819 - I give in on %p vs %lx - we use printf("%lx",(long) p)
4821 - globally replace O_NDELAY with O_NONBLOCK.
4822 - globally replace CDISABLE with _POSIX_VDISABLE.
4823 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
4824 - define (and maybe use!) STDERR_FILENO and friends.
4825 - add support for macros defined in C
4826 - `when', `unless', `not' and `defalias' now defined in C,
4827 so that they are universally available.
4828 - rename defvar_mumble to defvar_magic
4829 - rename RETURN__ to RETURN_SANS_WARNINGS
4830 - use consistent style of initial caps in error messages
4831 - implement last, butlast, nbutlast, copy-list in C.
4832 - provide typedefs for all struct Lisp_foo types
4833 - Lisp_Objects must be initialized to Qnil rather than 0.
4834 - make sure XEmacs runs (slowly) with always_gc == 1;
4835 - fast and safe LOOP_* macros
4836 - change calls to XSETOBJ to XSETFOO
4837 - replace calls to XSETINT by make_int()
4838 - plug up memory leaks
4839 - use style markobj (foo), not silly ((markobj) (foo))
4840 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
4842 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
4844 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
4846 1998-11-28 SL Baur <steve@altair.xemacs.org>
4848 * XEmacs 21.2-beta4 is released.
4850 1998-11-27 SL Baur <steve@altair.xemacs.org>
4852 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
4853 property in control-1 charset.
4854 From Julian Bradfield <jcb@daimi.au.dk>
4856 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
4858 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
4860 Add stub for :label.
4862 * gui.c (gui_item_add_keyval_pair): ditto.
4864 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
4865 :key-sequence keyword.
4867 Support :active for submenus like the Windows code and FSF Emacs.
4869 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
4871 * dired.c (make_directory_hash_table): make_string() is OK because
4872 readdir() Mule-encapsulates.
4874 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4876 * fns.c (Fbase64_encode_string): Fix docstring.
4877 (Fbase64_decode_string): Ditto.
4879 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
4881 * editfns.c (Ftranslate_region): Use
4882 convert_bufbyte_string_into_emchar_string().
4884 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4886 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
4888 (Ftranslate_region): Turn table into an array of Emchars for
4891 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4893 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
4895 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4897 * chartab.c (Freset_char_table): Don't blindly fill chartables of
4898 type `char' with nils.
4900 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
4901 for tables of type `char'.
4903 1998-11-26 Didier Verna <verna@inf.enst.fr>
4905 * input-method-xlib.c (Initialize_Locale): don't call
4906 XtSetLanguageProc. We've done the whole work here.
4907 * input-method-xfs.c (Initialize_Locale): ditto.
4908 * input-method-motif.c (Initialize_Locale): ditto.
4910 1998-11-26 Didier Verna <verna@inf.enst.fr>
4912 * process-unix.c (unix_create_process): handle properly
4913 Vfile_name_coding_system for converting the program and directory
4916 1998-11-27 SL Baur <steve@altair.xemacs.org>
4918 * m/arm.h: New file.
4919 From James LewisMoss <dres@ioa.com>
4921 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
4924 Fix the realpath() problem of UnixWare2.1.3.
4925 Patches for NEC's sysv4.2 machine.
4927 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4929 * dired.c (Fdirectory_files): Remove redundant code.
4931 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4933 * fns.c (free_malloced_ptr): New function.
4934 (XMALLOC_OR_ALLOCA): New macro.
4935 (XMALLOC_UNBIND): Ditto.
4936 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
4937 to be freed in case of non-local exit.
4938 (Fbase64_encode_string): Ditto.
4939 (Fbase64_decode_region): Ditto.
4940 (Fbase64_decode_string): Ditto.
4941 (STORE_BYTE): New macro.
4942 (base64_decode_1): Use it.
4944 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
4946 * fns.c (base64_value_to_char): Base64 stuff.
4948 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
4950 * editfns.c (Fbuffer_substring): New function.
4952 * lisp.h: Declare make_string_from_buffer_no_extents().
4954 * insdel.c (make_string_from_buffer_1): New function.
4955 (make_string_from_buffer_no_extents): Ditto.
4957 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
4959 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
4960 sound work on AIX with OSS installed. Linux should still work.
4962 1998-11-03 Andy Piper <andyp@parallax.co.uk>
4964 * config.h.in: name change for cygwin/version.h
4966 * configure.in: check for cygwin/version.h now.
4968 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4969 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4970 move cygwin32/version.h to cygwin/version.h
4972 1998-11-03 Olivier Galibert <galibert@pobox.com>
4974 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
4977 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4979 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
4980 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
4981 enable BROKEN_SIGIO under b20 to make QUIT work.
4983 1998-10-22 Andy Piper <andyp@parallax.co.uk>
4985 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
4986 to fit within the constraints of the screen size. I.e. make the
4987 frame small enough to fit and move it if some of it will be
4990 1998-10-19 Greg Klanderman <greg@alphatech.com>
4992 * dired.c: conditionalize inclusion of user-name-completion
4993 primitives on non-Windows NT. The needed functions don't exist on NT.
4995 1998-11-24 SL Baur <steve@altair.xemacs.org>
4997 * gifrlib.h: Clean up types for 64 bit compile.
4998 * dgif_lib.c (DGifInitRead): Ditto.
4999 (MakeSavedImage): Ditto.
5000 * emacs.c (decode_path): Ditto.
5001 From Steve Carney <carney@pa.dec.com>
5003 1998-10-16 William M. Perry <wmperry@aventail.com>
5005 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
5006 (cehckboxes instead of checkboxes).
5008 1998-10-15 SL Baur <steve@altair.xemacs.org>
5010 * XEmacs 21.2-beta3 is released.
5012 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
5014 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
5015 gnuclient. Otherwise, we run xemacs as we always did. This gets
5016 rid of the annoying DOS window when running gnuclient.
5018 1998-10-13 Andy Piper <andyp@parallax.co.uk>
5020 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
5021 HAVE_MS_WINDOWS typo.
5023 1998-10-13 SL Baur <steve@altair.xemacs.org>
5025 * process-unix.c (unix_send_process): Set closed flag on writable
5026 pipe after SIGPIPE is received and before we call deactivate_process.
5028 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
5030 * window.c (Fset_window_start): respect narrowing when
5031 checking wheter start is at the beginning of a line.
5032 (Fset_window_buffer): Ditto
5033 Fixes repeatable crash in VM.
5035 1998-10-09 SL Baur <steve@altair.xemacs.org>
5037 * window.c (specifier_vars_of_window): Set default vertical
5038 divider width to 1 on ttys.
5040 1998-10-08 Martin Buchholz <martin@xemacs.org>
5045 Add <stddef.h> to get ptrdiff_t declaration
5047 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5049 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
5050 is used for Motif or Lucid scrollbars under X.
5052 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
5054 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
5057 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5059 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
5061 1998-10-05 Andy Piper <andyp@parallax.co.uk>
5063 * s/cygwin32.h: more cygwin b20 reorganisation.
5065 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
5067 * nas.c: Added necessary support functions to be able to handle
5068 WAVE files in memory, just like the support for SND files in
5071 1998-09-30 SL Baur <steve@altair.xemacs.org>
5073 * callproc.c (child_setup): Fix spelling typo.
5075 1998-09-29 SL Baur <steve@altair.xemacs.org>
5077 * XEmacs 21.2-beta2 is released.
5079 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
5081 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
5082 to prevent memory corruption in the case of jumping out of a series of
5083 nested match patterns. This is a rather brute force approach, though.
5085 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5087 * config.h.in: ditto.
5089 * s/cygwin32.h: rearrange declarations to cope with cygwin
5090 b20. Include cygwin32/version.h if it exists.
5092 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5094 * device-msw.c (mswindows_init_device): Call new
5095 mswindows_enumerate_fonts() function in objects-msw.c instead
5096 of font_enum_callback_1() to enumerate fonts.
5098 font_enum_callback_1() and _2() moved to objects-msw.c.
5100 * faces.c (complex_vars_of_faces): Make the mswindows default
5101 face font fully specified and provide some fallbacks.
5103 * objects-msw.c: font_enum_callback_1() and _2() moved here
5104 from objects-msw.c. Obtain the enumerated font's character
5105 sets by table lookup instead of using the locale-specific
5106 string provided by Windows.
5108 New public non-method mswindows_enumerate_fonts() that fills
5109 in the supplied mswindows device's font list.
5111 mswindows_initialize_font_instance: Use the supplied name
5112 variable instead of f->name when signalling errors. Match font
5113 weights and character sets using lookup tables which handle
5114 spaces instead of by frobbing.
5116 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5118 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5119 on the size of code fragments passed to run_in_other_process.
5121 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5122 the amount of memory to allocate in the other process.
5124 Removed sigkill_code_end(), sigint_code_end() and
5125 sig_enable_code_end() since they are now redundant.
5127 send_signal() and enable_child_signals(): Don't try to work
5128 out the end of the code fragments passed to
5129 run_in_other_process()
5131 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5133 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5136 * src/unexelf.c: Partially synched with FSF's 20.3.
5138 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5140 * insdel.c (signal_after_change): Map across indirect buffers
5141 here, and not in the upper-level functions.
5142 (signal_first_change): Don't check for Armageddon.
5143 (signal_before_change): Map across indirect buffers here.
5144 (prepare_to_modify_buffer): ...and here.
5146 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5148 * insdel.c (signal_after_change): Add return value.
5149 (buffer_insert_string_1): Use it.
5150 (buffer_delete_range): Ditto.
5151 (buffer_replace_char): Ditto.
5152 (cancel_multiple_change): Map the indirect buffers.
5154 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5156 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5157 (uninit_buffer_text): Ditto.
5159 * buffer.c (Fmake_indirect_buffer): Implement stricter
5162 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5164 * insdel.c (change_function_restore): Reverse order of
5165 function-call and assignment.
5166 (first_change_hook_restore): Ditto.
5168 * extents.c (mark_extent_auxiliary): Mark them.
5169 (Fset_extent_property): Set them.
5170 (Fextent_property): Get them.
5171 (Fextent_properties): Ditto.
5172 (vars_of_extents): Set their default.
5174 * extents.h (struct extent_auxiliary): Add before_change_functions
5175 and after_change_functions.
5177 * insdel.c (signal_before_change): Use it.
5178 (signal_after_change): Ditto.
5180 * extents.c (report_extent_modification): New function.
5182 * insdel.c (signal_before_change): Don't check for Armageddon.
5183 (signal_after_change): Ditto.
5185 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5187 * redisplay.c (redisplay_window): make sure a new starting point
5188 is chosen if it somehow got moved from the beginning of the line
5189 -- this can happen because Fwiden was called recently.
5191 * window.c (Fset_window_start): set start_at_line_beg correctly
5192 (Fset_window_buffer): Ditto
5194 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5196 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5197 (uninit_buffer_text): Ditto.
5199 * buffer.c (Fmake_indirect_buffer): Implement stricter
5202 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5204 * emacs.c (main_1): Removed references to *vars_of_filelock.
5206 * lisp.h: Added Fsystem_name.
5208 * filelock.c: Replaced by version from FSF 20.2. Now implements
5209 locking by using symlinks which is NFS safe. However keep the
5210 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5211 version (and of course use ansi C, acessor macros, etc).
5213 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5215 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5216 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5217 in init_signals_very_early. However these should not be passed
5218 on to children attached to the new pty.
5220 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5222 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5224 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5226 * fileio.c (file-name-directory, file_name_as_directory):
5227 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5229 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5231 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5233 * ralloc.c: uncomment __morecore.
5235 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5237 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5238 WriteFile() to fix a winsock 1.x bug on Win95.
5240 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5242 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5244 (x_event_to_emacs_event): Ditto.
5245 (emacs_Xt_handle_focus_event): Ditto.
5246 (emacs_Xt_handle_magic_event): Ditto.
5248 * console-x.h (struct x_device): New flag being_deleted.
5249 (DEVICE_X_BEING_DELETED): New macro.
5251 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5252 returning. Before doing that, set the being_deleted flag on the
5255 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5257 * device-x.c (x-seppuku-on-epipe): Removed.
5259 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5261 * frame-x.c (x_delete_frame): Flush the X output buffer after
5262 calling XtDestroyWidget to ensure that the windows are really
5265 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5267 * menubar-x.c (my_run_hook): New unused function.
5268 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5269 since we ignore the results of the contained functions anyway.
5271 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5273 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5274 interlaced GIF files that are smaller than 4 lines high...
5276 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5278 * buffer.c (map_over_sharing_buffers): Deleted.
5280 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5282 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5285 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5287 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5289 (buffer_delete_range): Ditto.
5291 * marker.c (init_buffer_markers): Set point-marker to the value of
5292 point in an indirect buffer.
5294 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5296 * undo.c (undo_prelude): Test last-undo-buffer against base
5299 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5301 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5303 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5305 * insdel.c (init_buffer_text): Initialize it here.
5307 * line-number.c: Address line_number_cache through buffer->text.
5309 * buffer.c (mark_buffer): Mark line number cache.
5311 * bufslots.h (line_number_cache): Move to struct buffer_text.
5313 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5314 across the children buffers.
5315 (buffer_delete_range): Ditto.
5316 (buffer_replace_char): Ditto.
5320 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5322 * buffer.c (Fmake_indirect_buffer): Uncomment.
5324 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5326 * macros.c (Fend_kbd_macro): Remove trailing period from error
5328 (Fexecute_kbd_macro): Ditto.
5330 1998-08-21 Greg Klanderman <greg@alphatech.com>
5332 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5333 (Fuser_name_completion_1): new function to return uniqueness
5334 indication in addition to the user name completion.
5335 (user_name_completion): change type of `uniq' argument.
5337 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5339 * lread.c (vars_of_lread): Removed `source-directory' variable.
5341 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5343 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5346 1998-08-19 SL Baur <steve@altair.xemacs.org>
5348 * dired.c (vars_of_dired): Fix misapplied patch.
5350 1998-08-16 Martin Buchholz <martin@xemacs.org>
5352 * fns.c (Fremrassq, remrassq_no_quit):
5353 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5355 1998-07-17 Didier Verna <verna@inf.enst.fr>
5357 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5358 style as foreground GC for faces that have the `dim' property.
5359 (x_output_string): when the `dim' face property is set,
5360 ensure the gray pixmap has been created, and get a proper
5361 foreground GC to draw the text.
5363 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5365 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5366 Manually track the state of the left and right Ctrl and Alt
5369 1998-08-07 Matt Stupple <matts@tibco.com>
5371 * ntproc.c: don't wait on char_consumed at thread entry.
5372 Additionally, to get the 'process' marked as finished, ensure
5373 that the CHILD_ACTIVE macro returns false, so before exiting
5374 close char_avail and set it to NULL, and close other handles
5375 to reduce handle leak problems.
5377 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5379 * menubar-msw.c (displayable_menu_item): take account of menu
5380 depth when deciding whether to try to display accelerators.
5382 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5384 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5387 * glyphs-msw.c: fix a couple of potential handle leaks.
5389 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5391 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5392 *decoding ONLY* back into the core.
5393 * glyphs-eimage.c: Change referenced header file for GIF
5394 reading to point to the incore version.
5396 1998-07-20 Martin Buchholz <martin@xemacs.org>
5398 * casefiddle.c (casify_object):
5399 Change algorithm from O(N**2) to O(N).
5403 1998-07-22 Greg Klanderman <greg@alphatech.com>
5405 * dired.c (file_name_completion_unwind): don't leak the cons.
5407 1998-07-20 Greg Klanderman <greg@alphatech.com>
5409 * dired.c (Fuser_name_completion): new function.
5410 (Fuser_name_all_completions): new function.
5411 (user_name_completion): new function.
5412 (syms_of_dired): 2 new DEFSUBRs.
5413 (vars_of_dired): initialize user name cache vars.
5415 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5417 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5418 colors taken from the default face. Also correct a thinko in
5419 transparency (not alpha) handling.
5421 1998-07-23 Martin Buchholz <martin@xemacs.org>
5423 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5424 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5425 * lread.c (Fload_internal): Be very careful with printfs of
5427 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5430 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5432 * callint.c (Fcall_interactively): GCPRO prompt string before
5433 passing it to Fread_key_sequence
5435 1998-07-27 SL Baur <steve@altair.xemacs.org>
5437 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5438 Vvertical_divider_map.
5440 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5441 Qnil or 0, none were initialized prior to this change.
5443 Rename misnamed `V' prefixed integer variables:
5444 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5445 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5446 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5447 Vcanna_ichiran_revLen.
5449 Rename misnamed `V' prefixed integer variables and initialize
5450 properly in the vars_of routine.
5451 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5452 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5453 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5454 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5455 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5456 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5457 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5458 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5459 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5460 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5461 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5462 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5463 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5464 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5465 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5466 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5467 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5468 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5469 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5470 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5471 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5472 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5473 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5474 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5475 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5476 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5477 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5478 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5479 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5480 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5481 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5482 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5483 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5484 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5485 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5486 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5487 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5488 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5489 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5490 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5491 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5492 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5493 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5494 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5495 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5496 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5498 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5500 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5501 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5502 keys thus no longer considering all keysyms on a key.
5504 1998-07-19 SL Baur <steve@altair.xemacs.org>
5506 * XEmacs 21.2-beta1 is released.
5508 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5510 * eldap.c (Fldap_search_internal): When converting the list of
5511 attributes to search Copy the final 0 from Lisp strings to C
5513 Check base, not Vldap_default_base as a a string
5515 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5517 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5519 * unexnt.c: Unconditionally define bss_start and bss_size, and
5520 ensure that they don't go in the .bss section.
5522 1998-07-17 Olivier Galibert <galibert@pobox.com>
5524 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5525 byte order is dependant of the local byte order).
5526 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5528 1998-07-18 SL Baur <steve@altair.xemacs.org>
5530 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5531 Qmswindows_resource.
5532 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5534 1998-07-12 SL Baur <steve@altair.xemacs.org>
5536 * general.c (syms_of_general): Add defsymbol for Qresource.
5538 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5539 Qmswindows_resource.
5540 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5541 (mswindows_resource_validate): Rename.
5542 (mswindows_resource_normalize): Rename.
5543 (mswindows_resource_possible_dest_types): Rename.
5544 (mswindows_resource_instantiate): Rename.
5545 (image_instantiator_format_create_glyphs_mswindows): Replace
5546 `resource' with `mswindows.resource'.
5548 * XEmacs 21.0-pre5 is released.
5550 1998-07-10 SL Baur <steve@altair.xemacs.org>
5552 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5553 server type in environment.
5554 Use alloca-ed strings instead of tiny fixed size ones.
5556 1998-07-09 SL Baur <steve@altair.xemacs.org>
5558 * XEmacs 21.0-pre4 is released.
5560 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5562 * fileio.c: (expand_file_name): under win32: Don't treat names
5563 as UNC names if a drive letter has been specified. If a drive
5564 has been specified, strip out extra directory-seperators that
5565 reportedly cause problems under Win95.
5567 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5569 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5570 MSVC >= 5.0. Put emacs init and zero-init data in a special
5571 section of the executable when this is defined.
5573 * unexnt.c, ntheap.h:
5574 Removed unused find_section() and get_section_size().
5577 Fix up the executable's checksum after dumping otherwise the
5579 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5580 zero-init data separately from init data. Dump emacs data
5581 into a special section of the executable.
5582 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5583 my_ebss instead of up to the end of bss.
5585 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5587 * filelock.c: Removed Vconfigure_lock_directory - already
5590 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5591 defined in frame.c and general.c respectively.
5593 * glyphs-msw.c: Removed Qresource - already defined in
5596 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5598 * eldap.c (Fldap_search_internal): Docstring fixes
5600 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5602 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5603 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5604 EMACSPACKAGEPATH and INFOPATH variables.
5605 Removed unused get_emacs_configuration function.
5607 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5608 it is now defined at build-time by the makefile.
5610 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5612 * fileio.c: (expand_file_name): under win32: Don't treat names as
5613 UNC names if a drive letter has been specified. If a drive has
5614 been specified, strip out extra directory-seperators that
5615 reportedly cause problems under Win95.
5617 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5619 * faces.c (complex_vars_of_faces): for the gui-element face don't
5620 fallback to the default face, instead provide reasonable default
5621 fallbacks that were previously hardcoded elsewhere.
5623 1998-07-06 Olivier Galibert <galibert@pobox.com>
5625 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5626 when the X server endianness is different than the client's one.
5628 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5630 * eval.c (run_hook_with_args_in_buffer): Check
5631 default (non-buffer-local) value of hook for
5632 nil before treating it as a function. Don't initialize
5633 the `globals' variable twice.
5635 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5637 * fileio.c: Don't do directory seperator canonicalisation in
5638 substitute-in-file-name because we don't know that the
5639 filename refers to a local file.
5641 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5643 * process-nt.c (nt_create_process): Try appending the standard
5644 executable file extensions to the filename if none supplied.
5646 1998-06-29 SL Baur <steve@altair.xemacs.org>
5648 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5650 From Keisuke Mori <ksk@ntts.com>
5652 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5654 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5655 images if we have masks. This handles the xbm case (have masks)
5656 and avoids overuse of resources in the xpm case (generally no masks).
5657 Don't output small toolbars.
5659 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5661 * eval.c (run_hook_with_args_in_buffer): Don't treat
5662 the default value of a buffer local hook as a list of
5663 hooks unless it is both a cons and the car of that cons
5666 1998-06-29 SL Baur <steve@altair.xemacs.org>
5668 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5669 * process-unix.c: Ditto.
5670 * mule-coding.h: Ditto.
5671 * mule-coding.c: Ditto.
5672 * mule-charset.c: Ditto.
5673 * mule-charset.h: Ditto.
5674 * file-coding.c: Ditto.
5675 * file-coding.h: Ditto.
5677 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5679 * event-msw.c: Guard against recursion when freeing
5680 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5682 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5683 Call ShowWindow twice in init_frame_3 to get round runemacs
5686 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5688 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5690 * winslots.h: Rename.
5692 * window.c (specifier_vars_of_window): Renamed
5693 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5694 as suggested by Ben Wing.
5695 (specifier_vars_of_window): Fix docstrings.
5697 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5699 * unexaix.c: Line number information works correctly again.
5701 1998-06-22 Olivier Galibert <galibert@pobox.com>
5703 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
5705 1998-06-21 Martin Buchholz <martin@xemacs.org>
5707 * editfns.c (get_home_directory): ANSIfy.
5708 XEmacs is compilable under C *and* C++.
5709 It's XEmacs, not Xemacs!
5711 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5713 * console-msw.h: added a list of fonts to device data.
5715 * device-msw.c: enumerate list of available fonts in
5716 mswindows_init_device. Free list in mswindows_delete_device.
5718 * objects-msw.c: Added helper function match_font used by
5719 mswindows_initialize_font_instance and mswindows_list_fonts.
5720 Allow a charset to be specified in a font string, even if
5721 previous fields havn't been specified.
5723 1998-06-23 Greg Klanderman <greg@alphatech.com>
5725 * indent.c (column_at_point): column cache bugfix.
5726 Set last_known_column_point to the buffer position for
5727 which the column was requested, not buffer's point.
5729 * redisplay.c (decode_mode_spec): for current-column, show
5730 window's point's column, not buffer's point's column.
5732 1998-06-23 Andy Piper <andyp@parallax.co.uk>
5734 * menubar-msw.c (mswindows_handle_wm_command): use
5735 enqueue_misc_user event rather than
5736 mswindows_enqueue_msic_user_event to fix customize problems. Add some
5739 * console-msw.h: declare mswindows_enqueue_magic_event.
5741 * event-msw.c (mswindows_enqueue_magic_event): make global.
5743 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
5745 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
5746 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
5747 (add_position_to_cache): Use EMACS_INT instead of int.
5749 1998-06-21 Olivier Galibert <galibert@pobox.com>
5751 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
5752 suitable for an int used as a boolean (btw, C sucks.).
5754 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5756 * object-msw.c: remove warnings.
5758 * device-msw.c: #define wrongly named cygwin structure elements.
5760 * s/cygwin32.h: define DEMI_BOLD
5762 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5764 * redisplay-msw.c: new function mswindows_apply_face_effects.
5765 This is called by output_string and output_cursor to display
5766 underline and strikeout on faces.
5768 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
5770 * console-msw.h: added a list of fonts to device data.
5772 * device-msw.c: enumerate list of available fonts in
5773 mswindows_init_device. Free list in mswindows_delete_device.
5775 * objects-msw.c: Added helper function match_font used by
5776 mswindows_initialize_font_instance and mswindows_list_fonts.
5777 Allow a charset to be specified in a font string, even if
5778 previous fields havn't been specified.
5780 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
5783 Removed compilation warnings from mswindows_string_to_color.
5784 mswindows_list_fonts returns a more general bogus font.
5785 New lisp-visible function mswindows-color-list.
5787 1998-06-19 David Bush <david.bush@adn.alcatel.com>
5789 * editfns.c (Fuser_login_name): Modify to user new function
5791 (user_login_name): C only function to avoid Lisp object overhead
5792 Returns "unknown" instead of nil in Cygwin environment
5794 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
5795 equivalent for current user in Cygwin environment. Use new
5796 function user_login_name to get username.
5798 * lisp.h: Declare user_login_name
5800 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5802 * unexaix.c (make_hdr): Fixed bias computations so debugging info
5804 Some other insignificant nitpicks.
5806 1998-06-18 Andy Piper <andyp@parallax.co.uk>
5808 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
5809 creating the image list and make sure he bk color is transparent.
5811 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
5813 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
5814 completed_timeouts. The timer could have expired.
5816 1998-06-17 Andy Piper <andyp@parallax.co.uk>
5818 * console-msw.h: move XEMACS_RECT_WH inside frame
5819 parameters. define macors to access it.
5821 * frame-msw.c (mswindows_init_frame_1): use new target_rect
5822 parameter to intialise desired sizing. (mswindows_init_frame_2):
5823 enable and size the frame to something sensible when we get
5824 here. (mswindows_set_frame_properites): use new
5825 mswindows_size_frame_internal function and size frame if frame
5826 parameters not just if init is finished - WM_SIZE happens too
5827 early for some specs. (mswindows_size_frame_internal): new
5828 function abstracted from mswindows_set_frame_properties.
5829 (Vmswindows_use_system_frame_size_defaults):
5830 new variable controls whether to allow the system to pick frame
5831 size defaults, defaults to nil.
5833 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
5834 than duplicated code.
5836 1998-06-15 Colin Rafferty <colin@xemacs.org>
5838 * Makefile.in.in: Made EXTW_LINK expand properly.
5840 1998-06-12 Martin Buchholz <martin@xemacs.org>
5842 * redisplay.c (vars_of_redisplay): default value of
5843 column-number-start-at-one should be NIL!
5845 1998-06-11 Martin Buchholz <martin@xemacs.org>
5848 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
5850 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
5852 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
5853 build_string to avoid crashes under Mule.
5855 1998-06-13 Andy Piper <andyp@parallax.co.uk>
5857 * ntplay.c (play_sound_data_1): don't delete the sound data until
5858 the next sound is played and the previous one finished.
5860 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
5862 * fileio.c (directory-sep-char): Escape backslashes.
5864 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
5866 * event-stream.c: Fix docstring reference.
5868 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
5870 * alloc.c (make_float): Remove useless initialization of `next'
5872 (make_pure_float): Ditto.
5874 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
5876 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5878 * fileio.c (Fmake_directory_internal): Remove conditionals
5879 on WINDOWSNT when calling mkdir.
5881 * ntproc.c: Deleted the following unused functions:
5882 register_child, reap_subprocess, sys_wait.
5884 * nt.c (sys_rename): Ifzeroed this implementation.
5885 Deleted the following unused functions:
5886 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
5887 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
5888 sys_read, sys_write.
5889 Merger sys_fopen and sys_open with sysdep.c implementation.
5891 * sysdep.c: Removed MS-DOS code.
5892 (sys_rename): Deal with Microsoft rename weirdness.
5893 (sys_open): Implemented for Windows.
5897 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
5899 * buffer.c (complex_vars_of_buffer): Removed %t description from
5902 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5904 * scrollbar-msw.c: initialize the cbSize element of the
5905 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
5906 to ignore the value of cbSize, but Win95 (and I presume Win98)
5907 appear to want it set to sizeof(SCROLLINFO).
5909 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
5911 * event-stream.c: Defined Qcancel_mode_internal.
5912 (syms_of_event_stream): defsymbol'ed it.
5914 * events.h: Externed it.
5916 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
5918 1998-06-04 Oliver Graf <ograf@fga.de>
5920 * frame-x.c (x_cde_destroy_callback): free the data
5921 (cde-start-drag-internal) corrected root position, 21.1 needs this
5922 hardcoded in Button events
5923 (offix-start-drag-internal) corrected root position
5925 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5927 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
5930 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
5932 * dialog-msw.c (button_width): Removed `inline' from the function
5935 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
5937 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
5938 Note that adding this flag to subsequent frames causes problems.
5940 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5942 * glyphs-eimage.c (png_instantiate) move 'struct
5943 png_memory_storage tbr' out of nested block to avoid dangling
5946 1998-06-02 Andy Piper <andyp@parallax.co.uk>
5949 * faces.c: rename 3d-object -> gui-element. add toolbar face which
5950 inherits from gui-element.
5952 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
5953 with existing code, generate masks correctly.
5955 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
5957 * glyphs-eimage.c: Changed included header for gifs to use
5958 Gifreader instead of giflib.
5960 * glyphs-x.c: removed the image-related functions that were
5961 moved into glyphs-eimage.
5963 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
5965 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
5966 if built without X Windows support.
5968 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
5970 * fns.c (Fconcat): Synch docstring with new reality.
5972 1998-06-03 SL Baur <steve@altair.xemacs.org>
5974 * frame.c: Remove reference to msdos.h (which is going away).
5975 Suggested by Hrvoje Niksic and Kirill Katsnelson.
5977 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
5979 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
5983 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
5985 * events.h: Fixed commentary about misc-user scrollbar events.
5987 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
5988 object as an event channel, instead of window object.
5989 (x_update_horizontal_scrollbar_callback): Ditto.
5991 1998-05-29 Andy Piper <andyp@parallax.co.uk>
5993 * ntplay.c (play_sound_data_1) new function. convert alloca data
5994 to malloc if necessary.
5995 (play_sound_file): if the file is not in our path then convert to
5998 1998-06-01 SL Baur <steve@altair.xemacs.org>
6000 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
6001 * msdos.c (Frecent_doskeys): Ditto.
6003 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
6004 Suggested by Reggie Perry <perry@zso.dec.com>
6006 * buffer.h: Eliminate size in declaration.
6008 1998-06-01 Olivier Galibert <galibert@pobox.com>
6010 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
6012 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
6014 * gui.c (gui_item_init): Changed the default value for config member
6015 from Qunbound to Qnil.
6017 1998-06-01 Greg Klanderman <greg@alphatech.com>
6019 * indent.c (vmotion_pixels): Don't #define abs().
6021 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6023 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
6026 1998-05-30 Andy Piper <andyp@parallax.co.uk>
6028 * glyphs.h: add xbm declarations.
6030 * console.h: add xbm_instantiate_method device method.
6032 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
6033 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
6034 (xbm_possible_dest_types): moved here from glyphs-x.c. use
6035 locate_pixmap_file device method and read_bitmap_data_from_file
6036 instead of XmuReadBitmapDataFromFile.
6037 (xbm_instatntiate): make a device method.
6039 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
6040 new function that just calls XmuReadBitmapDataFromFile.
6041 (x_xbm_instatntiate): device method from xbm_instantiate.
6043 * glyphs-msw.c (read_bitmap_data) (NextInt)
6044 (read_bitmap_data_from_file): new functions copied from Xmu
6046 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
6047 inline data to an mswindows bitmap.
6048 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
6049 (mswindows_xbm_instantiate): mswindows-ized versions of the X
6052 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6054 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
6055 `modeline-visible-p'.
6056 Declared specifier lisp variables at the beginning oh the file
6059 * procimpl.h (struct process_methods): Changed semantics of
6060 create_process method so it accepts lisp strings instead of
6063 * process.c (Fstart_process_internal): Moved building of
6064 unix style argv from here to process-unix.c, ...
6066 * process-unix.c (unix_create_process): ... right here.
6068 * process-nt.c (nt_create_process): Changed this function to
6069 support new semantics, so avoided a GC problem.
6071 * events.c (Fmake_event): Document misc-user events properties.
6072 (Fmake_event): Do not allow arbitrary objects for channel property
6073 of misc-user events.
6074 (Fmake_event): Change misc-user event validation: it is function
6075 which is required, not button.
6077 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
6079 (mswindows_enqueue_misc_user_event): Added function.
6080 (mswindows_bump_queue): Removed function.
6081 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
6082 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
6083 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
6084 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
6085 really nothing, which is my personal favorite thing.
6087 * console-msw.h: Removed prototype for mswindows_bump_queue().
6088 Added prototype for mswindows_enqueue_misc_user_event().
6090 * menubar-msw.c (mswindows_handle_wm_command): Use
6091 mswindows_enqueue_misc_user_event().
6093 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6095 * dialog-msw.c (dialog_proc): Ditto.
6097 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6098 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6099 user events channel.
6101 1998-05-29 Greg Klanderman <greg@alphatech.com>
6103 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6104 incorrect semantics of vmotion_pixels which has been fixed. don't
6105 use it anymore as it can't easily be used.
6107 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6108 the motion was reported incorrectly if you tried to go past end of
6111 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6113 * toolbar.h: Removed misleading commentary, as Martin suggested.
6115 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6117 * lisp.h: Extern Qactivate_menubar_hook.
6119 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6122 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6124 * glyphs-msw.c: use BPLINE macro.
6126 * select-msw.c (mswindows-selection-exists-p)
6127 (mswindows-delete-selection): doc string fixes.
6129 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6130 unpressable. warning elimination.
6132 1998-05-28 Martin Buchholz <martin@xemacs.org>
6134 * alloc.c (dbg_constants):
6137 Remove toolbar_data debugging code, since that lrecord has
6140 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6142 * alloc.c: zap cached value of (user-home-directory), so that
6145 * buffer.c: From init_buffer(), separated out code that
6146 determined the initial directory for the *scratch* buffer, and
6147 put them into a function called "init_initial_directory()".
6148 The initial directory is now available as a global "char *"
6149 called initial_directory.
6151 * buffer.h: Added extern entries for initial_directory[] and
6152 init_initial_directory().
6154 * editfns.c: added new elisp function "user-home-directory",
6155 which basically returns getenv("HOME"), but attempts to use
6156 other values if $HOME isn't set.This may have to be tweaked in
6157 the future as, under Unix, "/" is used if $HOME isn't set (this
6158 probably should be set to the current directory). To support
6159 this, a new C function, "get_home_directory()", now exists,
6160 which returns the "home directory", as a "char *" string.
6162 * emacs.c: Rearrange NT initialization order so that
6163 environment/registry variables will be properly entered into
6164 Vprocess_enviroment.
6166 * fileio.c: replaced egetenv("HOME") with calls to the new
6167 get_home_directory().
6169 * lisp.h: Added function prototypes for uncache_home_directory()
6170 and get_home_directory(), along with lisp prototypes for
6171 Fuser_home_directory() and friends.
6173 * nt.c: replaced getenv("HOME") with calls to the new
6174 get_home_directory().
6176 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6177 warnings about getcwd(), etc. not having prototypes.
6179 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6181 * process-nt.c (send_signal): Emulate SIGHUP.
6182 (validate_signal_number): Ditto.
6184 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6185 remove MOD_SHIFT from ASCII characters.
6186 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6189 1998-05-24 Oliver Graf <ograf@fga.de>
6191 * frame-x.c (cde-start-drag-internal): added filename and multi-
6193 (x_cde_convert_callback) dito
6195 1998-05-26 Oliver Graf <ograf@fga.de>
6197 * frame-x.c: include event-mod.h also with CDE
6198 (x_cde_convert_callback) made the thing working
6199 (cde-start-drag-internal) also debugging
6201 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6208 - add __OpenBSD__ where __NetBSD__ was found.
6209 - TODO: replace platform-specific conditional compilation by
6210 feature tests in configure.in.
6212 1998-05-15 Greg Klanderman <greg@alphatech.com>
6214 * window.c (Fwindow_displayed_text_pixel_height): New function.
6215 (syms_of_window): DEFSUBR it.
6217 * indent.c (Fvertical_motion_pixels): New function - request
6219 (vmotion_pixels): helper.
6220 (syms_of_indent): DEFSUBR.
6221 * lisp.h: declaration for vmotion_pixels().
6223 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6224 to request returning motion in pixels.
6225 (Fvertical_motion_pixels): Remove, functionality merged into
6227 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6228 (Fmove_to_window_line): ditto.
6229 * lisp.h: Change declaration for Fvertical_motion.
6231 * window.c: rename window-text-pixel-{height,width,edges} to
6232 window-text-area-pixel-*.
6234 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6236 * tooltalk.c (vars_of_tooltalk) added staticpro for
6237 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6239 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6241 * faces.c: create a new 3d_object_face, make modeline and
6242 vertical_divider faces fallback to this rather than the default.
6244 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6246 * s/cygwin32.h: define charsets for cygwin.
6248 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6250 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6251 and coordinates. resize bitmaps if we have already settled on a
6254 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6256 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6258 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6260 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6264 * gui-x.c (popup_selection_callback): Ditto.
6266 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6268 * gui.c (get_callback): Renamed to get_gui_callback.
6270 1998-05-17 Martin Buchholz <martin@xemacs.org>
6272 * glyphs.h: order rearrangement.
6274 * device-tty.c (tty_asynch_device_change): Warning suppression.
6275 * device-x.c (x_device_system_metrics): Warning suppression.
6276 Make Doc strings consistent with coding standards.
6278 1998-05-24 Martin Buchholz <martin@xemacs.org>
6280 * general.c: multiple definition of `Qicon'. general.c seems
6281 like a good home for Qicon.
6283 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6285 * This patch is to fix compilation warnings under Windows.
6287 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6288 Added prototypes for FSF inherited functions, with which XEmacs is
6289 sprinkled thoroughly.
6290 Removed some #if 0 code. Bracketed some more definitions, probably
6291 related to Visual C versions prior to 4 (we do not support them).
6293 * sysfloat.h (logb): Finally, get logb() prototyped.
6295 * sysfile.h: Added Windows specific includes.
6296 Removed old Windows specific code bracketed with #if 0.
6298 * sysdep.h: Added prototype for xrealpath().
6300 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6302 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6303 vars_of_dired_mswindows and init_ntproc (Grrr).
6305 * realpath.c: Added Windows specific include files.
6306 (xrealpath): Conditionalized declaration of some auto variables on
6307 S_IFLNK, to avoid warnings.
6309 * ntproc.c: Disabled some compiler warnings. This file is going to
6310 die, so I have not cleaned it up much.
6311 (set_process_dir): Const parameter.
6312 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6313 (Fwin32_long_file_name): Ditto.
6314 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6317 * nt.h: Added prototypes for set_process_dir and convert_time.
6319 * nt.c: More include files.
6320 (getpwnam): Consted char* argument.
6321 (get_emacs_configuration): Const return value.
6322 (opendir): Const argument.
6323 (stat): Casted converstion long->short.
6324 (stat): Removed ad hoc and questionable support for non-MSC compile.
6325 (sys_pipe): Removed unused auto variable.
6326 (_sys_read_ahead): Removed calls to DebPrint.
6327 (sys_read): Ditto, in 2 places.
6328 (term_ntproc): Added unused int parameter to signal handler, to
6329 avoid a warning when compiling a call to signal().
6330 (msw_sigset): Properly return old signandler or NULL instead of void.
6332 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6334 * gmalloc.c (morecore): Ditto.
6335 (_free_internal): Ditto.
6337 * lread.c (parse_integer): Ditto.
6339 * dired-msw.c: Added several include files.
6341 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6342 of Compilers to Shut Up.
6344 * callproc.c: Added #includes to suppress warnings under Windows.
6345 (init_callproc): Removed #if0'ed code and unused variables.
6347 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6349 * device-msw.c (mswindows_device_system_metrics): do planes in a
6350 way consistent with X.
6352 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6353 use SetPixel, use DIBits functions.
6354 (xpm_to_eimage): frob colors more closely like xpm deos.
6356 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6357 to be closer to X version.
6359 * event-msw.c: use tooltip string directly.
6361 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6363 * objects-msw.c: frob rgb colors that only Kyle uses.
6365 * dialog-msw.c (button_width): INLINE -> inline.
6367 1998-05-23 SL Baur <steve@altair.xemacs.org>
6369 * getloadavg.c (getloadavg): Fix typo.
6371 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6373 * objects-msw.c (mswindows_initialize_font_instance): Added support
6374 for font character sets.
6375 Replaced 'XXX' with '####' in comments throughout the file.
6377 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6379 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6380 console_type_create_dialog_mswindows(), to initialize Windows dialog
6383 * symsinit.h: Prototyped the above functions.
6385 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6386 checks to dialog.c...
6388 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6389 device must support dialog boxes, and the descriptor must supply at
6392 * dialog-msw.c: New file, dialogs for Windows.
6394 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6396 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6397 (Fldap_search_internal): Removed unused variable `err'
6399 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6402 1998-05-17 Martin Buchholz <martin@xemacs.org>
6404 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6405 defined. Therefore there is no need to handle the case when
6406 HAVE_LDAP is undefined. Similarily, there is no reason to have
6407 any code wrapped within `#ifdef emacs', since this code is only
6408 useful within an emacs. This simplifies the code significantly.
6410 * inline.c: Include eldap.h only if HAVE_LDAP.
6411 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6414 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6416 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6417 printing dump stats when building without DEBUG_XEMACS.
6418 (dump_bss_and_heap): Ditto.
6420 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6422 * gnuclient.c: don't suppress window system if there is no display
6423 and we are running under mswindows. send 'mswindows device type if
6424 we are in this situation.
6426 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6429 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6431 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6434 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6436 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6437 {top,bottom}-{left,right} values in addition to
6438 {top,bottom}_{left,right}.
6440 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6442 * fileio.c (Fmake_temp_name): Remove unreached code.
6444 * process-nt.c (validate_signal_number): Use
6445 signal_simple_error().
6447 1998-05-19 Martin Buchholz <martin@xemacs.org>
6450 * sound.c (vars_of_sound):
6451 * sysdep.c (reset_sigio_on_device):
6452 * window.c (window_bottom_gutter_height):
6453 unexhp9k800.c:258: warning: implicit declaration of function
6454 `calculate_checksum'
6455 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6456 sysdep.c:1012: warning: unused variable `owner'
6457 window.c:993: warning: `window_right_toolbar_width' defined but not used
6459 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6461 * glyphs-msw.c (mswindows_create_resized_mask)
6462 (mswindows_create_resized_bitmap): new funnctions split out from
6463 mswindows_resize_dibitmap_instance.
6465 * glyphs-msw.h: declare new resize functions.
6467 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6468 functions so that the original bitmaps are preserved.
6470 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6472 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6473 color if we are trying to output 0 depth bg pixmap.
6475 * scrollbar-msw.c: warning elimination.
6477 1998-05-18 Martin Buchholz <martin@xemacs.org>
6479 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6480 directives in column 1.
6482 * search.c (skip_chars): Avoid using xzero with arrays, since some
6483 compilers get confused by the construct &array.
6485 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6488 * objects-msw.c: Changed the charset value for a new font from
6489 "don't care" to "ansi".
6491 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6493 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6495 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6496 modifier on control chars.
6497 Use IsCharAlpha() instead of isaplha().
6499 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6501 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6503 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6505 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6506 charset when creating font.
6507 (mswindows_initialize_color_instance): Do not create brush along
6509 (mswindows_finalize_color_instance): Do not delete it then.
6511 * objects-msw.h (struct mswindows_color_instance_data): Removed
6512 brush slot, and corresponding accessor macro.
6514 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6516 * toolbar.c: Removed toolbar_data lrecord implementation.
6517 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6518 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6519 (compute_frame_toolbar_buttons): Ditto.
6520 (CHECK_TOOLBAR): Ditto.
6521 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6522 (update_frame_toolbars): Do not check for changed buffer
6523 here. Toolbar information is provided by cached specs in
6524 windows. The check for buffer is eliminated becuase toolbars are
6525 marked changed in set_frame_selected_window() in frame.c
6526 Added check for changed toolbars geometry.
6527 (compute_frame_toolbars_data): Removed unused second parameter;
6528 Adjusted callers of this static function throughout the file.
6529 (init_frame_toolbars): Initialize current_toolbar_size.
6530 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6531 what is its current expansion, for clarity.
6532 (init_frame_toolbars): Ditto.
6533 (init_device_toolbars): Ditto.
6534 (init_global_toolbars): Ditto.
6536 * toolbar.h: Removed definition of toolbar_data lrecord.
6537 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6538 FRAME_CURRENT_TOOLBAR_SIZE.
6539 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6541 * toolbar-x.c (x_output_toolbar): The same change as in
6543 (x_output_toolbar): Ditto.
6544 (x_redraw_exposed_toolbar): Ditto.
6546 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6547 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6548 (mswindows_output_toolbar): Ditto.
6549 (mswindows_output_toolbar): Ditto.
6551 * frame.c (mark_frame): Removed marking of arrays, according to
6552 frameslots.h change.
6553 (nuke_all_frame_slots): Ditto.
6554 (set_frame_selected_window): Mark toolbars changed when
6555 last_nonminibuf_window changes.
6557 * frame.h (struct frame): Moved some slots to frameslots.h.
6558 Added current_toolbar_size array.
6559 Changed references from toolbar_data to toolbar_buttons in macros
6560 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6561 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6562 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6564 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6565 Moved arrays of lisp objects here from frame.h: toolbar_size,
6566 toolbar_visible_p, toolbar_border_width.
6567 Removed toolbar_data slot and added toolbar_buttons.
6569 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6571 * symsinit.h: Externed syms_of_process_nt()
6573 * emacs.c (main_1): Call syms_of_process_nt()
6575 * process-nt.c: Quote process arguments by a call to Lisp function
6576 `nt-quote-process-args'.
6577 (syms_of_process_nt): New function.
6578 (nt_send_process): Flush data stream after each write, to avoid
6579 leaving buffered data.
6580 (nt_send_process): When blocked on process output, wait for
6581 process to slurp more for progressively increasing time intervals.
6583 1998-05-17 Martin Buchholz <martin@xemacs.org>
6585 * window.c (have_undivided_common_edge): Make file-local function
6587 (map_windows): Return 0 if all map functions successful.
6590 * winslots.h: Use unlikely names for local variables in macros to
6591 avoid shadowing warnings.
6593 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6595 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6596 so that we re-output if the toolbar size has changed.
6598 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6600 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6602 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6604 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6607 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6609 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6610 get bitmap manifest constants defined.
6612 * console-msw.h: Include system files in angle brackets, not in
6615 * window.c (specifier_vars_of_window): Fixed a typo in
6616 `vertical-divider-line-width' docstirng.
6618 1998-05-16 Olivier Galibert <galibert@pobox.com>
6620 * line-number.c (delete_invalidate_line_number_cache): Use an
6622 (buffer_line_number): Remove dangerous, plain wrong when using
6623 64bits emacs ints, cast.
6625 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6627 * cmds.c (Fforward_line): Use EMACS_INTs.
6629 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6630 (scan_buffer): Ditto.
6631 (bi_find_next_newline_no_quit): Remove useless cast.
6632 (find_next_newline_no_quit): Ditto.
6633 (find_next_newline): Ditto.
6634 (find_before_next_newline): Use an EMACS_INT.
6636 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6638 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6640 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6642 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6644 * gui-x.c (popup_selection_callback): Use it.
6646 * gui.h (get_callback): Declare it.
6648 * gui.c (get_callback): New function.
6650 1998-05-15 SL Baur <steve@altair.xemacs.org>
6652 * window.c (have_undivided_common_edge): Guard scrollbar specific
6654 (window_needs_vertical_divider_1): Ditto.
6656 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6658 * emacs.c (decode_path): Eliminate compiler warning.
6659 (Fdecode_path): Renamed to Fsplit_path.
6660 (Fsplit_string_by_char): New function.
6662 1998-05-14 Damon Lipparelli <lipp@primus.com>
6664 * winslots.h: close comment
6666 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6668 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6670 * bufslots.h: Removed buffer_file_type slot.
6672 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6674 (complex_vars_of_buffer): Removed buffer-file-type variable and
6675 its default reference.
6677 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6679 * faces.c (complex_vars_of_faces): Defined
6680 Vvertical_divider_face.
6681 (vars_of_faces): Staticpro it.
6683 * faces.h: Externed Vvertical_divider_face.
6685 * redisplay-x.c (x_output_vertical_divider): Use
6686 Vvertical_divider_face to draw the divider instead of modeline
6689 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6690 divider face using Vvertical_divider_face background.
6691 Fix drawing spacing gaps around the divider.
6693 1998-05-14 Didier Verna <verna@inf.enst.fr>
6695 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6696 values for the vertical divider line width and spacing. Use the
6697 cached values from the window structure instead.
6698 (x_divider_width): ditto.
6700 * window.c (specifier_vars_of_window): new specifiers:
6701 vertical-divier -line-width and -spacing.
6702 (vertical_divider_global_width_changed): formerly known as
6703 vertical_divider_shadow_thickness_changed.
6705 * winslots.h: new slots: vertical_specifier _line_width and
6706 _spacing. Plus corrected a comment typo.
6708 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6710 * window.h: Declared window_divider_width().
6712 * console-stream.c (stream_divider_width): Removed method.
6713 (console_type_create_stream): And declaration for it.
6715 * redisplay.c (pixel_to_glyph_translation): Use
6716 window_divider_width() instead of divider_width redisplay method.
6717 (pixel_to_glyph_translation): Fix top divider edge calculation
6718 when scrollbar is on top.
6720 * window.c (window_divider_width): New function, an outphaser for
6721 divider_width redisplay method.
6722 (window_right_gutter_width): Use it.
6723 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
6724 specifiers, set fallback values differently on TTYs, and document
6725 the behavior of these on TTYs in the docstrings.
6727 * scrollbar.c (update_scrollbar_instance): Use
6728 window_divider_width() instead of divider_width redisplay method.
6730 * console.h (struct console_methods): Removed divider_width_method.
6732 * redisplay-tty.c (tty_divider_width): Removed device method.
6733 (console_type_create_redisplay_tty): Removed definition for it.
6734 (tty_output_vertical_divider): Respect the value returned by
6735 window_divider_width thus divider line width specification.
6737 * redisplay-msw.c (mswindows_divider_width): Removed device method.
6738 (console_type_create_redisplay_mswindows): Removed definition for it.
6739 (mswinodws_output_vertical_divider): Respect the value returned by
6740 window_divider_width thus divider line width specification.
6742 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6744 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
6746 1998-05-15 Andy Piper <andyp@parallax.co.uk>
6748 * glyphs-msw.c: resource loading implementation.
6749 (cursor_normalize): new function.
6750 (cursor_validate): ditto.
6751 (cursor_instantiate): ditto.
6752 (cursor_name_to_resource): ditto.
6753 (cursor_possible_dest_types): ditto.
6754 (check_valid_symbol): ditto.
6755 (check_valid_string_or_int): ditto.
6757 1998-05-14 Martin Buchholz <martin@xemacs.org>
6759 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
6762 * process-unix.c (process_signal_char): Use VSUSP instead of
6763 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
6765 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6767 * specifier.c (specifier_instance): Change locale precedence of
6768 instantiation so window locale has higher priority than buffer
6770 (Fspecifier_instance): Reflect this in docstring.
6771 (Fadd_spec_list_to_specifier): Ditto.
6772 (Fadd_spec_to_specifier): Ditto.
6773 (Fremove_specifier): Ditto.
6775 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6777 ** Dialog separation into a device method from Andy Piper
6779 * emacs.c (main_1): Call console_type_create_dialog_x().
6781 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
6782 into this device method.
6783 (console_type_create_dialog_x): New function.
6785 * dialog.c (Fpopup_dialog_box): New function.
6786 (syms_of_dialog): Defsubr it.
6788 * console.h (struct console_methods): Declared
6789 popup_dialog_box_method().
6791 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
6793 1998-05-14 Oliver Graf <ograf@fga.de>
6795 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
6796 * frame-x.c (x_cde_transfer_callback): checked for merge errors
6798 1998-05-13 Oliver Graf <ograf@fga.de>
6800 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
6802 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6804 * console.h (device_metrics): Removed dbcs, input-method-editor
6805 and right-to-left metrics.
6807 * device.c (Fdevice_system_metric): Ditto.
6808 (Fdevice_system_metrics): Ditto.
6809 (syms_of_device): Ditto.
6810 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
6813 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6815 * line-number.h (mark_line_number_cache): Remove unused
6818 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
6819 (get_nearest_line_number): Simplify.
6820 (add_position_to_cache): Make the old marker point nowhere.
6822 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6824 ** Renamed window-divider-map => vertical-divider-map
6825 and event-over-divider-p => event-over-vertical-divider-p,
6826 in the following files/functions:
6828 * events.c (Fevent_over_divider_p):
6829 * keymap.c (get_relevant_keymaps):
6832 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
6834 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
6836 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6838 * window.c (vertical_divider_changed_in_window): Renamed so.
6839 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
6840 (window_needs_vertical_divider_1): Decide whether we need it based
6841 on the value of the above specifier. If separators are unwanted,
6842 put them only if there's no scrollbar between this window and its
6844 (have_undivided_common_edge): New function, helper for the above.
6845 (window_needs_vertical_divider): Return either a cached value,
6846 or clauclate and cache one.
6847 (invalidate_vertical_divider_cache_in_window): Implemented.
6848 (map_windows): Changed return type to int, return the value from
6851 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
6852 (struct window): Added need_vertical_divider_p and
6853 need_vertical_divider_valid_p.
6855 * winslots.h: Added vertical_divider_draggable_p slot.
6857 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
6858 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
6860 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
6862 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
6863 invalidate_vertical_divider_cache_in_frame().
6866 1998-05-14 Andy Piper <andyp@parallax.co.uk>
6868 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
6870 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
6871 masks correctly and don't select 0.
6873 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6875 * winslots.h: New file, declaration of some struct window and
6876 struct saved_window members.
6878 * window.h (struct window): Include it, with required preprocessor
6881 * window.c (mark_window): Ditto.
6882 (allocate_window): Ditto.
6883 (struct saved_window): Ditto.
6884 (mark_window_config): Ditto.
6885 (saved_window_equal): Ditto.
6886 (Fset_window_configuration): Ditto.
6888 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6890 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
6892 1998-05-12 Didier Verna <verna@inf.enst.fr>
6894 * redisplay-x.c (x_output_vertical_divider): draw shadows around
6895 the divider line. The shadow thickness is currently
6896 hard-wired. This will probably be turned into a specifier soon.
6898 1998-05-12 Didier Verna <verna@inf.enst.fr>
6900 * console.h (struct console_methods): the divider_width console
6901 method now requires a struct window * argument.
6903 * redisplay-x.c (x_divider_width): ditto. Plus remove
6904 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
6905 (x_output_vertical_divider): give a depressed look when the shadow
6906 thickness is negative.
6908 * console-stream.c (stream_divider_width): pass a struct window *
6911 * redisplay-tty.c (tty_divider_width): ditto.
6913 * window.c (window_right_gutter_width): totdi.
6915 * redisplay.c (generate_modeline): ittod.
6917 * scrollbar.c (update_scrollbar_instance): ttido.
6919 * redisplay-msw.c (mswindows_divider_width): ottid.
6920 WARNING: this enables to compile, but the feature is not functional.
6922 * window.h (struct window): new field
6923 vertical_divider_shadow_thickness.
6925 * window.c (specifier_vars_of_window): new specifier
6926 vertical-divider-shadow-thickness.
6927 (vertical_divider_shadow_thickness_changed): new function to
6928 inform redisplay that the window has changed.
6929 (mark_window): handle new field vertical_divider_shadow_thickness
6931 (allocate_window): ditto.
6932 (saved_window_equal): toddi.
6933 (Fset_window_configuration): totid.
6934 (save_window_save): ttdio.
6935 (struct saved_window): new field vertical_divider_shadow_thickness.
6937 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
6939 * device-msw.c (mswindows_device_system_metrics): Support a deluge
6942 1998-05-12 Oliver Graf <ograf@fga.de>
6944 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
6945 * event-Xt.c (x_event_to_emacs_event): C++ compability
6947 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6949 * emacs.c (Fdecode_path): Default SEPCHAR to value of
6952 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6954 * emacs.c (vars_of_emacs): Do it here; change the meaning of
6957 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
6959 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
6961 * emacs.c (decode_path_1): New function.
6962 (decode_path): Use it.
6963 (Fdecode_path): Renamed from Fdecode_path_internal; use
6966 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
6968 * macros.c (Fzap_last_kbd_macro_event): New function.
6969 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
6971 1998-05-10 Andy Piper <andyp@parallax.co.uk>
6973 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
6974 multiple bitmaps are output vertically as well as horizontally.
6975 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
6976 crossing lines this is handled by
6977 mswindows_output_dibitmap_region.
6979 1998-05-12 Martin Buchholz <martin@xemacs.org>
6981 * inline.c: Include eldap.h
6983 * menubar-x.c (x_update_frame_menubar_internal):
6984 Remove: unused variable `container'
6986 1998-05-11 Martin Buchholz <martin@xemacs.org>
6988 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
6989 Unfortunately, the resulting temacs still cannot dump.
6991 * symbols.c (symbol_is_constant):
6992 (verify_ok_for_buffer_local):
6993 -Wswitch Warning suppression - add default case to switches.
6995 * redisplay.c (decode_mode_spec): Remove unused variables,
6996 Replace Fcoding_system_property (codesys, Qmnemonic) with
6997 XCODING_SYSTEM_MNEMONIC (codesys);
6998 Fcoding_system_property is for users.
7004 Change empty docstrings into no doc strings at all.
7005 Fix bogus FSF-format docstrings.
7008 Standardize docstrings.
7011 Explain problems with matherr.
7013 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
7016 if BROKEN_SIGIO, then SIGIO wants to be undefined.
7017 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
7018 Fix the weird resultant interaction (causes windows problems)
7022 Take new EMACSBOOTSTRAPLOADPATH into account.
7023 Update documentation strings
7026 - Adjust for luser's CDPATH being set to something weird.
7027 - Take into account bash 2.02's tendency to print the cwd when
7028 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
7029 - fix the run-temacs target to use $(DUMPENV)
7030 - fix the run-puremacs target to use $(DUMPENV)
7031 - fix the `depend' target to properly $(RM) the right files
7032 - Generate a better TAGS file for XEmacs' lisp code using
7033 hand-crafted regexps.
7034 - Use standard coding conventions for modules/Makefile.in
7036 1998-05-12 Didier Verna <verna@inf.enst.fr>
7038 * redisplay.c: removed the scrolling modeline code that didn't
7039 make it for 21.0. To be continued ...
7041 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7043 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
7044 and empty string inputs.
7046 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7048 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
7050 1998-05-10 Oliver Graf <ograf@fga.de>
7052 * event-stream.c (enqueue_misc_user_event_pos): created
7053 * lisp.h (enqueue_misc_user_event_pos): prototype added
7054 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
7055 * emacs.c: call vars_of_dragdrop
7056 * dragdrop.c (vars_of_dragdrop): provide dragdrop
7058 1998-05-11 Oliver Graf <ograf@fga.de>
7060 * frame-x.c (x_cde_transfer_callback): return at correct pos
7061 * event-Xt.c (x_event_to_emacs_event): changed format of drop
7062 object for MIME (see comment in dragdrop.c)
7063 * dragdrop.c: API change documented in comment
7064 removed provide of dragdrop [is provided by dragdrop.el]
7066 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7068 * window.c (window_needs_vertical_divider): Enable vertical
7069 dividers for every non-rightmost window.
7070 (window_left_gutter_width): Left gutter consists of mythical
7071 toolbar and a virtual scrollbar.
7072 (window_right_gutter_width): The right one may have a divider
7075 * scrollbar.c (update_scrollbar_instance): Position vertical
7076 scrollbar left to divider if the latter present.
7078 * redisplay.h: Declared OVER_DIVIER constant.
7080 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
7083 * redisplay-x.c (x_output_vertical_divider): Output divider along
7084 the right side of the window, down to window bottom. Swapped
7085 foreground and background colors so it is visible by default.
7087 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7088 stick the divider to the right window side.
7090 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7092 (mswindows_divider_width): Ask system for user preferred value.
7093 (mswindows_output_vertical_divider): Always output the divider on
7094 the right side of a window, down to bottom.
7096 * keymap.c (get_relevant_keymaps): Route mouse button events which
7097 happened over a window divider through window-divider-map.
7098 (Fkey_binding): Documented that in the docstring.
7099 Defined the variable Vwindow_divider_map.
7101 * events.c (Fevent_over_divider_p): Added this function.
7103 * events.h: EXFUNed it.
7105 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7107 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7108 toolbar geometry is suspected to change.
7110 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7114 Condition dnd and dde code on HAVE_DRAGNDROP.
7116 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7118 * events.c (format_event_object): Print space as SPC etc.
7120 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7122 * print.c (print_internal): In the default case, abort() if
7123 ERROR_CHECK_TYPECHECK.
7125 * fileio.c (Fmake_temp_name): Doc fix.
7127 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7129 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7131 * undo.c (Fprimitive_undo): Fixed typo.
7133 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7135 * fns.c (concat): Signal error on integer argument.
7137 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7139 * console.h (device_metrics): Prefixed each constatnt with DM_
7141 * device.c: (Fdevice_system_metric): Renamed so from plural form
7142 (metrics); Changed parameters order and added DEFAULT parameter;
7143 Unabbreviated some metric constants; Fixed and untabified doc string.
7144 (Fdevice_system_metrics): Added. Returns a plist of all provided
7147 * device-msw.c (mswindows_device_system_metrics): Renamed
7148 device_metrics enum constants.
7149 Return Qunbound instead of Qnil.
7151 * device-tty.c (tty_device_system_metrics): Ditto.
7153 * device-x.c (x_device_system_metrics): Ditto.
7155 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7157 * redisplay-msw.c: implement background pixmaps (really!). Make
7158 sure bg color is transparent if we have bg pmaps.
7159 * (mswindows_output_string) (mswindows_clear_region): output bg
7161 * (mswindows_output_dibitmap_region): new function.
7162 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7163 the bg color rather than transparently.
7165 * toolbar-msw.c: use masks if they exist.
7167 * glyphs-msw.c: set up masks correctly.
7169 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7171 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7173 * regex.c (re_match_2_internal): Check for quit.
7175 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7177 * frame.c (Ffocus_frame): New function.