1 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3 * mule-charset.c (Qcircle): New variable.
4 (to_char_code): Add `Qcircle'.
5 (syms_of_mule_charset): Add new symbol `circle'.
7 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
9 * mule-charset.c (Qfont): New variable.
10 (to_char_code): Add `Qfont'.
11 (syms_of_mule_charset): Add new symbol `font'.
13 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
15 * mule-charset.c (Qsub): New variable.
16 (to_char_code): Add `Qsub'.
17 (syms_of_mule_charset): Add new symbol `sub'.
19 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
21 * mule-charset.c (Fput_char_attribute): Convert each element of
22 VALUE to GL position if ATTRIBUTE is a GR-set,
24 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
26 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
27 coded-charset is a GR-set.
29 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
31 * mule-charset.c (Fput_char_attribute): Check each element of
32 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
34 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
36 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
38 (Qethiopic_ucs): New variable in UTF-2000.
39 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
40 (complex_vars_of_mule_charset): Add new coded-charset
41 `ethiopic-ucs' in UTF-2000.
43 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
44 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
46 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
48 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
50 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
52 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
55 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
57 * mule-charset.c (Vcharacter_variant_table): New variable.
58 (Q_ucs): New variable.
59 (Fchar_variants): New function.
60 (Fput_char_attribute): Register `->ucs' value to
61 `Vcharacter_variant_table'.
62 (syms_of_mule_charset): Add new function `char-variants' and new
64 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
66 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
68 * mule-charset.c (get_char_code_table): Allow negative character
70 (put_char_code_table): Likewise.
71 (Vcharacter_composition_table): New variable.
72 (Q_decomposition): New variable.
73 (Qwide): New variable.
74 (Qnarrow): New variable.
75 (Qcompat): New variable.
76 (QnoBreak): New variable.
77 (Qsuper): New variable.
78 (Qfraction): New variable.
79 (to_char_code): New function.
80 (Fget_composite_char): New function.
81 (Fput_char_attribute): Register `->decomposition' value to
82 `Vcharacter_composition_table'.
83 (syms_of_mule_charset): Add new function `get-composite-char', new
84 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
85 `super' and `fraction'.
86 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
88 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
90 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
91 character; copy the return value.
93 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
95 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
97 * mule-charset.c (range_charset_code_point): Must use make_int.
98 (split_builtin_char): New function.
100 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
102 * mule-charset.c (char_byte_table): Change name from
103 "char-code-table" to "char-byte-table".
104 (mark_char_code_table): New function.
105 (char_code_table_equal): New function.
106 (char_code_table_hash): New function.
107 (char_code_table_description): New constant.
108 (char_code_table): New type.
109 (make_char_code_table): New function.
110 (copy_char_code_table): New function.
111 (get_char_code_table): Modify for `char_code_table' type.
112 (put_char_code_table): Likewise.
113 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
116 * char-ucs.h (char_code_table): New type.
117 (XCHAR_CODE_TABLE): New macro.
118 (XSETCHAR_CODE_TABLE): New macro.
119 (CHAR_CODE_TABLE_P): New macro.
120 (GC_CHAR_CODE_TABLE_P): New macro.
121 (struct Lisp_Char_Code_Table): New structure.
123 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
125 * mule-charset.c (Fmake_charset): Setup byte_offset for
128 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
130 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
133 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
135 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
138 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
140 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
141 charset, it is regarded as a charset.
142 (put_char_attribute): New function in UTF-2000.
143 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
144 charset, mapping-table of the charset is modified.
145 (Fdefine_char): New function in UTF-2000.
146 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
147 `Fput_char_attribute'.
148 (syms_of_mule_charset): Add new function `define-char' and new
149 symbol `ucs' in UTF-2000.
150 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
152 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
154 * mule-charset.c (Fcharset_name): Define `byte_offset' in
155 non-UTF-2000 configuration.
157 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
159 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
160 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
162 * mule-charset.c (mark_charset): `cs->encoding_table' has been
164 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
165 (Fset_charset_mapping_table): Likewise.
167 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
168 (CHARSET_ENCODING_TABLE): Delete.
169 (XCHARSET_ENCODING_TABLE): Delete.
170 (charset_code_point): New interface.
172 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
174 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
175 instead of `charset_get_byte1' and `charset_get_byte2'.
177 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
178 (charset_get_byte2): Deleted.
180 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
182 * char-ucs.h (SPLIT_CHAR): New inline function.
183 (breakup_char_1): Use `SPLIT_CHAR'.
185 * mule-charset.c (range_charset_code_point): New function.
186 (charset_code_point): New function.
188 * char-ucs.h (range_charset_code_point): New interface.
189 (breakup_char_1): Use `range_charset_code_point'.
191 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
193 * mule-charset.c (Fmake_charset): Delete unused local variable
196 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
197 (breakup_char_1): Find a charset and code-point in
198 `Vcharacter_attribute_table'.
200 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
202 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
205 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
207 * mule-charset.c (Vcharacter_attribute_table): New variable.
208 (Fchar_attribute_alist): New function.
209 (Fget_char_attribute): New function.
210 (Fput_char_attribute): New function.
211 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
213 (syms_of_mule_charset): Add new function `char-attribute-alist',
214 `get-char-attribute' and `put-char-attribute'.
215 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
217 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
219 * mule-charset.c (Fmake_charset): Just use
220 `get_unallocated_leading_byte'.
222 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
223 sets; don't use final-byte based number for private sets.
225 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
227 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
230 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
232 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
235 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
237 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
238 of `CHAR_LEADING_BYTE' in UTF-2000.
240 * insdel.c (find_charsets_in_bufbyte_string): Use
241 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
242 (find_charsets_in_emchar_string): Likewise.
244 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
245 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
247 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
248 (CHAR_CHARSET_ID): New macro.
250 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
252 * chartab.c (get_char_table): Don't use type `Charset_ID' for
253 charset-id - MIN_LEADING_BYTE.
254 (put_char_table): Likewise.
256 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
258 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
259 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
260 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
261 (CHARSET_ID_OFFSET): New macro.
262 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
263 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
264 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
265 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
267 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
269 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
270 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
271 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
272 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
273 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
275 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
277 * mule-charset.c (next_allocated_leading_byte): New variable in
279 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
280 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
281 (get_unallocated_leading_byte): Simply use
282 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
283 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
286 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
287 (MAX_LEADING_BYTE_PRIVATE): New macro.
288 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
289 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
291 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
293 * mule-charset.c (Fmake_charset): Allocate final-byte based
294 charset-id for 94-set, 96-set and 94x94-set.
296 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
298 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
300 (Fmake_charset): Likewise.
301 (complex_vars_of_mule_charset): Modify the font registry of
302 `ucs-bmp' not to match `Ethiopic-Unicode'.
304 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
306 * mule-charset.c (complex_vars_of_mule_charset): Add font
307 registory of `ucs-bmp'.
309 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
311 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
312 coded-charsets in `default-coded-charset-priority-list' when
313 breaking up a character.
315 * mule-charset.c (Vcharset_latin_viscii): New variable.
316 (Qlatin_viscii): New variable.
317 (make_charset): Don't use `decoding_table'.
318 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
320 (Fset_charset_mapping_table): New implementation.
321 (syms_of_mule_charset): Add new symbol `latin-viscii'.
322 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
323 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
324 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
325 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
326 charset `latin_viscii'.
328 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
329 (CHARSET_TYPE_94X94): Change to 1 from 2.
330 (CHARSET_TYPE_96): Change to 2 from 1.
331 (CHARSET_TYPE_128): New macro.
332 (CHARSET_TYPE_128X128): Change to 5 from 4.
333 (CHARSET_TYPE_256): New macro.
334 (CHARSET_TYPE_256X256): Change to 7 from 5.
335 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
337 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
339 * text-coding.c (char_encode_shift_jis): Refer
340 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
341 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
343 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
344 (char_byte_table_equal): New function in UTF-2000.
345 (char_byte_table_hash): New function in UTF-2000.
346 (char_byte_table_description): New constant in UTF-2000.
347 (char_byte_table): New type in UTF-2000.
348 (make_char_byte_table): New function in UTF-2000.
349 (copy_char_byte_table): New function in UTF-2000.
350 (make_char_code_table): New macro in UTF-2000.
351 (get_char_code_table): New function in UTF-2000.
352 (put_char_code_table): New function in UTF-2000.
353 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
354 (charset_description): Add setting in UTF-2000.
355 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
356 `CHARSET_TO_BYTE1_TABLE(cs)'.
357 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
358 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
359 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
360 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
361 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
362 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
363 `CHARSET_TO_BYTE2_TABLE(cs)'.
365 * char-ucs.h (char_byte_table): New type.
366 (XCHAR_BYTE_TABLE): New macro.
367 (XSETCHAR_BYTE_TABLE): New macro.
368 (CHAR_BYTE_TABLE_P): New macro.
369 (GC_CHAR_BYTE_TABLE_P): New macro.
370 (struct Lisp_Char_Byte_Table): New structure.
371 (get_char_code_table): New interface.
372 (Emchar_to_byte_table): Deleted.
373 (get_byte_from_character_table): Deleted.
374 (struct Lisp_Charset): Add `encoding_table'; delete
375 `to_byte1_table' and `to_byte2_table'.
376 (CHARSET_ENCODING_TABLE): New macro.
377 (CHARSET_TO_BYTE1_TABLE): Deleted.
378 (CHARSET_TO_BYTE2_TABLE): Deleted.
379 (XCHARSET_ENCODING_TABLE): New macro.
380 (XCHARSET_TO_BYTE1_TABLE): Deleted.
381 (XCHARSET_TO_BYTE2_TABLE): Deleted.
383 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
385 * mule-charset.c (syms_of_mule_charset): Delete charset alias
386 `vietnamese-viscii-*'.
388 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
390 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
391 (Qvietnamese_viscii_upper): New variable.
392 (Fdefine_charset_alias): New function.
393 (syms_of_mule_charset): Add new function `define-charset-alias'.
394 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
395 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
398 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
400 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
401 (MAX_CHAR_OBS_94x94): New macro.
402 (breakup_char_1): Support obsolete XEmacs-UCS private code space
405 * mule-charset.c (put_byte_from_character_table): Change unit size
407 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
409 (Fmake_reverse_direction_charset): Modify dummy argument of
410 `make_charset' for non-UTF-2000 environment.
412 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
414 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
416 * mule-charset.c (destroy_byte_from_character_table): New macro.
417 (latin_jisx0201_to_ucs): Deleted.
418 (latin_iso8859_2_to_ucs): Deleted.
419 (latin_iso8859_3_to_ucs): Deleted.
420 (latin_iso8859_4_to_ucs): Deleted.
421 (latin_iso8859_9_to_ucs): Deleted.
422 (latin_viscii_lower_to_ucs): Deleted.
423 (latin_viscii_upper_to_ucs): Deleted.
424 (mark_charset): Mark `cs->decoding_table'.
425 (Fcharset_mapping_table): Fix DOC-string.
426 (Fset_charset_mapping_table): New function.
427 (syms_of_mule_charset): Add nwe function
428 `set-charset-mapping-table'.
429 (complex_vars_of_mule_charset): Don't setup and use
432 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
434 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
437 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
439 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
440 (Vcharset_katakana_jisx0208): New variable.
441 (Qhiragana_jisx0208): New variable.
442 (Qkatakana_jisx0208): New variable.
443 (make_charset): Add new argument `byte_offset'.
444 (charset_get_byte1): Modify for new coded-charset definition; use
445 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
446 `XCHARSET_BYTE_OFFSET'.
447 (Fmake_charset): Modify for `make_charset'.
448 (Fmake_reverse_direction_charset): Likewise.
449 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
451 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
452 `.' in font registry of charset `katakana-jisx0201',
453 `latin-jisx0201', `vietnamese-viscii-lower' and
454 `vietnamese-viscii-upper'; modify DOC-string of charset
455 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
456 registry of charset `japanese-jisx0208' not to use font for JIS
457 X0208:1990; add new charset `hiragana-jisx0208' and
460 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
461 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
462 (struct Lisp_Charset): Add `byte_offset'.
463 (CHARSET_BYTE_OFFSET): New macro.
464 (XCHARSET_UCS_MIN): New macro.
465 (XCHARSET_UCS_MAX): New macro.
466 (XCHARSET_CODE_OFFSET): New macro.
467 (XCHARSET_BYTE_OFFSET): New macro.
468 (MIN_CHAR_HIRAGANA): New macro.
469 (MAX_CHAR_HIRAGANA): New macro.
470 (MIN_CHAR_KATAKANA): New macro.
471 (MAX_CHAR_KATAKANA): New macro.
472 (MAKE_CHAR): Modify for new coded-charset definition; use
473 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
474 `XCHARSET_BYTE_OFFSET'.
476 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
478 * mule-charset.c (CHAR96): Deleted.
479 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
481 (latin_iso8859_2_to_ucs): Likewise.
482 (latin_iso8859_3_to_ucs): Likewise.
483 (latin_iso8859_4_to_ucs): Likewise.
484 (latin_iso8859_9_to_ucs): Likewise.
485 (latin_viscii_lower_to_ucs): Likewise.
486 (latin_viscii_upper_to_ucs): Likewise.
487 (latin_tcvn5712_to_ucs): Commented out.
488 (make_charset): Change type of argument `decoding_table' from
489 <Emchar*> to <Lisp_Object> [vector of characters].
490 (Fmake_charset): Modify for `make_charset'.
491 (Fmake_reverse_direction_charset): Likewise.
492 (Fcharset_mapping_table): New function in UTF-2000.
493 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
495 (complex_vars_of_mule_charset): Modify for type change of
496 `*_to_ucs'; modify for `make_charset'.
498 * char-ucs.h (struct Lisp_Charset): Change type of
499 `decoding_table' from <Emchar*> to <Lisp_Object>.
500 (MAKE_CHAR): Modify for new specification of `decoding_table'.
502 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
504 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
505 error with non-UTF-2000-Mule.
507 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
509 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
511 (Vcharset_chinese_cns11643_4): Likewise.
512 (Vcharset_chinese_cns11643_5): Likewise.
513 (Vcharset_chinese_cns11643_6): Likewise.
514 (Vcharset_chinese_cns11643_7): Likewise.
515 (Qchinese_cns11643_3): Likewise.
516 (Qchinese_cns11643_4): Likewise.
517 (Qchinese_cns11643_5): Likewise.
518 (Qchinese_cns11643_6): Likewise.
519 (Qchinese_cns11643_7): Likewise.
520 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
521 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
522 and `chinese-cns11643-7' to lisp/mule/chinese.el.
523 (complex_vars_of_mule_charset): Likewise.
525 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
527 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
529 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
530 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
532 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
534 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
536 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
537 (breakup_char_1): Likewise.
539 * text-coding.c (char_encode_iso2022): Keep designated charsets if
540 one of them includes the specified character.
542 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
544 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
546 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
548 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
550 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
552 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
553 definition for non-UTF-2000 Mule.
554 (latin_iso8859_3_to_ucs): Likewise.
555 (latin_iso8859_4_to_ucs): Likewise.
556 (latin_iso8859_9_to_ucs): Likewise.
557 (latin_jisx0201_to_ucs): Likewise.
558 (MIN_CHAR_THAI): Likewise.
559 (MAX_CHAR_THAI): Likewise.
560 (MIN_CHAR_GREEK): Likewise.
561 (MAX_CHAR_GREEK): Likewise.
562 (MIN_CHAR_HEBREW): Likewise.
563 (MAX_CHAR_HEBREW): Likewise.
564 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
565 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
566 (MIN_CHAR_CYRILLIC): Likewise.
567 (MAX_CHAR_CYRILLIC): Likewise.
569 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
571 * char-ucs.h (breakup_char_1): Use
572 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
573 thai-tis620 and katakana-jisx0201 area.
575 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
577 * char-ucs.h (breakup_char_1): Use
578 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
581 * text-coding.c (reset_encoding_stream): Fixed.
582 (char_encode_ucs4): Delete `& 255'.
584 * char-ucs.h (breakup_char_1): Use
585 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
587 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
589 * file-coding.c (Fmake_coding_system): Don't set up
590 `codesys->fixed.size'.
591 (encode_coding_no_conversion): Don't refer
592 `str->codesys->fixed.size'.
594 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
596 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
597 (latin_a_char_to_byte1): Deleted.
598 (latin_a_char_to_byte2): Deleted.
600 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
602 * mule-charset.c (make_charset): Add new argument `ucs_min',
603 `ucs_max' and `code_offset'.
604 (charset_get_byte1): New implementation [delete specific charset
605 depended implementations].
606 (Fmake_charset): Modify for `make_charset'.
607 (Fmake_reverse_direction_charset): Likewise.
608 (complex_vars_of_mule_charset): Likewise.
610 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
612 (CHARSET_UCS_MIN): New macro.
613 (CHARSET_UCS_MAX): New macro.
614 (CHARSET_CODE_OFFSET): New macro.
615 (MAKE_CHAR): Delete charset depended definitions [except
618 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
620 * char-ucs.h (breakup_char_1): Use
621 `Vdefault_coded_charset_priority_list' for C0-Controls,
622 Basic-Latin, C1-Controls and Latin-1-Supplement area.
624 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
626 * char-ucs.h (charset_get_byte1): New function.
627 (XCHARSET_GET_BYTE1): Deleted.
628 (charset_get_byte2): New function.
629 (XCHARSET_GET_BYTE2): Deleted.
630 (Vdefault_coded_charset_priority_list): New external variable.
631 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
632 `Vdefault_preferred_coded_charset_list'.
634 * mule-charset.c (charset_get_byte1): New function.
635 (charset_get_byte2): New function.
636 (Vdefault_coded_charset_priority_list): New variable.
637 (vars_of_mule_charset): Add new variable
638 `default-coded-charset-priority-list'.
640 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
642 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
643 (XCHARSET_GET_BYTE2): New inline function.
644 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
645 `XCHARSET_GET_BYTE2'.
647 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
649 * mule-charset.c (make_charset): Initialize
650 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
651 NULL if table is not defined.
653 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
655 * text-coding.c (char_encode_shift_jis): Use
656 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
657 `ucs_to_latin_jisx0201'.
659 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
660 (ucs_to_latin_iso8859_2): Deleted.
661 (ucs_to_latin_iso8859_3): Deleted.
662 (ucs_to_latin_iso8859_4): Deleted.
663 (ucs_to_latin_iso8859_9): Deleted.
664 (ucs_to_latin_viscii_lower): Deleted.
665 (ucs_to_latin_viscii_upper): Deleted.
666 (ucs_to_latin_tcvn5712): Deleted.
667 (make_charset): Add new argument `decoding_table'; set up
668 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
669 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
670 `decoding_table' is defined in UTF-2000.
671 (Fmake_charset): Modify for `make_charset'.
672 (Fmake_reverse_direction_charset): Likewise.
673 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
674 and `GENERATE_96_SET'.
676 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
677 (ucs_to_latin_jisx0201): Deleted.
678 (latin_iso8859_2_to_ucs): Deleted.
679 (ucs_to_latin_iso8859_2): Deleted.
680 (latin_iso8859_3_to_ucs): Deleted.
681 (ucs_to_latin_iso8859_3): Deleted.
682 (latin_iso8859_4_to_ucs): Deleted.
683 (ucs_to_latin_iso8859_4): Deleted.
684 (latin_iso8859_9_to_ucs): Deleted.
685 (ucs_to_latin_iso8859_9): Deleted.
686 (latin_viscii_lower_to_ucs): Deleted.
687 (ucs_to_latin_viscii_lower): Deleted.
688 (latin_viscii_upper_to_ucs): Deleted.
689 (ucs_to_latin_viscii_upper): Deleted.
690 (struct Lisp_Charset): Renamed `encoding_table' to
691 `to_byte1_table'; add `to_byte2_table'.
692 (CHARSET_DECODING_TABLE): New macro.
693 (CHARSET_TO_BYTE1_TABLE): New macro.
694 (CHARSET_TO_BYTE2_TABLE): New macro.
695 (XCHARSET_DECODING_TABLE): New macro.
696 (XCHARSET_TO_BYTE1_TABLE): New macro.
697 (XCHARSET_TO_BYTE2_TABLE): New macro.
698 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
700 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
701 don't use `ucs_to_*' tables.
703 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
705 * text-coding.c (Fmake_coding_system): Don't set up
706 `codesys->fixed.size'.
707 (encode_coding_no_conversion): Use `if' instead of `switch'.
709 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
711 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
713 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
714 (Fmake_charset): Modify for `make_charset'.
715 (Fmake_reverse_direction_charset): Likewise.
716 (complex_vars_of_mule_charset): Likewise.
718 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
720 * text-coding.c (char_encode_shift_jis): Use table
721 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
723 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
725 * text-coding.c (text_encode_generic): Use `if' instead of
727 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
730 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
732 * text-coding.c (encode_coding_sjis): Deleted.
733 (char_encode_shift_jis): New function.
734 (char_finish_shift_jis): New function.
735 (reset_encoding_stream): Set up `encode_char' and `finish' for
736 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
737 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
738 (char_encode_utf8): Treat `eol_type'.
740 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
742 * file-coding.c (decode_coding_iso2022): Use
743 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
745 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
747 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
750 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
752 * char-lb.h (CHAR_COLUMNS): New macro.
754 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
756 * text-coding.c (char_encode_ucs4): New function.
757 (char_finish_ucs4): New function.
758 (encode_coding_ucs4): Deleted.
759 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
760 (text_encode_generic): Delete local variable `charset' and `half'.
761 (ucs_to_mule_table): Deleted.
762 (mule_to_ucs_table): Deleted.
763 (Fset_ucs_char): Deleted.
764 (ucs_to_char): Deleted.
765 (Fucs_char): Deleted.
766 (Fset_char_ucs): Deleted.
767 (Fchar_ucs): Deleted.
768 (decode_ucs4): Deleted.
769 (mule_char_to_ucs4): Deleted.
770 (encode_ucs4): Deleted.
771 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
772 (decode_coding_utf8): Likewise.
773 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
774 (char_encode_iso2022): Fixed.
775 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
776 `Fset_char_ucs' and `Fchar_ucs'.
777 (complex_vars_of_file_coding): Don't initialize
780 * objects-tty.c (tty_initialize_font_instance): Don't use
783 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
786 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
787 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
789 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
790 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
791 (emchar_string_displayed_columns): Likewise.
793 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
794 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
795 (string_column_at_point): Likewise.
796 (Fmove_to_column): Likewise.
798 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
799 `encoding_table' and `decoding_table'.
800 (CHARSET_REP_BYTES): Deleted.
801 (XCHARSET_REP_BYTES): Deleted.
802 (XCHARSET_COLUMNS): Deleted.
803 (CHAR_COLUMNS): New macro.
804 (lookup_composite_char): Deleted unconditionally.
805 (composite_char_string): Likewise.
807 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
809 * char-ucs.h (Emchar_to_byte_table): New type.
810 (get_byte_from_character_table): New function interface.
811 (Vcharset_latin_jisx0201): New variable.
812 (latin_jisx0201_to_ucs): New variable.
813 (ucs_to_latin_jisx0201): New variable.
814 (Vcharset_latin_iso8859_2): New variable.
815 (latin_iso8859_2_to_ucs): New variable.
816 (ucs_to_latin_iso8859_2): New variable.
817 (Vcharset_latin_iso8859_3): New variable.
818 (latin_iso8859_3_to_ucs): New variable.
819 (ucs_to_latin_iso8859_3): New variable.
820 (Vcharset_latin_iso8859_4): New variable.
821 (latin_iso8859_4_to_ucs): New variable.
822 (ucs_to_latin_iso8859_4): New variable.
823 (Vcharset_latin_iso8859_9): New variable.
824 (latin_iso8859_9_to_ucs): New variable.
825 (ucs_to_latin_iso8859_9): New variable.
826 (Vcharset_latin_viscii_lower): New variable.
827 (latin_viscii_lower_to_ucs): New variable.
828 (ucs_to_latin_viscii_lower): New variable.
829 (Vcharset_latin_viscii_upper): New variable.
830 (latin_viscii_upper_to_ucs): New variable.
831 (ucs_to_latin_viscii_upper): New variable.
832 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
833 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
834 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
835 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
836 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
837 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
838 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
839 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
840 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
841 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
843 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
844 (Vcharset_latin_viscii_upper): New variable.
845 (make_byte_from_character_table): New function.
846 (put_byte_from_character_table): New function.
847 (get_byte_from_character_table): New function.
849 (ucs_to_latin_jisx0201): New variable.
850 (latin_jisx0201_to_ucs): New variable.
851 (ucs_to_latin_iso8859_2): New variable.
852 (latin_iso8859_2_to_ucs): New variable.
853 (ucs_to_latin_iso8859_3): New variable.
854 (latin_iso8859_3_to_ucs): New variable.
855 (ucs_to_latin_iso8859_4): New variable.
856 (latin_iso8859_4_to_ucs): New variable.
857 (ucs_to_latin_iso8859_9): New variable.
858 (latin_iso8859_9_to_ucs): New variable.
859 (ucs_to_latin_viscii_lower): New variable.
860 (latin_viscii_lower_to_ucs): New variable.
861 (ucs_to_latin_viscii_upper): New variable.
862 (latin_viscii_upper_to_ucs): New variable.
863 (ucs_to_latin_tcvn5712): New variable.
864 (latin_tcvn5712_to_ucs): New variable.
865 (Qlatin_viscii_lower): New variable.
866 (Qlatin_viscii_upper): New variable.
867 (syms_of_mule_charset): Set up new symbol
868 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
869 (complex_vars_of_mule_charset): Set up new charset
870 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
871 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
872 `ucs_to_<CHARSET>' tables.
874 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
876 * text-coding.c: New file.
878 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
880 * mule-charset.c (Fmake_char): Fix problem of 256-set.
882 * char-ucs.h (Vcharset_ucs_bmp): New variable.
883 (MAKE_CHAR): Modify for `ucs-bmp'.
884 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
885 non-MULE characters of BMP.
887 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
889 * mule-charset.c (vars_of_mule_charset):
890 Update `utf-2000-version' to 0.6.
892 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
895 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
896 - Include character.h for `CHAR_ASCII_P'.
898 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
900 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
901 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
903 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
904 (BYTE_C0_P): Likewise.
905 (BYTE_C1_P): Likewise.
906 (Lstream_get_emchar_1): Likewise.
907 (Lstream_fput_emchar): Likewise.
908 (Lstream_funget_emchar): Likewise.
909 (copy_internal_to_external): Likewise.
910 (copy_external_to_internal): Likewise.
912 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
913 (BYTE_C0_P): Likewise.
914 (BYTE_C1_P): Likewise.
915 (Lstream_get_emchar_1): Likewise.
916 (Lstream_fput_emchar): Likewise.
917 (Lstream_funget_emchar): Likewise.
918 (copy_internal_to_external): Likewise.
919 (copy_external_to_internal): Likewise.
921 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
922 (REP_BYTES_BY_FIRST_BYTE): Likewise.
924 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
925 (BYTE_ASCII_P): Moved to mb-1byte.h.
927 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
929 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
931 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
932 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
933 (VALID_CHARPTR_P): Moved to mb-*byte.h.
934 (VALIDATE_CHARPTR_BACKWARD): Likewise.
935 (VALIDATE_CHARPTR_FORWARD): Likewise.
936 (simple_charptr_emchar): Moved to mb-multibyte.h.
937 (simple_set_charptr_emchar): Likewise.
938 (simple_charptr_copy_char): Likewise.
939 (non_ascii_charptr_emchar): Likewise.
940 (non_ascii_set_charptr_emchar): Likewise.
941 (non_ascii_charptr_copy_char): Likewise.
942 (charptr_emchar): Moved to mb-*byte.h.
943 (set_charptr_emchar): Likewise.
944 (charptr_copy_char): Likewise.
946 * mb-1byte.h, mb-multibyte.h: New files.
948 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
950 * mb-utf-8.h (MULTIBYTE): New macro.
951 (MAX_EMCHAR_LEN): Moved from buffer.h.
952 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
954 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
956 * mb-lb.h, multibyte.h: New files.
958 * char-1byte.h (Charset_ID): Moved from buffer.h.
959 (MIN_LEADING_BYTE): Likewise.
960 (LEADING_BYTE_ASCII): Likewise.
961 (NUM_LEADING_BYTES): Likewise.
962 (CHARSETP): Likewise.
963 (CHARSET_BY_LEADING_BYTE): Likewise.
964 (XCHARSET_LEADING_BYTE): Likewise.
965 (XCHARSET_GRAPHIC): Likewise.
966 (XCHARSET_COLUMNS): Likewise.
967 (XCHARSET_DIMENSION): Likewise.
968 (CHAR_CHARSET): Likewise.
969 (CHAR_LEADING_BYTE): Likewise.
970 (BREAKUP_CHAR): Likewise.
971 (Vcharset_ascii): Likewise.
973 * buffer.h: Include multibyte.h unconditionally.
974 (VALID_CHARPTR_P): Moved to multibyte.h.
975 (ASSERT_VALID_CHARPTR): Likewise.
976 (REAL_INC_CHARPTR): Likewise.
977 (REAL_INC_CHARBYTIND): Likewise.
978 (REAL_DEC_CHARPTR): Likewise.
979 (INC_CHARPTR): Likewise.
980 (INC_CHARBYTIND): Likewise.
981 (DEC_CHARPTR): Likewise.
982 (VALIDATE_CHARPTR_BACKWARD): Likewise.
983 (VALIDATE_CHARPTR_FORWARD): Likewise.
984 (charptr_n_addr): Likewise.
985 (MAX_EMCHAR_LEN): Moved to mb-*.h.
986 (simple_charptr_emchar): Moved to multibyte.h.
987 (simple_set_charptr_emchar): Likewise.
988 (simple_charptr_copy_char): Likewise.
989 (non_ascii_charptr_emchar): Likewise.
990 (non_ascii_set_charptr_emchar): Likewise.
991 (non_ascii_charptr_copy_char): Likewise.
992 (charptr_emchar): Likewise.
993 (set_charptr_emchar): Likewise.
994 (charptr_copy_char): Likewise.
995 (charptr_emchar_n): Likewise.
996 (Charset_ID): Moved to char-1byte.h.
997 (Vcharset_ascii): Likewise.
998 (CHAR_CHARSET): Likewise.
999 (CHAR_LEADING_BYTE): Likewise.
1000 (LEADING_BYTE_ASCII): Likewise.
1001 (NUM_LEADING_BYTES): Likewise.
1002 (MIN_LEADING_BYTE): Likewise.
1003 (CHARSETP): Likewise.
1004 (CHARSET_BY_LEADING_BYTE): Likewise.
1005 (XCHARSET_LEADING_BYTE): Likewise.
1006 (XCHARSET_GRAPHIC): Likewise.
1007 (XCHARSET_COLUMNS): Likewise.
1008 (XCHARSET_DIMENSION): Likewise.
1009 (BREAKUP_CHAR): Likewise.
1011 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1013 * character.h: Add document about interface for characters.
1015 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
1016 (MAKE_CHAR): Delete comment about
1017 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
1018 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
1019 (BREAKUP_CHAR): Modify name of arguments.
1020 (CHAR_CHARSET): Modify name of argument.
1022 * buffer.h: Delete document about Emchar accessors.
1024 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1026 * character.h (CHAR_INTP): Moved from buffer.h
1027 (CHAR_OR_CHAR_INTP): Likewise.
1028 (XCHAR_OR_CHAR_INT): Likewise.
1029 (CHECK_CHAR_COERCE_INT): Likewise.
1031 * buffer.h (CHAR_INTP): Moved to character.h
1032 (CHAR_OR_CHAR_INTP): Likewise.
1033 (XCHAR_OR_CHAR_INT): Likewise.
1034 (CHECK_CHAR_COERCE_INT): Likewise.
1036 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1039 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
1040 - Include char-1byte.h, char-lb.h or char-ucs.h.
1042 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
1044 * buffer.h: Include character unconditionally.
1045 (valid_char_p): Moved to char-*.h.
1046 (non_ascii_valid_char_p): Moved to char-lb.h.
1048 * char-1byte.h, char-lb.h, char-ucs.h: New files.
1050 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1052 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
1053 in UTF-2000 because it is not ported yet and not to use
1054 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
1055 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
1056 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
1058 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
1059 (CHAR_ASCII_P): Moved from character.h.
1061 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
1062 (CHAR_ASCII_P): Likewise.
1063 (CHAR_FIELD1_MASK): Deleted.
1064 (CHAR_FIELD2_MASK): Deleted.
1065 (CHAR_FIELD3_MASK): Deleted.
1066 (MAX_CHAR_BASIC_LATIN): New macro.
1067 (CHAR_FIELD1): Deleted.
1068 (CHAR_FIELD2_INTERNAL): Deleted.
1069 (CHAR_FIELD3_INTERNAL): Deleted.
1070 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
1071 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
1072 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
1073 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
1074 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
1075 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
1076 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
1077 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
1078 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
1079 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
1080 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
1081 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
1082 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
1083 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
1084 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
1085 (MIN_CHAR_COMPOSITION): Deleted.
1086 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
1087 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
1089 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
1091 * buffer.h: Include mb-utf-8.h in UTF-2000.
1093 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
1095 * mb-utf-8.h: New file.
1097 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
1099 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
1102 * mule-charset.h, buffer.h (Charset_ID): New type.
1104 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1106 * mule-canna.c (c2mu): Use `MAKE_CHAR',
1107 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
1108 instead of `MULE_CHAR_PRIVATE_OFFSET',
1109 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
1110 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
1111 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
1113 * character.h (Vcharset_japanese_jisx0212): New variable
1116 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1118 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
1119 (charset_by_attributes): Delete array about direction.
1120 (latin_a_char_to_charset): New variable in UTF-2000.
1121 (latin_a_char_to_byte1): New variable in UTF-2000.
1122 (latin_a_char_to_byte2): New variable in UTF-2000.
1123 (Qucs_bmp): New variable.
1124 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
1126 (next_allocated_2_byte_leading_byte): Likewise.
1127 (non_ascii_set_charptr_emchar): Likewise.
1128 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
1129 `CHARSET_TYPE_256X256' in UTF-2000; modify for
1130 `charset_by_attributes'.
1131 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
1132 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
1133 and `CHARSET_BY_LEADING_BYTE'.
1134 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
1135 `utf-2000-version' to `vars_of_mule_charset'.
1136 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
1137 define `leading-code-private-11' in UTF-2000; move setting of
1138 `utf-2000-version' from `syms_of_mule_charset'.
1139 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
1142 * character.h (Charset_ID): New type.
1143 (LEADING_BYTE_UCS_BMP): New macro.
1144 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
1145 (CHARSET_ID_OFFSET_94): New macro.
1146 (MIN_CHARSET_ID_PRIVATE_94): New macro.
1147 (MAX_CHARSET_ID_PRIVATE_94): New macro.
1148 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
1150 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
1151 (LEADING_BYTE_LATIN_JISX0201): Likewise.
1152 (CHARSET_ID_OFFSET_96): New macro.
1153 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
1154 CHARSET_ID_OFFSET_96 and final-byte.
1155 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
1156 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
1157 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
1158 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
1159 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
1160 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
1161 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
1162 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
1163 (LEADING_BYTE_THAI_TIS620): Likewise.
1164 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
1165 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
1166 (CHARSET_ID_OFFSET_94x94): New macro.
1167 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
1168 CHARSET_ID_OFFSET_94x94 and final-byte.
1169 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
1170 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
1171 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
1172 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
1173 (LEADING_BYTE_CHINESE_GB2312): Likewise.
1174 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
1175 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
1176 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
1177 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
1178 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
1179 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
1180 (CHARSET_TYPE_128X128): New macro.
1181 (CHARSET_TYPE_256X256): New macro.
1182 (XCHARSET_PRIVATE_P): Delete unconditionally.
1183 (charset_by_attributes): Delete array about direction.
1184 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
1185 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
1186 (MIN_CHAR_94): New macro.
1187 (MAX_CHAR_94): New macro.
1188 (MIN_CHAR_96): New macro.
1189 (MAX_CHAR_96): New macro.
1190 (MIN_CHAR_94x94): New macro.
1191 (MAX_CHAR_94x94): New macro.
1192 (MIN_CHAR_96x96): New macro.
1193 (MAX_CHAR_96x96): New macro.
1194 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
1195 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1196 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
1198 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
1199 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
1200 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
1201 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
1202 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
1203 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
1204 `XCHARSET_LEADING_BYTE' to make code-point.
1205 (latin_a_char_to_charset): New variable.
1206 (latin_a_char_to_byte1): New variable.
1207 (latin_a_char_to_byte2): New variable.
1208 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
1209 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
1210 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
1212 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
1213 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
1214 (find_charsets_in_emchar_string): Likewise.
1215 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
1217 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
1219 (decode_coding_iso2022): Likewise.
1221 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
1224 * redisplay.c (redisplay_text_width_emchar_string): Use
1225 `Charset_ID' instead of `unsigned char'.
1226 (redisplay_frame_text_width_string): Likewise.
1228 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
1231 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
1232 instead of `unsigned char'.
1233 (face_cachel_charset_font_metric_info): Likewise.
1235 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
1236 (get_non_ascii_char_table_value): Likewise.
1237 (get_char_table): Likewise.
1238 (put_char_table): Likewise.
1239 (map_over_other_charset): Likewise.
1240 (map_char_table): Likewise.
1242 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
1243 instead of `unsigned char'.
1245 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
1247 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
1248 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
1250 * mule-charset.c (leading_code_private_11): Don't define in
1253 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
1254 in UTF-2000 because it is not ported yet and not to use
1255 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
1257 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
1259 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
1261 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1263 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
1266 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
1267 of unsigned char to store leading-byte.
1269 * chartab.c (get_non_ascii_char_table_value): Don't use
1270 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
1272 * file-coding.c (encode_coding_big5): Delete bogus implementation
1275 * character.h (LEADING_BYTE_*): Delete definition for
1277 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
1278 (LEADING_BYTE_PREFIX_P): Deleted.
1279 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
1280 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
1281 (BUFBYTE_LEADING_BYTE_P): Deleted.
1282 (CHARSET_PRIVATE_P): Deleted unconditionally.
1283 (rep_bytes_by_first_byte): Deleted unconditionally.
1284 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
1285 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
1286 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1287 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
1288 (CHAR_FIELD2): Deleted.
1289 (CHAR_FIELD3): Deleted.
1290 (MAKE_CHAR): Delete definition for non-UTF-2000.
1291 (BREAKUP_CHAR_1_UNSAFE): Deleted.
1292 (breakup_char_1): New implementation.
1293 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
1294 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1296 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1298 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1301 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1303 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1304 (CHARSET_PRIVATE_P): Likewise.
1305 (XCHARSET_PRIVATE_P): Likewise.
1306 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1308 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1310 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1312 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1314 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1315 (NUM_LEADING_BYTES): Changed from 128 to 256.
1316 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1317 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1319 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1321 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1323 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1324 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1325 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1326 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1327 (Qchinese_cns11643_3): New variable in UTF2000.
1328 (Qchinese_cns11643_4): New variable in UTF2000.
1329 (Qchinese_cns11643_5): New variable in UTF2000.
1330 (Qchinese_cns11643_6): New variable in UTF2000.
1331 (Qchinese_cns11643_7): New variable in UTF2000.
1332 (syms_of_mule_charset): Define `chinese-cns11643-3',
1333 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1334 and `chinese-cns11643-7' in UTF2000.
1335 (vars_of_mule_charset): Initialize
1336 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1338 (complex_vars_of_mule_charset): Setup charset
1339 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1340 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1342 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1344 * mule-charset.c: Move setting for `leading-code-private-11' from
1345 `syms_of_mule_charset' to `vars_of_mule_charset'.
1347 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1349 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1350 and `NUM_LEADING_BYTES' in assert.
1352 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1354 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1356 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1357 `NUM_LEADING_BYTES' instead of 128.
1359 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1361 * mule-charset.h (charset_by_leading_byte): Use
1362 `NUM_LEADING_BYTES' instead of 128.
1363 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1365 * mule-charset.c (charset_by_leading_byte): Use
1366 `NUM_LEADING_BYTES' instead of 128.
1367 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1369 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1372 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1374 * mule-charset.c (syms_of_mule_charset): Update to
1377 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1379 * file-coding.c (encode_coding_sjis): New implementation for
1380 UTF2000. (decode_coding_sjis): Ditto.
1382 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1384 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1385 Don't define in UTF2000.
1387 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1390 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1391 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1394 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1396 * config.h.in (CHAR_IS_UCS4): New macro.
1398 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1399 conventional MULE representation.
1400 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1402 * mule-charset.h: Reverted to original.
1404 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1405 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1406 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1408 * character.h: New file.
1410 * file-coding.c (Fmake_coding_system): Set 1 to
1411 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
1413 (encode_coding_no_conversion): New implementation for UTF2000.
1415 * file-coding.h (struct Lisp_Coding_System): Add new member
1418 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1420 * file-coding.c (decode_coding_iso2022): Code-point arguments of
1421 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
1422 (encode_coding_iso2022): New implementation for UTF2000.
1424 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1426 * mule-canna.c (c2mu): New implementation for UTF2000.
1429 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1431 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
1433 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1435 * file-coding.c (reset_encoding_stream): Set 0 to
1436 `str->iso2022.current_char_boundary' in UTF2000.
1437 (encode_utf8): Don't define in UTF2000.
1438 (encode_coding_utf8): New implementation for UTF-8 representation
1440 (complex_vars_of_file_coding): Define coding-system `utf-8'.
1442 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1444 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
1446 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
1448 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1450 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
1452 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
1453 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
1454 as UTF-8 in UTF2000.
1455 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
1456 (non_ascii_valid_char_p): Don't define in UTF2000.
1457 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
1458 (Lstream_get_emchar_1): Likewise.
1459 (utf-2000-version): New variable in UTF2000.
1461 * lread.c (read_escape): Add new reader `u'.
1463 * insdel.c (three_to_one_table): Don't define in UTF2000.
1464 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
1465 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1467 (bytind_to_bufpos_func): Likewise.
1468 (buffer_mule_signal_inserted_region): Likewise.
1469 (vars_of_insdel): Don't initialize `three_to_one_table'.
1470 (init_buffer_text): Use `buf->text->mule_size' instead of
1471 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
1474 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
1475 UTF-8 representation in UTF2000.
1476 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
1477 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
1478 (decode_coding_iso2022): Don't define local variable `lb' in
1479 UTF2000; don't use LEADING_BYTE in UTF2000; use
1480 `DECODE_ADD_UCS_CHAR' in UTF2000.
1481 (convert_to_external_format): Decode as UTF-8 in UTF2000.
1483 * config.h.in (UTF2000): New macro.
1485 * buffer.h (struct buffer_text): Add new member `mule_size' and
1486 don't add `mule_shifter' and `mule_three_p' in UTF2000.
1487 (valid_char_p): Return always 1 in UTF2000.
1488 (MAX_EMCHAR_LEN): 6 in UTF2000.
1489 (three_to_one_table): Don't define in UTF2000.
1490 (real_bufpos_to_bytind): Modify for UTF-8 representation in
1492 (real_bytind_to_bufpos): Likewise.
1494 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
1496 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1498 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
1499 representation change.
1500 (Vutf_2000_version): New variable.
1501 (leading_code_private_11): New variable.
1502 (syms_of_mule_charset): Add new variables `utf-2000-version' and
1503 `leading-code-private-11'.
1505 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
1506 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
1507 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
1508 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
1509 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
1510 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
1511 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
1512 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
1513 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
1514 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
1515 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
1516 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
1517 (MIN_CHAR_GREEK): New macro.
1518 (MAX_CHAR_GREEK): New macro.
1519 (MIN_CHAR_CYRILLIC): New macro.
1520 (MAX_CHAR_CYRILLIC): New macro.
1521 (MIN_CHAR_HEBREW): New macro.
1522 (MAX_CHAR_HEBREW): New macro.
1523 (MIN_CHAR_THAI): New macro.
1524 (MAX_CHAR_THAI): New macro.
1525 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
1526 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
1527 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
1528 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
1529 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
1530 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
1531 (CHAR_FIELD2): New inline function.
1532 (CHAR_FIELD3): New inline function.
1533 (MULE_CHAR_PRIVATE_OFFSET): New macro.
1534 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
1535 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
1536 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
1537 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
1538 (MIN_CHAR_COMPOSITION): Likewise.
1539 (CHAR_LEADING_BYTE): Modified for character representation change.
1540 (MAKE_CHAR): Likewise.
1542 * lisp.h (Vcharset_latin_iso8859_1): New variable.
1543 (Vcharset_greek_iso8859_7): Likewise.
1544 (Vcharset_cyrillic_iso8859_5): Likewise.
1545 (Vcharset_hebrew_iso8859_8): Likewise.
1546 (Vcharset_thai_tis620): Likewise.
1547 (Vcharset_katakana_jisx0201): Likewise.
1549 1999-08-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1551 * file-coding.c (determine_real_coding_system): Treat `coding:'
1554 1999-08-16 MORIOKA Tomohiko <tomo@etl.go.jp>
1556 * file-coding.c (struct decoding_stream): New member `counter'.
1557 (reset_decoding_stream): Initialize `counter'.
1558 (decode_coding_ucs4): Use `counter'.
1559 (decode_coding_utf8): Likewise.
1561 1999-07-30 XEmacs Build Bot <builds@cvs.xemacs.org>
1563 * XEmacs 21.2.19 is released
1565 1999-07-27 Jeff Miller <jmiller@smart.net>
1567 * add a "#ifdef HAVE_MENUBARS" wrapper to gui.c around
1568 menubar_show_keybindings.
1570 1999-07-23 SL Baur <steve@miho>
1572 * mule-charset.c (syms_of_mule_charset): Delete duplicated
1573 definition of Qccl_program.
1575 * mule-ccl.h: Make a global declaration of it here.
1577 1999-07-20 Bob Weiner <weiner@beopen.com>
1579 * s/sco7.h: Added from rr@sco.com.
1581 1999-06-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1583 * mule-ccl.c (ccl_driver): Fix `CCL_WriteMultibyteChar2'.
1585 1999-06-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1587 * file-coding.c (mule_decode): Setup `str->ccl.last_block'.
1588 (mule_encode): Likewise.
1590 * mule-ccl.c (Qccl_program): New variable.
1591 (CCL_SUSPEND): New macro.
1592 (CCL_INVALID_CMD): New macro.
1593 (CCL_READ_CHAR): Don't regard as invalid command while processing
1594 the last block even if input is empty; use
1595 `CCL_STAT_SUSPEND_BY_SRC' instead of `CCL_STAT_SUSPEND'.
1596 (vars_of_mule_ccl): Setup `Qccl_program' and `Qccl_program_idx'.
1598 * mule-ccl.h (CCL_STAT_SUCCESS): Moved from mule-ccl.c.
1599 (CCL_STAT_SUSPEND_BY_SRC): Imported from Emacs 20.3.10.
1600 (CCL_STAT_SUSPEND_BY_DST): Likewise.
1601 (CCL_STAT_INVALID_CMD): Moved from mule-ccl.c; change value from 2.
1602 (CCL_STAT_QUIT): Moved from mule-ccl.c; change value from 3.
1604 1999-05-04 Ken'ichi Handa <handa@gnu.org>
1606 * mule-ccl.h (struct ccl_program): New member stack_idx.
1608 * mule-ccl.c (ccl_prog_stack_struct): Declare it as static.
1609 (ccl_driver): Setup stack_idx and ccl_prog correctly. Update them
1611 (setup_ccl_program): Initialize ccl->stack_idx to 0.
1613 1998-10-12 Kenichi Handa <handa@etl.go.jp>
1615 * mule-ccl.c (CCL_DECODE_SJIS, CCL_ENCODE_SJIS): Swap the
1618 1998-08-18 Kenichi Handa <handa@etl.go.jp>
1620 * mule-ccl.c (CCL_READ_CHAR): If eof is encounterd while
1621 processing the last block, don't just finish but processes eol
1622 block of the current CCL program.
1623 (ccl_driver): Add a new jump label ccl_repeat for the above
1626 1998-04-15 Kenichi Handa <handa@etl.go.jp>
1628 * mule-ccl.c: Typo in comments fixed.
1629 (Qccl_program_idx): New variables.
1630 (CCL_ReadMultibyteChar2): Macro name changed from
1631 CCL_ReadMultibyteCharacter.
1632 (CCL_WriteMultibyteChar2): Macro name changed from
1633 CCL_WriteMultibyteChar2.
1634 (ccl_driver): Adjusted for the above changes.
1635 (resolve_symbol_ccl_program): New function.
1636 (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
1637 program. If CCL-PRGRAM is a vector, convert symbols in it to ID
1638 numbers by resolve_symbol_ccl_program.
1639 (Fccl_execute_on_string): Likewise.
1640 (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
1641 convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1643 1998-01-21 Kenichi Handa <handa@etl.go.jp>
1645 * mule-ccl.h: (struct ccl_program): New member private_state.
1648 (CCL_Call): Fix the comment.
1649 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter): New
1650 macros for CCL Commands.
1652 (ccl_driver): New case lable `CCL_Extention'.
1653 (setup_ccl_program): Initialize the member `private_state' of CCL.
1655 1999-07-08 Katsumi Yamaoka <yamaoka@jpl.org>
1657 * keymap.c (copy_keymap_internal): Inherit the default binding.
1659 1999-07-14 Kazuyuki IENAGA <kazz@imasy.or.jp>
1661 * event-Xt.c (handle_focus_event_1): Re-enable Motif/XIM to get
1662 focus the event (XIM_focus_event).
1663 (emacs_Xt_handle_magic_event): No side effect on Motif/XIM because
1664 XIM_SetGeometry does nothing in input_method_motif.c, but re-unify
1665 the interface for future use (XIM_SetGeometry).
1666 * redisplay-x.c (x_output_string): Re-enable Motif/XIM to set spot
1667 location (XIM_SetSpotLocation).
1668 (x_output_eol_cursor): Ditto.
1670 1999-07-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
1672 * gdbinit (pobj): change lrecord_foo to &lrecord_foo to match
1673 Olivier's change to lrecord.h of 1999-04-22
1675 1999-07-20 Robert Pluim <rpluim@bigfoot.com>
1677 * gutter.c (redraw_exposed_gutter): Change type of pos from
1678 enum toolbar_pos -> enum gutter_pos, since former is only defined
1679 if toolbar support is.
1681 1999-07-19 Andy Piper <andy@xemacs.org>
1683 * glyphs-x.c (x_resize_subwindow): cope with widgets as well as
1686 * gutter.c (gutter_validate): new function for the gutter specifier.
1687 (specifier_type_create_gutter): declare specifier validator.
1689 * buffer.h (INC_CHARBYTIND): add for no error checking version.
1691 1999-07-18 Andy Piper <andy@xemacs.org>
1693 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1695 * glyphs-msw.c (console_type_create_glyphs_mswindows): add
1697 (mswindows_resize_subwindow): new function.
1699 * gutter.c (redraw_exposed_gutter): only reset the
1700 current_display_lines if non-zero.
1701 (Fgutter_pixel_height): new function.
1702 (Fgutter_pixel_width): new function.
1704 * event-msw.c (mswindows_wnd_proc): set the mask of the parameter
1705 we want to retrive from the tab control.
1707 1999-07-17 Andy Piper <andy@xemacs.org>
1709 * window.c (change_window_height): mark gutters changed when we're
1712 * gutter.c (specifier_vars_of_gutter): make defaults more
1715 * gutter.h (WINDOW_REAL_GUTTER_BORDER_WIDTH): adjust to be 0 for 0
1717 (DEFAULT_GUTTER_WIDTH): change.
1718 (DEFAULT_GUTTER_BORDER_WIDTH): change.
1720 1999-07-18 Andy Piper <andy@xemacs.org>
1722 * redisplay.c (add_emchar_rune): use XSTRING_DATA not string_data.
1724 1999-07-16 Andy Piper <andy@xemacs.org>
1726 * frame.c (Fmake_frame): call init_frame_gutters().
1728 * redisplay.c (add_emchar_rune): use string functions if we are
1729 working with a string.
1730 (position_redisplay_data_type): add string element.
1732 1999-07-15 Andy Piper <andy@xemacs.org>
1734 * winslots.h: add real_gutter_size slots to hold the actual gutter
1735 size. This is important for autodetected sizes.
1737 * gutter.c (calculate_gutter_size): calculate size for gutters
1738 that have 'autodetect size.
1740 * redisplay-msw.c (mswindows_output_vertical_divider): adjust
1741 extent of divider for gutters.
1743 * redisplay-x.c (x_output_vertical_divider): adjust extent of
1744 divider for gutters.
1746 * scrollbar.c (update_scrollbar_instance): adjust scrollbar
1747 position to take into account the gutters.
1749 * redisplay.c (generate_modeline): adjust modeline position to
1750 take into account the gutters.
1752 1999-07-14 Andy Piper <andy@xemacs.org>
1754 * gutter.c (frame_topmost_window): new function.
1755 (frame_bottommost_window): ditto.
1756 (frame_leftmost_window): ditto.
1757 (frame_rightmost_window): ditto.
1759 1999-07-13 Andy Piper <andy@xemacs.org>
1761 * redisplay.c (calculate_display_line_boundaries): use text
1762 boundaries so that gutters get handled properly.
1764 1999-07-12 Andy Piper <andy@xemacs.org>
1766 * glyphs-x.c (x_widget_instantiate): set the font Motif-style if
1769 * redisplay-output.c (redisplay_clear_to_window_end): generalised
1772 * redisplay-x.c (redisplay_clear_to_window_end): moved to
1775 * redisplay-msw.c (redisplay_clear_to_window_end): deleted.
1777 * gutter.c: new file - implements gutters. All new functions are
1778 semantically equivalent to the toolbar functions.
1779 (gutter_was_visible): new function.
1780 (get_gutter_coords): ditto.
1781 (output_gutter): ditto.
1782 (clear_gutter): ditto.
1783 (update_frame_gutters): ditto.
1784 (redraw_exposed_gutter): ditto.
1785 (redraw_exposed_gutters): ditto.
1786 (free_frame_gutters): ditto.
1787 (init_frame_gutters): ditto.
1788 (decode_gutter_position): ditto.
1789 (Fset_default_gutter_position): ditto.
1790 (Fset_default_gutter_position): ditto.
1791 (Fdefault_gutter_position): ditto.
1792 (gutter_after_change): ditto.
1793 (Fgutter_specifier_p): ditto.
1794 (recompute_overlaying_specifier): ditto.
1795 (gutter_specs_changed): ditto.
1796 (default_gutter_specs_changed): ditto.
1797 (gutter_geometry_changed_in_window): ditto.
1798 (default_gutter_size_changed_in_window): ditto.
1799 (default_gutter_border_width_changed_in_window): ditto.
1800 (default_gutter_visible_p_changed_in_window): ditto.
1801 (syms_of_gutter): ditto.
1802 (vars_of_gutter): ditto.
1803 (specifier_type_create_gutter): ditto.
1804 (specifier_vars_of_gutter): ditto.
1806 * gutter.h: new file. Contains gutter constants and sizing macros
1807 similar to those for the toolbar.
1809 * winslots.h: add gutter variables.
1811 * window.h: declare window_is_* functions.
1813 * window.c (window_is_lowest): make non-static.
1814 (window_is_highest): ditto.
1815 (window_top_toolbar_height): deleted.
1816 (window_bottom_toolbar_height): deleted.
1817 (window_left_toolbar_width): deleted.
1818 (window_right_toolbar_width): deleted.
1819 (window_top_gutter_height): add gutter sizing.
1820 (window_bottom_gutter_height): ditto.
1821 (window_left_gutter_width): ditto.
1822 (window_right_gutter_width): ditto.
1824 * symsinit.h: declarations for gutters vars etc.
1826 * search.c (bi_find_next_emchar_in_string): new function.
1828 * scrollbar.c (update_scrollbar_instance): remove reference to
1829 window_bottom_toolbar_height which did nothing.
1831 * redisplay.h (struct display_line): add face indices for
1832 overriding defaults in output_display_line.
1833 Add gutter_changed flags and declarations.
1835 * redisplay.c (create_string_text_block): new function, similar to
1836 create_text_block but for strings. Display tables etc are used
1837 from the currently selected window.
1838 (generate_string_display_line): ditto. Similar to
1839 generate_display_line.
1840 (generate_displayable_area): generate display lines for a given
1841 area on a frame. Input is the string, with associated extents, to
1843 (redisplay_frame): add gutter_changed check.
1844 (redisplay_device): ditto.
1845 (redisplay_without_hooks): ditto.
1847 * redisplay-x.c (bevel_modeline): moved to redisplay.c.
1848 (x_redraw_exposed_area): redraw exposed gutters.
1849 (x_bevel_area): new redisplay device method.
1850 (x_type_create_redisplay_mswindows): add bevel_area device method.
1851 (x_output_display_block): fiddly Martin-style cleanup.
1852 (x_output_vertical_divider): use bevel_area.
1854 * redisplay-output.c (output_display_line): check display_lines
1855 for face information before using defaults.
1856 (bevel_modeline): new function, calls bevel_area with appropriate
1859 * redisplay-msw.c (bevel_modeline): moved to redisplay.c.
1860 (mswindows_redraw_exposed_area): redraw exposed gutters.
1861 (mswindows_bevel_area): new redisplay device method.
1862 (console_type_create_redisplay_mswindows): add bevel_area device
1865 * indent.c (string_column_at_point): add column_at_point but for
1868 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
1869 instantiate widgets that we have a toolkit for.
1871 * general.c: add Qgutter.
1873 * frame.h (struct frame): add display lines for gutters and
1876 * frame.c (set_frame_selected_window): mark gutters changed.
1878 * emacs.c (main_1): add gutter initialisation.
1880 * device.h (struct device): add gutter_changed flag and macros to
1883 * console.h (struct console_methods): new bevel area redisplay
1886 * buffer.h (REAL_INC_CHARBYTIND): new macro for strings as
1887 REAL_INC_BYTIND is for buffers.
1888 (INC_CHARPTR): ditto.
1890 * Makefile.in.in (objs): add gutter.o
1892 1999-07-13 XEmacs Build Bot <builds@cvs.xemacs.org>
1894 * XEmacs 21.2.18 is released
1896 1999-07-08 SL Baur <steve@mule.m17n.org>
1898 * event-Xt.c (handle_focus_event_1): Guard FRAME_X_XIC with
1900 (emacs_Xt_handle_magic_event): Ditto.
1901 * redisplay-x.c (x_output_string): Ditto.
1902 (x_output_eol_cursor): Ditto.
1904 1999-06-30 Kazuyuki IENAGA <kazz@imasy.or.jp>
1906 * event-Xt.c, input-method-xlib.c, redisplay-x.c: Avoid the
1907 problem that when XIM is destroyed or missed with some reason,
1908 xemacs will die. Now xim=xlib waits the XIM will be ready and
1909 endures the case of XIM end up.
1911 1999-07-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
1913 * tooltalk.c (init_tooltalk): save signal actions for SIGQUIT,
1914 SIGINT and SIGCHLD before calling tt_open and restore the
1915 afterwards. This fixes e.g. the zombie subprocesses on Solaris
1917 1999-07-06 SL Baur <steve@xemacs.org>
1919 * s/linux.h: gcc-2.8 changes for powerpc
1920 From Justin Vallon <vallon@mindspring.com>
1922 1999-07-05 Didier Verna <verna@inf.enst.fr>
1924 * indent.c: new symbol Qcoerce.
1925 (Fmove_to_column): use it + doc string update.
1927 1999-07-04 Andy Piper <andy@xemacs.org>
1929 * console.c: undo earlier Fprovide changes.
1933 * console-tty.c (image_instantiator_format_create_glyphs_tty): new
1934 function. validate appropriate image formats for tty.
1936 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM):
1937 initialize consoles parameter.
1938 (struct image_instantiator_methods): add consoles parameter.
1939 (IIFORMAT_VALID_CONSOLE): new function. validate the format on the
1941 (INITIALIZE_DEVICE_IIFORMAT): validate the format on the given
1944 * glyphs-msw.c: declare instantiators for later use.
1945 (image_instantiator_format_create_glyphs_mswindows): validate xpm
1946 and friends on the mswindows console.
1947 * glyphs-x.c: ditto.
1949 * glyphs.c (valid_image_instantiator_format_p): disallow glyphs
1950 that have not been registered on the supplied device.
1951 (Fvalid_image_instantiator_format_p): add locale argument.
1952 (instantiate_image_instantiator): valid image instantiator on the
1955 * symsinit.h: add image_instantiator_format_create_glyphs_tty()
1958 * emacs.c (main_1): add call to
1959 image_instantiator_format_create_glyphs_tty().
1961 1999-06-29 Olivier Galibert <galibert@pobox.com>
1963 * lisp.h: Add #include <stddef.h>.
1965 * sysdep.c: Remove #include <stddef.h>.
1966 * symbols.c: Remove #include <stddef.h>.
1967 * sheap.c: Remove #include <stddef.h>.
1968 * opaque.c: Remove #include <stddef.h>.
1969 * nt.c: Remove #include <stddef.h>.
1970 * mule-charset.c: Remove #include <stddef.h>.
1971 * marker.c: Remove #include <stddef.h>.
1972 * file-coding.c: Remove #include <stddef.h>.
1973 * extents.c: Remove #include <stddef.h>.
1974 * elhash.c: Remove #include <stddef.h>.
1975 * data.c: Remove #include <stddef.h>.
1976 * chartab.c: Remove #include <stddef.h>.
1977 * bytecode.c: Remove #include <stddef.h>.
1978 * alloc.c: Remove #include <stddef.h>. Fix vector description
1980 1999-06-30 SL Baur <steve@miho.m17n.org>
1982 * editfns.c: Document "%s" format spec.
1983 Suggested by Bob Weiner <weiner@altrasoft.com>
1985 1999-06-29 Andy Piper <andy@xemacs.org>
1987 * event-msw.c: fix definition booboo.
1989 1999-06-28 Andy Piper <andy@xemacs.org>
1991 * glyphs-x.c: change tree -> tree-view, progress ->
1992 progress_gauge, edit -> edit-field, tab -> tab-control, combo ->
1994 (complex_vars_of_glyphs_x): provide-on-console the implemented
1997 * glyphs-msw.c: ditto.
1998 (complex_vars_of_glyphs_mswindows): ditto.
2000 * lisp.h: add Fprovide_on_console.
2002 * fns.c (Ffeaturep): add extra optional console argument.
2003 (Fprovide_on_console): like Fprovide but provides only on the
2004 specified console-type.
2005 (Frequire): check console-features as well as global features.
2007 * console.c (Fconsole_features): new function. return features for
2009 (syms_of_console): add Fconsole_features.
2011 * console.h (CONMETH_FEATURES): new function for accessing features.
2012 (CONSOLE_FEATURES): ditto.
2013 (struct console_methods): add features slot.
2014 (INITIALIZE_CONSOLE_TYPE): initialize features slot.
2016 1999-06-28 Andy Piper <andy@xemacs.org>
2018 * event-Xt.c (handle_focus_event_1): conditionally compile for
2021 * s/cygwin32.h: fix me website address.
2023 * event-msw.c: add NMHDR for pre b20 cygwin builds.
2025 * gui-x.c (button_item_to_widget_value): only add callback if it
2028 * glyphs-x.c: add progress, edit and combo instantiators.
2029 (x_widget_set_property): new function. uses lwlib to set widget
2031 (x_widget_property): new function. uses lwlib to get widget
2033 (x_button_instantiate): support images in buttons.
2034 (x_button_property): new function. use lwlib to get the selected
2036 (x_progress_instantiate): new function for instantiating progress
2038 (x_progress_set_property): new function. sets the progress gauge
2040 (x_edit_instantiate): new function. for instantiating edit fields.
2041 (x_combo_instantiate): new function. for instantiating combo
2043 (image_instantiator_format_create_glyphs_x): add new device ii
2046 * glyphs-msw.c (mswindows_tab_instantiate): remove redundant var.
2048 * console.h (CONSOLE_FEATURES): new features accesor.
2050 * conslots.h (MARKED_SLOT): add features entry.
2052 1999-06-25 Andy Piper <andy@xemacs.org>
2054 * menubar-x.c (menu_item_descriptor_to_widget_value_1): use new
2057 * menubar-msw.c: move MAX_MENUITEM_LENGTH to gui.h
2059 * gui.h (struct Lisp_Gui_Item): add accelerator.
2061 * gui.c (gui_item_add_keyval_pair): deal with accelerators.
2062 (gui_item_init): ditto.
2063 (gui_add_item_keywords_to_plist): ditto.
2064 (mark_gui_item): ditto.
2065 (gui_item_hash): ditto.
2066 (gui_item_accelerator): new function.
2067 (gui_name_accelerator): new function stolen from gui-x.c
2069 * gui-x.c (popup_selection_callback): always define. mark
2070 subwindows changed after calling a callback.
2071 (menu_name_to_accelerator): deleted.
2072 (button_item_to_widget_value): forward gui_item things to gui_item
2075 * glyphs-x.h (struct x_subwindow_data): add data for widgets. add
2076 appropriate accesors.
2078 * glyphs-x.c: declare new glyph formats.
2079 (x_finalize_image_instance): unmanage and destroy widgets if they
2081 (x_unmap_subwindow): handle widgets specially.
2082 (x_map_subwindow): ditto. offset display of widgets by offset of
2083 text widget within container.
2084 (x_update_subwindow): new function. call lw_modify_all_widgets
2085 when we are a widget.
2086 (x_widget_instantiate): new function for generically creating
2087 widgets-glyphs. toolkit specifics forwarded to lwlib.
2088 (x_button_instantiate): new function for instantiating
2089 widgets-glyph buttons.
2090 (console_type_create_glyphs_x): register update_subwindow.
2091 (image_instantiator_format_create_glyphs_x): register widget and
2094 * event-msw.c (mswindows_wnd_proc): remove redundant variable.
2096 * event-Xt.c (x_event_to_emacs_event): call handle_focus_event_1
2097 when we get a button press in case we do not have the focus.
2098 (handle_focus_event_1): set the keyboard focus to the text widget
2099 if we do not have it.
2101 * dialog-x.c (dbox_descriptor_to_widget_value): use new gui_item
2104 1999-06-24 SL Baur <steve@miho.m17n.org>
2106 * syntax.c (scan_words): Restore non-Mule code.
2107 (word_constituent_p): Restore.
2109 1999-06-23 Olivier Galibert <galibert@pobox.com>
2111 * config.h.in: Add missing #undef *_USER_DEFINED.
2113 1999-06-23 SL Baur <steve@miho.m17n.org>
2115 * lisp.h (set_bit_vector_bit): Force promotion to unsigned long
2116 int (fixes a 64-bit problem).
2118 * chartab.c (word_boundary_p): Use EQ not == for lisp_object
2121 1999-03-23 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2123 * paths.h.in (PATH_DOC): Made doc-directory configurable.
2125 1999-06-22 Olivier Galibert <galibert@pobox.com>
2127 * lrecord.h: Added basic external description system.
2129 * symbols.c: Added symbol, symbol-value-buffer-local,
2130 symbol-value-lisp-magic and symbol-value-varalias description.
2131 * mule-charset.c: Added charset description.
2132 * marker.c: Added marker description.
2133 * keymap.c: Added keymap description.
2134 * glyphs.c: Added glyph description.
2135 * floatfns.c: Added float description.
2136 * file-coding.c: Added coding-system description.
2137 * extents.c: Added extent description.
2138 * elhash.c: Added hash-table description.
2139 * data.c: Added weak-list desciption.
2140 * chartab.c: Added char-table-entry and char-table description.
2141 * bytecode.c: Added compiled-function description.
2142 * alloc.c: Added cons, vector and string description.
2144 1999-06-22 Olivier Galibert <galibert@pobox.com>
2146 * lrecord.h (struct lrecord_header): Reduced size to 4 bytes.
2147 Updated everything to the removal of the "flags" substructure.
2149 * lisp.h (subr_lheader_initializer): Updated.
2150 * symeval.h (symbol_value_forward_lheader_initializer): Updated.
2152 1999-06-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2154 * syntax.c (word_constituent_p): Deleted.
2155 (scan_words): Use `WORD_BOUNDARY_P'.
2157 * chartab.c (Vword_combining_categories): New variable.
2158 (Vword_separating_categories): Likewise.
2159 (CATEGORYP): New macro.
2160 (CATEGORY_SET): Likewise.
2161 (CATEGORY_MEMBER): Likewise.
2162 (word_boundary_p): New function.
2163 (complex_vars_of_chartab): Set up new variable
2164 `word-combining-categories' and `word-separating-categories'.
2166 1999-06-18 Olivier Galibert <galibert@pobox.com>
2168 * lrecord.h: Added description as a placehold in the lrecord
2169 implementation structures. Added the parameter to all constructor
2172 * alloc.c: Added placeholders.
2174 * bytecode.c: Ditto.
2178 * database.c: Ditto.
2183 * event-stream.c: Ditto.
2187 * file-coding.c: Ditto.
2188 * floatfns.c: Ditto.
2196 * mule-charset.c: Ditto.
2200 * rangetab.c: Ditto.
2201 * specifier.c: Ditto.
2204 * tooltalk.c: Ditto.
2207 1999-06-22 XEmacs Build Bot <builds@cvs.xemacs.org>
2209 * XEmacs 21.2.17 is released
2211 1999-06-13 Oscar Figueiredo <oscar@xemacs.org>
2213 * config.h.in (HAVE_LDAP_SET_OPTION): New define
2214 (HAVE_LDAP_GET_LDERRNO): Ditto
2215 (HAVE_LDAP_RESULT2ERROR): Ditto
2216 (HAVE_LDAP_PARSE_RESULT): Ditto
2217 (HAVE_UMICH_LDAP): Removed
2218 (HAVE_NS_LDAP): Removed
2220 * eldap.h (struct Lisp_LDAP): Removed the `livep' member as
2221 suggested by Olivier Galibert
2222 (CHECK_LIVE_LDAP): Test on `ld' instead of `livep'
2224 * eldap.c: Take the removal of `livep' into account in all the
2226 (signal_ldap_error): Take two additional parameters
2227 Added new finer compilation conditions in order to use
2228 ldap_parse_result or ldap_result2error if available
2229 (Fldap_open): Conform to this new API
2230 (Fldap_search_internal): Ditto
2232 1999-06-17 SL Baur <steve@miho.m17n.org>
2234 * data.c (struct int_or_double): Should use EMACS_INT not int.
2236 1999-06-16 Norbert Koch <n.koch@eai-delta.de>
2238 * redisplay-msw.c: Run 'ccl_driver' with 'CCL_MODE_ENCODING' as in
2241 1999-06-12 MORIOKA Tomohiko <tomo@etl.go.jp>
2243 * redisplay-x.c (separate_textual_runs): Run `ccl_driver' with
2244 `CCL_MODE_ENCODING'.
2246 * file-coding.c (mule_decode): Run `ccl_driver' with
2247 `CCL_MODE_DECODING'.
2248 (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2250 * mule-ccl.c (CCL_WRITE_CHAR): Refer `conversion_mode'.
2251 (ccl_driver): Add new argument `conversion_mode'.
2252 (Fccl_execute): Run `ccl_driver' with `CCL_MODE_ENCODING'.
2253 (Fccl_execute_on_string): Likewise [perhaps it is better to add
2254 new optional argument].
2256 * mule-ccl.h (CCL_MODE_ENCODING): New macro.
2257 (CCL_MODE_DECODING): New macro.
2258 (ccl_driver): Add new argument `conversion_mode'.
2260 1999-06-15 SL Baur <steve@miho.m17n.org>
2262 * mule-charset.c (Fsplit_char): New subr.
2263 (Fchar_octet): delete.
2264 (syms_of_mule_charset): DEFSUBR it.
2266 1999-06-13 Andy Piper <andy@xemacs.org>
2268 * menubar.h: update declarations involving gui_items.
2270 * lisp.h: declare Lisp_Gui_Item.
2272 * glyphs.h (struct Lisp_Image_Instance): update type of gui_item.
2274 * glyphs.c (mark_image_instance): modify for new lisp-based gui_items.
2275 (print_image_instance): ditto.
2276 (image_instance_equal): ditto.
2277 (image_instance_hash): ditto.
2279 * event-msw.c (mswindows_need_event): assert badly_p status.
2280 (mswindows_wnd_proc): modify WM_NOTIFY handling to cope with
2281 callbacks in tree-view and tab-control widgets.
2282 (emacs_mswindows_next_event): modify use of
2283 mswindows_dequeue_dispatch_event.
2285 * dialog-msw.c (mswindows_popup_dialog_box): modify for new
2286 lisp-based gui_items.
2288 * glyphs-msw.c (mswindows_update_subwindow): update use of
2290 (mswindows_register_gui_item): new function.
2291 (mswindows_register_gui_item): fix to use lisp gui_items.
2292 (mswindows_widget_instantiate): ditto.
2293 (mswindows_button_instantiate): ditto.
2294 (add_tree_item): new function to recursively add tree view
2296 (add_tree_item_list): ditto.
2297 (mswindows_tree_instantiate): new function. instantiate tree view
2299 (add_tab_item): new function to add tabs to a tab control.
2300 (mswindows_tab_instantiate): new function. instantiate tab
2302 (image_instantiator_format_create_glyphs_mswindows): add tree view
2304 (vars_of_glyphs_mswindows): ditto.
2306 * glyphs-widget.c (check_valid_item_list_1): allow nested lists in
2308 (check_valid_item_list): ditto.
2309 (initialize_widget_image_instance): fix to use new lisp gui_item.
2310 (widget_instantiate_1): allow the setting of default textwidth in
2312 (widget_instantiate): change to use new widget_instantiate_1
2314 (combo_instantiate): ditto.
2315 (static_instantiate): ditto.
2316 (tab_instantiate): new function for tab widgets.
2317 (image_instantiator_format_create_glyphs_widget): add tab and tree
2320 * menubar-msw.c (displayable_menu_item): convert to use lisp
2322 (populate_menu_add_item): ditto.
2323 (populate_or_checksum_helper): ditto.
2325 * menubar.c (menu_parse_submenu_keywords): convert to use lisp
2327 (Fmenu_find_real_submenu): ditto.
2329 * gui.h (struct Lisp_Gui_Item): make gui_item a lisp oebjct.
2331 * gui.c (gui_item_add_keyval_pair): gui_items are now lisp
2332 objects, convert functions that use them accordingly.
2333 (gui_item_init): ditto.
2334 (gui_item_active_p): ditto.
2335 (gui_item_selected_p): ditto.
2336 (gui_item_included_p): ditto.
2337 (gui_item_display_flush_left): ditto.
2338 (gui_item_display_flush_right): ditto.
2339 (mark_gui_item): ditto.
2340 (allocate_gui_item): new function to create a gui_item.
2341 (make_gui_item_from_keywords_internal): ditto. create and return a
2342 gui_item as well as setting keywords.
2343 (gui_parse_item_keywords): ditto.
2344 (gui_parse_item_keywords_no_errors): ditto.
2345 (gui_add_item_keywords_to_plist): new function, not yet used.
2346 (gui_item_hash): new function.
2347 (gui_item_id_hash): use gui_item_hash.
2348 (gui_item_equal): new function.
2349 (print_gui_item): new function.
2351 1999-06-11 XEmacs Build Bot <builds@cvs.xemacs.org>
2353 * XEmacs 21.2.16 is released
2355 1999-06-10 Andy Piper <andy@xemacs.org>
2357 * select-msw.c (mswindows_own_selection): only set the clipboard
2359 (mswindows_get_foreign_selection): only get the clipboard if
2361 (mswindows_disown_selection): only disown the clipboard if asked.
2363 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2365 * file-coding.c (coding_system_from_mask): Use `raw-text' instead
2367 (complex_vars_of_mule_coding): Use `raw-text' as the coding-system
2368 of coding-category `no-conversion'.
2370 1999-06-03 MORIOKA Tomohiko <tomo@etl.go.jp>
2372 * file-coding.c (Qraw_text): New variable.
2373 (syms_of_mule_coding): Add new symbol `raw-text'.
2374 (complex_vars_of_mule_coding): Add new coding-system `raw-text';
2375 define coding-system `binary' independently; define coding-system
2376 `no-conversion' as an alias for `raw-text'.
2378 * file-coding.h (Qraw_text): New variable.
2380 1999-06-08 SL Baur <steve@xemacs.org>
2382 * s/decosf4-0.h: Explicitly #undef SYSTEM_MALLOC.
2384 1999-06-06 Hrvoje Niksic <hniksic@srce.hr>
2386 * fns.c (MIME_LINE_LENGTH): Default to 72, as in mimencode and
2388 (base64_decode_1): Signal errors instead of returning -1.
2390 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2392 * mule-charset.c (Fmake_char): Update docstring.
2394 1999-06-07 Hrvoje Niksic <hniksic@srce.hr>
2396 * fns.c (Fstring_lessp): Actually increment the Bufbyte pointers.
2398 1999-06-05 Hrvoje Niksic <hniksic@srce.hr>
2400 * fns.c (base64_decode_1): Allow and ignore any non-base64
2401 characters in input.
2403 1999-05-27 Olivier Galibert <galibert@pobox.com>
2405 * emacs.c (Fdump_emacs): Add clear_message() lost with the removal
2406 of report_pure_usage().
2408 1999-06-04 Hrvoje Niksic <hniksic@srce.hr>
2410 * fns.c (Fstring_lessp): Remove O(n^2) under Mule.
2412 1999-06-04 XEmacs Build Bot <builds@cvs.xemacs.org>
2414 * XEmacs 21.2.15 is released
2416 1999-06-01 Hirokazu FUKUI <fukui@atesoft.advantest.co.jp>
2418 * frame.c (Fset_mouse_position):
2419 (Fset_mouse_pixel_position):
2420 * window.c (Fsplit_window):
2421 (Fmove_to_window_line):
2422 Fix crash when invoking functions with an already-deleted window
2425 * indent.c (vertical_motion_1):
2427 (Fvertical_motion_pixels):
2428 * window.c (Fwindow_displayed_text_pixel_height):
2429 Fix error message when invoking functions with an already-deleted
2432 1999-06-01 Jan Vroonhof <vroonhof@math.ethz.ch>
2434 * sysdep.c (request_sigio_on_device): Guard against glibc
2435 2.1's stub streams implementation.
2437 1999-06-03 SL Baur <steve@xemacs.org>
2440 * emacs.c: Implement x.y.z version numbers
2441 From Jan Vroonhof <vroonhof@math.ethz.ch>
2443 1999-05-20 MORIOKA Tomohiko <tomo@etl.go.jp>
2445 * mule-charset.c (complex_vars_of_mule_charset): Registry of
2446 japanese-jisx0208-1978 should not match with "jisx0208.1983" nor
2449 1999-06-03 SL Baur <steve@xemacs.org>
2452 * device-x.c: rename session option to wmcommand.
2453 From Oliver Graf <ograf@rhein-zeitung.de>
2455 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2457 * fns.c (Fsubstring): Don't traverse the same region twice with
2458 charcount_to_bytecount().
2460 1999-06-03 SL Baur <steve@steve1.m17n.org>
2462 * m/alpha.h (SYSTEM_MALLOC): Fix indented preprocessor directive
2465 * s/decosf4-0.h: Defining ORDINARY_LINK here is redundant (and it
2466 doesn't really work as is implied by the commentary).
2467 Don't define SYSTEM_MALLOC so the old GNU malloc can be used.
2469 1999-06-02 SL Baur <steve@steve1.m17n.org>
2471 * symsinit.h: Declare vars_of_ntproc.
2472 * emacs.c (main_1): Call it.
2474 * ntproc.c (syms_of_ntproc): Move variable initializations from
2476 (vars_of_ntproc): ... to here [new function].
2478 * file-coding.c (syms_of_file_coding): Rename.
2479 (vars_of_file_coding): Ditto.
2480 (complex_vars_of_file_coding): Ditto.
2482 * symsinit.h: Rename *_mule_coding to *_file_coding.
2484 * emacs.c (main_1): Call them by the proper name.
2486 * device-msw.c (syms_of_device_mswindows): Move variable
2487 initializations from here ...
2488 (vars_of_device_mswindows): ... to here.
2490 * chartab.c (vars_of_chartab): New function.
2492 * symsinit.h: New function, vars_of_chartab.
2494 * emacs.c (main_1): Call it.
2496 * mule-canna.c (syms_of_mule_canna): Move CANNA initialization ...
2497 (vars_of_mule_canna): ... to here.
2499 * mule-ccl.c (vars_of_mule_ccl): New function. Move variable
2500 initializations out of syms_of_mule_ccl.
2502 * symsinit.h: Declare new function vars_of_mule_ccl.
2504 * emacs.c (main_1): Call it.
2506 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2508 * fns.c (base64_decode_1): Ignore whitespace.
2510 1999-05-27 Hrvoje Niksic <hniksic@srce.hr>
2512 * mule-charset.c (Fmake_char): Strip the eighth bit off ARG1 and
2515 1999-05-21 Andy Piper <andy@xemacs.org>
2517 * xselect.c: deleted.
2519 * symsinit.h: declare select initialisation.
2521 * select.h: new file. declare commonly used select functions and
2524 * select.c: new file. generalised from xselect.c.
2525 (clean_local_selection_data): moved from xselect.c.
2526 (get_local_selection): ditto. device specific pieces called via a
2528 (handle_selection_clear): ditto.
2529 (Fown_selection_internal): renamed and generalised from
2530 Fx_own_selection_internal. moved from xselect.c.
2531 (Fdisown_selection_internal): ditto.
2532 (Fselection_owner_p): ditto.
2533 (Fselection_exists_p): ditto.
2534 (Fget_selection_internal): ditto.
2535 (syms_of_select): new function. QXXXX values moved from xselect.c
2536 (vars_of_select): new function. selection_converter_alist,
2537 lost_selection_hooks moved and renamed from xselect.c
2539 * select-x.c: renamed from xselect.c.
2540 (x_own_selection): converted to device specific. non-X-specific
2541 bits moved to select.c.
2542 (x_get_foreign_selection): ditto.
2543 (x_disown_selection): ditto.
2544 (x_selection_exists_p): ditto.
2545 (console_type_create_select_x): new function.
2547 * select-msw.c (mswindows_own_selection): new device method to set
2548 the clipboard when we 'own' the selection.
2549 (mswindows_get_foreign_selection): new device method to get the
2551 (mswindows_disown_selection): new device method to delete the
2552 selection when we 'disown' it.
2553 (console_type_create_select_mswindows): new function.
2555 * emacs.c (main_1): add select to things to initialise.
2557 * console.h (struct console_methods): new console methods for
2560 * Makefile.in.in (x_objs): xselect.c renamed to select-x.c
2562 1999-05-20 Hrvoje Niksic <hniksic@srce.hr>
2564 * print.c (long_to_string): Install a faster version.
2566 1999-05-16 Andy Piper <andy@xemacs.org>
2568 * ntproc.c (syms_of_ntproc): default
2569 win32-start-process-share-console to t.
2571 1999-05-14 Hrvoje Niksic <hniksic@srce.hr>
2573 * config.h.in: Do it here.
2575 * bytecode.c: Don't define ERROR_CHECK_TYPECHECK here.
2577 1999-05-14 Andy Piper <andy@xemacs.org>
2579 * toolbar-msw.c (mswindows_output_toolbar): hash on something
2582 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org>
2584 * XEmacs 21.2.14 is released
2586 1999-05-12 Andy Piper <andy@xemacs.org>
2588 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way.
2590 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk>
2592 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for
2593 run_temacs_argv array -- fixes random memory corruption crash
2595 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch>
2597 * window.c (Fcurrent_window_configuration):
2598 Save minibuffer height;
2600 * window.c (set_window_configuration): use it.
2602 1999-05-10 Robert Pluim <rpluim@bigfoot.com>
2604 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version
2606 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch>
2608 * redisplay.c (redisplay_window): Do not put data
2609 in the line start cache if it is not guaranteed to be correct
2611 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch>
2613 * window.c (struct window_config): Removed frame
2615 (window_config_equal): No longer compare frame sizes.
2616 (Fset_window_configuration): Resize old top window to fit in the
2617 current frame directly, no longer use a fake frame resize.
2618 (Fcurrent_window_configuration): No longer save frame size
2620 1999-05-11 Andy Piper <andy@xemacs.org>
2622 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the
2625 1999-05-10 Hrvoje Niksic <hniksic@srce.hr>
2627 * sysdep.c (init_system_name): If gethostname gives a proper
2628 domain name, don't look further for one.
2630 1999-05-09 Hrvoje Niksic <hniksic@srce.hr>
2632 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo).
2633 (Fintern_soft): Accept a symbol argument.
2635 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2637 * symbols.c (Fintern): ...do it here.
2639 * lread.c (read_atom): Don't handle keywords here.
2641 1999-05-06 Hrvoje Niksic <hniksic@srce.hr>
2643 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD.
2645 1999-05-03 Olivier Galibert <galibert@pobox.com>
2647 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it
2648 is interned in the main obarray.
2650 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
2652 * menubar-x.c (pre_activate_callback): set accelerator field in
2653 "No menu" entries to nil. Avoid crash in
2654 command_builder_operate_menu_accelerator
2656 1999-05-03 Olivier Galibert <galibert@pobox.com>
2658 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2660 * lisp.h (DEFUN): Fix lrecord header initialisation.
2662 1999-05-02 Andy Piper <andy@xemacs.org>
2664 * objects-msw.c (mswindows_font_instance_truename): add a ';'.
2666 * ntproc.c (sys_kill): cast using MS mandated defines.
2668 1999-04-29 Andy Piper <andy@xemacs.org>
2670 * m/intel386.h: remove redundant definitions.
2672 * s/mingw32.h: new header for mingw32.
2674 * unexnt.c: (open_input_file): function moved to nt.c.
2675 (close_file_data): ditto.
2676 (rva_to_section): function moved to ntproc.
2678 * symsinit.h: declare syms_of_ntproc();
2680 * objects-msw.c (mswindows_font_instance_truename): new function.
2682 * ntproc.c: remove many warnings.
2683 (_sys_read_ahead): moved from nt.c and made static.
2684 (rva_to_section): moved from unexnt.c but not defined under
2686 (win32_executable_type): implement what we can for mingw32
2688 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling.
2690 * ntheap.h: remove declarations of functions that are now static.
2692 * ntheap.c: support static heap.
2694 * nt.h: conditionalise X_OK definition.
2696 * nt.c: eliminate many warnings and support mingw32.
2697 (open_input_file): function moved from unexnt.c and made static
2698 (close_file_data): ditto.
2699 (_sys_read_ahead): moved to ntproc.c
2701 * emacs.c: make sure syms_of_ntptroc gets called under windows.
2703 * console-msw.h: support mingw32.
2704 * getloadavg.c: ditto.
2711 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because
2712 some systems don't have all of the encapsulated system calls.
2714 * callproc.c: warning elimination.
2715 * dired-msw.c: ditto.
2716 * process-nt.c: ditto.
2717 * realpath.c: ditto.
2719 * Makefile.in.in: tweak : and ; for building under mswindows.
2721 1999-04-26 Michael Harnois <mharnois@willinet.net>
2723 * eldap.c (allocate_ldap): Adapt to the new semantics of
2724 alloc_lcrecord_type().
2726 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2728 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed.
2730 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
2732 * Delete mule-coding.c and mule-coding.h because they are not
2735 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk>
2737 * objects.c (print_font_instance): Check for NILP(f->device),
2738 i.e. Vthe_null_font_instance.
2739 (font_instance_truename_internal): ditto.
2740 (Ffont_instance_properties): ditto.
2742 1999-04-22 Olivier Galibert <galibert@pobox.com>
2744 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an
2747 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2749 * Makefile.in.in (tests): Don't mention tests explicitly -- makes
2750 it easier to add new ones.
2752 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2754 * symbols.c (reject_constant_symbols): Ditto.
2755 (init_symbols_once_early): Ditto.
2757 * print.c (print_symbol): Don't use ->obarray.
2759 * symbols.c (Funintern): Ditto.
2761 * alloc.c (Fmake_symbol): Don't set ->obarray.
2763 * lisp.h (struct Lisp_Symbol): Removed .obarray field.
2765 * symbols.c (init_symbols_once_early): Removed
2766 Vpure_uninterned_symbol_table.
2767 (Fintern): Don't store to ->obarray field.
2769 1999-04-22 Hrvoje Niksic <hniksic@srce.hr>
2771 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0.
2772 (eq_with_ebola_notice): Remove abracadabra support.
2774 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
2776 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to
2777 retrieve the distinguished names of entries
2779 1999-03-08 Martin Buchholz <martin@xemacs.org>
2781 * lread.c (read_escape): Make hex escapes read only two hex digits.
2783 1999-04-05 Olivier Galibert <galibert@pobox.com>
2785 * Makefile.in.in: Remove puresize-adjust.h and recursive makes.
2786 * make-src-depend: Remove puresize-adjust.h.
2787 * src-headers: Remove puresize-adjust.h.
2788 * config.h.in: Kill everything purespace/gung-ho related.
2790 * dbxrc: Make gung-ho mandatory.
2793 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add
2794 c_readonly and lisp_readonly. Remove implementation arrays.
2795 (C_READONLY_RECORD_HEADER_P): Added.
2796 (LISP_READONLY_RECORD_HEADER_P): Added.
2797 (SET_C_READONLY_RECORD_HEADER): Added.
2798 (SET_LISP_READONLY_RECORD_HEADER): Added.
2800 * lisp.h: Kill everything purespace/non gung-ho related.
2801 (CHECK_C_WRITEABLE): Added.
2802 (CHECK_LISP_WRITEABLE): Added.
2803 (C_READONLY): Added.
2804 (LISP_READONLY): Added.
2806 * lisp-union.h: Make gung-ho mandatory.
2807 * lisp-disunion.h: Ditto.
2809 * alloc.c: Kill everything purespace/non gung-ho related. Fix all
2810 set_lheader_implementation calls.
2811 (c_readonly): Added.
2812 (lisp_readonly): Added.
2813 (make_string_nocopy): Added.
2814 (Fpurecopy): Changed to do nothing. Kept the old documentation
2815 for reference purposes for the next patches.
2816 (sweep_lcrecords_1): Don't free C readonly lcrecords.
2817 (sweep_bit_vectors_1): Don't free C readonly bitvectors.
2818 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords.
2820 * fns.c: Make gung-ho mandatory.
2821 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2823 (Ffillarray): Ditto.
2825 * data.c: Make gung-ho mandatory.
2826 (pure_write_error): Removed.
2827 (c_write_error): Added.
2828 (lisp_write_error): Added.
2829 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE.
2833 * symbols.c: Make gung-ho mandatory. make_pure_pname ->
2834 make_string or make_string_nocopy. Fix various
2835 alloc_lcrecord_type.
2837 * lread.c: Remove everything purespace related.
2838 (Flocate_file_clear_hashing): purified -> c_readonly.
2839 (locate_file): Ditto.
2840 (read_atom): make_pure_pname -> make_string.
2842 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats
2844 (Fdump_emacs): Ditto.
2846 * print.c (print_internal): Make gung-ho mandatory.
2847 * ntheap.c (sbrk): Ditto.
2848 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto
2849 * symeval.h (symbol_value_forward_lheader_initializer): Ditto.
2851 * sheap.c (more_static_core): Remove puresize-adjust.h from
2854 * syntax.c (complex_vars_of_syntax): make_pure_string ->
2856 * keymap.c (make_keymap): Fix alloc_lcrecord_type.
2857 (vars_of_keymap): make_pure_string -> make_string_nocopy.
2858 * events.c (deinitialize_event): Fix set_lheader_implementation.
2859 (zero_event): Ditto.
2860 * specifier.c (make_specifier_internal): Fix alloc_lcrecord.
2861 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type.
2862 * mule-charset.c (make_charset): Ditto.
2863 * console.c (allocate_console): Ditto.
2864 (complex_vars_of_console): Ditto.
2865 * file-coding.c (allocate_coding_system): Ditto.
2866 * device.c (allocate_device): Ditto
2867 * gui-x.c (gcpro_popup_callbacks): Ditto.
2868 * extents.c (allocate_extent_auxiliary): Ditto.
2869 (allocate_extent_info): Ditto.
2870 (copy_extent): Ditto.
2871 * glyphs.c (allocate_image_instance): Ditto.
2872 (allocate_glyph): Ditto.
2873 * frame.c (allocate_frame_core): Ditto.
2874 * database.c (allocate_database): Ditto.
2875 * tooltalk.c (make_tooltalk_message): Ditto.
2876 (make_tooltalk_pattern): Ditto.
2877 * rangetab.c (Fmake_range_table): Ditto.
2878 (Fcopy_range_table): Ditto.
2879 * process.c (make_process_internal): Ditto.
2880 * chartab.c (Fmake_char_table): Ditto.
2881 (make_char_table_entry): Ditto.
2882 (copy_char_table_entry): Ditto.
2883 (Fcopy_char_table): Ditto.
2884 * elhash.c (make_general_lisp_hash_table): Ditto.
2885 (Fcopy_hash_table): Ditto.
2886 * buffer.c (allocate_buffer): Ditto.
2887 (complex_vars_of_buffer): Ditto.
2888 * event-stream.c (allocate_command_builder): Ditto.
2889 * objects.c (Fmake_color_instance): Ditto.
2890 (Fmake_font_instance): Ditto.
2891 (vars_of_objects): Ditto.
2892 * toolbar.c (update_toolbar_button): Ditto.
2893 * window.c (allocate_window): Ditto.
2894 (make_dummy_parent): Ditto.
2895 (Fcurrent_window_configuration): Fix alloc_lcrecord.
2896 (vars_of_window): Fix make_lcrecord_list.
2897 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list ->
2899 * lstream.c (Lstream_new): Fix make_lcrecord_list.
2900 * opaque.c (make_opaque): Fix alloc_lrecord.
2901 (make_opaque_list): Fix alloc_lrecord_type.
2903 1999-04-19 Hrvoje Niksic <hniksic@srce.hr>
2905 * process.c (Fstart_process_internal): Ditto.
2907 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling
2910 * glyphs-x.c (x_locate_pixmap_file): Ditto.
2912 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to
2915 * emodules.c (vars_of_module): New variable Vmodule_extensions.
2916 (emodules_load): Use it when calling locate_file().
2918 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling
2921 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable.
2922 (vars_of_callproc): Initialize it.
2923 (Fcall_process_internal): Use it when calling locate_file().
2925 * alloc.c (disksave_object_finalization): Use
2926 Flocate_file_clear_hashing().
2928 * lread.c (Flocate_file_clear_hashing): Clear all hasing when
2929 given `t' as argument.
2931 1999-04-18 Hrvoje Niksic <hniksic@srce.hr>
2933 * lread.c (locate_file): Expand `pathel' when appropriate.
2934 (Flocate_file_clear_hashing): Expand path elements.
2935 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table.
2937 * dired.c (make_directory_hash_table): Create the hash-table only
2938 if the directory open is successful.
2940 * lread.c (decode_mode_1): New function.
2941 (decode_mode): Ditto.
2942 (Flocate_file): Use them.
2943 (Flocate_file): Expand FILENAME.
2944 (locate_file_map_suffixes): New function.
2945 (locate_file_in_directory_mapper): New function.
2946 (locate_file_in_directory): Use locate_file_in_directory_mapper()
2947 and locate_file_map_suffixes().
2948 (locate_file_construct_suffixed_files): Use
2949 locate_file_map_suffixes().
2950 (locate_file_without_hash): Don't GCPRO path.
2951 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP.
2952 (syms_of_lread): Remove Qlocate_file_hash_table.
2953 (locate_file_find_directory_hash_table): Use
2954 Vlocate_file_hash_table.
2955 (locate_file_refresh_hashing): Ditto.
2957 * lread.c: Renamed read_objects to Vread_objects.
2959 1999-04-16 Olivier Galibert <galibert@pobox.com>
2961 * mule-charset.c: Generally resync with fsf 20.3 charset
2963 (make_charset): Add long and short name. Use id instead of
2965 (Fmake_charset): Ditto.
2966 (Fmake_reverse_direction_charset): Ditto.
2967 (Fcharset_property): Ditto.
2968 (Fcharset_short_name): Added.
2969 (Fcharset_long_name): Added.
2970 (Fcharset_description): Renamed from charset-doc-string.
2971 (syms_of_mule_charset): Synced symbols.
2972 (complex_vars_of_mule_charset): Synced charsets.
2974 * mule-charset.h: Removed leading byte (uses id instead), added
2975 short and long name.
2977 1999-04-15 Hrvoje Niksic <hniksic@srce.hr>
2979 * file-coding.c (Fdefine_coding_system_alias): New function.
2981 1999-04-08 Olivier Galibert <galibert@pobox.com>
2983 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859
2984 and -ascii fonts for displaying ascii instead of iso8859-1 only.
2986 1998-12-14 Hrvoje Niksic <hniksic@srce.hr>
2988 * extents.c (set_extent_glyph_1): Make sure that the glyph we
2989 attach to the extent is valid.
2991 1998-12-12 Hrvoje Niksic <hniksic@srce.hr>
2993 * dired.c (user_name_completion): Mule-ize.
2994 (user_name_completion): Use xmalloc/xrealloc/xfree.
2995 (user_name_completion): Use DO_REALLOC.
2996 (user_name_completion): Cut down the number of static variables;
2998 (user_name_completion): Username completion is always
3001 1998-12-06 Hrvoje Niksic <hniksic@srce.hr>
3003 * fns.c (base64_decode_1): Remove COUNTER.
3004 (base64_decode_1): Accept CRLF in addition to CR.
3005 (base64_decode_1): Disallow a stray character after final EOF; the
3006 check was probably a remnant of buggy recode code.
3008 1998-12-05 Hrvoje Niksic <hniksic@srce.hr>
3010 * fns.c (init_provide_once): Provide `base64'.
3012 1998-12-04 Hrvoje Niksic <hniksic@srce.hr>
3014 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity.
3015 (Fbase64_encode_region): If buffer is read-only, bail out early.
3016 (Fbase64_decode_region): Ditto.
3017 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the
3019 (Fbase64_encode_string): Ditto.
3020 (Fbase64_decode_region): Ditto.
3021 (Fbase64_decode_string): Ditto.
3023 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
3025 * dired.c (Fdirectory_files): Remove redundant code.
3027 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3029 * frame-msw.c Make raise-frame restore minimised windows.
3031 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3033 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and
3036 1999-03-05 Philip Aston <philipa@parallax.co.uk>
3038 * toolbar-msw.c Consider captions when deciding whether to rebuild
3039 toolbar. This fixes the initial toolbar display for those of us
3040 who don't like captions. These patches applied by Andy Piper.
3042 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org>
3044 * XEmacs 21.2.13 is released
3046 1999-03-12 SL Baur <steve@xemacs.org>
3048 * file-coding.c: Guard ucs table initialization with ifdef MULE.
3050 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp>
3052 * file-coding.c: docstring and comment improvements.
3053 (decode_ucs4) flag possible data loss with comment.
3055 1999-03-10 Martin Buchholz <martin@xemacs.org>
3057 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR
3061 (decode_coding_ucs4):
3062 (encode_coding_ucs4):
3063 (detect_coding_utf8):
3064 (decode_coding_utf8):
3066 (encode_coding_utf8):
3067 Add CHECK_* macros where needed to avoid crashes.
3068 #ifdef out all composite character support using
3069 #ifdef ENABLE_COMPOSITE_CHARS
3070 Use normal XEmacs coding standards.
3072 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE.
3074 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3076 * file-coding.c (make-coding-system): Add description about
3077 `ucs-4' and `utf-8'.
3078 (detection_state): Modify to implement ucs-4 and utf-8.
3079 (detect_coding_type): Likewise.
3080 (detect_coding_ucs4): New implementation.
3081 (detect_coding_utf8): New implementation.
3082 (encode_utf8): fixed.
3083 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and
3086 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3088 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO
3089 2022 registry to private area.
3091 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3093 * file-coding.c (encode_utf8): New function.
3094 (encode_coding_utf8): New implementation.
3096 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3098 * file-coding.c (ucs_to_mule_table): New variable; abolish
3099 `Vucs_to_mule_table'
3100 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'.
3101 (set-ucs-char): New function.
3102 (ucs_to_char): New function.
3103 (ucs-char): New function.
3104 (set-char-ucs): New function.
3105 (char-ucs): New function.
3106 (decode_ucs4): Use `ucs_to_char'.
3107 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and
3108 `mule-to-ucs-table'.
3110 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3112 * chartab.h: EXFUN `Fget_char_table'.
3114 * file-coding.c (encode_ucs4): New function.
3115 (encode_coding_ucs4): Use `encode_ucs4'.
3117 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3119 * file-coding.c (decode_coding_ucs4): New implementation.
3121 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3123 * file-coding.c (decode_coding_ucs4): fixed.
3125 * file-coding.c (Vmule_to_ucs_table): New variable.
3126 (mule_char_to_ucs4): New function.
3127 (encode_coding_ucs4): New implementation.
3128 (complex_vars_of_mule_coding): Define variable
3129 `mule-to-ucs-table'.
3131 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3133 * file-coding.c (decode_coding_utf8): New implementation.
3135 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3137 * file-coding.c (decode_coding_utf8): fixed.
3139 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3141 * file-coding.c (Vucs_to_mule_table): New variable.
3142 (decode_ucs4): Refer `Vucs_to_mule_table'.
3143 (complex_vars_of_mule_coding): Define variable
3144 `ucs-to-mule-table'.
3146 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3148 * file-coding.c (detect_coding_ucs4): New function (not
3150 (decode_coding_ucs4): New function.
3151 (encode_coding_ucs4): New function (not implemented yet).
3152 (detect_coding_utf8): New function (not implemented yet).
3153 (decode_coding_utf8): New function.
3154 (encode_coding_utf8): New function (not implemented yet).
3155 (make-coding-system): New type `ucs4' and `utf8'.
3156 (coding-system-type): Likewise.
3157 (detection_state): Add `ucs4' and `utf8'.
3158 (detect_coding_type): Likewise.
3159 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'.
3160 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'.
3161 (decode_ucs4): New function (very incomplete).
3162 (syms_of_mule_coding): Add `ucs4' and `utf8'.
3164 * file-coding.h: Add definitions for UCS-4 and UTF-8.
3166 1999-03-08 Martin Buchholz <martin@xemacs.org>
3169 (non_ascii_valid_char_p):
3170 (lookup_composite_char):
3171 (composite_char_string):
3172 (make-composite-char):
3173 (composite-char-string):
3174 (syms_of_mule_charset):
3175 (complex_vars_of_mule_charset):
3176 * mule-charset.h (LEADING_BYTE_COMPOSITE):
3177 (CHAR_LEADING_BYTE):
3179 * file-coding.h (CODING_STATE_COMPOSITE):
3180 (CODING_STATE_ISO2022_LOCK):
3182 (LEADING_BYTE_COMPOSITE):
3183 * file-coding.c (struct iso2022_decoder):
3186 (parse_iso2022_esc):
3187 (encode_coding_iso2022):
3188 #ifdef out all composite character support using
3189 #ifdef ENABLE_COMPOSITE_CHARS
3191 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING
3193 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp>
3195 * fns.c (Fbase64_encode_string): Calculate `allength' in the same
3196 way of `Fbase64_encode_region'.
3198 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org>
3200 * fns.c (base64_encode_1): Don't add a newline at the tail.
3202 1999-03-08 Andy Piper <andy@xemacs.org>
3204 * menubar-msw.c (displayable_menu_item): correct off-by-one &
3207 1999-03-07 Martin Buchholz <martin@xemacs.org>
3209 * console-stream.h (struct stream_console):
3210 * event-unixoid.c (event_stream_unixoid_select_console):
3211 (event_stream_unixoid_unselect_console):
3212 * print.c (Fexternal_debugging_output):
3213 * sysdep.c (reset_one_device):
3214 * console-stream.c (stream_init_console):
3215 (stream_delete_console):
3216 (allocate_stream_console_struct): move into stream_init_console.
3217 (free_stream_console_struct): move into stream_delete_console.
3218 Use `fd' only for file descriptors.
3219 Therefore, rename members of struct stream_console.
3221 * systime.h: Unix98 says sys/time.h should define select(), but
3222 some systems define that in unistd.h. So include that file always.
3224 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid
3225 multiple evaluation of first arg. Do proper do {} while (0) wrapping.
3226 (HAS_IIFORMAT_METH_P): Prevent macro from being used in
3228 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention.
3232 Add #include <stdio.h>.
3233 Some versions of assert.h use printf() without #include'ing stdio.h
3235 * free-hook.c (blocktype): Add gcpro5_type to blocktype.
3236 (log_gcpro): Remove unused variable FRAME.
3237 (show_gcprohist): Ansify.
3238 Comment the #endif's
3240 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f)
3241 after it's just been XtDestroy'ed!
3243 1999-02-18 Martin Buchholz <martin@xemacs.org>
3245 * opaque.c (print_opaque):
3249 Egcs 1.1.1 seems to have a bug where
3250 INTP (p->size_or_chain)
3251 will crash XEmacs. Fix by introducing intermediate variable.
3253 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning.
3255 * dired.c (Fdirectory_files):
3256 (Ffile_name_completion):
3257 (Ffile_name_all_completions):
3258 (file_name_completion):
3259 - Use `directory' instead of `dirname' to sync with FSF Emacs and
3260 avoid compiler warnings.
3261 - Fix up docstrings so that C variables match documentation.
3263 1999-03-05 Martin Buchholz <martin@xemacs.org>
3265 * alloc.c: (garbage_collect_1): Reorg code to make scope of local
3266 variables as small as possible to help out the compiler and the maintainer.
3268 * alloc.c: (disksave_object_finalization):
3269 Set all the *-load-path variables to
3270 nil, not just load-path itself. This gets the locate-file hash
3271 tables garbage collected BEFORE dump, and has the side effect of
3272 preventing crashes on OSF4.0+egcs.
3277 - Clean up gdb/dbx debugging support.
3278 - Storing an EMACS_INT in an enum is not 64-bit clean!
3279 - So change the enum to a set of separate variables.
3280 - Add test cases to help debug the debugging support!
3281 - Add `lisp-shadows' and `run-temacs' targets for dbx.
3282 - Both dbx and gdb have been tested now.
3284 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3286 * XEmacs 21.2.12 is released
3288 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp>
3290 * device-x.c: Support to find best visual without flashing.
3292 1999-03-02 Paul Keusemann <pkeusem@visi.com>
3294 * database.c (berkdb_map): Add flags argument to cursor call (must
3295 be 0 according to docs) required for Berkeley DB 2.6.4 and later.
3297 1999-03-03 Martin Buchholz <martin@xemacs.org>
3301 General cleanup. Get free-hook.c working again.
3302 Remove unused functions:
3303 make_strings_hash_table, copy_hash, expand_hash_table.
3307 Always use new ANSI-style function prototypes.
3309 * unexalpha.c (unexec): Never use implicit int.
3311 * sgiplay.c (close_sound_file):
3313 (restore_audio_port):
3318 (write_mulaw_8_chunk):
3319 (write_linear_chunk):
3320 (write_linear_32_chunk):
3321 (initialize_audio_port):
3324 (set_output_format):
3325 (adjust_audio_volume):
3326 (get_current_volumes):
3328 Always use new ANSI-style function prototypes.
3329 Use unistd.h for missing prototypes.
3331 * unexelfsgi.c (round_up):
3333 (unexec): Always use new ANSI-style function prototypes
3335 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio
3337 * console.h (struct console_methods): Always use full ANSI prototypes
3339 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes
3341 1999-03-02 Andy Piper <andy@xemacs.org>
3343 * event-stream.c (init_event_stream): make sure native mswindows
3344 gets an appropriate event loop.
3346 1999-02-22 Andy Piper <andy@xemacs.org>
3348 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather
3349 than SW_SHOWNORMAL to prevent resizing of maximised frames.
3350 (mswindows_raise_frame): remove comment.
3352 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org>
3354 * XEmacs 21.2.11 is released
3356 1999-02-25 SL Baur <steve@xemacs.org>
3358 * mule-charset.c (Qleading_byte): New variable to implement
3359 charset-leading-byte function.
3360 (Fcharset_property): Use it.
3361 (syms_of_mule_charset): Initialize it.
3362 From Kazuyuki IENAGA <ienaga@jsys.co.jp>
3364 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp>
3366 * glyphs-x.c (cononvert_EImage_to_XImage): correct
3367 bytes per pixel counting.
3369 1999-02-15 Andy Piper <andy@xemacs.org>
3371 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes
3374 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3376 * fns.c (Fbase64_encode_string): New optional argument
3379 1999-02-16 Martin Buchholz <martin@xemacs.org>
3381 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command.
3382 * alloc.c (xcalloc): undef xcalloc, just like xmalloc
3384 1999-02-10 Martin Buchholz <martin@xemacs.org>
3386 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0.
3387 * xintrinsic.h: Redo CONST support for X11 R4 compatibility.
3389 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org>
3391 * XEmacs 21.2.10 is released
3393 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu>
3395 * process-nt.c (nt_send_process):
3396 Fix for process-send-region/process-send-string breaking when size
3397 of the input > 128 chars: change maximum chunk size for process
3398 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer
3401 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org>
3403 * XEmacs 21.2.9 is released
3405 1999-01-30 Martin Buchholz <martin@xemacs.org>
3407 * bytecode.c (funcall_compiled_function): Call
3408 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY.
3410 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY):
3411 #ifdef 0 out unused macro.
3413 1999-01-27 Martin Buchholz <martin@xemacs.org>
3415 * gui.c (gui_parse_item_keywords_internal): Make static.
3417 1999-01-21 Andy Piper <andy@xemacs.org>
3419 * glyphs-msw.c: add xface support.
3420 (mswindows_xface_instantiate): new function copied from glyphs-x.c
3421 (image_instantiator_format_create_glyphs_mswindows): do device
3422 specific initialisation for xfaces.
3423 (xbm_create_bitmap_from_data): line data must be padded to a word
3426 * glyphs-x.c (xface_validate): moved to glyphs.c
3427 (xface_normalize): ditto.
3428 (xface_possible_dest_types): ditto.
3429 (image_instantiator_format_create_glyphs_x): do device specific
3430 initialisation for xfaces.
3432 * glyphs.h: declare xface symbol.
3434 * glyphs.c: move generic xface support here.
3435 (xface_validate): moved from glyphs-x.c
3436 (xface_normalize): ditto.
3437 (xface_possible_dest_types): ditto.
3438 (image_instantiator_format_create): xface declarations moved from
3441 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com>
3443 * event-stream.c (vars_of_event_stream): Fixing documentation.
3445 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk>
3447 * glyphs-eimage.c (gif_instantiate): Correct handling of
3448 interlaced gifs to avoid writing past the end of the eimage
3451 1999-01-13 Hrvoje Niksic <hniksic@srce.hr>
3453 * search.c (Freplace_match): Handle single backslash at end of
3456 1999-01-12 William M. Perry <wmperry@aventail.com>
3458 * eldap.c (Fldap_open): slow down interrupts around ldap_open to
3459 avoid connection errors.
3461 1999-01-12 Andy Piper <andy@xemacs.org>
3463 * redisplay-output.c (redisplay_update_line): backout change that
3464 shouldn't have gone ine.
3466 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3468 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may
3469 collide with ldap.el
3471 1999-01-11 Andy Piper <andy@xemacs.org>
3473 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro.
3474 (DISPLAY_LINE_YPOS): new macro.
3476 * redisplay-msw.c (mswindows_output_string): use it.
3477 (mswindows_output_pixmap): ditto.
3478 (mswindows_output_display_block): ditto.
3480 * redisplay-output.c (redisplay_output_display_block): new
3481 function. just call the devmeth, maybe insert some generic code
3483 (compare_display_blocks): use it.
3484 (output_display_line): ditto.
3485 (redisplay_unmap_subwindows_maybe): new function. potentially
3486 unmap subwindows in the given area.
3488 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are
3491 1999-01-10 J. Kean Johnston <jkj@sco.com>
3493 * Makefile.in.in: Set value of moduledir
3494 - Changed DUMPENV to include $(MODULEPATH)
3495 - Added install rule to install header files for use by ellcc.
3497 * config.h.in: Added INHIBIT_SITE_MODULES
3498 - Added HAVE__DLERROR
3499 - Added HAVE_DLFCN_H
3500 - Added DLSYM_NEEDS_UNDERSCORE
3504 * emodules.c: New file containing dynamic loading code.
3506 * emodules.h: New file.
3508 * emacs.c: Added variables Vmodule_directory,
3509 Vsite_module_directory, Vconfigure_module_directory and
3510 Vconfigure_site_module_directory.
3511 - (main_1): Added new variable inhibit_site_modules and command
3512 line options `-no-site-modules' and `--no-site-modules'.
3513 - (main_1): Call syms_of_module() instead of syms_of_dll().
3514 - (main_1): Call vars_of_module().
3515 - (vars_of_emacs): Introduce inhibit-site-modules,
3516 module-directory, configure-module-directory,
3517 site-module-directory, and configure-site-module-directory to the
3520 * lisp.h: Declare load_module and list_modules, as well as
3521 Vmodule_directory, Vsite_module_directory,
3522 Vconfigure_module_directory and Vconfigure_site_module_directory.
3524 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES.
3525 - Added correct support for site-lisp directory.
3527 * symbols.c (defsubr): Modified to allow modules to add new subrs
3529 - (defsubr_macro): Same.
3530 - (defvar_magick): Only use purespace when not initialized, so
3531 that loaded modules can still add symbols.
3533 * symsinit.h: Add definitions for syms_of_module(),
3534 vars_of_module(). Removed syms_of_dll().
3536 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined.
3537 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account.
3538 - (dll_error): use _dlerror() if HAVE__DLERROR is defined.
3540 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and
3541 explicitly pass -belf for native cc.
3543 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of
3544 hard-coding the library name.
3546 1999-01-01 <martin@xemacs.org>
3548 * device-x.c (Fx_set_font_path):
3549 Add proper cast to permit compilation under C++.
3551 * buffer.c (directory_is_current_directory):
3552 Add proper casts to permit compilation under C++.
3554 1998-12-30 Damon Lipparelli <lipp@primus.com>
3556 * event-msw.c (mswindows_wnd_proc):
3557 Fixed failure when building with MSVC 5.
3559 1998-12-29 Martin Buchholz <martin@xemacs.org>
3561 * file-coding.c (decode_coding_iso2022):
3562 - Prevent crash when decoding ISO7/Lock detected files
3563 - the usual martin fiddling
3565 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk>
3569 Fixed failures when building with MSVC.
3570 * unexnt.c (dump_bss_and_heap):
3571 Removed compiler warning by removing bss_data variable.
3573 1998-12-18 Jim Radford <radford@robby.caltech.edu>
3575 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions
3576 so that packages that distribute their own fonts can access them.
3578 1998-12-28 Andy Piper <andy@xemacs.org>
3580 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons
3581 that have an image provided.
3583 * glyphs.h: add Q_image decl.
3585 * glyphs-widget.c new functionality allowing images in
3587 (check_valid_glyph_or_image): new function to validate
3588 glyphs passed in through :image.
3589 (widget_normalize): new function. convert :image parameters into
3590 real glyphs if not already so.
3591 (widget_instantiate_1): mess with size parameters to be similar to
3593 (syms_of_glyphs_widget): new keyword :image.
3594 (image_instantiator_format_create_glyphs_widget): normalize
3595 buttons and allow :image.
3597 1998-12-27 Andy Piper <andy@xemacs.org>
3599 * frame-msw.c (mswindows_init_frame_1): warning elimination.
3601 * glyphs-widget.c (check_valid_anything): no-op function.
3602 (check_valid_callback): check callbacks in gui_items.
3603 (check_valid_symbol): as it sounds.
3604 (check_valid_string_or_vector): ditto.
3605 (widget_validate): modified for descriptors that are vectors or
3606 sequences of keyword/val pairs.
3607 (widget_instantiate_1): ditto.
3608 (image_instantiator_format_create_glyphs_widget): allow gui_item
3609 keywords in the instantiator.
3611 * gui.c (gui_parse_item_keywords_internal): renamed from
3612 gui_parse_item_keywords but taking error behaviour.
3613 (gui_parse_item_keywords): use it.
3614 (gui_parse_item_keywords_no_errors): ditto.
3615 (gui_item_add_keyval_pair): add Error_behavior flag and only
3616 signal invalid keywords if required.
3618 * gui.h: new gui signatures.
3620 * menubar.c (menu_parse_submenu_keywords): use new
3621 gui_item_add_keyval_pair signature.
3623 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings.
3625 1998-12-28 Martin Buchholz <martin@xemacs.org>
3627 * XEmacs 21.2.8 is released.
3629 1998-12-28 Martin Buchholz <martin@xemacs.org>
3631 * editfns.c (get_home_directory):
3632 (user-home-directory): Simplify.
3635 * callproc.c (child_setup):
3636 - Environment variables were being passed to inferior processes
3637 using internal encoding.
3638 - Convert to external encoding.
3639 - Rename local var `tem' to better name `tail'.
3640 - Use Flength instead of `manual' calculation.
3642 * buffer.c (kill-buffer):
3644 (set-buffer-major-mode):
3646 - Fix up parameter names to correspond to docstrings.
3647 - Don't use `bufname' when a buffer will do as well.
3648 - Remove one unneeded GCPRO.
3650 * buffer.h (initial_directory):
3651 * buffer.c (init_initial_directory):
3652 - use correct conversions between internal and external format.
3653 (directory_is_current_directory): new function
3654 (init_buffer): convert initial_directory to internal format.
3655 - solve crashes when current working directory is non-ASCII.
3657 * alloc.c (xmalloc):
3660 - remove stupid casts, since XEmacs requires an ANSI C system.
3661 (lrecord_type_index): replace abort() with more readable assert().
3663 (reset_lcrecord_stats): remove.
3664 (sweep_lcrecords_1):
3665 - replace call to reset_lcrecord_stats() with call to xzero().
3667 1998-12-27 Martin Buchholz <martin@xemacs.org>
3669 * process-unix.c (unix_create_process):
3670 - Fix crash invoking program with non-ASCII name.
3671 Try invoking xemacs with SHELL=/bin/sh, then M-x shell.
3672 - Remove unused variable `env'.
3673 - Rename `temp' to better name `save_errno'.
3674 - Reorganize code for clarity. But still too chicken to nuke the
3677 1998-12-24 Martin Buchholz <martin@xemacs.org>
3679 * XEmacs 21.2.7 is released.
3681 1998-12-23 Martin Buchholz <martin@xemacs.org>
3683 * glyphs.c (decode_device_ii_format):
3685 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *.
3687 * glyphs-x.c (x_subwindow_instantiate):
3688 - A image instance mask was being assigned to a image instance type!
3689 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++.
3691 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance):
3693 * glyphs-x.h: Make indentation consistent.
3695 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts.
3697 * glyphs-widget.c (check_valid_glyph): Warning suppression.
3699 - #ifdef it out, since it's not actually used yet (FIX THIS!)
3703 Move declarations of decode_device_ii_format and
3704 decode_image_instantiator_format into glyphs.h where they belong.
3706 1998-12-22 Martin Buchholz <martin@xemacs.org>
3708 * frame-x.c (x_delete_frame): Revert part of my changes at the
3709 suggestion of Gunnar Evermann - unfortunately no one really
3710 understands this code.
3712 * callproc.c (init_callproc): code cleanup.
3714 * free-hook.c (malloc):
3719 (block_input_malloc):
3720 (block_input_realloc):
3721 * device-x.c (x_delete_device):
3722 * emacs.c (voodoo_free_hook):
3723 * events.c (print_event):
3725 (CHECK_EVENT_TYPE2):
3726 (CHECK_EVENT_TYPE3):
3727 Use proper prototypes.
3728 Make C_E_T macros a little faster.
3729 Pedantic fiddly little changes. You really don't care.
3731 1998-12-22 Andy Piper <andy@xemacs.org>
3733 * redisplay-output.c (redisplay_clear_region): make sure that
3734 fg/bg colors get set even when we are in the border area.
3736 1998-12-13 Martin Buchholz <martin@xemacs.org>
3738 * console-msw.c: Function definitions follow coding standards
3739 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
3741 1998-12-11 Martin Buchholz <martin@xemacs.org>
3743 * events.h (struct timeout_data):
3744 * event-tty.c (tty_timeout_to_emacs_event):
3745 * event-msw.c (mswindows_wm_timer_callback):
3746 * event-Xt.c (Xt_timeout_to_emacs_event):
3747 * event-msw.c (mswindows_cancel_dispatch_event):
3748 Make sure Lisp_Objects inside events are initialized to Qnil, not
3749 Qnull_pointer, which is now illegal.
3751 1998-12-10 Martin Buchholz <martin@xemacs.org>
3753 * lisp.h: Fix up prototypes to match alloc.c
3755 1998-12-08 Martin Buchholz <martin@xemacs.org>
3757 * windowsnt.h: Remove `support' for using index and rindex
3759 * filelock.c (current_lock_owner):
3760 - Change uses of index -> strchr, rindex -> strrchr
3762 1998-12-07 Martin Buchholz <martin@xemacs.org>
3764 * sysdep.c (set_descriptor_non_blocking):
3765 Since O_NONBLOCK is now always #defined, make use of fcntl
3766 conditional on F_SETFL being defined.
3768 * console-msw.c (DHEADgER):
3777 - max_align_t should not be visible to the user of the
3779 - use Bufbyte instead of char
3780 - parens around (FOOP (obj)) are always redundant.
3781 If they were necessary, we should fix the macro instead.
3782 - Always use string_data(foo) instead of foo->data.
3785 1998-12-06 Martin Buchholz <martin@xemacs.org>
3787 * frame-msw.c (mswindows_init_frame_1):
3788 - use make_lisp_hash_table, not Fmake_hash_table
3792 * alloc.c (make_vector): remove travesty
3796 (make_bit_vector_internal):
3798 (make_bit_vector_from_byte_vector):
3800 - make vector_equal a little faster.
3801 - Don't use variable name `new'.
3802 - Use size_t instead of EMACS_INT.
3803 - usual Martin-style pointless bit-twiddling.
3809 Make mapcar faster. In particular, make
3810 (mapc #'identity long-string)
3811 MUCH faster under Mule.
3812 * tests/automated/lisp-tests.el: Test 'em!
3814 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3817 1998-12-01 Martin Buchholz <martin@xemacs.org>
3819 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use
3820 Qnil, not NULL, to initialize `null' Lisp_Objects.
3822 1998-11-29 Hrvoje Niksic <hniksic@srce.hr>
3824 * specifier.c (display_table_validate): Update.
3826 * redisplay.c (create_text_block): Use them.
3828 * glyphs.c (display_table_entry): New function.
3829 (get_display_tables): Ditto.
3831 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
3833 * eldap.c (toplevel): Mention that eldap.c compiles with
3835 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA'
3836 (Fldap_search_internal): Ditto
3838 1998-12-11 Martin Buchholz <martin@xemacs.org>
3840 * event-msw.c (mswindows_cancel_dispatch_event):
3841 Gratuitous code prettification
3844 1998-12-07 Hrvoje Niksic <hniksic@srce.hr>
3846 * fns.c (Fnconc): Fix use of wrong_type_argument().
3848 * floatfns.c (Ffloat): Fix docstring.
3849 (Ffloat): Fix use of wrong_type_argument().
3851 (extract_float): Ditto.
3856 1998-12-06 Martin Buchholz <martin@xemacs.org>
3858 * frame-msw.c (mswindows_init_frame_1):
3859 - use make_lisp_hash_table, not Fmake_hash_table
3863 * alloc.c (make_vector): remove travesty
3867 (make_bit_vector_internal):
3869 (make_bit_vector_from_byte_vector):
3871 - make vector_equal a little faster.
3872 - Don't use variable name `new'.
3873 - Use size_t instead of EMACS_INT.
3874 - usual Martin-style pointless bit-twiddling.
3880 Make mapcar faster. In particular, make
3881 (mapc #'identity long-string)
3882 MUCH faster under Mule.
3883 * tests/automated/lisp-tests.el: Test 'em!
3885 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
3888 1998-12-02 Didier Verna <verna@inf.enst.fr>
3890 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the
3891 accelerator field to nil for labels.
3893 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3895 * menubar-msw.c (displayable_menu_item):
3896 Escape occurrences of '&' and support occurrences of the
3897 '%_' accelerator indicator in menus.
3899 1998-11-26 Didier Verna <verna@inf.enst.fr>
3901 * dired.c (Fdirectory_files): use make_string instead of
3902 make_ext_string on the filename. The conversion external->internal
3903 format is already done in sys_readdir.
3905 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
3907 * glyphs.c (normalize_image_instantiator): GCPRO instantiator
3909 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk>
3912 (Belatedly) added Kirill to list of file's authors.
3913 emacs_mswindows_quit_p: Don't process WM_PAINT messages in
3914 quit checking. WM_PAINT messages cause redisplay, but
3915 windows' states are not necessarily stable when this function
3918 1998-12-17 Andy Piper <andy@xemacs.org>
3920 * strftime.c (zone_name): CONSTify.
3922 1998-12-15 Andy Piper <andy@xemacs.org>
3924 * glyphs-msw.c (mswindows_combo_instantiate): ditto.
3925 (mswindows_widget_property): return Qunbound when no property available.
3926 (mswindows_button_property): ditto.
3927 (mswindows_combo_property): ditto.
3928 (mswindows_widget_set_property): ditto.
3930 * glyphs-widget.c (check_valid_item_list): use properties.
3932 * glyphs.h (struct Lisp_Image_Instance): we have properties now.
3934 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties.
3935 (Fimage_instance_property): ditto.
3936 * glyphs-widget.c (widget_property): ditto.
3937 (widget_set_property): ditto.
3939 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well
3940 as setting the class cursor so that GC actually changes the
3943 * config.h: don't undef MAIL_USE_POP.
3945 1998-12-13 Andy Piper <andy@xemacs.org>
3948 (image_instantiator_format_create_glyphs_mswindows): line ->
3950 (mswindows_label_instantiate): ditto. Play with window flags.
3951 (image_instantiator_format_create_glyphs_mswindows): ditto.
3952 (vars_of_glyphs_mswindows): provide Qlabel as we support it now.
3954 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to
3955 cope with lines and labels.
3956 (static_instantiate): use widget_instantiate_1.
3958 (image_instantiator_format_create_glyphs_widget): ditto.
3960 1998-12-10 Andy Piper <andy@xemacs.org>
3962 * Makefile.in.in (objs): add gui.o
3964 1998-12-10 Andy Piper <andy@xemacs.org>
3966 * gui.c: adjust defines of HAVE_POPUPS so that we can build with
3969 1998-12-09 Andy Piper <andy@xemacs.org>
3971 * glyphs.c (finalize_image_instance): mark glyphs changed when an
3972 image instance is removed so that the subwindow cache gets reset
3973 and thus destroyed images get GC'd.
3975 1998-12-08 Andy Piper <andy@xemacs.org>
3977 * gui-msw.c (mswindows_handle_gui_wm_command): call
3978 MARK_SUBWINDOWS_CHANGED.
3980 * glyphs-msw.c (mswindows_finalize_image_instance): make sure
3981 subwindows really get deleted.
3983 * redisplay.c: new variable subwindows_changed[_set].
3984 (redisplay_window): use it.
3985 (redisplay_frame): ditto.
3986 (redisplay_device): ditto.
3987 (redisplay_without_hooks): ditto.
3989 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for
3990 subwindows redisplay as per glyphs equivalent.
3991 * redisplay.h: ditto.
3992 (MARK_SUBWINDOWS_CHANGED): ditto.
3993 (RESET_CHANGED_SET_FLAGS): ditto.
3994 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto.
3996 1998-12-07 Andy Piper <andy@xemacs.org>
3998 * frame.c (Fmake_frame): reset subwindow cachels on non-stream
4001 * redisplay.c (redisplay_frame): invalidate subwindow cachels.
4003 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR*
4004 messages and paint widget glyphs as appropriate with their face fg
4007 1998-12-06 Andy Piper <andy@xemacs.org>
4009 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types
4010 here rather than in glyphs-widget - do this because we only want
4011 to provide what is really available.
4013 * glyphs.c (Fimage_instance_property): new function to get the
4014 properties of image instances. wires through to console specific
4015 methods and then to widget specific methods.
4016 (Fset_image_instance_property): ditto but for setting widget properties.
4017 (check_valid_face): make extern so that it can be used elsewhere.
4019 * glyphs-widget.c (widget_property): new function. gets the
4020 properties of widgets in general and wires the function through to
4021 widget specific ones.
4022 (widget_set_property): ditto but for setting widget properties.
4024 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to
4025 add items to the list. Play with window styles a bit to get the
4027 (mswindows_widget_property): break out specific widget properties.
4028 (mswindows_button_property): new function. gets the checked state
4030 (mswindows_combo_property): new function. gets the current
4031 selection in the combo box.
4032 (mswindows_widget_set_property): new function. sets specific
4033 properties of specific widgets.
4035 * glyphs-widget.c (check_valid_item_list): new function. check
4036 that items for a combo-box are just a list of strings.
4037 (combo_validate): new function. check there is an item list.
4038 (widget_instantiate_1): new function. renamed from
4039 widget_instantiate so that we can do slightly different things for
4041 (widget_instantiate): call widget_instantiate_1.
4042 (combo_instantiate): new function to instantiate combo boxes,
4043 defaults height to the pixel height of the number of items in the
4045 (syms_of_glyphs_widget): move widget keywords here.
4046 (image_instantiator_format_create_glyphs_widget): use new combo
4049 1998-12-04 Andy Piper <andy@xemacs.org>
4051 * event-msw.c (mswindows_wnd_proc): mule-ize.
4053 * glyphs.c (pixmap_to_lisp_data): mule-ize.
4055 * glyphs-msw.c (extract_xpm_color_names): mule-ize.
4056 (resource_name_to_resource): ditto.
4057 (mswindows_resource_instantiate): ditto.
4058 (mswindows_widget_instantiate): ditto.
4059 (mswindows_widget_set_property): ditto.
4061 * redisplay-output.c (redisplay_output_subwindow): don't show
4062 subwindows if they are obscured at the edge of the frame, emacs
4063 gets into some sort of redisplay loop otherwise.
4065 * gui.h: prototype gui_item_selected_p.
4067 * gui.c (gui_item_selected_p): new function to determine the
4068 selected state of a gui_item.
4070 * frame.h (struct frame): add subwindows_changed flag.
4072 * redisplay.c (redisplay_frame): call update_frame_subwindows ().
4074 * glyphs.c (update_subwindow): new function to update a
4076 (update_frame_subwindows): new function to update all the
4077 subwindows on a frame.
4079 * console.h (struct console_methods): add update_subwindow.
4081 * glyphs-msw.c (mswindows_widget_property): return selected state
4082 for selected property.
4083 (mswindows_update_subwindow): new function. updates widget glyphs
4084 in redisplay as per menubars or toolbars e.g. selected state.
4085 (console_type_create_glyphs_mswindows): add update_subwindow.
4087 1998-12-03 Andy Piper <andy@xemacs.org>
4089 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since
4090 tty coding system things are such.
4092 * glyphs-widget.c (widget_face_font_info): new function for
4093 pulling out height and width metrics for a widget's face.
4094 (widget_text_to_pixel_conversion): calculate pixel sizes of text
4097 * event-msw.c (mswindows_drain_windows_queue): translate messages
4098 that are destined for subwindows. This makes edit fields interact
4099 with the keyboard correctly.
4100 nuke warnings by #ifndef'ing out stuff not required by msg select().
4102 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new
4103 macro defining the iiforma without the symbol required by widget.
4104 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it.
4106 * general.c (syms_of_general): add Qwidget, Qselected.
4108 * faces.c (complex_vars_of_faces): add widget face inheriting from
4111 1998-11-09 Andy Piper <andy@xemacs.org>
4113 * window.h (struct window): add a cache of subwindows on a
4116 * window.c (mark_window): mark the subwindow_instance_cache.
4117 (allocate_window): initialise the subwindow instance_cache.
4119 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region
4120 instead of the devmeth.
4121 (x_clear_toolbar): ditto.
4123 * redisplay-x.c (x_output_display_block): call
4124 redisplay_output_subwindow for subwindows and widgets.
4126 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to
4127 types to do nothing for.
4129 * lisp.h: declare new widget/subwindow symbols.
4131 * glyphs.c (image_instantiate): cache subwindows on a per-window
4133 (subwindow_possible_dest_types): new function for subwindow dest
4135 (subwindow_instantiate): generic instantiation of a
4136 subwindow. specialised by device multi-methods.
4137 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based
4139 (Fimage_instance_subwindow_id): ditto.
4140 (Fresize_subwindow): ditto.
4141 (Fforce_subwindow_map): ditto.
4143 * glyphs-x.c (x_print_image_instance): remove subwindow
4144 stuff. Handled genrically in glyphs.c.
4145 (x_image_instance_equal): ditto.
4146 (x_image_instance_hash): ditto.
4147 (x_finalize_image_instance): delete subwindows when required.
4148 (mark_subwindow) (print_subwindow) (finalize_subwindow)
4149 (subwindow_hash) (Fmake_subwindow): deleted because of new,
4150 glyph-based, subwindow implementation.
4151 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased
4153 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to
4155 (x_unmap_subwindow): new function to unmap X subwindows.
4156 (x_map_subwindow): new function to map X subwindows.
4157 (x_subwindow_instantiate): new function to instantiate X
4159 (x_resize_subwindow): new function to resize X subwindows.
4160 (console_type_create_glyphs_x): add subwindow functions.
4161 (image_instantiator_format_create_glyphs_x): add device
4162 multi-methods for xpm, xbm and subwindow.
4164 * glyphs.el (subwindow-xid): old alias for new subwindow functions.
4165 (subwindow-width): ditto.
4166 (subwindow-height): ditto.
4168 * glyphs-msw.c (mswindows_widget_instantiate): new function for
4169 generally instantiating ms subwindows. Used by
4170 mswindows_*_instantiate.
4171 (mswindows_edit_instantiate): instantiate an edit field on a
4174 1998-11-04 Andy Piper <andy@xemacs.org>
4176 * symsinit.h: declare new functions.
4178 * redisplay.h: declare new functions.
4180 * redisplay-x.c (x_output_display_block): call
4181 redisplay_clear_region rather than x_clear_region.
4182 (x_output_string): ditto.
4183 (x_output_pixmap): ditto.
4184 (x_clear_to_window_end): ditto.
4185 (x_output_eol_cursor): ditto.
4186 (x_clear_region): only do X specific things. other duties handled
4187 in redisplay_clear_region.
4189 * redisplay-tty.c (tty_clear_region): do tty specific things - some
4190 duties moved to redisplay_clear_region.
4192 * redisplay-output.c (clear_left_border): use
4193 redisplay_clear_region instead of device method.
4194 (clear_right_border): ditto.
4195 (output_display_line): ditto.
4196 (redisplay_output_subwindow): ditto.
4197 (redisplay_clear_top_of_window): ditto.
4198 (redisplay_clear_region): perform duties previously handled by
4199 device methods. call the appropriate device method at the
4200 end. unmap subwindows if necessary.
4202 * redisplay-msw.c (mswindows_output_string): use
4203 redisplay_clear_region instead of mswindows_clear_region.
4204 (mswindows_clear_to_window_end): ditto.
4205 (mswindows_output_display_block): output subwindows when required.
4206 (mswindows_clear_region): only do mswindows specific things,
4207 everything else is now handled in redisplay_clear_region.
4209 * gui.h: add item id hash defines and declare function prototypes.
4211 * gui.c (mark_gui_item): new function for marking gui_items.
4212 (gui_item_hash): generic hash function for generating command ids
4215 * gui-msw.c: new file.
4216 (mswindows_handle_gui_wm_command): new function to handle widget
4219 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device
4221 (IIFORMAT_HAS_SHARED_METHOD): ditto.
4222 (DEFINE_DEVICE_IIFORMAT): ditto.
4223 (INITIALIZE_DEVICE_IIFORMAT): ditto.
4224 (struct Lisp_Image_Instance): add widget and subwindow data plus
4225 appropriate access functions.
4227 * glyphs.c (decode_device_ii_format): new function for decoding
4228 image instantiator functions based on a device type as well as an
4230 (decode_image_instantiator_format): just call
4231 decode_device_ii_format with nil device.
4232 (add_entry_to_device_ii_format_list): new function for per device
4234 (add_entry_to_image_instantiator_format_list): just call
4235 add_entry_to_device_ii_format_list with nil device.
4236 (check_valid_vector): new function.
4237 (instantiate_image_instantiator): instantiate using per-format
4238 method and then per-format-per-device method (device
4239 multi-methods). signal an error if neither is possible.
4240 (mark_image_instance): cope with subwindows and widgets.
4241 (print_image_instance): ditto.
4242 (image_instance_equal): ditto.
4243 (image_instance_hash): ditto.
4244 (allocate_glyph): ditto.
4245 (glyph_width): ditto.
4246 (glyph_height_internal): ditto.
4247 (xpm_instantiate): removed because of device multi-methods.
4248 (mark_subwindow_cachels): new cachel functions for caching
4249 instantiated subwindows on a per-frame basis. mostly copied from
4250 glyph cachel functions.
4251 (update_subwindow_cachel_data): ditto.
4252 (add_subwindow_cachel): ditto.
4253 (get_subwindow_cachel_index): ditto.
4254 (reset_subwindow_cachels): ditto.
4255 (mark_subwindow_cachels_as_not_updated): ditto.
4256 (unmap_subwindow): generic unmapping of subwindows based on cachel
4258 (map_subwindow): ditto.
4259 (initialize_subwindow_image_instance): generic initialisation of
4261 (syms_of_glyphs): add widget keywords.
4263 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to
4266 1998-11-04 Andy Piper <andy@xemacs.org>
4268 * glyphs-widget.c: new file for instantiating widget type glyphs.
4269 (widget_possible_dest_types): new general dest type function for
4271 (widget_validate): ditto.
4272 (initialize_widget_image_instance): ditto
4273 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing
4274 before handing on control to device multi-methods.
4275 (syms_of_glyphs_widget): new function.
4276 (image_instantiator_format_create_glyphs_widget): new function,
4277 added placeholders for button, edit, combo, scrollbar
4278 (vars_of_glyphs_widget): new function.
4280 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for
4281 storing window ids of widgets.
4283 * glyphs-msw.c (mswindows_finalize_image_instance): cope with
4284 deletion of widget and subwindow glyphs.
4285 (mswindows_unmap_subwindow): new device function for unmapping
4286 subwindows on a msw frame.
4287 (mswindows_map_subwindow): ditto.
4288 (mswindows_register_image_instance): register instantiated widgets
4289 with the widget hastable.
4290 (mswindows_button_instantiate): instantiate a button type widget
4292 (mswindows_subwindow_instantiate): instanttiate a subwindow on a
4294 (image_instantiator_format_create_glyphs_mswindows): add device
4295 multi-methods for xbm, xpm, subwindow, edit and button.
4297 * frame.h (struct frame): add subwindow_cachels dynarr for caching
4298 information about subwindows visible on the current frame. used by
4299 redisplay_clear_region to unmap subwindows as required.
4301 * frame.c (mark_frame): mark subwindow_cachels.
4302 (allocate_frame_core): instantiate subwindow_cachels.
4304 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the
4307 * event-msw.c (mswindows_wnd_proc): add call to
4308 mswindows_handle_gui_wm_command to handle widget callbacks.
4310 * emacs.c (main_1): add calls to glyphs-widget initialisation
4313 * console.h (struct console_methods): add
4314 unmap/map_subwindow_method for use be redisplay_clear_region to
4315 map and unmap subwindows. Remove xpm and xbm stuff - now dealt
4316 with by image instantiator multi-methods. Add
4317 resize_subwindow_method.
4319 * console-stream.c (stream_clear_region): change signature to
4320 match new generic clear region function.
4322 * Makefile.in.in: add glyphs-widget.o to list of objects.
4324 * console-msw.h (struct mswindows_frame): add widget hashtable for
4325 wiring command ids to callbacks.
4327 1998-12-16 Andy Piper <andy@xemacs.org>
4329 * XEmacs 21.2.6 is released
4331 1998-12-08 Hrvoje Niksic <hniksic@srce.hr>
4333 * md5.c (Fmd5): Correctly initiate string input stream.
4335 * Makefile.in.in (tests): Add md5-tests.el.
4337 1998-12-06 Martin Buchholz <martin@xemacs.org>
4340 * alloc.c (make_vector): remove travesty
4344 (make_bit_vector_internal):
4346 (make_bit_vector_from_byte_vector):
4348 - make vector_equal a little faster.
4349 - Don't use variable name `new'.
4350 - Use size_t instead of EMACS_INT.
4351 - usual Martin-style pointless bit-twiddling.
4357 Make mapcar faster. In particular, make
4358 (mapc #'identity long-string)
4359 MUCH faster under Mule.
4360 * tests/automated/lisp-tests.el: Test 'em!
4362 1998-12-06 Martin Buchholz <martin@xemacs.org>
4364 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded
4367 1998-12-13 Martin Buchholz <martin@xemacs.org>
4369 * console-msw.c: Function definitions follow coding standards
4370 - This prevents e.g. find-tag on Lisp_Event finding DEVENT
4372 1998-12-11 Martin Buchholz <martin@xemacs.org>
4374 * events.h (struct timeout_data):
4375 * event-tty.c (tty_timeout_to_emacs_event):
4376 * event-msw.c (mswindows_wm_timer_callback):
4377 * event-Xt.c (Xt_timeout_to_emacs_event):
4378 * event-msw.c (mswindows_cancel_dispatch_event):
4379 Make sure Lisp_Objects inside events are initialized to Qnil, not
4380 Qnull_pointer, which is now illegal.
4382 1998-12-10 Martin Buchholz <martin@xemacs.org>
4384 * lisp.h: Fix up prototypes to match alloc.c
4386 1998-12-09 Andy Piper <andy@xemacs.org>
4388 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use
4389 XSETINT for assigning lisp objects.
4391 1998-12-07 Martin Buchholz <martin@xemacs.org>
4394 * console-msw.c (DHEADER):
4403 - max_align_t should not be visible to the user of the
4405 - use Bufbyte instead of char
4406 - parens around (FOOP (obj)) are always redundant.
4407 If they were necessary, we should fix the macro instead.
4408 - Always use string_data(foo) instead of foo->data.
4410 1998-12-07 Martin Buchholz <martin@xemacs.org>
4412 * sysdep.c (set_descriptor_non_blocking):
4413 Since O_NONBLOCK is now always #defined, make use of fcntl
4414 conditional on F_SETFL being defined.
4416 1998-12-09 Andy Piper <andy@xemacs.org>
4418 * menubar-msw.c (mswindows_handle_wm_command): add back in checks
4419 that got removed in the merge
4421 1998-11-30 Greg Klanderman <greg@alphatech.com>
4423 * dired.c (vars_of_dired): bugfix for previous conditionalization
4424 of user-name-completion on non- Windows NT.
4426 1998-12-08 Martin Buchholz <martin@xemacs.org>
4428 * windowsnt.h: Remove `support' for using index and rindex
4430 * filelock.c (current_lock_owner):
4431 - Change uses of index -> strchr, rindex -> strrchr
4433 1998-12-06 Martin Buchholz <martin@xemacs.org>
4435 * frame-msw.c (mswindows_init_frame_1):
4436 - use make_lisp_hash_table, not Fmake_hash_table
4439 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org>
4441 * XEmacs 21.2.5 is released
4443 1998-11-30 Martin Buchholz <martin@xemacs.org>
4445 * xselect.c (receive_incremental_selection):
4446 * xselect.c (x_get_window_property):
4447 * xmu.c (XmuReadBitmapDataFromFile):
4448 * xmu.c (XmuCursorNameToIndex):
4449 * xgccache.c (describe_gc_cache):
4450 * xgccache.c (gc_cache_lookup):
4451 * xgccache.c (free_gc_cache):
4452 * xgccache.c (make_gc_cache):
4454 * window.c (map_windows_1):
4455 * window.c (Fother_window_for_scrolling):
4456 * window.c (window_scroll):
4457 * window.c (change_window_height):
4458 * window.c (Fsplit_window):
4459 * window.c (window_left_gutter_width):
4460 * window.c (window_modeline_height):
4461 * window.c (invalidate_vertical_divider_cache_in_window):
4462 * window.c (window_needs_vertical_divider_1):
4463 * window.c (update_mirror_internal):
4464 * window.c (SET_LAST_FACECHANGE):
4465 * widget.c (Fwidget_plist_member):
4466 * unexec.c (copy_text_and_data):
4467 * unexcw.c (copy_executable_and_dump_data_section):
4469 * tooltalk.c (struct Lisp_Tooltalk_Pattern):
4470 * tooltalk.c (struct Lisp_Tooltalk_Message):
4471 * toolbar.h (struct toolbar_button):
4472 * toolbar.c (default_toolbar_visible_p_changed_in_window):
4473 * toolbar.c (recompute_overlaying_specifier):
4474 * toolbar.c (toolbar_validate):
4475 * toolbar.c (toolbar_button_at_pixpos):
4476 * toolbar.c (get_toolbar_coords):
4477 * toolbar.c (update_frame_toolbars):
4479 * toolbar-msw.c (mswindows_handle_toolbar_wm_command):
4480 * toolbar-msw.c (mswindows_find_toolbar_pos):
4481 * toolbar-msw.c (mswindows_output_toolbar):
4482 * toolbar-msw.c (mswindows_clear_toolbar):
4491 * sysdep.c (sys_fopen):
4492 * sysdep.c (sys_open):
4493 * sysdep.c (tty_init_sys_modes_on_device):
4494 * sysdep.c (get_eof_char):
4495 * sysdep.c (child_setup_tty):
4496 * sysdep.c (set_descriptor_non_blocking):
4498 * syntax.c (scan_words):
4501 * symeval.h (struct symbol_value_varalias):
4502 * symeval.h (struct symbol_value_forward):
4503 * symbols.c (syms_of_symbols):
4504 * symbols.c (init_symbols_once_early):
4505 * symbols.c (Fbuilt_in_variable_type):
4506 * symbols.c (Fsymbol_value_in_buffer):
4507 * symbols.c (default_value):
4509 * symbols.c (find_symbol_value_quickly):
4510 * symbols.c (store_symval_forwarding):
4511 * symbols.c (set_default_console_slot_variable):
4512 * symbols.c (set_default_buffer_slot_variable):
4513 * symbols.c (verify_ok_for_buffer_local):
4514 * symbols.c (symbol_is_constant):
4515 * symbols.c (oblookup):
4516 * symbols.c (Funintern):
4517 * symbols.c (Fintern):
4518 * symbols.c (check_obarray):
4520 * specifier.h (struct specifier_methods):
4522 * specifier.c (specifier_instance):
4523 * specifier.c (specifier_instance_from_inst_list):
4524 * specifier.c (decode_locale_type):
4525 * specifier.c (specifier_equal):
4526 * specifier.c (finalize_specifier):
4527 * specifier.c (prune_specifiers):
4528 * specifier.c (kill_specifier_buffer_locals):
4529 * sound.c (init_native_sound):
4532 * search.c (Fmatch_data):
4533 * search.c (match_limit):
4534 * search.c (Freplace_match):
4535 * search.c (skip_chars):
4536 * search.c (scan_buffer):
4538 * scrollbar.c (specifier_vars_of_scrollbar):
4539 * scrollbar.c (Fscrollbar_set_hscroll):
4540 * scrollbar.c (vertical_scrollbar_changed_in_window):
4541 * scrollbar.c (release_window_mirror_scrollbars):
4542 * scrollbar.c (free_scrollbar_instance):
4545 * s/msdos.h (O_BINARY):
4547 * s/freebsd.h (LIBS_TERMCAP):
4548 * regex.c (re_match_2_internal):
4549 * regex.c (compile_extended_range):
4550 * regex.c (POP_FAILURE_POINT):
4551 * regex.c (PUSH_FAILURE_POINT):
4552 * redisplay.h (RESET_CHANGED_SET_FLAGS):
4554 * redisplay.h (struct display_line):
4555 * redisplay.h (struct rune):
4556 * redisplay.c (vars_of_redisplay):
4557 * redisplay.c (redisplay_variable_changed):
4558 * redisplay.c (UPDATE_CACHE_RETURN):
4559 * redisplay.c (validate_line_start_cache):
4560 * redisplay.c (mark_redisplay_structs):
4561 * redisplay.c (mark_glyph_block_dynarr):
4562 * redisplay.c (window_line_number):
4563 * redisplay.c (redisplay_frame):
4564 * redisplay.c (redisplay_window):
4565 * redisplay.c (generate_modeline):
4566 * redisplay.c (create_right_glyph_block):
4567 * redisplay.c (create_left_glyph_block):
4568 * redisplay.c (create_text_block):
4570 * redisplay-x.c (x_output_hline):
4571 * redisplay-x.c (x_output_vertical_divider):
4572 * redisplay-tty.c (tty_output_display_block):
4573 * redisplay-output.c (output_display_line):
4574 * redisplay-output.c:
4575 * redisplay-msw.c (mswindows_output_vertical_divider):
4576 * redisplay-msw.c (mswindows_ring_bell):
4577 * redisplay-msw.c (mswindows_output_cursor):
4581 * puresize.h (RAW_PURESIZE):
4582 * profile.c (syms_of_profile):
4583 * profile.c (Fstart_profiling):
4584 * profile.c (sigprof_handler):
4587 * process.c (vars_of_process):
4588 * process.c (read_process_output):
4589 * process.c (get_process):
4591 * process-unix.c (unix_open_multicast_group):
4592 * process-unix.c (unix_get_tty_name):
4593 * process-unix.c (unix_send_process):
4594 * process-unix.c (unix_reap_exited_processes):
4595 * process-unix.c (unix_create_process):
4596 * process-unix.c (unix_init_process_io_handles):
4597 * process-unix.c (allocate_pty):
4599 * process-nt.c (nt_open_network_stream):
4600 * process-nt.c (nt_update_status_if_terminated):
4601 * process-nt.c (nt_finalize_process_data):
4603 * print.c (debug_short_backtrace):
4604 * print.c (debug_backtrace):
4605 * print.c (print_symbol):
4606 * print.c (print_internal):
4607 * print.c (print_cons):
4608 * print.c (Fwrite_char):
4609 * print.c (print_prepare):
4610 * print.c (canonicalize_printcharfun):
4611 * print.c (output_string):
4614 * opaque.c (allocate_managed_opaque):
4616 * offix.c (DndSetData):
4617 * objects.c (face_boolean_create):
4618 * objects.c (font_instantiate):
4619 * objects.c (font_create):
4620 * objects.c (color_create):
4621 * objects.c (finalize_font_instance):
4622 * objects.c (finalize_color_instance):
4624 * objects-x.c (x_font_instance_truename):
4626 * objects-x.c (x_initialize_font_instance):
4627 * objects-x.c (allocate_nearest_color):
4628 * objects-tty.c (tty_initialize_font_instance):
4629 * objects-tty.c (tty_initialize_color_instance):
4630 * objects-msw.c (mswindows_initialize_color_instance):
4631 * ntproc.c (syms_of_ntproc):
4632 * ntproc.c (Fwin32_set_process_priority):
4633 * ntproc.c (sys_spawnve):
4635 * ntheap.c (get_data_end):
4639 * nt.c (generate_inode_val):
4640 * nt.c (sys_rename):
4642 * mule-wnnfns.c (Fwnn_hinsi_number):
4643 * mule-wnnfns.c (Fwnn_yuragi):
4644 * mule-wnnfns.c (Fwnn_common_learn):
4645 * mule-wnnfns.c (Fwnn_suffix_learn):
4646 * mule-wnnfns.c (Fwnn_prefix_learn):
4647 * mule-wnnfns.c (Fwnn_okuri_learn):
4648 * mule-wnnfns.c (Fwnn_complex_conv):
4649 * mule-wnnfns.c (Fwnn_last_is_first):
4650 * mule-wnnfns.c (Fwnn_bmodify_dict_add):
4651 * mule-wnnfns.c (Fwnn_notrans_dict_add):
4652 * mule-wnnfns.c (Fwnn_fiusr_dict_add):
4653 * mule-wnnfns.c (Fwnn_fisys_dict_add):
4654 * mule-wnnfns.c (Fwnn_hinsi_list):
4655 * mule-wnnfns.c (Fwnn_fuzokugo_set):
4656 * mule-wnnfns.c (Fwnn_dict_search):
4657 * mule-wnnfns.c (Fwnn_word_toroku):
4658 * mule-wnnfns.c (Fwnn_hindo_update):
4659 * mule-wnnfns.c (Fwnn_bunsetu_henkou):
4660 * mule-wnnfns.c (Fwnn_kakutei):
4661 * mule-wnnfns.c (Fwnn_begin_henkan):
4662 * mule-wnnfns.c (Fwnn_dict_comment):
4663 * mule-wnnfns.c (Fwnn_dict_add):
4664 * mule-wnnfns.c (Fwnn_open):
4665 * mule-mcpath.c (mc_getcwd):
4666 * mule-coding.c (vars_of_mule_coding):
4667 * mule-coding.c (convert_to_external_format):
4668 * mule-coding.c (encoding_marker):
4669 * mule-coding.c (decoding_marker):
4670 * mule-coding.c (Fcopy_coding_system):
4671 * mule-coding.c (Fmake_coding_system):
4672 * mule-coding.c (Fcoding_system_list):
4673 * mule-coding.c (Ffind_coding_system):
4674 * mule-coding.c (symbol_to_eol_type):
4676 * mule-charset.c (complex_vars_of_mule_charset):
4677 * mule-charset.c (vars_of_mule_charset):
4678 * mule-charset.c (Fset_charset_ccl_program):
4679 * mule-charset.c (struct charset_list_closure):
4680 * mule-charset.c (Ffind_charset):
4681 * mule-charset.c (make_charset):
4682 * mule-charset.c (non_ascii_valid_char_p):
4684 * mule-ccl.c (ccl_driver):
4685 * mule-canna.c (c2mu):
4686 * mule-canna.c (Fcanna_henkan_begin):
4687 * mule-canna.c (Fcanna_parse):
4688 * mule-canna.c (Fcanna_store_yomi):
4689 * mule-canna.c (Fcanna_touroku_string):
4690 * mule-canna.c (Fcanna_initialize):
4692 * menubar.c (menu_parse_submenu_keywords):
4693 * menubar-x.c (make_dummy_xbutton_event):
4694 * menubar-x.c (set_frame_menubar):
4695 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4698 * menubar-msw.c (mswindows_popup_menu):
4699 * menubar-msw.c (mswindows_update_frame_menubars):
4700 * menubar-msw.c (mswindows_handle_wm_command):
4701 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
4702 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1):
4703 * menubar-msw.c (update_frame_menubar_maybe):
4704 * menubar-msw.c (populate_or_checksum_helper):
4705 * menubar-msw.c (empty_menu):
4708 * marker.c (set_marker_internal):
4709 * marker.c (print_marker):
4712 * lstream.c (lisp_buffer_rewinder):
4713 * lstream.c (mark_lstream):
4715 * lrecord.h (struct lrecord_header):
4716 * lread.c (readevalloop):
4717 * lread.c (locate_file):
4718 * lread.c (locate_file_in_directory):
4719 * lread.c (Flocate_file):
4720 * lread.c (load_force_doc_string_unwind):
4721 * lread.c (ebolify_bytecode_constants):
4726 * linuxplay.c (linux_play_data_or_file):
4727 * linuxplay.c (audio_init):
4730 * keymap.c (describe_map):
4731 * keymap.c (describe_map_mapper):
4732 * keymap.c (Fdescribe_bindings_internal):
4733 * keymap.c (Fsingle_key_description):
4734 * keymap.c (map_keymap_sorted):
4735 * keymap.c (get_relevant_keymaps):
4736 * keymap.c (Flookup_key):
4737 * keymap.c (raw_lookup_key_mapper):
4738 * keymap.c (Fdefine_key):
4739 * keymap.c (Fevent_matches_key_specifier_p):
4740 * keymap.c (key_desc_list_to_event):
4741 * keymap.c (define_key_parser):
4742 * keymap.c (define_key_check_and_coerce_keysym):
4743 * keymap.c (keymap_submaps):
4744 * keymap.c (keymap_store_internal):
4745 * keymap.c (keymap_delete_inverse_internal):
4746 * keymap.c (keymap_store_inverse_internal):
4747 * keymap.c (print_keymap):
4748 * keymap.c (Lisp_Keymap):
4751 * insdel.c (convert_bufbyte_string_into_emchar_dynarr):
4752 * insdel.c (make_gap):
4753 * input-method-xlib.c (get_XIM_input):
4754 * input-method-xlib.c (XIM_init_frame):
4759 * gui-x.c (button_item_to_widget_value):
4760 * gui-x.c (popup_selection_callback):
4761 * glyphs.h (struct image_instantiator_methods):
4762 * glyphs.c (mark_glyph_cachels):
4763 * glyphs.c (Fglyph_type):
4764 * glyphs.c (image_instantiate):
4765 * glyphs.c (image_create):
4766 * glyphs.c (make_image_instance_1):
4767 * glyphs.c (finalize_image_instance):
4769 * glyphs-x.c (finalize_subwindow):
4770 * glyphs-x.c (xface_validate):
4771 * glyphs-x.c (x_locate_pixmap_file):
4772 * glyphs-x.c (convert_EImage_to_XImage):
4774 * glyphs-msw.c (mswindows_resource_instantiate):
4775 * glyphs-msw.c (xpm_to_eimage):
4776 * glyphs-msw.c (convert_EImage_to_DIBitmap):
4777 * glyphs-eimage.c (tiff_instantiate):
4778 * glyphs-eimage.c (png_instantiate):
4779 * glyphs-eimage.c (struct png_error_struct):
4780 * glyphs-eimage.c (gif_memory_storage):
4783 * getloadavg.c (getloadavg):
4786 * free-hook.c (log_gcpro):
4787 * free-hook.c (check_malloc):
4788 * free-hook.c (check_free):
4789 * free-hook.c (ROUND_UP_TO_PAGE):
4791 * frame.h (struct frame):
4793 * frame.c (change_frame_size_1):
4794 * frame.c (allocate_frame_core):
4796 * frame-x.c (x_focus_on_frame):
4797 * frame-x.c (x_init_frame_2):
4798 * frame-x.c (x_popup_frame):
4799 * frame-x.c (xemacs_XtPopup):
4801 * frame-x.c (Foffix_start_drag_internal):
4802 * frame-x.c (x_cde_destroy_callback):
4803 * frame-x.c (x_wm_hack_wm_protocols):
4804 * frame-tty.c (tty_frame_visible_p):
4805 * frame-msw.c (mswindows_make_frame_invisible):
4806 * frame-msw.c (mswindows_after_init_frame):
4807 * frame-msw.c (mswindows_init_frame_1):
4808 * fns.c (syms_of_fns):
4809 * fns.c (Fbase64_decode_string):
4811 * fns.c (Ffillarray):
4812 * fns.c (Fobject_plist):
4814 * fns.c (Fcanonicalize_lax_plist):
4815 * fns.c (Fcanonicalize_plist):
4816 * fns.c (Fplist_remprop):
4817 * fns.c (Fplist_get):
4818 * fns.c (advance_plist_pointers):
4819 * fns.c (internal_plist_put):
4820 * fns.c (Fnreverse):
4823 * fns.c (Fsubstring):
4824 * fns.c (Fbvconcat):
4826 * fns.c (length_with_bytecode_hack):
4827 * fns.c (print_bit_vector):
4829 * floatfns.c (Ffloor):
4831 * floatfns.c (in_float_error):
4832 * fileio.c (Ffile_modes):
4833 * fileio.c (Fexpand_file_name):
4834 * fileio.c (Fmake_temp_name):
4835 * fileio.c (Ffile_name_nondirectory):
4836 * fileio.c (Ffile_name_directory):
4838 * file-coding.c (vars_of_mule_coding):
4839 * file-coding.c (convert_to_external_format):
4840 * file-coding.c (encoding_marker):
4841 * file-coding.c (decoding_marker):
4842 * file-coding.c (Fcopy_coding_system):
4843 * file-coding.c (Fmake_coding_system):
4844 * file-coding.c (struct coding_system_list_closure):
4845 * file-coding.c (Ffind_coding_system):
4846 * file-coding.c (symbol_to_eol_type):
4848 * faces.h (struct face_cachel):
4849 * faces.c (vars_of_faces):
4850 * faces.c (face_property_was_changed):
4851 * faces.c (mark_face_cachels):
4852 * faces.c (temporary_faces_list):
4853 * faces.c (struct face_list_closure):
4855 * extents.h (struct extent):
4856 * extents.c (vars_of_extents):
4857 * extents.c (struct copy_string_extents_1_arg):
4858 * extents.c (add_string_extents_mapper):
4859 * extents.c (Fextent_property):
4860 * extents.c (Fset_extent_property):
4861 * extents.c (symbol_to_glyph_layout):
4862 * extents.c (properties_equal):
4863 * extents.c (print_extent):
4864 * extents.c (print_extent_1):
4865 * extents.c (extent_in_region_p):
4866 * extents.c (gap_array_make_gap):
4868 * events.h (struct Lisp_Event):
4870 * events.c (Fevent_properties):
4871 * events.c (format_event_object):
4872 * events.c (Fmake_event):
4873 * events.c (event_equal):
4874 * events.c (print_event):
4875 * events.c (mark_event):
4876 * event-stream.c ((read-char)
4877 * event-stream.c (vars_of_event_stream):
4878 * event-stream.c (syms_of_event_stream):
4879 * event-stream.c (Fset_recent_keys_ring_size):
4880 * event-stream.c (Fsit_for):
4881 * event-stream.c (Fnext_event):
4882 * event-stream.c (execute_help_form):
4883 * event-stream.c (maybe_kbd_translate):
4885 * event-msw.c (vars_of_event_mswindows):
4886 * event-msw.c (mswindows_wnd_proc):
4887 * event-msw.c (mswindows_need_event):
4888 * event-msw.c (mswindows_drain_windows_queue):
4889 * event-msw.c (mswindows_pump_outstanding_events):
4891 * event-msw.c (slurp_thread):
4892 * event-msw.c (struct ntpipe_slurp_stream):
4893 * event-msw.c (HANDLE_TO_USID):
4894 * event-Xt.c (emacs_Xt_handle_magic_event):
4895 * event-Xt.c (x_event_to_emacs_event):
4896 * event-Xt.c (x_reset_modifier_mapping):
4897 * event-Xt.c (x_reset_key_mapping):
4899 * eval.c (syms_of_eval):
4900 * eval.c (warn_when_safe):
4901 * eval.c (warn_when_safe_lispobj):
4902 * eval.c (Fbacktrace_frame):
4903 * eval.c (Fbacktrace):
4904 * eval.c (top_level_set):
4905 * eval.c (unbind_to_hairy):
4906 * eval.c (specbind_magic):
4907 * eval.c (specbind_unwind_wasnt_local):
4908 * eval.c (call2_trapping_errors):
4909 * eval.c (call1_trapping_errors):
4910 * eval.c (catch_them_squirmers_call2):
4911 * eval.c (call0_trapping_errors):
4912 * eval.c (run_hook_trapping_errors):
4913 * eval.c (catch_them_squirmers_eval_in_buffer):
4914 * eval.c (call4_in_buffer):
4915 * eval.c (call3_in_buffer):
4916 * eval.c (call2_in_buffer):
4917 * eval.c (call1_in_buffer):
4918 * eval.c (call0_in_buffer):
4919 * eval.c (run_hook):
4920 * eval.c (run_hook_with_args_in_buffer):
4923 * eval.c (do_autoload):
4924 * eval.c (un_autoload):
4925 * eval.c (Fautoload):
4926 * eval.c (Finteractive_p):
4927 * eval.c (Fcommand_execute):
4928 * eval.c (signal_quit):
4929 * eval.c (call_with_suspended_errors):
4930 * eval.c (signal_error):
4931 * eval.c (return_from_signal):
4932 * eval.c (Fcall_with_condition_handler):
4933 * eval.c (run_condition_case_handlers):
4934 * eval.c (condition_case_1):
4935 * eval.c (Funwind_protect):
4936 * eval.c (unwind_to_catch):
4937 * eval.c (internal_catch):
4938 * eval.c (Fmacroexpand_internal):
4939 * eval.c (Fuser_variable_p):
4940 * eval.c (Fdefconst):
4942 * eval.c (Ffunction):
4943 * eval.c (signal_call_debugger):
4944 * eval.c (call_debugger):
4947 * emacs.c (sort_args):
4951 * editfns.c (Fencode_time):
4952 * editfns.c (Fdecode_time):
4953 * editfns.c (Fuser_full_name):
4955 * editfns.c (save_excursion_restore):
4958 * doprnt.c (emacs_doprnt_1):
4959 * doc.c (verify_doc_mapper):
4960 * doc.c (Fsnarf_documentation):
4961 * doc.c (Fdocumentation):
4963 * dired.c (user_name_completion):
4964 * dired.c (Fdirectory_files):
4967 * dgif_lib.c (FreeSavedImages):
4968 * dgif_lib.c (DGifGetImageDesc):
4970 * device.h (struct device):
4971 * device.c (Fselect_device):
4972 * device.c (allocate_device):
4974 * device-x.c (Fx_keysym_on_keyboard_p):
4975 * device-x.c (Fx_valid_keysym_name_p):
4976 * device-x.c (x_IO_error_handler):
4977 * device-x.c (x_delete_device):
4978 * device-x.c (x_finish_init_device):
4979 * device-x.c (x_init_device):
4981 * device-msw.c (mswindows_init_device):
4983 * database.c (vars_of_database):
4984 * database.c (Fput_database):
4985 * database.c (Fopen_database):
4986 * database.c (berkdb_remove):
4987 * database.c (berkdb_put):
4988 * database.c (Fdatabasep):
4989 * database.c (print_database):
4991 * data.c (vars_of_data):
4992 * data.c (syms_of_data):
4993 * data.c (init_errors_once_early):
4994 * data.c (prune_weak_lists):
4995 * data.c (finish_marking_weak_lists):
4996 * data.c (print_weak_list):
4998 * data.c (Fstring_to_number):
4999 * data.c (Fnumber_to_string):
5000 * data.c (Findirect_function):
5003 * data.c (Fsubr_interactive):
5005 * data.c (Fkeywordp):
5008 * console.h (CONSOLE_NAME):
5010 * console.c (vars_of_console):
5011 * console.c (Fselect_console):
5013 * console-x.h (DEVICE_X_COLORMAP):
5014 * console-x.h (struct x_device):
5015 * console-x.c (x_device_to_console_connection):
5016 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y):
5017 * console-tty.c (tty_init_console):
5019 * console-msw.h (struct mswindows_frame):
5022 * cmds.c (internal_self_insert):
5023 * cmds.c (Fforward_line):
5024 * cmds.c (Fforward_char):
5027 * chartab.c (mark_char_table_entry):
5029 * casefiddle.c (casify_word):
5030 * callproc.c (child_setup):
5031 * callproc.c (Fcall_process_internal):
5033 * callint.c (Fcall_interactively):
5035 * bytecode.c (execute_rare_opcode):
5036 * bytecode.c (execute_optimized_program):
5039 * buffer.h (BUFFER_REALLOC):
5040 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA):
5041 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA):
5043 * buffer.h (MAP_INDIRECT_BUFFERS):
5044 * buffer.h (CHECK_LIVE_BUFFER):
5045 * buffer.c (init_initial_directory):
5046 * buffer.c (complex_vars_of_buffer):
5047 * buffer.c (vars_of_buffer):
5048 * buffer.c (finish_init_buffer):
5049 * buffer.c (Fget_file_buffer):
5050 * buffer.c (Fbuffer_list):
5051 * buffer.c (mark_buffer):
5052 * balloon_help.c (balloon_help_move_to_pointer):
5053 * balloon_help.c (show_help):
5056 * alloc.c (garbage_collect_1):
5057 * alloc.c (sweep_strings):
5058 * alloc.c (sweep_compiled_functions):
5059 * alloc.c (sweep_bit_vectors_1):
5060 * alloc.c (sweep_vectors_1):
5061 * alloc.c (sweep_lcrecords_1):
5062 * alloc.c (tick_lcrecord_stats):
5063 * alloc.c (pure_string_sizeof):
5064 * alloc.c (mark_conses_in_list):
5065 * alloc.c (mark_object):
5066 * alloc.c (report_pure_usage):
5067 * alloc.c (make_pure_float):
5068 * alloc.c (make_pure_string):
5069 * alloc.c (free_managed_lcrecord):
5070 * alloc.c (mark_string):
5071 * alloc.c (noseeum_make_marker):
5072 * alloc.c (allocate_event):
5073 * alloc.c (Fbit_vector):
5074 * alloc.c (Fvector):
5075 * alloc.c (make_float):
5076 * alloc.c (Fmake_list):
5078 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC):
5079 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST):
5080 * alloc.c (DECLARE_FIXED_TYPE_ALLOC):
5081 * alloc.c (dbg_constants):
5082 * alloc.c (gc_record_type_p):
5083 * alloc.c (free_lcrecord):
5084 * alloc.c (xmalloc):
5085 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER):
5087 * Makefile.in.in (mostlyclean):
5088 * Makefile.in.in (external_client_xlib_objs_nonshared):
5089 * Makefile.in.in (temacs_link_args):
5090 * Makefile.in.in (release):
5091 * Makefile.in.in (dnd_objs):
5092 * Makefile.in.in (objs):
5093 * Makefile.in.in (PROGNAME):
5094 * EmacsShell.c: cast strings to (XtPointer)
5095 * EmacsFrame.c: cast strings to (XtPointer)
5097 - rewrite basic lisp functions for speed
5098 - rewrite bytecode interpreter for speed
5099 - rewrite list looping constructs for speed and safety using
5101 - use size_t where appropriate.
5102 - new hashtable implementation
5103 - cleanup implementation of opaques
5104 - opaques can now be purecopy'ed
5105 - move some cl functionality into C for speed.
5106 - remove last remaining VMS support
5108 - improve gdb/dbx debugger support
5109 - move pure.c back into alloc.c for performance
5110 - enable report_pure_usage() if --memory-usage-stats
5111 - remove remnants of Energize support (EMACS_BTL, cadillac...)
5112 - don't use symbols with leading `_' or embedded `__'
5113 - globally cleanup duplicated semicolons `;;'
5114 - I give in on %p vs %lx - we use printf("%lx",(long) p)
5116 - globally replace O_NDELAY with O_NONBLOCK.
5117 - globally replace CDISABLE with _POSIX_VDISABLE.
5118 - use O_RDONLY and O_RDWR instead of magic `0' and `2'.
5119 - define (and maybe use!) STDERR_FILENO and friends.
5120 - add support for macros defined in C
5121 - `when', `unless', `not' and `defalias' now defined in C,
5122 so that they are universally available.
5123 - rename defvar_mumble to defvar_magic
5124 - rename RETURN__ to RETURN_SANS_WARNINGS
5125 - use consistent style of initial caps in error messages
5126 - implement last, butlast, nbutlast, copy-list in C.
5127 - provide typedefs for all struct Lisp_foo types
5128 - Lisp_Objects must be initialized to Qnil rather than 0.
5129 - make sure XEmacs runs (slowly) with always_gc == 1;
5130 - fast and safe LOOP_* macros
5131 - change calls to XSETOBJ to XSETFOO
5132 - replace calls to XSETINT by make_int()
5133 - plug up memory leaks
5134 - use style markobj (foo), not silly ((markobj) (foo))
5135 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj))
5137 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp>
5139 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0
5141 1998-11-28 SL Baur <steve@altair.xemacs.org>
5143 * XEmacs 21.2-beta4 is released.
5145 1998-11-27 SL Baur <steve@altair.xemacs.org>
5147 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic
5148 property in control-1 charset.
5149 From Julian Bradfield <jcb@daimi.au.dk>
5151 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch>
5153 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence
5155 Add stub for :label.
5157 * gui.c (gui_item_add_keyval_pair): ditto.
5159 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore
5160 :key-sequence keyword.
5162 Support :active for submenus like the Windows code and FSF Emacs.
5164 1998-11-27 Hrvoje Niksic <hniksic@srce.hr>
5166 * dired.c (make_directory_hash_table): make_string() is OK because
5167 readdir() Mule-encapsulates.
5169 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5171 * fns.c (Fbase64_encode_string): Fix docstring.
5172 (Fbase64_decode_string): Ditto.
5174 1998-11-26 Hrvoje Niksic <hniksic@srce.hr>
5176 * editfns.c (Ftranslate_region): Use
5177 convert_bufbyte_string_into_emchar_string().
5179 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5181 * editfns.c (Ftranslate_region): Accept vectors and char-tables as
5183 (Ftranslate_region): Turn table into an array of Emchars for
5186 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5188 * chartab.c (Freset_char_table): Fix wrong placement of #endif.
5190 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5192 * chartab.c (Freset_char_table): Don't blindly fill chartables of
5193 type `char' with nils.
5195 * chartab.c (canonicalize_char_table_value): Coerce ints to chars
5196 for tables of type `char'.
5198 1998-11-26 Didier Verna <verna@inf.enst.fr>
5200 * input-method-xlib.c (Initialize_Locale): don't call
5201 XtSetLanguageProc. We've done the whole work here.
5202 * input-method-xfs.c (Initialize_Locale): ditto.
5203 * input-method-motif.c (Initialize_Locale): ditto.
5205 1998-11-26 Didier Verna <verna@inf.enst.fr>
5207 * process-unix.c (unix_create_process): handle properly
5208 Vfile_name_coding_system for converting the program and directory
5211 1998-11-27 SL Baur <steve@altair.xemacs.org>
5213 * m/arm.h: New file.
5214 From James LewisMoss <dres@ioa.com>
5216 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5219 Fix the realpath() problem of UnixWare2.1.3.
5220 Patches for NEC's sysv4.2 machine.
5222 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5224 * dired.c (Fdirectory_files): Remove redundant code.
5226 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5228 * fns.c (free_malloced_ptr): New function.
5229 (XMALLOC_OR_ALLOCA): New macro.
5230 (XMALLOC_UNBIND): Ditto.
5231 (Fbase64_encode_region): Use malloc() for large blocks; arrange it
5232 to be freed in case of non-local exit.
5233 (Fbase64_encode_string): Ditto.
5234 (Fbase64_decode_region): Ditto.
5235 (Fbase64_decode_string): Ditto.
5236 (STORE_BYTE): New macro.
5237 (base64_decode_1): Use it.
5239 1998-11-25 Hrvoje Niksic <hniksic@srce.hr>
5241 * fns.c (base64_value_to_char): Base64 stuff.
5243 1998-11-24 Hrvoje Niksic <hniksic@srce.hr>
5245 * editfns.c (Fbuffer_substring): New function.
5247 * lisp.h: Declare make_string_from_buffer_no_extents().
5249 * insdel.c (make_string_from_buffer_1): New function.
5250 (make_string_from_buffer_no_extents): Ditto.
5252 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5254 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes
5255 sound work on AIX with OSS installed. Linux should still work.
5257 1998-11-03 Andy Piper <andyp@parallax.co.uk>
5259 * config.h.in: name change for cygwin/version.h
5261 * configure.in: check for cygwin/version.h now.
5263 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5264 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5265 move cygwin32/version.h to cygwin/version.h
5267 1998-11-03 Olivier Galibert <galibert@pobox.com>
5269 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from
5272 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5274 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR ->
5275 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20.
5276 enable BROKEN_SIGIO under b20 to make QUIT work.
5278 1998-10-22 Andy Piper <andyp@parallax.co.uk>
5280 * frame-msw.c (mswindows_size_frame_internal): force frame sizing
5281 to fit within the constraints of the screen size. I.e. make the
5282 frame small enough to fit and move it if some of it will be
5285 1998-10-19 Greg Klanderman <greg@alphatech.com>
5287 * dired.c: conditionalize inclusion of user-name-completion
5288 primitives on non-Windows NT. The needed functions don't exist on NT.
5290 1998-11-24 SL Baur <steve@altair.xemacs.org>
5292 * gifrlib.h: Clean up types for 64 bit compile.
5293 * dgif_lib.c (DGifInitRead): Ditto.
5294 (MakeSavedImage): Ditto.
5295 * emacs.c (decode_path): Ditto.
5296 From Steve Carney <carney@pa.dec.com>
5298 1998-10-16 William M. Perry <wmperry@aventail.com>
5300 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps
5301 (cehckboxes instead of checkboxes).
5303 1998-10-15 SL Baur <steve@altair.xemacs.org>
5305 * XEmacs 21.2-beta3 is released.
5307 1998-10-13 Raymond Toy <toy@rtp.ericsson.se>
5309 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run
5310 gnuclient. Otherwise, we run xemacs as we always did. This gets
5311 rid of the annoying DOS window when running gnuclient.
5313 1998-10-13 Andy Piper <andyp@parallax.co.uk>
5315 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS ->
5316 HAVE_MS_WINDOWS typo.
5318 1998-10-13 SL Baur <steve@altair.xemacs.org>
5320 * process-unix.c (unix_send_process): Set closed flag on writable
5321 pipe after SIGPIPE is received and before we call deactivate_process.
5323 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk>
5325 * window.c (Fset_window_start): respect narrowing when
5326 checking wheter start is at the beginning of a line.
5327 (Fset_window_buffer): Ditto
5328 Fixes repeatable crash in VM.
5330 1998-10-09 SL Baur <steve@altair.xemacs.org>
5332 * window.c (specifier_vars_of_window): Set default vertical
5333 divider width to 1 on ttys.
5335 1998-10-08 Martin Buchholz <martin@xemacs.org>
5340 Add <stddef.h> to get ptrdiff_t declaration
5342 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5344 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as
5345 is used for Motif or Lucid scrollbars under X.
5347 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com>
5349 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running
5352 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5354 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget.
5356 1998-10-05 Andy Piper <andyp@parallax.co.uk>
5358 * s/cygwin32.h: more cygwin b20 reorganisation.
5360 1998-10-01 Raymond Toy <toy@rtp.ericsson.se>
5362 * nas.c: Added necessary support functions to be able to handle
5363 WAVE files in memory, just like the support for SND files in
5366 1998-09-30 SL Baur <steve@altair.xemacs.org>
5368 * callproc.c (child_setup): Fix spelling typo.
5370 1998-09-29 SL Baur <steve@altair.xemacs.org>
5372 * XEmacs 21.2-beta2 is released.
5374 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp>
5376 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg
5377 to prevent memory corruption in the case of jumping out of a series of
5378 nested match patterns. This is a rather brute force approach, though.
5380 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5382 * config.h.in: ditto.
5384 * s/cygwin32.h: rearrange declarations to cope with cygwin
5385 b20. Include cygwin32/version.h if it exists.
5387 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5389 * device-msw.c (mswindows_init_device): Call new
5390 mswindows_enumerate_fonts() function in objects-msw.c instead
5391 of font_enum_callback_1() to enumerate fonts.
5393 font_enum_callback_1() and _2() moved to objects-msw.c.
5395 * faces.c (complex_vars_of_faces): Make the mswindows default
5396 face font fully specified and provide some fallbacks.
5398 * objects-msw.c: font_enum_callback_1() and _2() moved here
5399 from objects-msw.c. Obtain the enumerated font's character
5400 sets by table lookup instead of using the locale-specific
5401 string provided by Windows.
5403 New public non-method mswindows_enumerate_fonts() that fills
5404 in the supplied mswindows device's font list.
5406 mswindows_initialize_font_instance: Use the supplied name
5407 variable instead of f->name when signalling errors. Match font
5408 weights and character sets using lookup tables which handle
5409 spaces instead of by frobbing.
5411 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk>
5413 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE,
5414 on the size of code fragments passed to run_in_other_process.
5416 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine
5417 the amount of memory to allocate in the other process.
5419 Removed sigkill_code_end(), sigint_code_end() and
5420 sig_enable_code_end() since they are now redundant.
5422 send_signal() and enable_child_signals(): Don't try to work
5423 out the end of the code fragments passed to
5424 run_in_other_process()
5426 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp>
5428 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for
5431 * src/unexelf.c: Partially synched with FSF's 20.3.
5433 1998-09-10 Hrvoje Niksic <hniksic@srce.hr>
5435 * insdel.c (signal_after_change): Map across indirect buffers
5436 here, and not in the upper-level functions.
5437 (signal_first_change): Don't check for Armageddon.
5438 (signal_before_change): Map across indirect buffers here.
5439 (prepare_to_modify_buffer): ...and here.
5441 1998-09-09 Hrvoje Niksic <hniksic@srce.hr>
5443 * insdel.c (signal_after_change): Add return value.
5444 (buffer_insert_string_1): Use it.
5445 (buffer_delete_range): Ditto.
5446 (buffer_replace_char): Ditto.
5447 (cancel_multiple_change): Map the indirect buffers.
5449 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5451 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5452 (uninit_buffer_text): Ditto.
5454 * buffer.c (Fmake_indirect_buffer): Implement stricter
5457 1998-09-04 Hrvoje Niksic <hniksic@srce.hr>
5459 * insdel.c (change_function_restore): Reverse order of
5460 function-call and assignment.
5461 (first_change_hook_restore): Ditto.
5463 * extents.c (mark_extent_auxiliary): Mark them.
5464 (Fset_extent_property): Set them.
5465 (Fextent_property): Get them.
5466 (Fextent_properties): Ditto.
5467 (vars_of_extents): Set their default.
5469 * extents.h (struct extent_auxiliary): Add before_change_functions
5470 and after_change_functions.
5472 * insdel.c (signal_before_change): Use it.
5473 (signal_after_change): Ditto.
5475 * extents.c (report_extent_modification): New function.
5477 * insdel.c (signal_before_change): Don't check for Armageddon.
5478 (signal_after_change): Ditto.
5480 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5482 * redisplay.c (redisplay_window): make sure a new starting point
5483 is chosen if it somehow got moved from the beginning of the line
5484 -- this can happen because Fwiden was called recently.
5486 * window.c (Fset_window_start): set start_at_line_beg correctly
5487 (Fset_window_buffer): Ditto
5489 1998-09-06 Hrvoje Niksic <hniksic@srce.hr>
5491 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter.
5492 (uninit_buffer_text): Ditto.
5494 * buffer.c (Fmake_indirect_buffer): Implement stricter
5497 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch>
5499 * emacs.c (main_1): Removed references to *vars_of_filelock.
5501 * lisp.h: Added Fsystem_name.
5503 * filelock.c: Replaced by version from FSF 20.2. Now implements
5504 locking by using symlinks which is NFS safe. However keep the
5505 GCPRO's in lock_file and the calls to callx_in_buffer like our old
5506 version (and of course use ansi C, acessor macros, etc).
5508 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch>
5510 * process-unix.c (unix_create_process): Reset SIGHUP handler to
5511 SIG_DFL. We now try to conserve any inherted SIG_IGN settings
5512 in init_signals_very_early. However these should not be passed
5513 on to children attached to the new pty.
5515 1998-08-28 Andy Piper <andyp@parallax.co.uk>
5517 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use.
5519 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
5521 * fileio.c (file-name-directory, file_name_as_directory):
5522 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT.
5524 1998-09-02 Andy Piper <andyp@parallax.co.uk>
5526 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC
5528 * ralloc.c: uncomment __morecore.
5530 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk>
5532 * event-msw.c(winsock_writer): Supply a dummy 4th argument to
5533 WriteFile() to fix a winsock 1.x bug on Win95.
5535 1998-08-28 Hrvoje Niksic <hniksic@srce.hr>
5537 * event-Xt.c (emacs_Xt_mapping_action): Check for device being
5539 (x_event_to_emacs_event): Ditto.
5540 (emacs_Xt_handle_focus_event): Ditto.
5541 (emacs_Xt_handle_magic_event): Ditto.
5543 * console-x.h (struct x_device): New flag being_deleted.
5544 (DEVICE_X_BEING_DELETED): New macro.
5546 * device-x.c (x_IO_error_handler): Throw to top-level instead of
5547 returning. Before doing that, set the being_deleted flag on the
5550 1998-08-27 Hrvoje Niksic <hniksic@srce.hr>
5552 * device-x.c (x-seppuku-on-epipe): Removed.
5554 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5556 * frame-x.c (x_delete_frame): Flush the X output buffer after
5557 calling XtDestroyWidget to ensure that the windows are really
5560 1998-08-26 Hrvoje Niksic <hniksic@srce.hr>
5562 * menubar-x.c (my_run_hook): New unused function.
5563 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook,
5564 since we ignore the results of the contained functions anyway.
5566 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp>
5568 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling
5569 interlaced GIF files that are smaller than 4 lines high...
5571 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5573 * buffer.c (map_over_sharing_buffers): Deleted.
5575 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h.
5577 * buffer.c (Fkill_buffer): Keep indirect_children updated while
5580 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5582 * insdel.c (buffer_insert_string_1): Advance the point bytind in
5584 (buffer_delete_range): Ditto.
5586 * marker.c (init_buffer_markers): Set point-marker to the value of
5587 point in an indirect buffer.
5589 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5591 * undo.c (undo_prelude): Test last-undo-buffer against base
5594 * insdel.c (MAP_INDIRECT_BUFFERS): Use it.
5596 * buffer.h (BUFFER_BASE_BUFFER): New macro.
5598 1998-08-30 Hrvoje Niksic <hniksic@srce.hr>
5600 * insdel.c (init_buffer_text): Initialize it here.
5602 * line-number.c: Address line_number_cache through buffer->text.
5604 * buffer.c (mark_buffer): Mark line number cache.
5606 * bufslots.h (line_number_cache): Move to struct buffer_text.
5608 * insdel.c (buffer_insert_string_1): Propagate signals and changes
5609 across the children buffers.
5610 (buffer_delete_range): Ditto.
5611 (buffer_replace_char): Ditto.
5615 * insdel.c (MAP_INDIRECT_BUFFERS): New macro.
5617 * buffer.c (Fmake_indirect_buffer): Uncomment.
5619 1998-08-31 Hrvoje Niksic <hniksic@srce.hr>
5621 * macros.c (Fend_kbd_macro): Remove trailing period from error
5623 (Fexecute_kbd_macro): Ditto.
5625 1998-08-21 Greg Klanderman <greg@alphatech.com>
5627 * dired.c (Fuser_name_completion): remove optional 2nd argument.
5628 (Fuser_name_completion_1): new function to return uniqueness
5629 indication in addition to the user name completion.
5630 (user_name_completion): change type of `uniq' argument.
5632 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5634 * lread.c (vars_of_lread): Removed `source-directory' variable.
5636 1998-08-22 Hrvoje Niksic <hniksic@srce.hr>
5638 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to
5641 1998-08-19 SL Baur <steve@altair.xemacs.org>
5643 * dired.c (vars_of_dired): Fix misapplied patch.
5645 1998-08-16 Martin Buchholz <martin@xemacs.org>
5647 * fns.c (Fremrassq, remrassq_no_quit):
5648 A XCAR that should have been an XCDR turned Fremrassq into Fremassq
5650 1998-07-17 Didier Verna <verna@inf.enst.fr>
5652 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill
5653 style as foreground GC for faces that have the `dim' property.
5654 (x_output_string): when the `dim' face property is set,
5655 ensure the gray pixmap has been created, and get a proper
5656 foreground GC to draw the text.
5658 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5660 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug:
5661 Manually track the state of the left and right Ctrl and Alt
5664 1998-08-07 Matt Stupple <matts@tibco.com>
5666 * ntproc.c: don't wait on char_consumed at thread entry.
5667 Additionally, to get the 'process' marked as finished, ensure
5668 that the CHILD_ACTIVE macro returns false, so before exiting
5669 close char_avail and set it to NULL, and close other handles
5670 to reduce handle leak problems.
5672 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5674 * menubar-msw.c (displayable_menu_item): take account of menu
5675 depth when deciding whether to try to display accelerators.
5677 1998-08-04 Andy Piper <andyp@parallax.co.uk>
5679 * event-msw.c: use MsgWaitForMultipleObjects if there are no
5682 * glyphs-msw.c: fix a couple of potential handle leaks.
5684 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp>
5686 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF
5687 *decoding ONLY* back into the core.
5688 * glyphs-eimage.c: Change referenced header file for GIF
5689 reading to point to the incore version.
5691 1998-07-20 Martin Buchholz <martin@xemacs.org>
5693 * casefiddle.c (casify_object):
5694 Change algorithm from O(N**2) to O(N).
5698 1998-07-22 Greg Klanderman <greg@alphatech.com>
5700 * dired.c (file_name_completion_unwind): don't leak the cons.
5702 1998-07-20 Greg Klanderman <greg@alphatech.com>
5704 * dired.c (Fuser_name_completion): new function.
5705 (Fuser_name_all_completions): new function.
5706 (user_name_completion): new function.
5707 (syms_of_dired): 2 new DEFSUBRs.
5708 (vars_of_dired): initialize user name cache vars.
5710 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp>
5712 * glyphs-eimage.c (png_instantiate): Add proper handling for background
5713 colors taken from the default face. Also correct a thinko in
5714 transparency (not alpha) handling.
5716 1998-07-23 Martin Buchholz <martin@xemacs.org>
5718 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap.
5719 * unexalpha.c: ANSI C-ize. Clean compiler warnings.
5720 * lread.c (Fload_internal): Be very careful with printfs of
5722 * gui-x.c (menu_name_to_accelerator): tolower wants an `int'
5725 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
5727 * callint.c (Fcall_interactively): GCPRO prompt string before
5728 passing it to Fread_key_sequence
5730 1998-07-27 SL Baur <steve@altair.xemacs.org>
5732 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and
5733 Vvertical_divider_map.
5735 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to
5736 Qnil or 0, none were initialized prior to this change.
5738 Rename misnamed `V' prefixed integer variables:
5739 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline,
5740 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos,
5741 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos,
5742 Vcanna_ichiran_revLen.
5744 Rename misnamed `V' prefixed integer variables and initialize
5745 properly in the vars_of routine.
5746 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode,
5747 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode,
5748 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode,
5749 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode,
5750 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode,
5751 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode,
5752 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode,
5753 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode,
5754 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode,
5755 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode,
5756 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode,
5757 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode,
5758 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode,
5759 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode,
5760 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode,
5761 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode,
5762 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode,
5763 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode,
5764 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode,
5765 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert,
5766 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode,
5767 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward,
5768 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine,
5769 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious,
5770 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei,
5771 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu,
5772 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu,
5773 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku,
5774 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper,
5775 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana,
5776 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana,
5777 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku,
5778 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei,
5779 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle,
5780 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle,
5781 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward,
5782 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode,
5783 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark,
5784 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer,
5785 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down,
5786 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown,
5787 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key,
5788 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up,
5789 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down,
5790 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up,
5791 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down
5793 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch>
5795 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms.
5796 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier
5797 keys thus no longer considering all keysyms on a key.
5799 1998-07-19 SL Baur <steve@altair.xemacs.org>
5801 * XEmacs 21.2-beta1 is released.
5803 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5805 * eldap.c (Fldap_search_internal): When converting the list of
5806 attributes to search Copy the final 0 from Lisp strings to C
5808 Check base, not Vldap_default_base as a a string
5810 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
5812 * nt.c: Remove Vstdio_str; already defined in console-stream.c.
5814 * unexnt.c: Unconditionally define bss_start and bss_size, and
5815 ensure that they don't go in the .bss section.
5817 1998-07-17 Olivier Galibert <galibert@pobox.com>
5819 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv
5820 byte order is dependant of the local byte order).
5821 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp>
5823 1998-07-18 SL Baur <steve@altair.xemacs.org>
5825 * glyphs-msw.c (mswindows_resource_normalize): Qresource ->
5826 Qmswindows_resource.
5827 From Jonathan Harris <jhar@tardis.ed.ac.uk>
5829 1998-07-12 SL Baur <steve@altair.xemacs.org>
5831 * general.c (syms_of_general): Add defsymbol for Qresource.
5833 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to
5834 Qmswindows_resource.
5835 (TopLevel): Rename 'resource image format to 'mswindows_resource.
5836 (mswindows_resource_validate): Rename.
5837 (mswindows_resource_normalize): Rename.
5838 (mswindows_resource_possible_dest_types): Rename.
5839 (mswindows_resource_instantiate): Rename.
5840 (image_instantiator_format_create_glyphs_mswindows): Replace
5841 `resource' with `mswindows.resource'.
5843 * XEmacs 21.0-pre5 is released.
5845 1998-07-10 SL Baur <steve@altair.xemacs.org>
5847 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn
5848 server type in environment.
5849 Use alloca-ed strings instead of tiny fixed size ones.
5851 1998-07-09 SL Baur <steve@altair.xemacs.org>
5853 * XEmacs 21.0-pre4 is released.
5855 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5857 * fileio.c: (expand_file_name): under win32: Don't treat names
5858 as UNC names if a drive letter has been specified. If a drive
5859 has been specified, strip out extra directory-seperators that
5860 reportedly cause problems under Win95.
5862 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5864 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with
5865 MSVC >= 5.0. Put emacs init and zero-init data in a special
5866 section of the executable when this is defined.
5868 * unexnt.c, ntheap.h:
5869 Removed unused find_section() and get_section_size().
5872 Fix up the executable's checksum after dumping otherwise the
5874 When DUMP_SEPARATE_SECTION is defined, don't need to dump
5875 zero-init data separately from init data. Dump emacs data
5876 into a special section of the executable.
5877 When DUMP_SEPARATE_SECTION not defined, dump .bss up to
5878 my_ebss instead of up to the end of bss.
5880 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk>
5882 * filelock.c: Removed Vconfigure_lock_directory - already
5885 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already
5886 defined in frame.c and general.c respectively.
5888 * glyphs-msw.c: Removed Qresource - already defined in
5891 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
5893 * eldap.c (Fldap_search_internal): Docstring fixes
5895 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk>
5897 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK,
5898 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS,
5899 EMACSPACKAGEPATH and INFOPATH variables.
5900 Removed unused get_emacs_configuration function.
5902 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because
5903 it is now defined at build-time by the makefile.
5905 1998-07-01 James N. Potts <jnpotts@plutonium.net>
5907 * fileio.c: (expand_file_name): under win32: Don't treat names as
5908 UNC names if a drive letter has been specified. If a drive has
5909 been specified, strip out extra directory-seperators that
5910 reportedly cause problems under Win95.
5912 1998-07-05 Andy Piper <andyp@parallax.co.uk>
5914 * faces.c (complex_vars_of_faces): for the gui-element face don't
5915 fallback to the default face, instead provide reasonable default
5916 fallbacks that were previously hardcoded elsewhere.
5918 1998-07-06 Olivier Galibert <galibert@pobox.com>
5920 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem
5921 when the X server endianness is different than the client's one.
5923 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5925 * eval.c (run_hook_with_args_in_buffer): Check
5926 default (non-buffer-local) value of hook for
5927 nil before treating it as a function. Don't initialize
5928 the `globals' variable twice.
5930 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk>
5932 * fileio.c: Don't do directory seperator canonicalisation in
5933 substitute-in-file-name because we don't know that the
5934 filename refers to a local file.
5936 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com>
5938 * process-nt.c (nt_create_process): Try appending the standard
5939 executable file extensions to the filename if none supplied.
5941 1998-06-29 SL Baur <steve@altair.xemacs.org>
5943 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation
5945 From Keisuke Mori <ksk@ntts.com>
5947 1998-06-24 Andy Piper <andyp@parallax.co.uk>
5949 * toolbar-msw.c (mswindows_output_toolbar): only enable masked
5950 images if we have masks. This handles the xbm case (have masks)
5951 and avoids overuse of resources in the xpm case (generally no masks).
5952 Don't output small toolbars.
5954 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com>
5956 * eval.c (run_hook_with_args_in_buffer): Don't treat
5957 the default value of a buffer local hook as a list of
5958 hooks unless it is both a cons and the car of that cons
5961 1998-06-29 SL Baur <steve@altair.xemacs.org>
5963 * extents.c: Email address for Ben Wing is ben@xemacs.org.
5964 * process-unix.c: Ditto.
5965 * mule-coding.h: Ditto.
5966 * mule-coding.c: Ditto.
5967 * mule-charset.c: Ditto.
5968 * mule-charset.h: Ditto.
5969 * file-coding.c: Ditto.
5970 * file-coding.h: Ditto.
5972 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk>
5974 * event-msw.c: Guard against recursion when freeing
5975 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing.
5977 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame.
5978 Call ShowWindow twice in init_frame_3 to get round runemacs
5981 1998-06-27 Hrvoje Niksic <hniksic@srce.hr>
5983 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto.
5985 * winslots.h: Rename.
5987 * window.c (specifier_vars_of_window): Renamed
5988 vertical-divider-draggable-p to vertical-divider-always-visible-p,
5989 as suggested by Ben Wing.
5990 (specifier_vars_of_window): Fix docstrings.
5992 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
5994 * unexaix.c: Line number information works correctly again.
5996 1998-06-22 Olivier Galibert <galibert@pobox.com>
5998 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry.
6000 1998-06-21 Martin Buchholz <martin@xemacs.org>
6002 * editfns.c (get_home_directory): ANSIfy.
6003 XEmacs is compilable under C *and* C++.
6004 It's XEmacs, not Xemacs!
6006 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6008 * console-msw.h: added a list of fonts to device data.
6010 * device-msw.c: enumerate list of available fonts in
6011 mswindows_init_device. Free list in mswindows_delete_device.
6013 * objects-msw.c: Added helper function match_font used by
6014 mswindows_initialize_font_instance and mswindows_list_fonts.
6015 Allow a charset to be specified in a font string, even if
6016 previous fields havn't been specified.
6018 1998-06-23 Greg Klanderman <greg@alphatech.com>
6020 * indent.c (column_at_point): column cache bugfix.
6021 Set last_known_column_point to the buffer position for
6022 which the column was requested, not buffer's point.
6024 * redisplay.c (decode_mode_spec): for current-column, show
6025 window's point's column, not buffer's point's column.
6027 1998-06-23 Andy Piper <andyp@parallax.co.uk>
6029 * menubar-msw.c (mswindows_handle_wm_command): use
6030 enqueue_misc_user event rather than
6031 mswindows_enqueue_msic_user_event to fix customize problems. Add some
6034 * console-msw.h: declare mswindows_enqueue_magic_event.
6036 * event-msw.c (mswindows_enqueue_magic_event): make global.
6038 1998-06-24 Hrvoje Niksic <hniksic@srce.hr>
6040 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384.
6041 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS.
6042 (add_position_to_cache): Use EMACS_INT instead of int.
6044 1998-06-21 Olivier Galibert <galibert@pobox.com>
6046 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something
6047 suitable for an int used as a boolean (btw, C sucks.).
6049 1998-06-18 Andy Piper <andyp@parallax.co.uk>
6051 * object-msw.c: remove warnings.
6053 * device-msw.c: #define wrongly named cygwin structure elements.
6055 * s/cygwin32.h: define DEMI_BOLD
6057 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6059 * redisplay-msw.c: new function mswindows_apply_face_effects.
6060 This is called by output_string and output_cursor to display
6061 underline and strikeout on faces.
6063 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk>
6065 * console-msw.h: added a list of fonts to device data.
6067 * device-msw.c: enumerate list of available fonts in
6068 mswindows_init_device. Free list in mswindows_delete_device.
6070 * objects-msw.c: Added helper function match_font used by
6071 mswindows_initialize_font_instance and mswindows_list_fonts.
6072 Allow a charset to be specified in a font string, even if
6073 previous fields havn't been specified.
6075 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk>
6078 Removed compilation warnings from mswindows_string_to_color.
6079 mswindows_list_fonts returns a more general bogus font.
6080 New lisp-visible function mswindows-color-list.
6082 1998-06-19 David Bush <david.bush@adn.alcatel.com>
6084 * editfns.c (Fuser_login_name): Modify to user new function
6086 (user_login_name): C only function to avoid Lisp object overhead
6087 Returns "unknown" instead of nil in Cygwin environment
6089 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as
6090 equivalent for current user in Cygwin environment. Use new
6091 function user_login_name to get username.
6093 * lisp.h: Declare user_login_name
6095 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6097 * unexaix.c (make_hdr): Fixed bias computations so debugging info
6099 Some other insignificant nitpicks.
6101 1998-06-18 Andy Piper <andyp@parallax.co.uk>
6103 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when
6104 creating the image list and make sure he bk color is transparent.
6106 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch>
6108 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from
6109 completed_timeouts. The timer could have expired.
6111 1998-06-17 Andy Piper <andyp@parallax.co.uk>
6113 * console-msw.h: move XEMACS_RECT_WH inside frame
6114 parameters. define macors to access it.
6116 * frame-msw.c (mswindows_init_frame_1): use new target_rect
6117 parameter to intialise desired sizing. (mswindows_init_frame_2):
6118 enable and size the frame to something sensible when we get
6119 here. (mswindows_set_frame_properites): use new
6120 mswindows_size_frame_internal function and size frame if frame
6121 parameters not just if init is finished - WM_SIZE happens too
6122 early for some specs. (mswindows_size_frame_internal): new
6123 function abstracted from mswindows_set_frame_properties.
6124 (Vmswindows_use_system_frame_size_defaults):
6125 new variable controls whether to allow the system to pick frame
6126 size defaults, defaults to nil.
6128 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather
6129 than duplicated code.
6131 1998-06-15 Colin Rafferty <colin@xemacs.org>
6133 * Makefile.in.in: Made EXTW_LINK expand properly.
6135 1998-06-12 Martin Buchholz <martin@xemacs.org>
6137 * redisplay.c (vars_of_redisplay): default value of
6138 column-number-start-at-one should be NIL!
6140 1998-06-11 Martin Buchholz <martin@xemacs.org>
6143 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar"
6145 1998-06-05 Hrvoje Niksic <hniksic@srce.hr>
6147 * eldap.c (Fldap_search_internal): Use build_ext_string instead of
6148 build_string to avoid crashes under Mule.
6150 1998-06-13 Andy Piper <andyp@parallax.co.uk>
6152 * ntplay.c (play_sound_data_1): don't delete the sound data until
6153 the next sound is played and the previous one finished.
6155 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu>
6157 * fileio.c (directory-sep-char): Escape backslashes.
6159 1998-06-10 Hrvoje Niksic <hniksic@srce.hr>
6161 * event-stream.c: Fix docstring reference.
6163 1998-06-12 Hrvoje Niksic <hniksic@srce.hr>
6165 * alloc.c (make_float): Remove useless initialization of `next'
6167 (make_pure_float): Ditto.
6169 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'.
6171 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6173 * fileio.c (Fmake_directory_internal): Remove conditionals
6174 on WINDOWSNT when calling mkdir.
6176 * ntproc.c: Deleted the following unused functions:
6177 register_child, reap_subprocess, sys_wait.
6179 * nt.c (sys_rename): Ifzeroed this implementation.
6180 Deleted the following unused functions:
6181 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir,
6182 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2,
6183 sys_read, sys_write.
6184 Merger sys_fopen and sys_open with sysdep.c implementation.
6186 * sysdep.c: Removed MS-DOS code.
6187 (sys_rename): Deal with Microsoft rename weirdness.
6188 (sys_open): Implemented for Windows.
6192 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru>
6194 * buffer.c (complex_vars_of_buffer): Removed %t description from
6197 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6199 * scrollbar-msw.c: initialize the cbSize element of the
6200 SCROLLINFO struct before calling SetScrollInfo. WinNT seems
6201 to ignore the value of cbSize, but Win95 (and I presume Win98)
6202 appear to want it set to sizeof(SCROLLINFO).
6204 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru>
6206 * event-stream.c: Defined Qcancel_mode_internal.
6207 (syms_of_event_stream): defsymbol'ed it.
6209 * events.h: Externed it.
6211 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler.
6213 1998-06-04 Oliver Graf <ograf@fga.de>
6215 * frame-x.c (x_cde_destroy_callback): free the data
6216 (cde-start-drag-internal) corrected root position, 21.1 needs this
6217 hardcoded in Button events
6218 (offix-start-drag-internal) corrected root position
6220 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6222 * process-nt.c (signal_cannot_launch): Use signal_simple_error()
6225 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru>
6227 * dialog-msw.c (button_width): Removed `inline' from the function
6230 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com>
6232 * frame-msw.c: add WS_VISIBLE flag to the first frame created.
6233 Note that adding this flag to subsequent frames causes problems.
6235 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6237 * glyphs-eimage.c (png_instantiate) move 'struct
6238 png_memory_storage tbr' out of nested block to avoid dangling
6241 1998-06-02 Andy Piper <andyp@parallax.co.uk>
6244 * faces.c: rename 3d-object -> gui-element. add toolbar face which
6245 inherits from gui-element.
6247 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent
6248 with existing code, generate masks correctly.
6250 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com>
6252 * glyphs-eimage.c: Changed included header for gifs to use
6253 Gifreader instead of giflib.
6255 * glyphs-x.c: removed the image-related functions that were
6256 moved into glyphs-eimage.
6258 1998-06-02 David Bush <david.bush@adnb.alcatel.com>
6260 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free
6261 if built without X Windows support.
6263 1998-06-02 Hrvoje Niksic <hniksic@srce.hr>
6265 * fns.c (Fconcat): Synch docstring with new reality.
6267 1998-06-03 SL Baur <steve@altair.xemacs.org>
6269 * frame.c: Remove reference to msdos.h (which is going away).
6270 Suggested by Hrvoje Niksic and Kirill Katsnelson.
6272 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com>
6274 * glyphs-eimage.c (jpeg_instantiate): Fix handling of
6278 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6280 * events.h: Fixed commentary about misc-user scrollbar events.
6282 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame
6283 object as an event channel, instead of window object.
6284 (x_update_horizontal_scrollbar_callback): Ditto.
6286 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6288 * ntplay.c (play_sound_data_1) new function. convert alloca data
6289 to malloc if necessary.
6290 (play_sound_file): if the file is not in our path then convert to
6293 1998-06-01 SL Baur <steve@altair.xemacs.org>
6295 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy.
6296 * msdos.c (Frecent_doskeys): Ditto.
6298 * unexalpha.c (unexec): Reverse parameters in call to memcpy.
6299 Suggested by Reggie Perry <perry@zso.dec.com>
6301 * buffer.h: Eliminate size in declaration.
6303 1998-06-01 Olivier Galibert <galibert@pobox.com>
6305 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge.
6307 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru>
6309 * gui.c (gui_item_init): Changed the default value for config member
6310 from Qunbound to Qnil.
6312 1998-06-01 Greg Klanderman <greg@alphatech.com>
6314 * indent.c (vmotion_pixels): Don't #define abs().
6316 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6318 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose
6321 1998-05-30 Andy Piper <andyp@parallax.co.uk>
6323 * glyphs.h: add xbm declarations.
6325 * console.h: add xbm_instantiate_method device method.
6327 * glyphs.c (check_valid_xbm_inline) (xbm_validate)
6328 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize)
6329 (xbm_possible_dest_types): moved here from glyphs-x.c. use
6330 locate_pixmap_file device method and read_bitmap_data_from_file
6331 instead of XmuReadBitmapDataFromFile.
6332 (xbm_instatntiate): make a device method.
6334 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file)
6335 new function that just calls XmuReadBitmapDataFromFile.
6336 (x_xbm_instatntiate): device method from xbm_instantiate.
6338 * glyphs-msw.c (read_bitmap_data) (NextInt)
6339 (read_bitmap_data_from_file): new functions copied from Xmu
6341 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert
6342 inline data to an mswindows bitmap.
6343 (init_image_instance_from_xbm_inline) (xbm_instantiate_1)
6344 (mswindows_xbm_instantiate): mswindows-ized versions of the X
6347 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6349 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to
6350 `modeline-visible-p'.
6351 Declared specifier lisp variables at the beginning oh the file
6354 * procimpl.h (struct process_methods): Changed semantics of
6355 create_process method so it accepts lisp strings instead of
6358 * process.c (Fstart_process_internal): Moved building of
6359 unix style argv from here to process-unix.c, ...
6361 * process-unix.c (unix_create_process): ... right here.
6363 * process-nt.c (nt_create_process): Changed this function to
6364 support new semantics, so avoided a GC problem.
6366 * events.c (Fmake_event): Document misc-user events properties.
6367 (Fmake_event): Do not allow arbitrary objects for channel property
6368 of misc-user events.
6369 (Fmake_event): Change misc-user event validation: it is function
6370 which is required, not button.
6372 * event-msw.c (mswindows_user_event_p): Recognize misc user events as
6374 (mswindows_enqueue_misc_user_event): Added function.
6375 (mswindows_bump_queue): Removed function.
6376 (mswindows_enqueue_magic_event): Support NULL HWND parameter.
6377 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event().
6378 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto.
6379 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing
6380 really nothing, which is my personal favorite thing.
6382 * console-msw.h: Removed prototype for mswindows_bump_queue().
6383 Added prototype for mswindows_enqueue_misc_user_event().
6385 * menubar-msw.c (mswindows_handle_wm_command): Use
6386 mswindows_enqueue_misc_user_event().
6388 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6390 * dialog-msw.c (dialog_proc): Ditto.
6392 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto.
6393 (mswindows_handle_scrollbar_event): Use frame, not window, for misc
6394 user events channel.
6396 1998-05-29 Greg Klanderman <greg@alphatech.com>
6398 * window.c (Fwindow_displayed_text_pixel_height): was relying on
6399 incorrect semantics of vmotion_pixels which has been fixed. don't
6400 use it anymore as it can't easily be used.
6402 * indent.c (vmotion_pixels): fix off by one bug moving up. also
6403 the motion was reported incorrectly if you tried to go past end of
6406 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6408 * toolbar.h: Removed misleading commentary, as Martin suggested.
6410 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru>
6412 * lisp.h: Extern Qactivate_menubar_hook.
6414 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to
6417 1998-05-29 Andy Piper <andyp@parallax.co.uk>
6419 * glyphs-msw.c: use BPLINE macro.
6421 * select-msw.c (mswindows-selection-exists-p)
6422 (mswindows-delete-selection): doc string fixes.
6424 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons
6425 unpressable. warning elimination.
6427 1998-05-28 Martin Buchholz <martin@xemacs.org>
6429 * alloc.c (dbg_constants):
6432 Remove toolbar_data debugging code, since that lrecord has
6435 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com>
6437 * alloc.c: zap cached value of (user-home-directory), so that
6440 * buffer.c: From init_buffer(), separated out code that
6441 determined the initial directory for the *scratch* buffer, and
6442 put them into a function called "init_initial_directory()".
6443 The initial directory is now available as a global "char *"
6444 called initial_directory.
6446 * buffer.h: Added extern entries for initial_directory[] and
6447 init_initial_directory().
6449 * editfns.c: added new elisp function "user-home-directory",
6450 which basically returns getenv("HOME"), but attempts to use
6451 other values if $HOME isn't set.This may have to be tweaked in
6452 the future as, under Unix, "/" is used if $HOME isn't set (this
6453 probably should be set to the current directory). To support
6454 this, a new C function, "get_home_directory()", now exists,
6455 which returns the "home directory", as a "char *" string.
6457 * emacs.c: Rearrange NT initialization order so that
6458 environment/registry variables will be properly entered into
6459 Vprocess_enviroment.
6461 * fileio.c: replaced egetenv("HOME") with calls to the new
6462 get_home_directory().
6464 * lisp.h: Added function prototypes for uncache_home_directory()
6465 and get_home_directory(), along with lisp prototypes for
6466 Fuser_home_directory() and friends.
6468 * nt.c: replaced getenv("HOME") with calls to the new
6469 get_home_directory().
6471 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress
6472 warnings about getcwd(), etc. not having prototypes.
6474 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru>
6476 * process-nt.c (send_signal): Emulate SIGHUP.
6477 (validate_signal_number): Ditto.
6479 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally
6480 remove MOD_SHIFT from ASCII characters.
6481 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when
6484 1998-05-24 Oliver Graf <ograf@fga.de>
6486 * frame-x.c (cde-start-drag-internal): added filename and multi-
6488 (x_cde_convert_callback) dito
6490 1998-05-26 Oliver Graf <ograf@fga.de>
6492 * frame-x.c: include event-mod.h also with CDE
6493 (x_cde_convert_callback) made the thing working
6494 (cde-start-drag-internal) also debugging
6496 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de>
6503 - add __OpenBSD__ where __NetBSD__ was found.
6504 - TODO: replace platform-specific conditional compilation by
6505 feature tests in configure.in.
6507 1998-05-15 Greg Klanderman <greg@alphatech.com>
6509 * window.c (Fwindow_displayed_text_pixel_height): New function.
6510 (syms_of_window): DEFSUBR it.
6512 * indent.c (Fvertical_motion_pixels): New function - request
6514 (vmotion_pixels): helper.
6515 (syms_of_indent): DEFSUBR.
6516 * lisp.h: declaration for vmotion_pixels().
6518 * indent.c (Fvertical_motion): Add optional third argument PIXELS,
6519 to request returning motion in pixels.
6520 (Fvertical_motion_pixels): Remove, functionality merged into
6522 * window.c (window_scroll): call Fvertical_motion with 3 arguments.
6523 (Fmove_to_window_line): ditto.
6524 * lisp.h: Change declaration for Fvertical_motion.
6526 * window.c: rename window-text-pixel-{height,width,edges} to
6527 window-text-area-pixel-*.
6529 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de>
6531 * tooltalk.c (vars_of_tooltalk) added staticpro for
6532 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str
6534 1998-05-27 Andy Piper <andyp@parallax.co.uk>
6536 * faces.c: create a new 3d_object_face, make modeline and
6537 vertical_divider faces fallback to this rather than the default.
6539 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6541 * s/cygwin32.h: define charsets for cygwin.
6543 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6545 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes
6546 and coordinates. resize bitmaps if we have already settled on a
6549 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler.
6551 1998-05-25 Hrvoje Niksic <hniksic@srce.hr>
6553 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6555 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6559 * gui-x.c (popup_selection_callback): Ditto.
6561 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback.
6563 * gui.c (get_callback): Renamed to get_gui_callback.
6565 1998-05-17 Martin Buchholz <martin@xemacs.org>
6567 * glyphs.h: order rearrangement.
6569 * device-tty.c (tty_asynch_device_change): Warning suppression.
6570 * device-x.c (x_device_system_metrics): Warning suppression.
6571 Make Doc strings consistent with coding standards.
6573 1998-05-24 Martin Buchholz <martin@xemacs.org>
6575 * general.c: multiple definition of `Qicon'. general.c seems
6576 like a good home for Qicon.
6578 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6580 * This patch is to fix compilation warnings under Windows.
6582 * s/windowsnt.h: Encapsulate getpid with sys_getpid.
6583 Added prototypes for FSF inherited functions, with which XEmacs is
6584 sprinkled thoroughly.
6585 Removed some #if 0 code. Bracketed some more definitions, probably
6586 related to Visual C versions prior to 4 (we do not support them).
6588 * sysfloat.h (logb): Finally, get logb() prototyped.
6590 * sysfile.h: Added Windows specific includes.
6591 Removed old Windows specific code bracketed with #if 0.
6593 * sysdep.h: Added prototype for xrealpath().
6595 * sysdep.c (sys_getpid): Added function, to support '95 negative pids.
6597 * symsinit.h: Added prototypes for syms_of_dired_mswindows,
6598 vars_of_dired_mswindows and init_ntproc (Grrr).
6600 * realpath.c: Added Windows specific include files.
6601 (xrealpath): Conditionalized declaration of some auto variables on
6602 S_IFLNK, to avoid warnings.
6604 * ntproc.c: Disabled some compiler warnings. This file is going to
6605 die, so I have not cleaned it up much.
6606 (set_process_dir): Const parameter.
6607 (Fwin32_short_file_name): Down CHECK_* macros to one argument.
6608 (Fwin32_long_file_name): Ditto.
6609 (Fwin32_set_process_priority): Ditto. Why didn't I remove these
6612 * nt.h: Added prototypes for set_process_dir and convert_time.
6614 * nt.c: More include files.
6615 (getpwnam): Consted char* argument.
6616 (get_emacs_configuration): Const return value.
6617 (opendir): Const argument.
6618 (stat): Casted converstion long->short.
6619 (stat): Removed ad hoc and questionable support for non-MSC compile.
6620 (sys_pipe): Removed unused auto variable.
6621 (_sys_read_ahead): Removed calls to DebPrint.
6622 (sys_read): Ditto, in 2 places.
6623 (term_ntproc): Added unused int parameter to signal handler, to
6624 avoid a warning when compiling a call to signal().
6625 (msw_sigset): Properly return old signandler or NULL instead of void.
6627 * floatfns.c (Flogb): Casted arguments to unary minus to signed.
6629 * gmalloc.c (morecore): Ditto.
6630 (_free_internal): Ditto.
6632 * lread.c (parse_integer): Ditto.
6634 * dired-msw.c: Added several include files.
6636 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List
6637 of Compilers to Shut Up.
6639 * callproc.c: Added #includes to suppress warnings under Windows.
6640 (init_callproc): Removed #if0'ed code and unused variables.
6642 1998-05-25 Andy Piper <andyp@parallax.co.uk>
6644 * device-msw.c (mswindows_device_system_metrics): do planes in a
6645 way consistent with X.
6647 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't
6648 use SetPixel, use DIBits functions.
6649 (xpm_to_eimage): frob colors more closely like xpm deos.
6651 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look
6652 to be closer to X version.
6654 * event-msw.c: use tooltip string directly.
6656 * redisplay-msw.c: reinstate Kirill's bg pixmap change.
6658 * objects-msw.c: frob rgb colors that only Kyle uses.
6660 * dialog-msw.c (button_width): INLINE -> inline.
6662 1998-05-23 SL Baur <steve@altair.xemacs.org>
6664 * getloadavg.c (getloadavg): Fix typo.
6666 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6668 * objects-msw.c (mswindows_initialize_font_instance): Added support
6669 for font character sets.
6670 Replaced 'XXX' with '####' in comments throughout the file.
6672 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru>
6674 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and
6675 console_type_create_dialog_mswindows(), to initialize Windows dialog
6678 * symsinit.h: Prototyped the above functions.
6680 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency
6681 checks to dialog.c...
6683 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a
6684 device must support dialog boxes, and the descriptor must supply at
6687 * dialog-msw.c: New file, dialogs for Windows.
6689 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6691 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing
6692 (Fldap_search_internal): Removed unused variable `err'
6694 * eldap.h: Moved Lisp_LDAP declaration here instead of using a
6697 1998-05-17 Martin Buchholz <martin@xemacs.org>
6699 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is
6700 defined. Therefore there is no need to handle the case when
6701 HAVE_LDAP is undefined. Similarily, there is no reason to have
6702 any code wrapped within `#ifdef emacs', since this code is only
6703 useful within an emacs. This simplifies the code significantly.
6705 * inline.c: Include eldap.h only if HAVE_LDAP.
6706 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h
6709 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru>
6711 * unexnt.c (copy_executable_and_dump_data_section): Suppress
6712 printing dump stats when building without DEBUG_XEMACS.
6713 (dump_bss_and_heap): Ditto.
6715 1998-05-21 Andy Piper <andyp@parallax.co.uk>
6717 * gnuclient.c: don't suppress window system if there is no display
6718 and we are running under mswindows. send 'mswindows device type if
6719 we are in this situation.
6721 1998-05-20 Andy Piper <andyp@parallax.co.uk>
6724 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c.
6726 * glyphs-msw.c: change cursor imgae type name to resource. Fix
6729 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru>
6731 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for
6732 {top,bottom}-{left,right} values in addition to
6733 {top,bottom}_{left,right}.
6735 1998-05-18 Hrvoje Niksic <hniksic@srce.hr>
6737 * fileio.c (Fmake_temp_name): Remove unreached code.
6739 * process-nt.c (validate_signal_number): Use
6740 signal_simple_error().
6742 1998-05-19 Martin Buchholz <martin@xemacs.org>
6745 * sound.c (vars_of_sound):
6746 * sysdep.c (reset_sigio_on_device):
6747 * window.c (window_bottom_gutter_height):
6748 unexhp9k800.c:258: warning: implicit declaration of function
6749 `calculate_checksum'
6750 sound.c:604: warning: implicit declaration of function `vars_of_hpplay'
6751 sysdep.c:1012: warning: unused variable `owner'
6752 window.c:993: warning: `window_right_toolbar_width' defined but not used
6754 1998-05-19 Andy Piper <andyp@parallax.co.uk>
6756 * glyphs-msw.c (mswindows_create_resized_mask)
6757 (mswindows_create_resized_bitmap): new funnctions split out from
6758 mswindows_resize_dibitmap_instance.
6760 * glyphs-msw.h: declare new resize functions.
6762 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize
6763 functions so that the original bitmaps are preserved.
6765 * sheap.c: fixup static heap exhausted error to avoid FAQs.
6767 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg
6768 color if we are trying to output 0 depth bg pixmap.
6770 * scrollbar-msw.c: warning elimination.
6772 1998-05-18 Martin Buchholz <martin@xemacs.org>
6774 * frame-x.c (x_update_frame_external_traits): Start preprocessor
6775 directives in column 1.
6777 * search.c (skip_chars): Avoid using xzero with arrays, since some
6778 compilers get confused by the construct &array.
6780 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6783 * objects-msw.c: Changed the charset value for a new font from
6784 "don't care" to "ansi".
6786 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix.
6788 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6790 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift
6791 modifier on control chars.
6792 Use IsCharAlpha() instead of isaplha().
6794 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp>
6796 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, "").
6798 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6800 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI
6801 charset when creating font.
6802 (mswindows_initialize_color_instance): Do not create brush along
6804 (mswindows_finalize_color_instance): Do not delete it then.
6806 * objects-msw.h (struct mswindows_color_instance_data): Removed
6807 brush slot, and corresponding accessor macro.
6809 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru>
6811 * toolbar.c: Removed toolbar_data lrecord implementation.
6812 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data
6813 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS).
6814 (compute_frame_toolbar_buttons): Ditto.
6815 (CHECK_TOOLBAR): Ditto.
6816 (set_frame_toolbar): Removed allocation of toolbar_data lrecord.
6817 (update_frame_toolbars): Do not check for changed buffer
6818 here. Toolbar information is provided by cached specs in
6819 windows. The check for buffer is eliminated becuase toolbars are
6820 marked changed in set_frame_selected_window() in frame.c
6821 Added check for changed toolbars geometry.
6822 (compute_frame_toolbars_data): Removed unused second parameter;
6823 Adjusted callers of this static function throughout the file.
6824 (init_frame_toolbars): Initialize current_toolbar_size.
6825 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of
6826 what is its current expansion, for clarity.
6827 (init_frame_toolbars): Ditto.
6828 (init_device_toolbars): Ditto.
6829 (init_global_toolbars): Ditto.
6831 * toolbar.h: Removed definition of toolbar_data lrecord.
6832 Added accessor macros FRAME_TOOLBAR_BUTTONS and
6833 FRAME_CURRENT_TOOLBAR_SIZE.
6834 Added macro DEVICE_SUPPORTS_TOOLBARS_P.
6836 * toolbar-x.c (x_output_toolbar): The same change as in
6838 (x_output_toolbar): Ditto.
6839 (x_redraw_exposed_toolbar): Ditto.
6841 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current
6842 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro.
6843 (mswindows_output_toolbar): Ditto.
6844 (mswindows_output_toolbar): Ditto.
6846 * frame.c (mark_frame): Removed marking of arrays, according to
6847 frameslots.h change.
6848 (nuke_all_frame_slots): Ditto.
6849 (set_frame_selected_window): Mark toolbars changed when
6850 last_nonminibuf_window changes.
6852 * frame.h (struct frame): Moved some slots to frameslots.h.
6853 Added current_toolbar_size array.
6854 Changed references from toolbar_data to toolbar_buttons in macros
6855 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE,
6856 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and
6857 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH.
6859 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h
6860 Moved arrays of lisp objects here from frame.h: toolbar_size,
6861 toolbar_visible_p, toolbar_border_width.
6862 Removed toolbar_data slot and added toolbar_buttons.
6864 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru>
6866 * symsinit.h: Externed syms_of_process_nt()
6868 * emacs.c (main_1): Call syms_of_process_nt()
6870 * process-nt.c: Quote process arguments by a call to Lisp function
6871 `nt-quote-process-args'.
6872 (syms_of_process_nt): New function.
6873 (nt_send_process): Flush data stream after each write, to avoid
6874 leaving buffered data.
6875 (nt_send_process): When blocked on process output, wait for
6876 process to slurp more for progressively increasing time intervals.
6878 1998-05-17 Martin Buchholz <martin@xemacs.org>
6880 * window.c (have_undivided_common_edge): Make file-local function
6882 (map_windows): Return 0 if all map functions successful.
6885 * winslots.h: Use unlikely names for local variables in macros to
6886 avoid shadowing warnings.
6888 1998-05-17 Andy Piper <andyp@parallax.co.uk>
6890 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width
6891 so that we re-output if the toolbar size has changed.
6893 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
6895 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
6897 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
6899 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully
6902 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6904 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to
6905 get bitmap manifest constants defined.
6907 * console-msw.h: Include system files in angle brackets, not in
6910 * window.c (specifier_vars_of_window): Fixed a typo in
6911 `vertical-divider-line-width' docstirng.
6913 1998-05-16 Olivier Galibert <galibert@pobox.com>
6915 * line-number.c (delete_invalidate_line_number_cache): Use an
6917 (buffer_line_number): Remove dangerous, plain wrong when using
6918 64bits emacs ints, cast.
6920 * insdel.c (buffer_delete_range): Use an EMACS_INT.
6922 * cmds.c (Fforward_line): Use EMACS_INTs.
6924 * search.c (bi_scan_buffer): Change to use EMACS_INTs.
6925 (scan_buffer): Ditto.
6926 (bi_find_next_newline_no_quit): Remove useless cast.
6927 (find_next_newline_no_quit): Ditto.
6928 (find_next_newline): Ditto.
6929 (find_before_next_newline): Use an EMACS_INT.
6931 * lisp.h: Change scan_buffer to pass EMACS_INTs.
6933 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6935 * menubar-msw.c (mswindows_handle_wm_command): Ditto.
6937 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto.
6939 * gui-x.c (popup_selection_callback): Use it.
6941 * gui.h (get_callback): Declare it.
6943 * gui.c (get_callback): New function.
6945 1998-05-15 SL Baur <steve@altair.xemacs.org>
6947 * window.c (have_undivided_common_edge): Guard scrollbar specific
6949 (window_needs_vertical_divider_1): Ditto.
6951 1998-05-16 Hrvoje Niksic <hniksic@srce.hr>
6953 * emacs.c (decode_path): Eliminate compiler warning.
6954 (Fdecode_path): Renamed to Fsplit_path.
6955 (Fsplit_string_by_char): New function.
6957 1998-05-14 Damon Lipparelli <lipp@primus.com>
6959 * winslots.h: close comment
6961 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru>
6963 * callproc.c: Removed declared and unused variable Qbuffer_file_type.
6965 * bufslots.h: Removed buffer_file_type slot.
6967 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from
6969 (complex_vars_of_buffer): Removed buffer-file-type variable and
6970 its default reference.
6972 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
6974 * faces.c (complex_vars_of_faces): Defined
6975 Vvertical_divider_face.
6976 (vars_of_faces): Staticpro it.
6978 * faces.h: Externed Vvertical_divider_face.
6980 * redisplay-x.c (x_output_vertical_divider): Use
6981 Vvertical_divider_face to draw the divider instead of modeline
6984 * redisplay-msw.c (mswindows_output_vertical_divider): Draw
6985 divider face using Vvertical_divider_face background.
6986 Fix drawing spacing gaps around the divider.
6988 1998-05-14 Didier Verna <verna@inf.enst.fr>
6990 * redisplay-x.c (x_output_vertical_divider): removed hard-wired
6991 values for the vertical divider line width and spacing. Use the
6992 cached values from the window structure instead.
6993 (x_divider_width): ditto.
6995 * window.c (specifier_vars_of_window): new specifiers:
6996 vertical-divier -line-width and -spacing.
6997 (vertical_divider_global_width_changed): formerly known as
6998 vertical_divider_shadow_thickness_changed.
7000 * winslots.h: new slots: vertical_specifier _line_width and
7001 _spacing. Plus corrected a comment typo.
7003 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7005 * window.h: Declared window_divider_width().
7007 * console-stream.c (stream_divider_width): Removed method.
7008 (console_type_create_stream): And declaration for it.
7010 * redisplay.c (pixel_to_glyph_translation): Use
7011 window_divider_width() instead of divider_width redisplay method.
7012 (pixel_to_glyph_translation): Fix top divider edge calculation
7013 when scrollbar is on top.
7015 * window.c (window_divider_width): New function, an outphaser for
7016 divider_width redisplay method.
7017 (window_right_gutter_width): Use it.
7018 (specifier_vars_of_window): For vertical-divider-{spacing,line-width}
7019 specifiers, set fallback values differently on TTYs, and document
7020 the behavior of these on TTYs in the docstrings.
7022 * scrollbar.c (update_scrollbar_instance): Use
7023 window_divider_width() instead of divider_width redisplay method.
7025 * console.h (struct console_methods): Removed divider_width_method.
7027 * redisplay-tty.c (tty_divider_width): Removed device method.
7028 (console_type_create_redisplay_tty): Removed definition for it.
7029 (tty_output_vertical_divider): Respect the value returned by
7030 window_divider_width thus divider line width specification.
7032 * redisplay-msw.c (mswindows_divider_width): Removed device method.
7033 (console_type_create_redisplay_mswindows): Removed definition for it.
7034 (mswinodws_output_vertical_divider): Respect the value returned by
7035 window_divider_width thus divider line width specification.
7037 1998-05-15 Andy Piper <andyp@parallax.co.uk>
7039 * toolbar-msw.c: guess toolbar frame size a bit more accurately.
7041 1998-05-15 Andy Piper <andyp@parallax.co.uk>
7043 * glyphs-msw.c: resource loading implementation.
7044 (cursor_normalize): new function.
7045 (cursor_validate): ditto.
7046 (cursor_instantiate): ditto.
7047 (cursor_name_to_resource): ditto.
7048 (cursor_possible_dest_types): ditto.
7049 (check_valid_symbol): ditto.
7050 (check_valid_string_or_int): ditto.
7052 1998-05-14 Martin Buchholz <martin@xemacs.org>
7054 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like
7057 * process-unix.c (process_signal_char): Use VSUSP instead of
7058 non-standard VSWTCH. Always prefer VSUSP to VSWTCH.
7060 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7062 * specifier.c (specifier_instance): Change locale precedence of
7063 instantiation so window locale has higher priority than buffer
7065 (Fspecifier_instance): Reflect this in docstring.
7066 (Fadd_spec_list_to_specifier): Ditto.
7067 (Fadd_spec_to_specifier): Ditto.
7068 (Fremove_specifier): Ditto.
7070 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7072 ** Dialog separation into a device method from Andy Piper
7074 * emacs.c (main_1): Call console_type_create_dialog_x().
7076 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted
7077 into this device method.
7078 (console_type_create_dialog_x): New function.
7080 * dialog.c (Fpopup_dialog_box): New function.
7081 (syms_of_dialog): Defsubr it.
7083 * console.h (struct console_methods): Declared
7084 popup_dialog_box_method().
7086 * symsinit.h: Defined console_type_create_dialog_{x,mswindows}
7088 1998-05-14 Oliver Graf <ograf@fga.de>
7090 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created
7091 * frame-x.c (x_cde_transfer_callback): checked for merge errors
7093 1998-05-13 Oliver Graf <ograf@fga.de>
7095 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api
7097 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru>
7099 * console.h (device_metrics): Removed dbcs, input-method-editor
7100 and right-to-left metrics.
7102 * device.c (Fdevice_system_metric): Ditto.
7103 (Fdevice_system_metrics): Ditto.
7104 (syms_of_device): Ditto.
7105 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back
7108 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7110 * line-number.h (mark_line_number_cache): Remove unused
7113 * line-number.c (LINE_NUMBER_FAR): Increase to 32768.
7114 (get_nearest_line_number): Simplify.
7115 (add_position_to_cache): Make the old marker point nowhere.
7117 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7119 ** Renamed window-divider-map => vertical-divider-map
7120 and event-over-divider-p => event-over-vertical-divider-p,
7121 in the following files/functions:
7123 * events.c (Fevent_over_divider_p):
7124 * keymap.c (get_relevant_keymaps):
7127 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER.
7129 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER.
7131 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7133 * window.c (vertical_divider_changed_in_window): Renamed so.
7134 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p.
7135 (window_needs_vertical_divider_1): Decide whether we need it based
7136 on the value of the above specifier. If separators are unwanted,
7137 put them only if there's no scrollbar between this window and its
7139 (have_undivided_common_edge): New function, helper for the above.
7140 (window_needs_vertical_divider): Return either a cached value,
7141 or clauclate and cache one.
7142 (invalidate_vertical_divider_cache_in_window): Implemented.
7143 (map_windows): Changed return type to int, return the value from
7146 * window.h: Prototype invalidate_vertical_divider_cache_in_window.
7147 (struct window): Added need_vertical_divider_p and
7148 need_vertical_divider_valid_p.
7150 * winslots.h: Added vertical_divider_draggable_p slot.
7152 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented.
7153 (specifier_vars_of_scrollbar): Used it in all vertical specifiers.
7155 * frame.c (invalidate_vertical_divider_cache_in_frame): New function.
7157 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call
7158 invalidate_vertical_divider_cache_in_frame().
7161 1998-05-14 Andy Piper <andyp@parallax.co.uk>
7163 * toolbar-msw.c: provide correct parameters to TB_SETROWS.
7165 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size
7166 masks correctly and don't select 0.
7168 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7170 * winslots.h: New file, declaration of some struct window and
7171 struct saved_window members.
7173 * window.h (struct window): Include it, with required preprocessor
7176 * window.c (mark_window): Ditto.
7177 (allocate_window): Ditto.
7178 (struct saved_window): Ditto.
7179 (mark_window_config): Ditto.
7180 (saved_window_equal): Ditto.
7181 (Fset_window_configuration): Ditto.
7183 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7185 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix.
7187 1998-05-12 Didier Verna <verna@inf.enst.fr>
7189 * redisplay-x.c (x_output_vertical_divider): draw shadows around
7190 the divider line. The shadow thickness is currently
7191 hard-wired. This will probably be turned into a specifier soon.
7193 1998-05-12 Didier Verna <verna@inf.enst.fr>
7195 * console.h (struct console_methods): the divider_width console
7196 method now requires a struct window * argument.
7198 * redisplay-x.c (x_divider_width): ditto. Plus remove
7199 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS.
7200 (x_output_vertical_divider): give a depressed look when the shadow
7201 thickness is negative.
7203 * console-stream.c (stream_divider_width): pass a struct window *
7206 * redisplay-tty.c (tty_divider_width): ditto.
7208 * window.c (window_right_gutter_width): totdi.
7210 * redisplay.c (generate_modeline): ittod.
7212 * scrollbar.c (update_scrollbar_instance): ttido.
7214 * redisplay-msw.c (mswindows_divider_width): ottid.
7215 WARNING: this enables to compile, but the feature is not functional.
7217 * window.h (struct window): new field
7218 vertical_divider_shadow_thickness.
7220 * window.c (specifier_vars_of_window): new specifier
7221 vertical-divider-shadow-thickness.
7222 (vertical_divider_shadow_thickness_changed): new function to
7223 inform redisplay that the window has changed.
7224 (mark_window): handle new field vertical_divider_shadow_thickness
7226 (allocate_window): ditto.
7227 (saved_window_equal): toddi.
7228 (Fset_window_configuration): totid.
7229 (save_window_save): ttdio.
7230 (struct saved_window): new field vertical_divider_shadow_thickness.
7232 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru>
7234 * device-msw.c (mswindows_device_system_metrics): Support a deluge
7237 1998-05-12 Oliver Graf <ograf@fga.de>
7239 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol
7240 * event-Xt.c (x_event_to_emacs_event): C++ compability
7242 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7244 * emacs.c (Fdecode_path): Default SEPCHAR to value of
7247 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7249 * emacs.c (vars_of_emacs): Do it here; change the meaning of
7252 * fileio.c (vars_of_fileio): Don't define Vpath_separator here.
7254 1998-05-14 Hrvoje Niksic <hniksic@srce.hr>
7256 * emacs.c (decode_path_1): New function.
7257 (decode_path): Use it.
7258 (Fdecode_path): Renamed from Fdecode_path_internal; use
7261 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7263 * macros.c (Fzap_last_kbd_macro_event): New function.
7264 (Fend_kbd_macro): Remove REMOVE_LAST kludge.
7266 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7268 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure
7269 multiple bitmaps are output vertically as well as horizontally.
7270 * (mswindows_output_dibitmap): don't cope with bitmap boundaries
7271 crossing lines this is handled by
7272 mswindows_output_dibitmap_region.
7274 1998-05-12 Martin Buchholz <martin@xemacs.org>
7276 * inline.c: Include eldap.h
7278 * menubar-x.c (x_update_frame_menubar_internal):
7279 Remove: unused variable `container'
7281 1998-05-11 Martin Buchholz <martin@xemacs.org>
7283 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly.
7284 Unfortunately, the resulting temacs still cannot dump.
7286 * symbols.c (symbol_is_constant):
7287 (verify_ok_for_buffer_local):
7288 -Wswitch Warning suppression - add default case to switches.
7290 * redisplay.c (decode_mode_spec): Remove unused variables,
7291 Replace Fcoding_system_property (codesys, Qmnemonic) with
7292 XCODING_SYSTEM_MNEMONIC (codesys);
7293 Fcoding_system_property is for users.
7299 Change empty docstrings into no doc strings at all.
7300 Fix bogus FSF-format docstrings.
7303 Standardize docstrings.
7306 Explain problems with matherr.
7308 * glyphs.c: make DEFUNs etags-readable, i.e. single-line
7311 if BROKEN_SIGIO, then SIGIO wants to be undefined.
7312 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\
7313 Fix the weird resultant interaction (causes windows problems)
7317 Take new EMACSBOOTSTRAPLOADPATH into account.
7318 Update documentation strings
7321 - Adjust for luser's CDPATH being set to something weird.
7322 - Take into account bash 2.02's tendency to print the cwd when
7323 using CDPATH. Always use `cd ./foo' instead of `cd foo'.
7324 - fix the run-temacs target to use $(DUMPENV)
7325 - fix the run-puremacs target to use $(DUMPENV)
7326 - fix the `depend' target to properly $(RM) the right files
7327 - Generate a better TAGS file for XEmacs' lisp code using
7328 hand-crafted regexps.
7329 - Use standard coding conventions for modules/Makefile.in
7331 1998-05-12 Didier Verna <verna@inf.enst.fr>
7333 * redisplay.c: removed the scrolling modeline code that didn't
7334 make it for 21.0. To be continued ...
7336 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
7338 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil
7339 and empty string inputs.
7341 1998-05-12 Hrvoje Niksic <hniksic@srce.hr>
7343 * redisplay-x.c (x_output_vertical_divider): Fixed typo.
7345 1998-05-10 Oliver Graf <ograf@fga.de>
7347 * event-stream.c (enqueue_misc_user_event_pos): created
7348 * lisp.h (enqueue_misc_user_event_pos): prototype added
7349 * frame-x.c (x_cde_transfer_callback): debug code plus API changes
7350 * emacs.c: call vars_of_dragdrop
7351 * dragdrop.c (vars_of_dragdrop): provide dragdrop
7353 1998-05-11 Oliver Graf <ograf@fga.de>
7355 * frame-x.c (x_cde_transfer_callback): return at correct pos
7356 * event-Xt.c (x_event_to_emacs_event): changed format of drop
7357 object for MIME (see comment in dragdrop.c)
7358 * dragdrop.c: API change documented in comment
7359 removed provide of dragdrop [is provided by dragdrop.el]
7361 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7363 * window.c (window_needs_vertical_divider): Enable vertical
7364 dividers for every non-rightmost window.
7365 (window_left_gutter_width): Left gutter consists of mythical
7366 toolbar and a virtual scrollbar.
7367 (window_right_gutter_width): The right one may have a divider
7370 * scrollbar.c (update_scrollbar_instance): Position vertical
7371 scrollbar left to divider if the latter present.
7373 * redisplay.h: Declared OVER_DIVIER constant.
7375 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER
7378 * redisplay-x.c (x_output_vertical_divider): Output divider along
7379 the right side of the window, down to window bottom. Swapped
7380 foreground and background colors so it is visible by default.
7382 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally
7383 stick the divider to the right window side.
7385 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed
7387 (mswindows_divider_width): Ask system for user preferred value.
7388 (mswindows_output_vertical_divider): Always output the divider on
7389 the right side of a window, down to bottom.
7391 * keymap.c (get_relevant_keymaps): Route mouse button events which
7392 happened over a window divider through window-divider-map.
7393 (Fkey_binding): Documented that in the docstring.
7394 Defined the variable Vwindow_divider_map.
7396 * events.c (Fevent_over_divider_p): Added this function.
7398 * events.h: EXFUNed it.
7400 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru>
7402 * toolbar.c (update_frame_toolbars): Re-layout frame windows if
7403 toolbar geometry is suspected to change.
7405 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
7409 Condition dnd and dde code on HAVE_DRAGNDROP.
7411 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7413 * events.c (format_event_object): Print space as SPC etc.
7415 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7417 * print.c (print_internal): In the default case, abort() if
7418 ERROR_CHECK_TYPECHECK.
7420 * fileio.c (Fmake_temp_name): Doc fix.
7422 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7424 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS.
7426 * undo.c (Fprimitive_undo): Fixed typo.
7428 1998-05-11 Hrvoje Niksic <hniksic@srce.hr>
7430 * fns.c (concat): Signal error on integer argument.
7432 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru>
7434 * console.h (device_metrics): Prefixed each constatnt with DM_
7436 * device.c: (Fdevice_system_metric): Renamed so from plural form
7437 (metrics); Changed parameters order and added DEFAULT parameter;
7438 Unabbreviated some metric constants; Fixed and untabified doc string.
7439 (Fdevice_system_metrics): Added. Returns a plist of all provided
7442 * device-msw.c (mswindows_device_system_metrics): Renamed
7443 device_metrics enum constants.
7444 Return Qunbound instead of Qnil.
7446 * device-tty.c (tty_device_system_metrics): Ditto.
7448 * device-x.c (x_device_system_metrics): Ditto.
7450 1998-05-10 Andy Piper <andyp@parallax.co.uk>
7452 * redisplay-msw.c: implement background pixmaps (really!). Make
7453 sure bg color is transparent if we have bg pmaps.
7454 * (mswindows_output_string) (mswindows_clear_region): output bg
7456 * (mswindows_output_dibitmap_region): new function.
7457 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in
7458 the bg color rather than transparently.
7460 * toolbar-msw.c: use masks if they exist.
7462 * glyphs-msw.c: set up masks correctly.
7464 * event-msw.c: typedef SOCKET if cygwin and not msg select().
7466 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7468 * regex.c (re_match_2_internal): Check for quit.
7470 1998-05-10 Hrvoje Niksic <hniksic@srce.hr>
7472 * frame.c (Ffocus_frame): New function.