1 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
5 (Qmorohashi_daikanwa): New variable.
6 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
7 for `morohashi-daikanwa' attribute.
8 (Fget_char_attribute): Likewise.
9 (Fput_char_attribute): Likewise.
10 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
11 has the same value of `ideograph-daikanwa'.
12 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
13 (vars_of_mule_charset): Setup
14 `Vcharacter_morohashi_daikanwa_table'.
16 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
20 (add_charset_to_list_mapper): Add `key' instead of
21 `XCHARSET_NAME (value)' to return aliases.
23 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * mule-charset.c (Vcharacter_ideographic_radical_table): New
27 (Vcharacter_ideographic_strokes_table): New variable.
28 (Qideographic_radical): New variable.
29 (Qideographic_strokes): New variable.
30 (Fchar_attribute_alist): Use
31 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
32 attribute; use `Vcharacter_ideographic_strokes_table' for
33 `ideographic-strokes' attribute.
34 (Fget_char_attribute): Likewise.
35 (Fput_char_attribute): Likewise.
36 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
37 `ideographic-strokes'.
38 (vars_of_mule_charset): Setup
39 `Vcharacter_ideographic_radical_table' and
40 `Vcharacter_ideographic_strokes_table'.
42 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
45 (Qtotal_strokes): New variable.
46 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
47 `total-strokes' attribute.
48 (Fget_char_attribute): Likewise.
49 (Fput_char_attribute): Likewise.
50 (syms_of_mule_charset): Add new symbol `total-strokes'.
51 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
53 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * mule-charset.c (Vcharacter_decomposition_table): New variable.
56 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
58 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
59 `->decomposition' attribute.
60 (Fput_char_attribute): Likewise.
61 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
63 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * mule-charset.c (decoding_table_check_elements): New function.
66 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
68 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
70 * mule-charset.c (Fset_charset_mapping_table): Use
71 `put_char_ccs_code_point'.
73 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
75 * mule-charset.c (decoding_table_put_char): New inline function.
76 (put_char_ccs_code_point): Use `decoding_table_put_char'.
78 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
80 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
81 (XCHARSET_BYTE_SIZE): New macro.
82 (decoding_table_remove_char): New inline function.
83 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
84 `decoding_table_remove_char'.
85 (remove_char_ccs): Use `decoding_table_remove_char'.
86 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
88 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
90 * mule-charset.c (Vcharacter_name_table): New variable.
91 (Qname): New variable.
92 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
94 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
95 `Vcharacter_name_table' for `name' attribute.
96 (Fremove_char_attribute): Use function `remove_char_ccs'.
97 (put_char_ccs_code_point): New function.
98 (remove_char_ccs): New function.
99 (syms_of_mule_charset): Add new symbol `name'.
100 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
102 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
104 * mule-charset.c (make_byte_table): Add new argument `older'.
105 (make_char_id_table): Likewise.
106 (copy_char_id_table): Comment out because it is not used.
107 (put_char_id_table): Modify for `make_byte_table'.
108 (Fput_char_attribute): Make encoding_table as older object;
109 inherit older bit of `Vcharacter_composition_table'.
110 (mark_charset): Don't mark `cs->encoding_table'.
111 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
112 normal object; make `Vcharacter_composition_table' as an older
113 object; delete staticpro for `Vcharacter_composition_table'; make
114 `Vcharacter_variant_table' as a normal object.
116 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
117 (mark_object): Don't check older object in UTF-2000.
119 * lrecord.h (struct lrecord_header): Add new member `older' in
121 (set_lheader_implementation): Setup `SLI_header->older' in
123 (set_lheader_older_implementation): New macro in UTF-2000.
124 (OLDER_RECORD_P): New macro in UTF-2000.
125 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
126 (alloc_older_lcrecord): New prototype in UTF-2000.
127 (alloc_older_lcrecord_type): New macro in UTF-2000.
129 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
131 * mule-charset.c (byte_table_description): Use
132 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
133 (char_id_table_description): Delete bogus `, 1'.
134 (Fget_char_attribute): Refer encoding_table of each coded-charset
135 to get value of coded-charset attribute of a character.
136 (Fput_char_attribute): Use `make_older_vector' instead of
137 `make_vector'; use encoding_table of each coded-charset to store
138 value of coded-charset attribute of a character.
139 (Fremove_char_attribute): Use encoding_table of each coded-charset
140 to store value of coded-charset attribute of a character.
141 (mark_charset): Mark `cs->encoding_table'; don't mark
142 `cs->decoding_table'.
143 (charset_description): Add description of new member
145 (make_charset): Initialize `encoding_table'.
147 * char-ucs.h (struct Lisp_Charset): Add new member
149 (CHARSET_ENCODING_TABLE): New macro.
150 (XCHARSET_ENCODING_TABLE): New macro.
151 (charset_code_point): New implementation.
152 (encode_char_1): Likewise.
154 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
155 (disksave_object_finalization_1): Call finalizers of
156 `all_older_lcrecords' in UTF-2000.
157 (make_older_vector): New function in UTF-2000.
158 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
161 * lisp.h (make_older_vector): New prototype in UTF-2000.
163 2000-05-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * unexelf.c: Sync up with Emacs 20.6.90 to fix problem with most
166 current development versions of binutils.
168 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * lrecord.h (enum lrecord_type): Rename
171 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
173 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
174 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
175 `get_char_code_table'.
177 * mule-charset.c (mark_char_id_table): Renamed from
178 `mark_char_code_table'.
179 (char_id_table_equal): Renamed from `char_code_table_equal'.
180 (char_id_table_hash): Renamed from `char_code_table_hash'.
181 (make_char_id_table): Renamed from `make_char_code_table'.
182 (copy_char_id_table): Renamed from `copy_char_code_table'.
183 (get_char_id_table): Renamed from `get_char_code_table'.
184 (put_char_id_table): Renamed from `put_char_code_table'.
185 (to_char_id): Renamed from `to_char_code'.
187 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
188 `Lisp_Char_Code_Table'.
189 (char_id_table): Renamed from `char_code_table'.
190 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
191 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
192 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
193 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
194 (get_char_id_table): Renamed from `get_char_code_table'.
196 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * lrecord.h (enum lrecord_type): Rename
199 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
201 * mule-charset.c (mark_byte_table): Renamed from
202 `mark_char_byte_table'.
203 (byte_table_equal): Renamed from `char_byte_table_equal'.
204 (byte_table_hash): Renamed from `byte_table_hash'.
205 (make_byte_table): Renamed from `make_byte_table'.
206 (copy_byte_table): Renamed from `copy_char_byte_table'.
208 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
209 `Lisp_Char_Byte_Table'.
210 (byte_table): Renamed from `char_byte_table'.
211 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
212 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
213 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
214 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
216 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
218 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
219 (dfc_convert_to_internal_format): Likewise.
221 * text-coding.c (Fcoding_system_canonical_name_p): New function.
222 * text-coding.c (Fcoding_system_alias_p): New function.
223 * text-coding.c (Fcoding_system_aliasee): New function.
224 * text-coding.c (append_suffix_to_symbol): New function.
225 * text-coding.c (dangling_coding_system_alias_p): New function.
226 * text-coding.c (Ffind_coding_system):
227 * text-coding.c (Fcopy_coding_system):
228 * text-coding.c (encode_coding_no_conversion):
229 * text-coding.c (syms_of_file_coding):
230 * text-coding.c (vars_of_file_coding):
231 Rewrite coding system alias code.
232 Allow nested aliases, like symbolic links.
233 Allow redefinition of coding system aliases.
234 Prevent existence of dangling coding system aliases.
235 Eliminate convert_to_external_format.
236 Eliminate convert_to_internal_format.
238 * text-coding.c: Change enum eol_type to eol_type_t.
240 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
243 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
245 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
246 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
248 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
250 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
251 `ideograph-daikanwa'.
253 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
254 (Vcharset_ucs_bmp): Likewise.
255 (Vcharset_mojikyo): Add new extern variable definition.
256 (Vcharset_latin_iso8859_2): Deleted because it is not used.
257 (Vcharset_latin_iso8859_3): Likewise.
258 (Vcharset_latin_iso8859_4): Likewise.
259 (Vcharset_latin_iso8859_9): Likewise.
260 (Vcharset_latin_viscii_lower): Likewise.
261 (Vcharset_latin_viscii_upper): Likewise.
262 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
263 `mojikyo' code-point is used to decode.
264 (encode_char_2): New function [to convert `mojikyo' code-point to
265 Mojikyo font encoding].
266 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
267 (breakup_char_1): Likewise.
268 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
270 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * text-coding.c (Fmake_coding_system): Add document about
273 `disable-composition' property.
275 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
277 * text-coding.c (Qdisable_composition): New variable; delete
279 (Fmake_coding_system): Add new property `disable-composite';
280 delete property `composite'.
281 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
282 instead of `!CODING_SYSTEM_COMPOSITE'.
283 (syms_of_file_coding): Add new symbol `disable-composition';
284 delete symbol `composite'.
286 * file-coding.h (struct Lisp_Coding_System): Add
287 `disable_composition'; delete `enable_composition'.
288 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
289 `CODING_SYSTEM_COMPOSITE'.
290 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
291 `XCODING_SYSTEM_COMPOSITE'.
293 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
298 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * text-coding.c (Qcomposite): New variable.
301 (Fmake_coding_system): Add new property `composite'.
302 (struct decoding_stream): Add `combined_char_count',
303 `combined_chars' and `combining_table' in UTF-2000.
304 (COMPOSE_FLUSH_CHARS): New macro.
305 (COMPOSE_ADD_CHAR): New macro.
306 (reset_decoding_stream): Reset `str->combined_char_count' and
307 `str->combining_table' in UTF-2000.
308 (decode_coding_iso2022): Modify for character-decomposition.
309 (syms_of_file_coding): Add new symbol `composite'.
311 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
314 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
315 of `Vcharacter_composition_table' if `->decomposition' property
317 (Qlatin_tcvn5712): New variable.
318 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
319 (complex_vars_of_mule_charset): Add new coded-charset
322 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
324 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * file-coding.h (struct Lisp_Coding_System): Add
327 `enable_composition'.
328 (CODING_SYSTEM_COMPOSITE): New macro.
329 (XCODING_SYSTEM_COMPOSITE): New macro.
331 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
333 * mule-canna.c (c2mu): Fix problem with UTF-2000.
335 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
337 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
338 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
340 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
342 * mule-charset.c (Vcharset_mojikyo): New variable.
343 (Fdefine_char): Don't use coded-charset which does not have
344 non-builtin character range to allocate character-id.
345 (Qmojikyo): New variable.
346 (syms_of_mule_charset): Add new symbol `mojikyo'.
347 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
349 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
350 (LEADING_BYTE_MOJIKYO): New macro.
351 (MIN_CHAR_MOJIKYO): New macro.
352 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
353 (MAX_CHAR_MOJIKYO): New macro.
355 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
357 * mule-charset.c (remove_char_attribute): Fixed.
359 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
361 * mule-charset.c (remove_char_attribute): New function.
362 (Fremove_char_attribute): New function.
363 (encode_builtin_char_1): Comment out builtin-support for
364 greek-iso8859-7 and cyrillic-iso8859-5.
365 (Fdecode_char): Check `code' is an integer.
366 (syms_of_mule_charset): Add `remove-char-attribute'.
367 (MIN_CHAR_GREEK): Deleted.
368 (MAX_CHAR_GREEK): Likewise.
369 (MIN_CHAR_CYRILLIC): Likewise.
370 (MAX_CHAR_CYRILLIC): Likewise.
371 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
372 MAX_CHAR_GREEK for `greek-iso8859-7'.
374 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
375 (MAX_CHAR_GREEK): Likewise.
376 (MIN_CHAR_CYRILLIC): Likewise.
377 (MAX_CHAR_CYRILLIC): Likewise.
379 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
381 * mule-charset.c (Fdefine_char): Fix problem when new code-point
382 format is used without `ucs' property.
383 (Fdecode_char): Fix problem with GR representation.
384 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
385 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
387 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
389 * mule-charset.c (make_builtin_char): New function.
390 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
391 (Fset_charset_mapping_table): Modify for new representation of
393 (Fdecode_char): New function.
394 (syms_of_mule_charset): Add new builtin function `decode-char' in
397 * char-ucs.h (make_builtin_char): New prototype.
398 (DECODE_CHAR): New inline function.
399 (MAKE_CHAR): Use `DECODE_CHAR'.
401 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
403 * text-coding.c (parse_charset_conversion_specs): Use
404 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
406 (iso2022_designate): Likewise.
408 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
409 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
411 * mule-charset.c (Vcharset_ucs): New variable.
412 (print_charset): Change design; use `CHARSET_CHARS' and
413 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
414 (make_charset): Change signature to specify `chars' and
415 `dimension' instead of `type'.
416 (range_charset_code_point): Modify for 256^n-set.
417 (encode_builtin_char_1): Encode as `ucs' in default.
418 (Fmake_charset): Modify for `make_charset'.
419 (Fmake_reverse_direction_charset): Likewise.
420 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
422 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
425 * char-ucs.h (Vcharset_ucs): New variable.
426 (LEADING_BYTE_UCS): New macro.
427 (struct Lisp_Charset): Delete `type'; change type of `dimension'
428 and `chars' to `unsigned short' from `unsigned int'.
429 (CHARSET_TYPE): Deleted.
430 (XCHARSET_TYPE): Deleted.
432 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
434 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
436 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
437 (ENCODE_CHAR): New macro.
439 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
441 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
442 to 0.14 (Kawachi-Katakami).
444 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
446 * text-coding.c (char_encode_shift_jis): Modify for
447 `charset_code_point'.
448 (char_encode_iso2022): Likewise.
450 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
451 (integer) instead of list of <Lisp_Object>s (integers) as the
452 format of code-point of a coded-charset.
453 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
454 (encode_builtin_char_1): New function; delete
455 `split_builtin_char'.
456 (charset_code_point): Return <int> instead of <Lisp_Object>.
457 (Fsplit_char): Don't use `SPLIT_CHAR'.
459 * char-ucs.h (encode_builtin_char_1): New prototype; delete
460 prototype for `split_builtin_char'.
461 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
462 (charset_code_point): Likewise.
463 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
464 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
466 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
468 * mule-charset.c (complex_vars_of_mule_charset): Don't define
469 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
471 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
473 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
475 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
476 (MAX_CHAR_OBS_94x94): Deleted.
478 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
480 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
482 * char-ucs.h (MAX_CHAR_BMP): New macro.
484 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
486 * text-coding.c: Sync with r21-2-24.
488 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
490 * file-coding.c: Modify for UTF-2000.
492 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
494 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
497 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
499 * mule-charset.c (split_builtin_char): Delete builtin support for
501 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
502 BMP area in builtin representation.
504 * char-ucs.h (MAKE_CHAR): Delete builtin support for
505 `Vcharset_katakana_jisx0201'.
507 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
509 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
510 (Qisolated): New variable.
511 (Qinitial): New variable.
512 (Qmedial): New variable.
513 (Qfinal): New variable.
514 (Qvertical): New variable.
515 (Qsmall): New variable.
516 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
517 `Qvertical' and `Qsmall'.
518 (Qmojikyo_pj_[1 .. 21]): New variable.
519 (syms_of_mule_charset): Add new symbols `isolated', `initial',
520 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
521 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
524 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
526 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
527 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
528 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
530 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
532 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
533 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
535 (Qjapanese_jisx0208_1990): New variable.
536 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
537 (complex_vars_of_mule_charset): Add new coded-charset
538 `japanese-jisx0208-1990'.
540 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
541 (MIN_CHAR_JIS_X0208_1990): New macro.
542 (MAX_CHAR_JIS_X0208_1990): New macro.
544 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
546 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
547 coded-charset is not found.
549 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
551 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
552 (Fdefine_char): Use `Fmake_char'.
554 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
556 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
557 (Vcharset_hiragana_jisx0208): Deleted.
558 (Vcharset_katakana_jisx0208): Deleted.
559 (Qideograph_daikanwa): New variable.
560 (Qhiragana_jisx0208): Deleted.
561 (Qkatakana_jisx0208): Deleted.
562 (split_builtin_char): Split `ideograph-daikanwa'.
563 (Fsplit_char): New implementation for UTF-2000.
564 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
565 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
566 (complex_vars_of_mule_charset): Add new coded-charset
567 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
570 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
571 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
572 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
573 (MIN_CHAR_DAIKANWA): New macro.
574 (MAX_CHAR_DAIKANWA): New macro.
576 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
578 * data.c (Fstring_to_number): Don't recognize floating point if
581 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
583 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
585 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
587 * mule-charset.c (Qsquare): New variable.
588 (to_char_code): Add `Qsquare'.
589 (syms_of_mule_charset): Add new symbol `square'.
591 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
593 * mule-charset.c (Qcircle): New variable.
594 (to_char_code): Add `Qcircle'.
595 (syms_of_mule_charset): Add new symbol `circle'.
597 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
599 * mule-charset.c (Qfont): New variable.
600 (to_char_code): Add `Qfont'.
601 (syms_of_mule_charset): Add new symbol `font'.
603 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
605 * mule-charset.c (Qsub): New variable.
606 (to_char_code): Add `Qsub'.
607 (syms_of_mule_charset): Add new symbol `sub'.
609 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
611 * mule-charset.c (Fput_char_attribute): Convert each element of
612 VALUE to GL position if ATTRIBUTE is a GR-set,
614 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
616 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
617 coded-charset is a GR-set.
619 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
621 * mule-charset.c (Fput_char_attribute): Check each element of
622 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
624 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
626 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
628 (Qethiopic_ucs): New variable in UTF-2000.
629 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
630 (complex_vars_of_mule_charset): Add new coded-charset
631 `ethiopic-ucs' in UTF-2000.
633 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
634 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
636 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
638 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
640 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
642 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
645 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
647 * mule-charset.c (Vcharacter_variant_table): New variable.
648 (Q_ucs): New variable.
649 (Fchar_variants): New function.
650 (Fput_char_attribute): Register `->ucs' value to
651 `Vcharacter_variant_table'.
652 (syms_of_mule_charset): Add new function `char-variants' and new
654 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
656 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
658 * mule-charset.c (get_char_code_table): Allow negative character
660 (put_char_code_table): Likewise.
661 (Vcharacter_composition_table): New variable.
662 (Q_decomposition): New variable.
663 (Qwide): New variable.
664 (Qnarrow): New variable.
665 (Qcompat): New variable.
666 (QnoBreak): New variable.
667 (Qsuper): New variable.
668 (Qfraction): New variable.
669 (to_char_code): New function.
670 (Fget_composite_char): New function.
671 (Fput_char_attribute): Register `->decomposition' value to
672 `Vcharacter_composition_table'.
673 (syms_of_mule_charset): Add new function `get-composite-char', new
674 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
675 `super' and `fraction'.
676 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
678 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
680 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
681 character; copy the return value.
683 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
685 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
687 * mule-charset.c (range_charset_code_point): Must use make_int.
688 (split_builtin_char): New function.
690 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
692 * mule-charset.c (char_byte_table): Change name from
693 "char-code-table" to "char-byte-table".
694 (mark_char_code_table): New function.
695 (char_code_table_equal): New function.
696 (char_code_table_hash): New function.
697 (char_code_table_description): New constant.
698 (char_code_table): New type.
699 (make_char_code_table): New function.
700 (copy_char_code_table): New function.
701 (get_char_code_table): Modify for `char_code_table' type.
702 (put_char_code_table): Likewise.
703 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
706 * char-ucs.h (char_code_table): New type.
707 (XCHAR_CODE_TABLE): New macro.
708 (XSETCHAR_CODE_TABLE): New macro.
709 (CHAR_CODE_TABLE_P): New macro.
710 (GC_CHAR_CODE_TABLE_P): New macro.
711 (struct Lisp_Char_Code_Table): New structure.
713 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
715 * mule-charset.c (Fmake_charset): Setup byte_offset for
718 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
720 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
723 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
725 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
728 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
730 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
731 charset, it is regarded as a charset.
732 (put_char_attribute): New function in UTF-2000.
733 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
734 charset, mapping-table of the charset is modified.
735 (Fdefine_char): New function in UTF-2000.
736 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
737 `Fput_char_attribute'.
738 (syms_of_mule_charset): Add new function `define-char' and new
739 symbol `ucs' in UTF-2000.
740 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
742 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
744 * mule-charset.c (Fcharset_name): Define `byte_offset' in
745 non-UTF-2000 configuration.
747 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
749 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
750 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
752 * mule-charset.c (mark_charset): `cs->encoding_table' has been
754 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
755 (Fset_charset_mapping_table): Likewise.
757 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
758 (CHARSET_ENCODING_TABLE): Delete.
759 (XCHARSET_ENCODING_TABLE): Delete.
760 (charset_code_point): New interface.
762 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
764 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
765 instead of `charset_get_byte1' and `charset_get_byte2'.
767 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
768 (charset_get_byte2): Deleted.
770 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
772 * char-ucs.h (SPLIT_CHAR): New inline function.
773 (breakup_char_1): Use `SPLIT_CHAR'.
775 * mule-charset.c (range_charset_code_point): New function.
776 (charset_code_point): New function.
778 * char-ucs.h (range_charset_code_point): New interface.
779 (breakup_char_1): Use `range_charset_code_point'.
781 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
783 * mule-charset.c (Fmake_charset): Delete unused local variable
786 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
787 (breakup_char_1): Find a charset and code-point in
788 `Vcharacter_attribute_table'.
790 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
792 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
795 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
797 * mule-charset.c (Vcharacter_attribute_table): New variable.
798 (Fchar_attribute_alist): New function.
799 (Fget_char_attribute): New function.
800 (Fput_char_attribute): New function.
801 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
803 (syms_of_mule_charset): Add new function `char-attribute-alist',
804 `get-char-attribute' and `put-char-attribute'.
805 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
807 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
809 * mule-charset.c (Fmake_charset): Just use
810 `get_unallocated_leading_byte'.
812 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
813 sets; don't use final-byte based number for private sets.
815 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
817 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
820 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
822 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
825 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
827 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
828 of `CHAR_LEADING_BYTE' in UTF-2000.
830 * insdel.c (find_charsets_in_bufbyte_string): Use
831 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
832 (find_charsets_in_emchar_string): Likewise.
834 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
835 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
837 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
838 (CHAR_CHARSET_ID): New macro.
840 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
842 * chartab.c (get_char_table): Don't use type `Charset_ID' for
843 charset-id - MIN_LEADING_BYTE.
844 (put_char_table): Likewise.
846 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
848 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
849 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
850 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
851 (CHARSET_ID_OFFSET): New macro.
852 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
853 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
854 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
855 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
857 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
859 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
860 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
861 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
862 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
863 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
865 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
867 * mule-charset.c (next_allocated_leading_byte): New variable in
869 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
870 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
871 (get_unallocated_leading_byte): Simply use
872 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
873 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
876 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
877 (MAX_LEADING_BYTE_PRIVATE): New macro.
878 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
879 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
881 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
883 * mule-charset.c (Fmake_charset): Allocate final-byte based
884 charset-id for 94-set, 96-set and 94x94-set.
886 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
888 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
890 (Fmake_charset): Likewise.
891 (complex_vars_of_mule_charset): Modify the font registry of
892 `ucs-bmp' not to match `Ethiopic-Unicode'.
894 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
896 * mule-charset.c (complex_vars_of_mule_charset): Add font
897 registory of `ucs-bmp'.
899 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
901 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
902 coded-charsets in `default-coded-charset-priority-list' when
903 breaking up a character.
905 * mule-charset.c (Vcharset_latin_viscii): New variable.
906 (Qlatin_viscii): New variable.
907 (make_charset): Don't use `decoding_table'.
908 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
910 (Fset_charset_mapping_table): New implementation.
911 (syms_of_mule_charset): Add new symbol `latin-viscii'.
912 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
913 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
914 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
915 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
916 charset `latin_viscii'.
918 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
919 (CHARSET_TYPE_94X94): Change to 1 from 2.
920 (CHARSET_TYPE_96): Change to 2 from 1.
921 (CHARSET_TYPE_128): New macro.
922 (CHARSET_TYPE_128X128): Change to 5 from 4.
923 (CHARSET_TYPE_256): New macro.
924 (CHARSET_TYPE_256X256): Change to 7 from 5.
925 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
927 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
929 * text-coding.c (char_encode_shift_jis): Refer
930 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
931 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
933 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
934 (char_byte_table_equal): New function in UTF-2000.
935 (char_byte_table_hash): New function in UTF-2000.
936 (char_byte_table_description): New constant in UTF-2000.
937 (char_byte_table): New type in UTF-2000.
938 (make_char_byte_table): New function in UTF-2000.
939 (copy_char_byte_table): New function in UTF-2000.
940 (make_char_code_table): New macro in UTF-2000.
941 (get_char_code_table): New function in UTF-2000.
942 (put_char_code_table): New function in UTF-2000.
943 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
944 (charset_description): Add setting in UTF-2000.
945 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
946 `CHARSET_TO_BYTE1_TABLE(cs)'.
947 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
948 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
949 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
950 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
951 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
952 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
953 `CHARSET_TO_BYTE2_TABLE(cs)'.
955 * char-ucs.h (char_byte_table): New type.
956 (XCHAR_BYTE_TABLE): New macro.
957 (XSETCHAR_BYTE_TABLE): New macro.
958 (CHAR_BYTE_TABLE_P): New macro.
959 (GC_CHAR_BYTE_TABLE_P): New macro.
960 (struct Lisp_Char_Byte_Table): New structure.
961 (get_char_code_table): New interface.
962 (Emchar_to_byte_table): Deleted.
963 (get_byte_from_character_table): Deleted.
964 (struct Lisp_Charset): Add `encoding_table'; delete
965 `to_byte1_table' and `to_byte2_table'.
966 (CHARSET_ENCODING_TABLE): New macro.
967 (CHARSET_TO_BYTE1_TABLE): Deleted.
968 (CHARSET_TO_BYTE2_TABLE): Deleted.
969 (XCHARSET_ENCODING_TABLE): New macro.
970 (XCHARSET_TO_BYTE1_TABLE): Deleted.
971 (XCHARSET_TO_BYTE2_TABLE): Deleted.
973 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
975 * mule-charset.c (syms_of_mule_charset): Delete charset alias
976 `vietnamese-viscii-*'.
978 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
980 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
981 (Qvietnamese_viscii_upper): New variable.
982 (Fdefine_charset_alias): New function.
983 (syms_of_mule_charset): Add new function `define-charset-alias'.
984 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
985 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
988 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
990 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
991 (MAX_CHAR_OBS_94x94): New macro.
992 (breakup_char_1): Support obsolete XEmacs-UCS private code space
995 * mule-charset.c (put_byte_from_character_table): Change unit size
997 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
999 (Fmake_reverse_direction_charset): Modify dummy argument of
1000 `make_charset' for non-UTF-2000 environment.
1002 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1004 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
1006 * mule-charset.c (destroy_byte_from_character_table): New macro.
1007 (latin_jisx0201_to_ucs): Deleted.
1008 (latin_iso8859_2_to_ucs): Deleted.
1009 (latin_iso8859_3_to_ucs): Deleted.
1010 (latin_iso8859_4_to_ucs): Deleted.
1011 (latin_iso8859_9_to_ucs): Deleted.
1012 (latin_viscii_lower_to_ucs): Deleted.
1013 (latin_viscii_upper_to_ucs): Deleted.
1014 (mark_charset): Mark `cs->decoding_table'.
1015 (Fcharset_mapping_table): Fix DOC-string.
1016 (Fset_charset_mapping_table): New function.
1017 (syms_of_mule_charset): Add nwe function
1018 `set-charset-mapping-table'.
1019 (complex_vars_of_mule_charset): Don't setup and use
1022 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
1024 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
1027 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
1029 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
1030 (Vcharset_katakana_jisx0208): New variable.
1031 (Qhiragana_jisx0208): New variable.
1032 (Qkatakana_jisx0208): New variable.
1033 (make_charset): Add new argument `byte_offset'.
1034 (charset_get_byte1): Modify for new coded-charset definition; use
1035 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1036 `XCHARSET_BYTE_OFFSET'.
1037 (Fmake_charset): Modify for `make_charset'.
1038 (Fmake_reverse_direction_charset): Likewise.
1039 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
1040 `katakana-jisx0208'.
1041 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
1042 `.' in font registry of charset `katakana-jisx0201',
1043 `latin-jisx0201', `vietnamese-viscii-lower' and
1044 `vietnamese-viscii-upper'; modify DOC-string of charset
1045 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
1046 registry of charset `japanese-jisx0208' not to use font for JIS
1047 X0208:1990; add new charset `hiragana-jisx0208' and
1048 `katakana-jisx0208'.
1050 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
1051 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
1052 (struct Lisp_Charset): Add `byte_offset'.
1053 (CHARSET_BYTE_OFFSET): New macro.
1054 (XCHARSET_UCS_MIN): New macro.
1055 (XCHARSET_UCS_MAX): New macro.
1056 (XCHARSET_CODE_OFFSET): New macro.
1057 (XCHARSET_BYTE_OFFSET): New macro.
1058 (MIN_CHAR_HIRAGANA): New macro.
1059 (MAX_CHAR_HIRAGANA): New macro.
1060 (MIN_CHAR_KATAKANA): New macro.
1061 (MAX_CHAR_KATAKANA): New macro.
1062 (MAKE_CHAR): Modify for new coded-charset definition; use
1063 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1064 `XCHARSET_BYTE_OFFSET'.
1066 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1068 * mule-charset.c (CHAR96): Deleted.
1069 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
1071 (latin_iso8859_2_to_ucs): Likewise.
1072 (latin_iso8859_3_to_ucs): Likewise.
1073 (latin_iso8859_4_to_ucs): Likewise.
1074 (latin_iso8859_9_to_ucs): Likewise.
1075 (latin_viscii_lower_to_ucs): Likewise.
1076 (latin_viscii_upper_to_ucs): Likewise.
1077 (latin_tcvn5712_to_ucs): Commented out.
1078 (make_charset): Change type of argument `decoding_table' from
1079 <Emchar*> to <Lisp_Object> [vector of characters].
1080 (Fmake_charset): Modify for `make_charset'.
1081 (Fmake_reverse_direction_charset): Likewise.
1082 (Fcharset_mapping_table): New function in UTF-2000.
1083 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
1085 (complex_vars_of_mule_charset): Modify for type change of
1086 `*_to_ucs'; modify for `make_charset'.
1088 * char-ucs.h (struct Lisp_Charset): Change type of
1089 `decoding_table' from <Emchar*> to <Lisp_Object>.
1090 (MAKE_CHAR): Modify for new specification of `decoding_table'.
1092 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1094 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
1095 error with non-UTF-2000-Mule.
1097 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
1099 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
1101 (Vcharset_chinese_cns11643_4): Likewise.
1102 (Vcharset_chinese_cns11643_5): Likewise.
1103 (Vcharset_chinese_cns11643_6): Likewise.
1104 (Vcharset_chinese_cns11643_7): Likewise.
1105 (Qchinese_cns11643_3): Likewise.
1106 (Qchinese_cns11643_4): Likewise.
1107 (Qchinese_cns11643_5): Likewise.
1108 (Qchinese_cns11643_6): Likewise.
1109 (Qchinese_cns11643_7): Likewise.
1110 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
1111 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1112 and `chinese-cns11643-7' to lisp/mule/chinese.el.
1113 (complex_vars_of_mule_charset): Likewise.
1115 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1117 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
1119 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
1120 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
1122 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1124 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
1126 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
1127 (breakup_char_1): Likewise.
1129 * text-coding.c (char_encode_iso2022): Keep designated charsets if
1130 one of them includes the specified character.
1132 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1134 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
1136 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1138 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
1140 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1142 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
1143 definition for non-UTF-2000 Mule.
1144 (latin_iso8859_3_to_ucs): Likewise.
1145 (latin_iso8859_4_to_ucs): Likewise.
1146 (latin_iso8859_9_to_ucs): Likewise.
1147 (latin_jisx0201_to_ucs): Likewise.
1148 (MIN_CHAR_THAI): Likewise.
1149 (MAX_CHAR_THAI): Likewise.
1150 (MIN_CHAR_GREEK): Likewise.
1151 (MAX_CHAR_GREEK): Likewise.
1152 (MIN_CHAR_HEBREW): Likewise.
1153 (MAX_CHAR_HEBREW): Likewise.
1154 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
1155 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
1156 (MIN_CHAR_CYRILLIC): Likewise.
1157 (MAX_CHAR_CYRILLIC): Likewise.
1159 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1161 * char-ucs.h (breakup_char_1): Use
1162 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
1163 thai-tis620 and katakana-jisx0201 area.
1165 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1167 * char-ucs.h (breakup_char_1): Use
1168 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
1171 * text-coding.c (reset_encoding_stream): Fixed.
1172 (char_encode_ucs4): Delete `& 255'.
1174 * char-ucs.h (breakup_char_1): Use
1175 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
1177 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1179 * file-coding.c (Fmake_coding_system): Don't set up
1180 `codesys->fixed.size'.
1181 (encode_coding_no_conversion): Don't refer
1182 `str->codesys->fixed.size'.
1184 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1186 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
1187 (latin_a_char_to_byte1): Deleted.
1188 (latin_a_char_to_byte2): Deleted.
1190 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1192 * mule-charset.c (make_charset): Add new argument `ucs_min',
1193 `ucs_max' and `code_offset'.
1194 (charset_get_byte1): New implementation [delete specific charset
1195 depended implementations].
1196 (Fmake_charset): Modify for `make_charset'.
1197 (Fmake_reverse_direction_charset): Likewise.
1198 (complex_vars_of_mule_charset): Likewise.
1200 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
1202 (CHARSET_UCS_MIN): New macro.
1203 (CHARSET_UCS_MAX): New macro.
1204 (CHARSET_CODE_OFFSET): New macro.
1205 (MAKE_CHAR): Delete charset depended definitions [except
1208 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1210 * char-ucs.h (breakup_char_1): Use
1211 `Vdefault_coded_charset_priority_list' for C0-Controls,
1212 Basic-Latin, C1-Controls and Latin-1-Supplement area.
1214 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1216 * char-ucs.h (charset_get_byte1): New function.
1217 (XCHARSET_GET_BYTE1): Deleted.
1218 (charset_get_byte2): New function.
1219 (XCHARSET_GET_BYTE2): Deleted.
1220 (Vdefault_coded_charset_priority_list): New external variable.
1221 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
1222 `Vdefault_preferred_coded_charset_list'.
1224 * mule-charset.c (charset_get_byte1): New function.
1225 (charset_get_byte2): New function.
1226 (Vdefault_coded_charset_priority_list): New variable.
1227 (vars_of_mule_charset): Add new variable
1228 `default-coded-charset-priority-list'.
1230 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1232 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
1233 (XCHARSET_GET_BYTE2): New inline function.
1234 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
1235 `XCHARSET_GET_BYTE2'.
1237 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1239 * mule-charset.c (make_charset): Initialize
1240 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
1241 NULL if table is not defined.
1243 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1245 * text-coding.c (char_encode_shift_jis): Use
1246 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
1247 `ucs_to_latin_jisx0201'.
1249 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
1250 (ucs_to_latin_iso8859_2): Deleted.
1251 (ucs_to_latin_iso8859_3): Deleted.
1252 (ucs_to_latin_iso8859_4): Deleted.
1253 (ucs_to_latin_iso8859_9): Deleted.
1254 (ucs_to_latin_viscii_lower): Deleted.
1255 (ucs_to_latin_viscii_upper): Deleted.
1256 (ucs_to_latin_tcvn5712): Deleted.
1257 (make_charset): Add new argument `decoding_table'; set up
1258 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
1259 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
1260 `decoding_table' is defined in UTF-2000.
1261 (Fmake_charset): Modify for `make_charset'.
1262 (Fmake_reverse_direction_charset): Likewise.
1263 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
1264 and `GENERATE_96_SET'.
1266 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
1267 (ucs_to_latin_jisx0201): Deleted.
1268 (latin_iso8859_2_to_ucs): Deleted.
1269 (ucs_to_latin_iso8859_2): Deleted.
1270 (latin_iso8859_3_to_ucs): Deleted.
1271 (ucs_to_latin_iso8859_3): Deleted.
1272 (latin_iso8859_4_to_ucs): Deleted.
1273 (ucs_to_latin_iso8859_4): Deleted.
1274 (latin_iso8859_9_to_ucs): Deleted.
1275 (ucs_to_latin_iso8859_9): Deleted.
1276 (latin_viscii_lower_to_ucs): Deleted.
1277 (ucs_to_latin_viscii_lower): Deleted.
1278 (latin_viscii_upper_to_ucs): Deleted.
1279 (ucs_to_latin_viscii_upper): Deleted.
1280 (struct Lisp_Charset): Renamed `encoding_table' to
1281 `to_byte1_table'; add `to_byte2_table'.
1282 (CHARSET_DECODING_TABLE): New macro.
1283 (CHARSET_TO_BYTE1_TABLE): New macro.
1284 (CHARSET_TO_BYTE2_TABLE): New macro.
1285 (XCHARSET_DECODING_TABLE): New macro.
1286 (XCHARSET_TO_BYTE1_TABLE): New macro.
1287 (XCHARSET_TO_BYTE2_TABLE): New macro.
1288 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
1290 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
1291 don't use `ucs_to_*' tables.
1293 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1295 * text-coding.c (Fmake_coding_system): Don't set up
1296 `codesys->fixed.size'.
1297 (encode_coding_no_conversion): Use `if' instead of `switch'.
1299 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
1301 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1303 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
1304 (Fmake_charset): Modify for `make_charset'.
1305 (Fmake_reverse_direction_charset): Likewise.
1306 (complex_vars_of_mule_charset): Likewise.
1308 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1310 * text-coding.c (char_encode_shift_jis): Use table
1311 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
1313 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1315 * text-coding.c (text_encode_generic): Use `if' instead of
1317 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
1320 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1322 * text-coding.c (encode_coding_sjis): Deleted.
1323 (char_encode_shift_jis): New function.
1324 (char_finish_shift_jis): New function.
1325 (reset_encoding_stream): Set up `encode_char' and `finish' for
1326 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
1327 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
1328 (char_encode_utf8): Treat `eol_type'.
1330 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1332 * file-coding.c (decode_coding_iso2022): Use
1333 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
1335 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1337 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1340 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1342 * char-lb.h (CHAR_COLUMNS): New macro.
1344 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1346 * text-coding.c (char_encode_ucs4): New function.
1347 (char_finish_ucs4): New function.
1348 (encode_coding_ucs4): Deleted.
1349 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
1350 (text_encode_generic): Delete local variable `charset' and `half'.
1351 (ucs_to_mule_table): Deleted.
1352 (mule_to_ucs_table): Deleted.
1353 (Fset_ucs_char): Deleted.
1354 (ucs_to_char): Deleted.
1355 (Fucs_char): Deleted.
1356 (Fset_char_ucs): Deleted.
1357 (Fchar_ucs): Deleted.
1358 (decode_ucs4): Deleted.
1359 (mule_char_to_ucs4): Deleted.
1360 (encode_ucs4): Deleted.
1361 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
1362 (decode_coding_utf8): Likewise.
1363 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
1364 (char_encode_iso2022): Fixed.
1365 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
1366 `Fset_char_ucs' and `Fchar_ucs'.
1367 (complex_vars_of_file_coding): Don't initialize
1368 `ucs_to_mule_table'.
1370 * objects-tty.c (tty_initialize_font_instance): Don't use
1373 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
1376 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
1377 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1379 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
1380 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1381 (emchar_string_displayed_columns): Likewise.
1383 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
1384 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
1385 (string_column_at_point): Likewise.
1386 (Fmove_to_column): Likewise.
1388 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
1389 `encoding_table' and `decoding_table'.
1390 (CHARSET_REP_BYTES): Deleted.
1391 (XCHARSET_REP_BYTES): Deleted.
1392 (XCHARSET_COLUMNS): Deleted.
1393 (CHAR_COLUMNS): New macro.
1394 (lookup_composite_char): Deleted unconditionally.
1395 (composite_char_string): Likewise.
1397 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1399 * char-ucs.h (Emchar_to_byte_table): New type.
1400 (get_byte_from_character_table): New function interface.
1401 (Vcharset_latin_jisx0201): New variable.
1402 (latin_jisx0201_to_ucs): New variable.
1403 (ucs_to_latin_jisx0201): New variable.
1404 (Vcharset_latin_iso8859_2): New variable.
1405 (latin_iso8859_2_to_ucs): New variable.
1406 (ucs_to_latin_iso8859_2): New variable.
1407 (Vcharset_latin_iso8859_3): New variable.
1408 (latin_iso8859_3_to_ucs): New variable.
1409 (ucs_to_latin_iso8859_3): New variable.
1410 (Vcharset_latin_iso8859_4): New variable.
1411 (latin_iso8859_4_to_ucs): New variable.
1412 (ucs_to_latin_iso8859_4): New variable.
1413 (Vcharset_latin_iso8859_9): New variable.
1414 (latin_iso8859_9_to_ucs): New variable.
1415 (ucs_to_latin_iso8859_9): New variable.
1416 (Vcharset_latin_viscii_lower): New variable.
1417 (latin_viscii_lower_to_ucs): New variable.
1418 (ucs_to_latin_viscii_lower): New variable.
1419 (Vcharset_latin_viscii_upper): New variable.
1420 (latin_viscii_upper_to_ucs): New variable.
1421 (ucs_to_latin_viscii_upper): New variable.
1422 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
1423 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
1424 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
1425 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
1426 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
1427 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
1428 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
1429 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
1430 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
1431 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
1433 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
1434 (Vcharset_latin_viscii_upper): New variable.
1435 (make_byte_from_character_table): New function.
1436 (put_byte_from_character_table): New function.
1437 (get_byte_from_character_table): New function.
1438 (CHAR96): New macro.
1439 (ucs_to_latin_jisx0201): New variable.
1440 (latin_jisx0201_to_ucs): New variable.
1441 (ucs_to_latin_iso8859_2): New variable.
1442 (latin_iso8859_2_to_ucs): New variable.
1443 (ucs_to_latin_iso8859_3): New variable.
1444 (latin_iso8859_3_to_ucs): New variable.
1445 (ucs_to_latin_iso8859_4): New variable.
1446 (latin_iso8859_4_to_ucs): New variable.
1447 (ucs_to_latin_iso8859_9): New variable.
1448 (latin_iso8859_9_to_ucs): New variable.
1449 (ucs_to_latin_viscii_lower): New variable.
1450 (latin_viscii_lower_to_ucs): New variable.
1451 (ucs_to_latin_viscii_upper): New variable.
1452 (latin_viscii_upper_to_ucs): New variable.
1453 (ucs_to_latin_tcvn5712): New variable.
1454 (latin_tcvn5712_to_ucs): New variable.
1455 (Qlatin_viscii_lower): New variable.
1456 (Qlatin_viscii_upper): New variable.
1457 (syms_of_mule_charset): Set up new symbol
1458 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
1459 (complex_vars_of_mule_charset): Set up new charset
1460 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
1461 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
1462 `ucs_to_<CHARSET>' tables.
1464 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1466 * text-coding.c: New file.
1468 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1470 * mule-charset.c (Fmake_char): Fix problem of 256-set.
1472 * char-ucs.h (Vcharset_ucs_bmp): New variable.
1473 (MAKE_CHAR): Modify for `ucs-bmp'.
1474 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
1475 non-MULE characters of BMP.
1477 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
1479 * mule-charset.c (vars_of_mule_charset):
1480 Update `utf-2000-version' to 0.6.
1482 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
1485 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
1486 - Include character.h for `CHAR_ASCII_P'.
1488 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
1490 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
1491 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
1493 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
1494 (BYTE_C0_P): Likewise.
1495 (BYTE_C1_P): Likewise.
1496 (Lstream_get_emchar_1): Likewise.
1497 (Lstream_fput_emchar): Likewise.
1498 (Lstream_funget_emchar): Likewise.
1499 (copy_internal_to_external): Likewise.
1500 (copy_external_to_internal): Likewise.
1502 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
1503 (BYTE_C0_P): Likewise.
1504 (BYTE_C1_P): Likewise.
1505 (Lstream_get_emchar_1): Likewise.
1506 (Lstream_fput_emchar): Likewise.
1507 (Lstream_funget_emchar): Likewise.
1508 (copy_internal_to_external): Likewise.
1509 (copy_external_to_internal): Likewise.
1511 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
1512 (REP_BYTES_BY_FIRST_BYTE): Likewise.
1514 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
1515 (BYTE_ASCII_P): Moved to mb-1byte.h.
1517 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
1519 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
1521 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
1522 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
1523 (VALID_CHARPTR_P): Moved to mb-*byte.h.
1524 (VALIDATE_CHARPTR_BACKWARD): Likewise.
1525 (VALIDATE_CHARPTR_FORWARD): Likewise.
1526 (simple_charptr_emchar): Moved to mb-multibyte.h.
1527 (simple_set_charptr_emchar): Likewise.
1528 (simple_charptr_copy_char): Likewise.
1529 (non_ascii_charptr_emchar): Likewise.
1530 (non_ascii_set_charptr_emchar): Likewise.
1531 (non_ascii_charptr_copy_char): Likewise.
1532 (charptr_emchar): Moved to mb-*byte.h.
1533 (set_charptr_emchar): Likewise.
1534 (charptr_copy_char): Likewise.
1536 * mb-1byte.h, mb-multibyte.h: New files.
1538 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1540 * mb-utf-8.h (MULTIBYTE): New macro.
1541 (MAX_EMCHAR_LEN): Moved from buffer.h.
1542 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
1544 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
1546 * mb-lb.h, multibyte.h: New files.
1548 * char-1byte.h (Charset_ID): Moved from buffer.h.
1549 (MIN_LEADING_BYTE): Likewise.
1550 (LEADING_BYTE_ASCII): Likewise.
1551 (NUM_LEADING_BYTES): Likewise.
1552 (CHARSETP): Likewise.
1553 (CHARSET_BY_LEADING_BYTE): Likewise.
1554 (XCHARSET_LEADING_BYTE): Likewise.
1555 (XCHARSET_GRAPHIC): Likewise.
1556 (XCHARSET_COLUMNS): Likewise.
1557 (XCHARSET_DIMENSION): Likewise.
1558 (CHAR_CHARSET): Likewise.
1559 (CHAR_LEADING_BYTE): Likewise.
1560 (BREAKUP_CHAR): Likewise.
1561 (Vcharset_ascii): Likewise.
1563 * buffer.h: Include multibyte.h unconditionally.
1564 (VALID_CHARPTR_P): Moved to multibyte.h.
1565 (ASSERT_VALID_CHARPTR): Likewise.
1566 (REAL_INC_CHARPTR): Likewise.
1567 (REAL_INC_CHARBYTIND): Likewise.
1568 (REAL_DEC_CHARPTR): Likewise.
1569 (INC_CHARPTR): Likewise.
1570 (INC_CHARBYTIND): Likewise.
1571 (DEC_CHARPTR): Likewise.
1572 (VALIDATE_CHARPTR_BACKWARD): Likewise.
1573 (VALIDATE_CHARPTR_FORWARD): Likewise.
1574 (charptr_n_addr): Likewise.
1575 (MAX_EMCHAR_LEN): Moved to mb-*.h.
1576 (simple_charptr_emchar): Moved to multibyte.h.
1577 (simple_set_charptr_emchar): Likewise.
1578 (simple_charptr_copy_char): Likewise.
1579 (non_ascii_charptr_emchar): Likewise.
1580 (non_ascii_set_charptr_emchar): Likewise.
1581 (non_ascii_charptr_copy_char): Likewise.
1582 (charptr_emchar): Likewise.
1583 (set_charptr_emchar): Likewise.
1584 (charptr_copy_char): Likewise.
1585 (charptr_emchar_n): Likewise.
1586 (Charset_ID): Moved to char-1byte.h.
1587 (Vcharset_ascii): Likewise.
1588 (CHAR_CHARSET): Likewise.
1589 (CHAR_LEADING_BYTE): Likewise.
1590 (LEADING_BYTE_ASCII): Likewise.
1591 (NUM_LEADING_BYTES): Likewise.
1592 (MIN_LEADING_BYTE): Likewise.
1593 (CHARSETP): Likewise.
1594 (CHARSET_BY_LEADING_BYTE): Likewise.
1595 (XCHARSET_LEADING_BYTE): Likewise.
1596 (XCHARSET_GRAPHIC): Likewise.
1597 (XCHARSET_COLUMNS): Likewise.
1598 (XCHARSET_DIMENSION): Likewise.
1599 (BREAKUP_CHAR): Likewise.
1601 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1603 * character.h: Add document about interface for characters.
1605 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
1606 (MAKE_CHAR): Delete comment about
1607 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
1608 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
1609 (BREAKUP_CHAR): Modify name of arguments.
1610 (CHAR_CHARSET): Modify name of argument.
1612 * buffer.h: Delete document about Emchar accessors.
1614 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1616 * character.h (CHAR_INTP): Moved from buffer.h
1617 (CHAR_OR_CHAR_INTP): Likewise.
1618 (XCHAR_OR_CHAR_INT): Likewise.
1619 (CHECK_CHAR_COERCE_INT): Likewise.
1621 * buffer.h (CHAR_INTP): Moved to character.h
1622 (CHAR_OR_CHAR_INTP): Likewise.
1623 (XCHAR_OR_CHAR_INT): Likewise.
1624 (CHECK_CHAR_COERCE_INT): Likewise.
1626 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1629 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
1630 - Include char-1byte.h, char-lb.h or char-ucs.h.
1632 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
1634 * buffer.h: Include character unconditionally.
1635 (valid_char_p): Moved to char-*.h.
1636 (non_ascii_valid_char_p): Moved to char-lb.h.
1638 * char-1byte.h, char-lb.h, char-ucs.h: New files.
1640 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
1642 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
1643 in UTF-2000 because it is not ported yet and not to use
1644 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
1645 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
1646 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
1648 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
1649 (CHAR_ASCII_P): Moved from character.h.
1651 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
1652 (CHAR_ASCII_P): Likewise.
1653 (CHAR_FIELD1_MASK): Deleted.
1654 (CHAR_FIELD2_MASK): Deleted.
1655 (CHAR_FIELD3_MASK): Deleted.
1656 (MAX_CHAR_BASIC_LATIN): New macro.
1657 (CHAR_FIELD1): Deleted.
1658 (CHAR_FIELD2_INTERNAL): Deleted.
1659 (CHAR_FIELD3_INTERNAL): Deleted.
1660 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
1661 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
1662 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
1663 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
1664 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
1665 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
1666 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
1667 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
1668 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
1669 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
1670 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
1671 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
1672 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
1673 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
1674 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
1675 (MIN_CHAR_COMPOSITION): Deleted.
1676 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
1677 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
1679 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
1681 * buffer.h: Include mb-utf-8.h in UTF-2000.
1683 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
1685 * mb-utf-8.h: New file.
1687 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
1689 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
1692 * mule-charset.h, buffer.h (Charset_ID): New type.
1694 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1696 * mule-canna.c (c2mu): Use `MAKE_CHAR',
1697 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
1698 instead of `MULE_CHAR_PRIVATE_OFFSET',
1699 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
1700 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
1701 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
1703 * character.h (Vcharset_japanese_jisx0212): New variable
1706 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
1708 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
1709 (charset_by_attributes): Delete array about direction.
1710 (latin_a_char_to_charset): New variable in UTF-2000.
1711 (latin_a_char_to_byte1): New variable in UTF-2000.
1712 (latin_a_char_to_byte2): New variable in UTF-2000.
1713 (Qucs_bmp): New variable.
1714 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
1716 (next_allocated_2_byte_leading_byte): Likewise.
1717 (non_ascii_set_charptr_emchar): Likewise.
1718 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
1719 `CHARSET_TYPE_256X256' in UTF-2000; modify for
1720 `charset_by_attributes'.
1721 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
1722 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
1723 and `CHARSET_BY_LEADING_BYTE'.
1724 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
1725 `utf-2000-version' to `vars_of_mule_charset'.
1726 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
1727 define `leading-code-private-11' in UTF-2000; move setting of
1728 `utf-2000-version' from `syms_of_mule_charset'.
1729 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
1732 * character.h (Charset_ID): New type.
1733 (LEADING_BYTE_UCS_BMP): New macro.
1734 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
1735 (CHARSET_ID_OFFSET_94): New macro.
1736 (MIN_CHARSET_ID_PRIVATE_94): New macro.
1737 (MAX_CHARSET_ID_PRIVATE_94): New macro.
1738 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
1740 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
1741 (LEADING_BYTE_LATIN_JISX0201): Likewise.
1742 (CHARSET_ID_OFFSET_96): New macro.
1743 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
1744 CHARSET_ID_OFFSET_96 and final-byte.
1745 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
1746 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
1747 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
1748 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
1749 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
1750 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
1751 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
1752 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
1753 (LEADING_BYTE_THAI_TIS620): Likewise.
1754 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
1755 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
1756 (CHARSET_ID_OFFSET_94x94): New macro.
1757 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
1758 CHARSET_ID_OFFSET_94x94 and final-byte.
1759 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
1760 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
1761 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
1762 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
1763 (LEADING_BYTE_CHINESE_GB2312): Likewise.
1764 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
1765 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
1766 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
1767 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
1768 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
1769 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
1770 (CHARSET_TYPE_128X128): New macro.
1771 (CHARSET_TYPE_256X256): New macro.
1772 (XCHARSET_PRIVATE_P): Delete unconditionally.
1773 (charset_by_attributes): Delete array about direction.
1774 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
1775 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
1776 (MIN_CHAR_94): New macro.
1777 (MAX_CHAR_94): New macro.
1778 (MIN_CHAR_96): New macro.
1779 (MAX_CHAR_96): New macro.
1780 (MIN_CHAR_94x94): New macro.
1781 (MAX_CHAR_94x94): New macro.
1782 (MIN_CHAR_96x96): New macro.
1783 (MAX_CHAR_96x96): New macro.
1784 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
1785 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1786 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
1788 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
1789 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
1790 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
1791 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
1792 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
1793 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
1794 `XCHARSET_LEADING_BYTE' to make code-point.
1795 (latin_a_char_to_charset): New variable.
1796 (latin_a_char_to_byte1): New variable.
1797 (latin_a_char_to_byte2): New variable.
1798 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
1799 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
1800 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
1802 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
1803 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
1804 (find_charsets_in_emchar_string): Likewise.
1805 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
1807 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
1809 (decode_coding_iso2022): Likewise.
1811 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
1814 * redisplay.c (redisplay_text_width_emchar_string): Use
1815 `Charset_ID' instead of `unsigned char'.
1816 (redisplay_frame_text_width_string): Likewise.
1818 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
1821 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
1822 instead of `unsigned char'.
1823 (face_cachel_charset_font_metric_info): Likewise.
1825 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
1826 (get_non_ascii_char_table_value): Likewise.
1827 (get_char_table): Likewise.
1828 (put_char_table): Likewise.
1829 (map_over_other_charset): Likewise.
1830 (map_char_table): Likewise.
1832 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
1833 instead of `unsigned char'.
1835 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
1837 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
1838 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
1840 * mule-charset.c (leading_code_private_11): Don't define in
1843 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
1844 in UTF-2000 because it is not ported yet and not to use
1845 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
1847 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
1849 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
1851 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1853 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
1856 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
1857 of unsigned char to store leading-byte.
1859 * chartab.c (get_non_ascii_char_table_value): Don't use
1860 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
1862 * file-coding.c (encode_coding_big5): Delete bogus implementation
1865 * character.h (LEADING_BYTE_*): Delete definition for
1867 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
1868 (LEADING_BYTE_PREFIX_P): Deleted.
1869 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
1870 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
1871 (BUFBYTE_LEADING_BYTE_P): Deleted.
1872 (CHARSET_PRIVATE_P): Deleted unconditionally.
1873 (rep_bytes_by_first_byte): Deleted unconditionally.
1874 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
1875 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
1876 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
1877 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
1878 (CHAR_FIELD2): Deleted.
1879 (CHAR_FIELD3): Deleted.
1880 (MAKE_CHAR): Delete definition for non-UTF-2000.
1881 (BREAKUP_CHAR_1_UNSAFE): Deleted.
1882 (breakup_char_1): New implementation.
1883 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
1884 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
1886 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1888 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
1891 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1893 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
1894 (CHARSET_PRIVATE_P): Likewise.
1895 (XCHARSET_PRIVATE_P): Likewise.
1896 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
1898 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
1900 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
1902 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1904 * character.h (LEADING_BYTE_*): Changed in UTF2000.
1905 (NUM_LEADING_BYTES): Changed from 128 to 256.
1906 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1907 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
1909 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
1911 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
1913 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
1914 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
1915 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
1916 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
1917 (Qchinese_cns11643_3): New variable in UTF2000.
1918 (Qchinese_cns11643_4): New variable in UTF2000.
1919 (Qchinese_cns11643_5): New variable in UTF2000.
1920 (Qchinese_cns11643_6): New variable in UTF2000.
1921 (Qchinese_cns11643_7): New variable in UTF2000.
1922 (syms_of_mule_charset): Define `chinese-cns11643-3',
1923 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1924 and `chinese-cns11643-7' in UTF2000.
1925 (vars_of_mule_charset): Initialize
1926 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
1928 (complex_vars_of_mule_charset): Setup charset
1929 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
1930 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
1932 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1934 * mule-charset.c: Move setting for `leading-code-private-11' from
1935 `syms_of_mule_charset' to `vars_of_mule_charset'.
1937 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1939 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
1940 and `NUM_LEADING_BYTES' in assert.
1942 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1944 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
1946 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
1947 `NUM_LEADING_BYTES' instead of 128.
1949 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1951 * mule-charset.h (charset_by_leading_byte): Use
1952 `NUM_LEADING_BYTES' instead of 128.
1953 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
1955 * mule-charset.c (charset_by_leading_byte): Use
1956 `NUM_LEADING_BYTES' instead of 128.
1957 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
1959 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
1962 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1964 * mule-charset.c (syms_of_mule_charset): Update to
1967 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
1969 * file-coding.c (encode_coding_sjis): New implementation for
1970 UTF2000. (decode_coding_sjis): Ditto.
1972 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1974 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
1975 Don't define in UTF2000.
1977 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
1980 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1981 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
1984 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1986 * config.h.in (CHAR_IS_UCS4): New macro.
1988 * mule-charset.c (rep_bytes_by_first_byte): Modify for
1989 conventional MULE representation.
1990 (syms_of_mule_charset): Update to 0.3 (Imamiya).
1992 * mule-charset.h: Reverted to original.
1994 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
1995 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
1996 "mule-charset.h" if CHAR_IS_UCS4 is defined.
1998 * character.h: New file.
2000 * file-coding.c (Fmake_coding_system): Set 1 to
2001 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
2003 (encode_coding_no_conversion): New implementation for UTF2000.
2005 * file-coding.h (struct Lisp_Coding_System): Add new member
2008 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2010 * file-coding.c (decode_coding_iso2022): Code-point arguments of
2011 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
2012 (encode_coding_iso2022): New implementation for UTF2000.
2014 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2016 * mule-canna.c (c2mu): New implementation for UTF2000.
2019 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2021 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
2023 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2025 * file-coding.c (reset_encoding_stream): Set 0 to
2026 `str->iso2022.current_char_boundary' in UTF2000.
2027 (encode_utf8): Don't define in UTF2000.
2028 (encode_coding_utf8): New implementation for UTF-8 representation
2030 (complex_vars_of_file_coding): Define coding-system `utf-8'.
2032 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2034 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
2036 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
2038 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2040 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
2042 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
2043 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
2044 as UTF-8 in UTF2000.
2045 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
2046 (non_ascii_valid_char_p): Don't define in UTF2000.
2047 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
2048 (Lstream_get_emchar_1): Likewise.
2049 (utf-2000-version): New variable in UTF2000.
2051 * lread.c (read_escape): Add new reader `u'.
2053 * insdel.c (three_to_one_table): Don't define in UTF2000.
2054 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
2055 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2057 (bytind_to_bufpos_func): Likewise.
2058 (buffer_mule_signal_inserted_region): Likewise.
2059 (vars_of_insdel): Don't initialize `three_to_one_table'.
2060 (init_buffer_text): Use `buf->text->mule_size' instead of
2061 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2064 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
2065 UTF-8 representation in UTF2000.
2066 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
2067 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
2068 (decode_coding_iso2022): Don't define local variable `lb' in
2069 UTF2000; don't use LEADING_BYTE in UTF2000; use
2070 `DECODE_ADD_UCS_CHAR' in UTF2000.
2071 (convert_to_external_format): Decode as UTF-8 in UTF2000.
2073 * config.h.in (UTF2000): New macro.
2075 * buffer.h (struct buffer_text): Add new member `mule_size' and
2076 don't add `mule_shifter' and `mule_three_p' in UTF2000.
2077 (valid_char_p): Return always 1 in UTF2000.
2078 (MAX_EMCHAR_LEN): 6 in UTF2000.
2079 (three_to_one_table): Don't define in UTF2000.
2080 (real_bufpos_to_bytind): Modify for UTF-8 representation in
2082 (real_bytind_to_bufpos): Likewise.
2084 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
2086 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2088 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
2089 representation change.
2090 (Vutf_2000_version): New variable.
2091 (leading_code_private_11): New variable.
2092 (syms_of_mule_charset): Add new variables `utf-2000-version' and
2093 `leading-code-private-11'.
2095 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
2096 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
2097 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
2098 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
2099 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
2100 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
2101 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
2102 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
2103 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
2104 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
2105 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
2106 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
2107 (MIN_CHAR_GREEK): New macro.
2108 (MAX_CHAR_GREEK): New macro.
2109 (MIN_CHAR_CYRILLIC): New macro.
2110 (MAX_CHAR_CYRILLIC): New macro.
2111 (MIN_CHAR_HEBREW): New macro.
2112 (MAX_CHAR_HEBREW): New macro.
2113 (MIN_CHAR_THAI): New macro.
2114 (MAX_CHAR_THAI): New macro.
2115 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
2116 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
2117 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
2118 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
2119 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
2120 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
2121 (CHAR_FIELD2): New inline function.
2122 (CHAR_FIELD3): New inline function.
2123 (MULE_CHAR_PRIVATE_OFFSET): New macro.
2124 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
2125 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
2126 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
2127 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
2128 (MIN_CHAR_COMPOSITION): Likewise.
2129 (CHAR_LEADING_BYTE): Modified for character representation change.
2130 (MAKE_CHAR): Likewise.
2132 * lisp.h (Vcharset_latin_iso8859_1): New variable.
2133 (Vcharset_greek_iso8859_7): Likewise.
2134 (Vcharset_cyrillic_iso8859_5): Likewise.
2135 (Vcharset_hebrew_iso8859_8): Likewise.
2136 (Vcharset_thai_tis620): Likewise.
2137 (Vcharset_katakana_jisx0201): Likewise.
2139 2000-05-01 Martin Buchholz <martin@xemacs.org>
2141 * XEmacs 21.2.33 is released.
2143 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
2145 * make-src-depend: Allow dots in header file name.
2147 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
2149 * mule-charset.h (struct charset_lookup): Add
2150 next_allocated_1_byte_leading_byte and
2151 next_allocated_2_byte_leading_byte.
2152 * mule-charset.c: Move above two variables so that those values
2155 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
2157 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
2158 when string length is zero.
2159 (find_charsets_in_emchar_string): Ditto.
2161 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
2163 * lisp.h: extern Qdialog and Qmenubar.
2165 * gui-x.c: added events.h.
2166 also fixed typo which made the file uncompilable.
2168 * general.c: Added Qmenubar and Qdialog
2170 2000-04-28 Ben Wing <ben@xemacs.org>
2172 * frame-msw.c (mswindows_init_frame_1):
2173 * frame-msw.c (mswindows_mark_frame):
2174 * event-msw.c (mswindows_enqueue_dispatch_event):
2176 * console-msw.h (struct mswindows_frame):
2177 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
2178 there are now three hash tables for callbacks.
2179 mswindows_enqueue_dispatch_event is no longer static.
2181 * dialog-x.c (maybe_run_dbox_text_callback):
2182 * dialog-x.c (dbox_descriptor_to_widget_value):
2183 switch to new cons3 form for callbacks.
2185 * glyphs-msw.c (mswindows_register_gui_item):
2186 * glyphs-msw.c (mswindows_widget_instantiate):
2187 * glyphs-msw.c (add_tree_item):
2188 * glyphs-msw.c (add_tab_item):
2189 new image instance parameter, so it can be passed to callback-ex.
2190 respect :callback-ex as well as :callback.
2192 * glyphs-widget.c (VALID_GUI_KEYWORDS):
2195 * glyphs.c (print_image_instance):
2196 prettify, e.g. now prints widget type.
2199 certain funs have new image instance parameter.
2202 * gui.c (get_gui_callback):
2203 * gui.c (gui_item_add_keyval_pair):
2204 * gui.c (gui_item_init):
2205 * gui.c (gui_add_item_keywords_to_plist):
2206 * gui.c (mark_gui_item):
2207 * gui.c (gui_item_hash):
2208 * gui.c (gui_item_equal):
2209 * gui.c (copy_gui_item):
2210 * gui.c (syms_of_gui):
2211 recognize callback-ex in a number of places.
2212 also, fix the annoying "can't get out of yes-no dialog" bug.
2215 * gui.h (struct Lisp_Gui_Item):
2216 recognize callback-ex in a number of places.
2218 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
2219 new parameter in button_item_to_widget_value.
2221 * glyphs-x.c (x_update_widget):
2222 * glyphs-x.c (x_button_instantiate):
2223 * glyphs-x.c (x_button_update):
2224 * glyphs-x.c (x_progress_gauge_instantiate):
2225 * glyphs-x.c (x_edit_field_instantiate):
2226 * glyphs-x.c (x_combo_box_instantiate):
2227 * glyphs-x.c (x_tab_control_instantiate):
2228 * glyphs-x.c (x_label_instantiate):
2229 new image instance parameter in various places.
2232 * event-Xt.c (enqueue_Xt_dispatch_event):
2233 this fun gets exported.
2236 * gui-msw.c (mswindows_handle_gui_wm_command):
2237 handle both :callback and :callback-ex, and generate our own
2238 event because it's one of the callback-ex arguments.
2241 * gui-x.c (popup_selection_callback):
2242 handle both :callback and :callback-ex, and generate our own
2243 event because it's one of the callback-ex arguments.
2244 * gui-x.c (button_item_to_widget_value):
2245 * gui-x.c (gui_items_to_widget_values_1):
2246 * gui-x.c (gui_item_children_to_widget_values):
2247 * gui-x.c (gui_items_to_widget_values):
2248 new image instance parameter in various places.
2250 * fns.c (Freplace_list):
2251 fix small typo in doc string.
2254 declare enqueue_Xt_dispatch_event.
2256 2000-04-28 Ben Wing <ben@xemacs.org>
2259 * buffer.c (Frecord_buffer):
2260 * buffer.c (syms_of_buffer):
2261 delete record-buffer-hook.
2264 * fns.c (Freplace_list):
2265 * fns.c (syms_of_fns):
2266 new primitive replace-list.
2269 slot for old buffer-alist.
2275 * redisplay.c (redisplay_frame):
2276 * redisplay.c (syms_of_redisplay):
2277 * redisplay.c (vars_of_redisplay):
2278 new hook buffer-list-changed-hook.
2281 2000-04-27 Ben Wing <ben@xemacs.org>
2283 * extents.h: extern in_modeline_generation.
2285 * redisplay.c (generate_formatted_string_db): set
2286 in_modeline_generation.
2288 * extents.c (extent_changed_for_redisplay): don't mark redisplay
2289 flags if in modeline generation. otherwise frame-modified-tick
2290 is ticked far too often.
2291 Declare in_modeline_generation.
2293 2000-04-26 Ben Wing <ben@xemacs.org>
2295 * emacs.c (vars_of_emacs): document quick-build "error-checking"
2297 (vars_of_emacs): add quick-build as an error-checking option.
2298 A bit kludgy, but there doesn't seem much point in creating
2299 a real var for this.
2301 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
2303 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
2305 * redisplay.h (struct display_line): Add a new variable,
2308 * redisplay.c (create_text_block): Set dl->line_continuation if
2310 (create_string_text_block): Ditto.
2311 (regenerate_window_incrementally): Use line_continuation instead
2312 of searching continuation glyph.
2313 (add_margin_runes): Call add_glyph_rune.
2314 (add_glyph_rune): Handle margin glyph.
2316 2000-04-20 Martin Buchholz <martin@xemacs.org>
2318 * filelock.c (fill_in_lock_file_name):
2320 Check for IS_ANY_SEP instead of '/'.
2322 Avoid generating gratuitous garbage. Call user_login_name() directly.
2323 Never check errno without first seeing that system call failed.
2324 (unlock_file): Add GCPRO.
2325 (Flock_buffer): Fix docstring.
2326 (Ffile_locked_p): Fix docstring. Add GCPRO.
2328 2000-04-19 Martin Buchholz <martin@xemacs.org>
2330 * sysdep.c (get_pty_max_bytes):
2331 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
2332 strings longer than 252 bytes.
2334 * md5.c: Unconditionally include ANSI header <limits.h>
2336 * glyphs-x.c (convert_EImage_to_XImage):
2337 * lisp-union.h (union Lisp_Object):
2338 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
2340 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
2342 * filelock.c (current_lock_owner): Remove unused variable o, p.
2344 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
2346 * callint.c: Remove multiply defined symbol Qlet
2347 (syms_of_callint): ditto.
2349 2000-04-14 Andy Piper <andy@xemacs.org>
2351 * general.c (syms_of_general): add last-command, this-command, let
2354 * lisp.h: declare various symbols.
2356 * glyphs.h: declare Qwidget_callback_current_channel;
2358 * glyphs-widget.c (syms_of_glyphs_widget): add
2359 Qgui_callback_current_channel.
2360 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
2362 * gui-msw.c (mswindows_handle_gui_wm_command): bind
2363 widget-callback-current-channel when invoking the interactive
2364 arg. Also bind last-command and next-command when invoking the
2366 * gui-x.c (popup_selection_callback): ditto.
2368 * gui.c (get_gui_callback): massage args so that we are always
2369 calling eval. This allows us to add our own variable bindings
2372 * glyphs-x.c (x_button_instantiate): use
2373 gui_items_to_widget_values since this is GC safe.
2374 (x_progress_gauge_instantiate): ditto.
2375 (x_edit_field_instantiate): ditto.
2376 (x_label_instantiate): ditto.
2378 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
2379 (emacs_Xt_event_widget_focus_out): new function
2380 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
2382 (emacs_Xt_event_add_widget_actions): new function. add focus
2383 functions as actions.
2384 (init_event_Xt_late): use it.
2386 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
2388 * event-stream.c (Fdispatch_event): Doc fix.
2390 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
2392 * postgresql.c: Remove all references to PQsetenv*.
2394 * postgresql.h: Remove references to PGsetenvHandler object.
2395 * lrecord.h (lrecord_type): Ditto.
2397 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
2399 * glyphs-msw.h (struct mswindows_image_instance_data): Added
2400 real_heigh and real_width members, and accessor macros for these.
2402 * glyphs-msw.c (init_image_instance_geometry): New function.
2403 (init_image_instance_from_dibitmap): Use it.
2404 (mswindows_resource_instantiate): Use it.
2405 (init_image_instance_from_xbm_inline): Use it.
2406 (mswindows_initialize_image_instance_mask): Use real bitmap
2408 (mswindows_create_resized_bitmap): Ditto.
2409 (mswindows_create_resized_mask): Ditto.
2411 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
2412 and bitmap to their surface size.
2414 2000-04-11 Jan Vroonhof <jan@xemacs.org>
2416 * process-unix.c (unix_send_process): Guard against process MIA
2417 after Faccept_process_output.
2419 2000-04-11 Ben Wing <ben@xemacs.org>
2421 * eval.c (unbind_to_hairy): fix brokenness introduced by
2422 nanosecond speed improvements.
2424 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
2426 * sunplay.c (init_device): To play sounds correctly, the device
2427 apparently needs to be initialized at least once by XEmacs. Make
2430 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
2432 * redisplay.c (add_margin_runes): Add text image glyph
2435 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
2437 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
2438 gcc is newer than 2.5.
2440 2000-04-06 Colin Rafferty <colin@xemacs.org>
2442 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
2444 * fns.c (size_bit_vector):
2445 * alloc.c (size_vector):
2446 (make_vector_internal):
2447 (make_bit_vector_internal):
2448 (sweep_bit_vectors_1):
2449 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
2451 2000-04-06 Andy Piper <andy@xemacs.org>
2453 * gmalloc.c (malloc): undo previous change.
2458 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
2460 * line-number.c (buffer_line_number): Revert to former version.
2462 2000-04-06 Andy Piper <andy@xemacs.org>
2464 * gmalloc.c (malloc): add error checking.
2469 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
2470 button_item_to_widget_value arg.
2472 * glyphs-x.c (x_button_instantiate): add extra
2473 button_item_to_widget_value arg.
2474 (x_progress_gauge_instantiate): ditto.
2475 (x_edit_field_instantiate): ditto.
2476 (x_label_instantiate): ditto.
2478 * gui-x.c (gui_items_to_widget_values_1): add extra
2479 button_item_to_widget_value arg.
2480 (button_item_to_widget_value): add extra menu_item_p arg.
2482 * gui-x.h: change signature of button_item_to_widget_value.
2484 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
2485 button_item_to_widget_value arg.
2487 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
2489 * buffer.h (struct buffer): auto_save_modified should be long.
2491 2000-04-05 Andy Piper <andy@xemacs.org>
2493 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
2495 (button_query_geometry): give a little more room so that athena
2498 2000-04-05 Andy Piper <andy@xemacs.org>
2500 * faces.c (complex_vars_of_faces): The widget face should inherit
2501 the font of the gui-element face.
2503 2000-04-04 Andy Piper <andy@xemacs.org>
2505 * glyphs-x.c (x_button_update): new function. unconditionally
2506 update a button's state when the instance is dirty.
2507 (image_instantiator_format_create_glyphs_x): add x_button_update.
2508 (x_widget_instantiate): remove old resize cruft.
2510 2000-04-02 Andy Piper <andy@xemacs.org>
2512 * frame.c (change_frame_size_1): The introduction of gutters means
2513 that we need to allow 0 as a potential frame dimension.
2515 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
2517 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
2518 image glyph if allow_cursor.
2519 (add_hscroll_rune): Don't allow cursor to border glyph.
2520 (create_text_block): Ditto.
2522 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
2524 (redisplay_output_layout): Call ensure_face_cachel_complete for
2528 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
2530 * redisplay.c (add_glyph_rune): Adding text image as text runes.
2532 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
2535 * redisplay-tty.c (tty_output_display_block): Delete the routine
2536 for text image glyph
2537 * redisplay-x.c (x_output_display_block): ditto
2538 * redisplay-msw.c (mswindows_output_display_block): ditto
2540 2000-02-02 Mike Alexander <mta@arbortext.com>
2542 Note: Some of these were committed by accident as part of other
2545 * regex.c (regex_compile): Avoid compiler warnings.
2547 * ntproc.c (sys_spawnve): Avoid compiler warnings.
2549 * nt.h: Declare term_ntproc correctly.
2551 * nt.c: Remove incorrect declaration of get_home_directory which
2552 is declared correctly in lisp.h.
2554 * keymap.c (get_keyelt): Avoid compiler warnings.
2555 (raw_lookup_key_mapper): Avoid compiler warnings.
2557 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
2559 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
2561 * filemode.c (mode_string): Avoid compiler warnings.
2563 * file-coding.c (Fcoding_system_aliasee): Add return statement to
2566 * events-mod.h: Undef some things that winuser.h defines differently.
2568 * data.c (Faset): Avoid compiler warnings.
2570 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
2572 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
2574 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
2575 Fall through to simple beep on error.
2576 Replace "extern" by real header file.
2578 * linuxplay.c: Use nativesound.h
2579 (play_sound_data): Return error code. Be less verbose on error.
2581 * sunplay.c: Use nativesound.h
2582 (play_sound_data): Return error code. Be less verbose on error.
2584 * ntplay.c: Use nativesound.h
2585 (play_sound_data): Return fake error code
2587 * sgiplay.c: Use nativesound.h
2588 (play_sound_data): Return error code
2590 * hpplay.c: Use nativesound.h, partially implement
2591 new error code. Break compilation until finished.
2592 (play_sound_data): error code.
2594 * nativesound.h (play_sound_file):
2595 (play_sound_data): Prototype in new header.
2597 2000-03-31 Andy Piper <andy@xemacs.org>
2599 * glyphs-widget.c: (button_query_geometry): new function. Adjust
2600 for toggle and radio buttons.
2601 (image_instantiator_buttons): use it.
2603 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
2605 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
2606 (x_update_horizontal_scrollbar_callback): Return if no mirror was
2607 found. Scrollbar event probably belonged to some old config.
2609 2000-03-31 Andy Piper <andy@xemacs.org>
2611 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
2613 (initialize_widget_image_instance): default layout to
2614 LAYOUT_HORIZONTAL rather than 0.
2615 (widget_instantiate): reverse the item list at the end rather than
2617 (layout_layout): re-code for the border text at the front of the
2618 item list rather than at the end.
2619 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
2620 provided by the user.
2621 (widget_query_geometry): comment.
2623 2000-03-30 Andy Piper <andy@xemacs.org>
2625 * glyphs-widget.c (image_instantiator_layout): allow standard
2626 widget keywords in layouts.
2628 * gutter.c (output_gutter): cope with nil gutter contents.
2630 * frame.c (Fset_frame_properties): add gutter docs.
2632 2000-03-29 Andy Piper <andy@xemacs.org>
2634 * toolbar-msw.c (TBSTYLE_FLAT): add.
2635 (mswindows_output_toolbar): minor fiddling.
2637 2000-03-29 Andy Piper <andy@xemacs.org>
2639 * gutter.c (output_gutter): force gutter size recalculation if
2640 what we are trying to display won't fit.
2641 (update_gutter_geometry): new function. A per-gutter version of
2642 update_frame_gutter_geometry.
2643 (update_frame_gutter_geometry): use it.
2644 (redraw_exposed_gutter): add extra debugging output.
2646 2000-03-28 Mike Alexander <mta@arbortext.com>
2648 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
2649 (pdump_file_unmap): Implement it on Windows
2650 (pdump_file_get): Save alocated handles for pdump_file_unmap
2652 2000-03-28 Andy Piper <andy@xemacs.org>
2654 * gui.c (get_gui_callback): treat Quit specially.
2656 2000-03-27 Andy Piper <andy@xemacs.org>
2658 * glyphs.c (image_instantiate): be careful to check in the same
2661 2000-03-27 Didier Verna <didier@xemacs.org>
2663 * config.h.in: define the proper SMART_INCLUDE macro.
2664 handle renaming of `foo_h_path' to `foo_h_file'.
2666 * database.c: ditto.
2670 * linuxplay.c: ditto.
2672 * terminfo.c: ditto.
2674 * tooltalk.h: ditto.
2676 2000-03-27 Andy Piper <andy@xemacs.org>
2678 * glyphs-msw.c (mswindows_update_widget): make sure the widget
2679 gets updated whenever the face might have changed.
2681 2000-03-26 Mike Alexander <mta@arbortext.com>
2683 * dumper.c (pdump_resource_free): Fix the comment.
2685 2000-03-21 Olivier Galibert <galibert@pobox.com>
2687 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
2689 2000-03-22 Mike Alexander <mta@arbortext.com>
2691 * dumper.c: Include Windows headers on Windows
2692 (pdump_resource_free): Add a body to the function
2693 (pdump_load): exe_name -> exe_path and add some comments.
2695 2000-03-25 Mike Alexander <mta@arbortext.com>
2697 * gui.c (copy_gui_item_tree): Return a value in all cases
2699 2000-03-21 Didier Verna <didier@xemacs.org>
2701 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
2703 (SMART_INCLUDE): new macro.
2704 (POSTGRES_INCLUDE): new macro to include postgresql headers from
2705 the proper location.
2707 * postgresql.c: use it.
2711 2000-03-24 Andy Piper <andy@xemacs.org>
2713 * gutter.c (redraw_exposed_gutters): must be "in display" when we
2716 2000-03-24 Andy Piper <andy@xemacs.org>
2718 * redisplay-output.c (compare_runes): use image_instance_changed
2719 to detect changes. Do not depend on glyphs_changed, only depend on
2721 (redisplay_output_layout): add debug messages.
2722 (compare_runes): ditto.
2724 * glyphs.h: declare new functions.
2725 (struct Lisp_Image_Instance): remove percent and associated
2728 * gui.h: declare new copying functions.
2730 * gui.c (copy_gui_item_tree): new function.
2731 (copy_gui_item): new function.
2732 (gui_item_id_hash): revert to standard hash.
2733 (gui_item_hash): ditto.
2734 (gui_item_hash_internal): deleted.
2735 (mark_gui_item): mark value.
2736 (gui_item_add_keyval_pair): add value.
2737 (gui_item_init): ditto.
2738 (gui_add_item_keywords_to_plist): ditto.
2739 (gui_item_equal): ditto.
2740 (syms_of_gui): add Q_value.
2742 * glyphs-x.c (x_progress_gauge_update): use pending items and
2743 value for setting the state.
2744 (x_update_widget): don't set items from pending here.
2746 * glyphs-widget.c (update_widget): update items here.
2747 (progress_gauge_set_property): use items for storing value. Put
2748 new value in pending items.
2750 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
2751 items for new value. Convert percent -> value.
2752 (mswindows_tab_control_update): don't update items here.
2754 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
2755 (update_subwindow): ditto.
2756 (image_instance_changed): new function. Compare hash values and
2757 past and present widget items.
2758 (image_instantiate): We more careful about where we instantiate
2760 (image_instantiate): add error checking.
2762 * gutter.c (syms_of_gutter): use -hook.
2764 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
2766 * console-tty.c (Fset_console_tty_input_coding_system): Use
2768 (Fset_console_tty_output_coding_system): Use Qterminal.
2769 (tty_init_console): Use Qkeyboard and Qterminal.
2771 2000-03-21 Ben Wing <ben@xemacs.org>
2773 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
2774 From Mike Alexander <mta@arbortext.com>.
2776 2000-03-21 Ben Wing <ben@xemacs.org>
2778 * event-msw.c (mswindows_need_event): Horrible kludge to fix
2779 process brokenness. Proper implementation to come.
2781 Rename call-process-internal to old-call-process-internal.
2782 New impl. in process.el.
2784 2000-03-21 Martin Buchholz <martin@xemacs.org>
2786 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
2788 2000-03-20 Andy Piper <andy@xemacs.org>
2790 * glyphs.c (full_list_hash): make hashes of the same elements in
2791 different orders return different values.
2793 2000-03-20 Martin Buchholz <martin@xemacs.org>
2795 * XEmacs 21.2.32 is released.
2797 2000-03-20 Martin Buchholz <martin@xemacs.org>
2799 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
2800 (DFC_MALLOC_USE_CONVERTED_DATA):
2801 Add aliasing-safe casts to allow use with char* or unsigned char*
2804 * eldap.c (Fldap_open):
2805 (Fldap_search_basic):
2808 Make C++-compilable.
2809 Make sure GCPRO'ed variables are initialized.
2810 Use temp variables to avoid repeated calls to Flength.
2812 2000-03-16 Martin Buchholz <martin@xemacs.org>
2815 Make sure PATH_MAX is always defined.
2816 Include limits.h for PATH_MAX.
2817 Deprecate use of MAXPATHLEN.
2819 2000-03-10 Martin Buchholz <martin@xemacs.org>
2821 * emacs.c: Add reinit_vars_of_fileio.
2822 * symsinit.h: Add reinit_vars_of_fileio.
2823 * fileio.c (reinit_vars_of_fileio): New.
2824 * fileio.c (Fmake_temp_name):
2825 Initialize temp_name random number from microseconds to make
2826 collisions even less likely. Initialize always at process startup
2827 time. (make-temp-name) used to return the same file name twice in
2829 Random stylistic fiddling.
2832 2000-03-20 Andy Piper <andy@xemacs.org>
2834 * glyphs.c (image_instantiate): allow text glyphs to be
2835 instantiated in the minibuffer window.
2837 2000-03-19 Andy Piper <andy@xemacs.org>
2839 * glyphs.c (image_instance_hash): be careful about which items we
2842 * glyphs-widget.c (tab_control_set_property): record into pending
2843 items rather than the actual items.
2845 * glyphs-x.c (x_update_widget): use pending items to update with.
2847 * glyphs-msw.c (mswindows_tab_control_update): use pending items
2850 * glyphs.c (mark_image_instance): mark pending items.
2852 * window.c (Fset_window_configuration): record the buffer.
2853 (Fselect_window): totally revert previous change which breaks many
2856 2000-03-18 Andy Piper <andy@xemacs.org>
2858 * glyphs-msw.c (mswindows_tab_control_update): force selected
2861 * glyphs.c (image_instantiate): don't allow the minibuffer as a
2862 window domain cache, otherwise we get inconsistencies at
2863 startup. There is something fishy at startup which can lead to the
2864 minibuffer being the selected window when the gutter content is
2867 * gui.c (parse_gui_item_tree_list): add probably unneccessary
2869 (parse_gui_item_tree_children): ditto.
2870 (parse_gui_item_tree_item): ditto.
2872 * glyphs.c (Fupdate_widget_instances): return something.
2874 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
2876 * window.c (Fselect_window): Undo 2000-03-17 change.
2878 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
2880 * postgresql.c (Fpq_setenv): Remove this turkey when linking
2881 against v7.0 libraries. Insta-coredump city until the postgres
2884 2000-03-17 Andy Piper <andy@xemacs.org>
2886 * faces.c (complex_vars_of_faces): don't give the widget face an
2887 inherited background pixmap.
2889 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
2892 * event-stream.c (Fdispatch_non_command_events): return something.
2894 * gutter.c (output_gutter): use widget face.
2895 (clear_gutter): ditto.
2897 * NEWS: adjust again.
2899 * window.c (Fselect_window): make sure this runs to completion to
2900 avoid oddities with Fset_window_configuration.
2901 (Fcurrent_window_configuration): in general do not save the
2902 minibuffer as the selected window.
2904 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
2906 2000-03-16 Olivier Galibert <galibert@pobox.com>
2908 * emacs.c (Frunning_temacs_p): Revert previous patch.
2909 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
2911 2000-03-16 Andy Piper <andy@xemacs.org>
2913 * glyphs-x.c (x_tab_control_update): if no widget values then
2916 * NEWS: update for new features.
2918 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
2919 synthetic event to the native system.
2920 (reinit_vars_of_event_Xt): set force_event_pending to
2921 emacs_Xt_force_event_pending.
2923 * events.h (struct event_stream): add force_event_pending.
2925 * specifier.c (recompute_one_cached_specifier_in_window): add
2928 * redisplay.c (redisplay_frame): don't call
2929 update_frame_subwindows. Reset subwindow cachels when
2930 subwindows_changed, removing this was an optimization too far.
2932 * redisplay-output.c (compare_runes): reorganize so that we catch
2933 glyph changes when we want them. Set optimize_output when this
2935 (redisplay_output_layout): remove frame_really_changed, use
2936 optimize_output instead.
2938 * redisplay-msw.c (mswindows_output_display_block): reset
2939 optimize_output after outputting a glyph.
2940 * redisplay-x.c (x_output_display_block): ditto.
2941 * redisplay-tty.c (tty_output_display_block): ditto.
2943 * gutter.c: (specifier_vars_of_gutter): use new spec changed
2945 (gutter_specs_changed): do specific gutter positions.
2946 (top_gutter_specs_changed): new function. Only update the
2947 specified gutter specs.
2948 (bottom_gutter_specs_changed): ditto.
2949 (left_gutter_specs_changed): ditto.
2950 (right_gutter_specs_changed): ditto.
2952 * gui.c (gui_item_hash_internal): new function, does a real hash.
2953 (gui_item_id_hash): use it.
2954 (gui_item_hash): hash the eval'ed gui_item.
2956 * gui-x.c (popup_selection_callback): send an eval event to call
2957 Fupdate_widget_instances.
2959 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
2960 to call Fupdate_widget_instances.
2962 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
2963 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
2965 * glyphs.c: (update_frame_subwindows): deleted.
2966 (Fupdate_widget_instances): new function for updating the dirty
2967 state of widgets that might have changed.
2968 (syms_of_glyphs): add Qupdate_widget_instances.
2969 (full_list_hash): hash a list completely.
2970 (image_instance_hash): use it for items and properties.
2972 * frame-msw.c (mswindows_size_frame_internal): remove unused
2975 * faces.h (struct face_cachel): fix comment.
2977 * event-stream.c (Fdispatch_non_command_events): new
2978 function. Process non-command events, forcing an event cycle
2980 (syms_of_event_stream): declare.
2981 (event_stream_force_event_pending): new function. Force an event
2982 on the native event queue so that an event cycle will occur next
2986 (struct ntpipe_shove_stream):
2987 (mswindows_enqueue_dispatch_event):
2988 (mswindows_dequeue_dispatch_event):
2989 (mswindows_cancel_dispatch_event):
2990 (mswindows_pump_outstanding_events):
2991 (mswindows_drain_windows_queue):
2992 (mswindows_handle_paint):
2993 (mswindows_wnd_proc):
2994 (mswindows_key_to_emacs_keysym):
2995 (get_process_input_waitable):
2996 (emacs_mswindows_delete_stream_pair): re-indent file.
2997 (mswindows_need_event): do not process further fds if the windows
2998 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
2999 fixes the 100% cpu problem.
3000 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
3002 2000-03-15 Olivier Galibert <galibert@pobox.com>
3008 * emacs.c: Moved dump file searching to dumper.c.
3009 (Frunning_temacs_p): Fixed.
3011 * alloc.c: Moved everything pdump-related to dumper.c. Removed
3012 last_lrecord_type_index_assigned.
3014 2000-02-20 Olivier Galibert <galibert@pobox.com>
3016 * symsinit.h: Added reinit parameter to init_console_stream
3019 * lisp.h: Added file parameter to pdump_load declaration.
3021 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
3022 support. Added dump file searching.
3024 * config.h.in: Added EMACS_PROGNAME.
3026 * console-stream.c (init_console_stream): Fix reinitialisation
3027 when running from temacs.
3029 * alloc.c (pdump): Add id support.
3030 (pdump_load): Add file parameter and signature/id support.
3032 * Makefile.in.in: Add full pdump support.
3034 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
3036 * postgresql.c: Update documentation to reflect latest code
3038 (print_result): Show tuple counts in printed representation when
3040 (Fpq_put_nbytes): MULE-ize.
3041 (Fpq_get_line_async): Ditto.
3043 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
3045 * postgresql.c (Fpq_lo_import): Fix return value.
3046 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
3048 2000-03-13 Ben Wing <ben@xemacs.org>
3050 * alloc.c (pdump_load):
3051 Fix compile warning under mswin.
3053 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
3055 * postgresql.c: Mule-ization, bug fixes.
3056 Use PG_CODING to encapsulate coding system name changes.
3057 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
3058 (pg-coding-system): Create.
3060 (Fpq_conn_defaults): Mule-ize.
3061 (Fpq_connectdb): Mule-ize & bug fix.
3062 (Fpq_connect_start): Mule-ize.
3063 (Fpq_set_client_encoding): Mule-ize.
3064 (Fpq_finish): Document `DEAD' connection status.
3066 (Fpq_pgconn): Mule-ize.
3067 (Fpq_exec): Mule-ize & bug fix.
3068 (Fpq_send_query): Ditto.
3069 (Fpq_get_result): Ditto.
3070 (Fpq_res_status): Mule-ize.
3071 (Fpq_result_error_message): Mule-ize.
3072 (Fpq_ntuples): fix comments.
3073 (Fpq_fname): Mule-ize.
3074 (Fpq_fnumber): Mule-ize.
3075 (Fpq_ftype): fix comments.
3076 (Fpq_get_value): Mule-ize.
3077 (Fpq_cmd_status): Ditto.
3078 (Fpq_cmd_tuples): Ditto.
3079 (Fpq_oid_value): Ditto.
3080 (Fpq_notifies): Ditto.
3081 (Fpq_lo_import): Ditto.
3082 (Fpq_lo_export): Ditto.
3083 (Fpq_get_line): Ditto.
3084 (Fpq_put_line): Mule-ize and bug fix.
3085 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
3087 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
3089 * postgresql.c (vars_of_postgresql): Mule-ize.
3090 (Fpq_conn_defaults): Ditto.
3092 2000-03-12 Ben Wing <ben@xemacs.org>
3094 * alloc.c (Fmake_byte_code):
3095 * alloc.c (debug_string_purity_print):
3096 * alloc.c (pdump_backtrace):
3097 * alloc.c (pdump_get_indirect_count):
3098 * alloc.c (pdump_register_sub):
3099 * alloc.c (pdump_register_object):
3100 * alloc.c (pdump_register_struct):
3101 * alloc.c (pdump_dump_data):
3102 * alloc.c (pdump_reloc_one):
3106 * console-msw.c (GetConsoleHwnd):
3107 * console-msw.c (msw_hide_console):
3108 * console-msw.c (msw_show_console):
3109 * console-msw.c (msw_ensure_console_buffered):
3110 * console-msw.c (msw_output_console_string):
3111 * console-msw.c (console_type_create_mswindows):
3113 a) Added functions to manipulate the console window for use with
3116 b) Added support for writing text to the console, which is now
3117 used under Windows when xemacs is not being run non-interactively,
3118 to write text that would otherwise be destined for stdout because
3119 under these circumstances, text written to stdout tends to
3120 disappear and not be seen.
3124 * event-Xt.c (x_event_to_emacs_event):
3125 * event-Xt.c (describe_event_window):
3126 * events-mod.h (XEMACS_MOD_CONTROL):
3128 * events.c (Fmake_event):
3129 * events.c (character_to_event):
3130 * events.c (event_to_character):
3131 * events.c (format_event_object):
3132 * events.c (Fevent_modifiers):
3134 * events.h (struct key_data):
3135 * events.h (struct button_data):
3136 * events.h (struct misc_user_data):
3137 * frame-x.c (Fcde_start_drag_internal):
3138 * frame-x.c (Foffix_start_drag_internal):
3139 * gpmevent.c (Freceive_gpm_event):
3141 * keymap.c (bucky_sym_to_bucky_bit):
3142 * keymap.c (control_meta_superify):
3143 * keymap.c (make_key_description):
3144 * keymap.c (keymap_lookup_directly):
3145 * keymap.c (create_bucky_submap):
3146 * keymap.c (keymap_store):
3147 * keymap.c (define_key_check_and_coerce_keysym):
3148 * keymap.c (define_key_parser):
3149 * keymap.c (define_key_alternate_name):
3150 * keymap.c (Fdefine_key):
3151 * keymap.c (raw_lookup_key_mapper):
3152 * keymap.c (struct map_keymap_unsorted_closure):
3153 * keymap.c (map_keymap_unsorted_mapper):
3154 * keymap.c (map_keymap_sort_predicate):
3155 * keymap.c (map_keymap_sorted):
3156 * keymap.c (accessible_keymaps_mapper_1):
3157 * keymap.c (where_is_recursive_mapper):
3158 * keymap.c (describe_map_mapper):
3159 * keymap.c (describe_map_sort_predicate):
3160 * keymap.c (describe_map):
3161 * keymap.c (complex_vars_of_keymap):
3162 And a number of other files, the key modifier preprocessor
3163 constants that xemacs uses have names that conflict with constants
3164 defined under MS Windows for other purposes, so they were renamed
3165 to begin with the prefix XEMACS_. The variables that hold such
3166 modifiers were changed to consistently be of type int to fix
3167 various compile warnings.
3169 * console.c (complex_vars_of_console):
3172 * device-msw.c (mswindows_finish_init_device):
3173 * device-msw.c (msw_get_workspace_coords):
3174 * device-msw.c (mswindows_device_system_metrics):
3175 and various other files, added support for a new
3176 device property called offset-workspace which returns the position
3177 of the upper left corner of the workspace area and goes along with
3178 the existing size-workspace property.
3181 * dialog-msw.c (push_bufbyte_string_as_unicode):
3182 * dialog-msw.c (mswindows_popup_dialog_box):
3183 Added support for XEmacs-style accelerator specifications in
3184 button text. Note: I didn't add support for this under X Windows,
3185 and somebody needs to do this.
3188 * dialog.c (Fpopup_dialog_box):
3189 Documented the support for accelerators that was just mentioned.
3191 editfns.c (get_home_directory): Changed behavior under Windows
3192 when HOME not defined; former behavior was irretrievably broken.
3197 * minibuf.c (clear_echo_area_internal):
3198 * minibuf.c (echo_area_append):
3200 * print.c (std_handle_out_external):
3201 * print.c (std_handle_out_va):
3203 * print.c (write_string_to_stdio_stream):
3204 * print.c (output_string):
3205 * print.c (debug_print):
3206 * print.c (debug_backtrace):
3207 * print.c (debug_short_backtrace):
3208 Cleaned up the code that prints text to stdout so that this can be
3209 changed to output into a console window instead under MS Windows,
3213 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
3214 * eval.c (internal_catch):
3215 * eval.c (unwind_to_catch):
3216 * eval.c (throw_or_bomb_out):
3217 * eval.c (condition_case_1):
3218 * eval.c (signal_1):
3219 * eval.c (check_error_state_sanity):
3220 * eval.c (call_with_suspended_errors_1):
3221 * eval.c (call_with_suspended_errors):
3222 * eval.c (reinit_vars_of_eval):
3223 Added code to catch throw loops and check for a pesky bug that may
3227 * event-msw.c (key_needs_default_processing_p):
3228 * event-msw.c (mswindows_wnd_proc):
3229 * event-msw.c (mswindows_modifier_state):
3230 * event-msw.c (emacs_mswindows_quit_p):
3231 * event-msw.c (vars_of_event_mswindows):
3232 a) Added support for using the alt key to select menu items as is
3233 standard under MS Windows. This is controlled using the variable
3234 menu-accelerator-enabled, just like under X Windows. There is an
3235 option on the options menu to turn this support on. I really
3236 think that it should be on by default under Windows, but I'm not
3237 going to make this change yet.
3239 b) Added support for dynamic display size changes under Windows.
3242 * event-stream.c (maybe_echo_keys):
3243 * event-stream.c (Fnext_event):
3244 * event-stream.c (command_builder_find_leaf):
3245 * event-stream.c (lookup_command_event):
3246 * event-stream.c (execute_command_event):
3247 * event-stream.c (pre_command_hook):
3248 * event-stream.c (post_command_hook):
3249 * event-stream.c (syms_of_event_stream):
3250 * event-stream.c (vars_of_event_stream):
3251 * event-stream.c (complex_vars_of_event_stream):
3252 * events.h (struct command_builder):
3254 a) Tried to clean up a little bit the horribly written x-specific
3255 accelerator code that crept into this file. I moved this code
3256 into menubar-x.c where it belongs. I also needed to move the
3257 command builder structure into the file events.h because it is
3258 accessed directly by this accelerator code. What I didn't do, but
3259 which should be done at some point, is to properly abstract this
3260 code using device methods instead of the kludgy way that it
3261 currently hooks into the event code.
3263 b) Added the lisp variables this-command-properties and
3264 last-command- properties, which should be used to synchronize two
3265 adjacent commands in preference to playing games with the variable
3266 this-command, which is typically what happens.
3268 c) Added some slightly nasty code to hook into the lisp support
3269 for shifted- motion-key selection. This is actually necessary for
3270 somewhat complicated reasons, which are described in
3271 simple.el. (NB: I think the proper thing would be to have the code
3272 that calls the pre and post command hooks also call out to generic
3273 lisp functions in simple.el, where all built-in stuff could be
3274 added. I will think about this more.)
3276 * event-unixoid.c (poll_fds_for_input):
3277 * lread.c (readchar):
3278 * redisplay-tty.c (tty_clear_frame):
3279 * redisplay-x.c (x_get_gc):
3280 * signal.c (interrupt_signal):
3281 And a whole bunch of other files: fixed up places that printed
3282 directly to stderr to instead call the function stderr_out so that
3283 the changes I made under Windows work correctly.
3285 * filemode.c (mode_string):
3289 * frame-msw.c (mswindows_size_frame_internal):
3290 Fixed the computation of frame size and position to keep the frame
3291 within the workspace area, rather than within the physical
3292 dimensions of the screen, so that the frame doesn't overlap window
3293 manager decorations, such as the start menu and toolbar, typically
3294 at the bottom of the screen.
3296 * frame.c (vars_of_frame):
3297 Changed the default frame title format under MS Windows to consist
3298 of buffername-XEmacs, which is standard under MS Windows. I think
3299 it might be a good idea to change this everywhere because I think
3300 it is superior to the current frame title format, but this is the
3301 kind of change that is likely to cause some people to get annoyed,
3302 so I'm not making it.
3304 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
3306 * gui-msw.c (mswindows_handle_gui_wm_command):
3307 Fixed compile warnings.
3310 * gui-x.c (strdup_and_add_accel):
3311 * gui-x.c (button_item_to_widget_value):
3313 Added code to automatically put an accelerator onto the beginning
3314 of menu items that don't have one as is now the standard, and is
3315 described more later. Also fixed things so that the menu item
3316 name can be an evaluated expression, again a new standard.
3319 * gui.c (gui_item_add_keyval_pair):
3320 * gui.c (make_gui_item_from_keywords_internal):
3321 * gui.c (gui_add_item_keywords_to_plist):
3322 * gui.c (gui_item_accelerator):
3323 * gui.c (gui_name_accelerator):
3324 * gui.c (gui_item_included_p):
3325 * gui.c (gui_item_display_flush_left):
3326 * gui.c (gui_item_display_flush_right):
3327 * gui.c (parse_gui_item_tree_item):
3328 * gui.c (parse_gui_item_tree_children):
3329 * gui.c (parse_gui_item_tree_list):
3330 Mule-ized. Cleanup. GCPRO addition.
3332 * line-number.c (buffer_line_number):
3334 * lisp.h (EMACS_INT_MAX):
3335 Added the manifest constant EMACS_INT_MIN corresponding to the
3336 existing constant EMACS_INT_MAX. This is partially to fix compile
3337 warnings under Windows, and partly for cleanliness.
3340 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
3341 * menubar-msw.c (msw_translate_menu_or_dialog_item):
3342 * menubar-msw.c (displayable_menu_item):
3343 * menubar-msw.c (populate_menu_add_item):
3344 * menubar-msw.c (populate_or_checksum_helper):
3345 * menubar-msw.c (populate_menu):
3346 * menubar-msw.c (update_frame_menubar_maybe):
3347 * menubar-msw.c (prune_menubar):
3348 * menubar-msw.c (msw_char_is_accelerator):
3349 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
3350 * menubar-msw.c (mswindows_handle_wm_command):
3351 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
3352 * menubar-msw.c (mswindows_handle_wm_initmenu):
3353 * menubar-msw.c (mswindows_update_frame_menubars):
3354 * menubar-msw.c (mswindows_free_frame_menubars):
3355 * menubar-msw.c (mswindows_popup_menu):
3356 Fixed a bug in handling accelerators where an extra character
3357 would be displayed in the menu item. Also generalized the
3358 function displayable_menu_item because it is now used by the
3359 dialog box code as well. And finally, added code in the functions
3360 that create the menubar to extract a list of accelerators for the
3361 top level menubar, which is used in the event code to determine
3362 whether a particular alt-key combination should be used to invoke
3363 a menu item, or should be passed through to access the standard
3364 XEmacs keymap binding for this key combination.
3366 Much needed GCPROing.
3369 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3370 * menubar-x.c (menu_item_descriptor_to_widget_value):
3371 * menubar-x.c (restore_in_menu_callback):
3372 * menubar-x.c (x_popup_menu):
3373 * menubar-x.c (menu_move_up):
3374 * menubar-x.c (menu_move_down):
3375 * menubar-x.c (menu_move_left):
3376 * menubar-x.c (menu_move_right):
3377 * menubar-x.c (menu_select_item):
3378 * menubar-x.c (command_builder_operate_menu_accelerator):
3379 * menubar-x.c (menu_accelerator_junk_on_error):
3380 * menubar-x.c (command_builder_find_menu_accelerator):
3381 * menubar-x.c (Faccelerate_menu):
3383 Moved a whole bunch of code here that was previously in
3384 event-stream.c as described above. There is also code connected
3385 to the new standard of adding an accelerator to the beginning of
3386 menu items that don't have one as described above and below.
3389 * menubar.c (menu_parse_submenu_keywords):
3390 * menubar.c (Fmenu_find_real_submenu):
3391 * menubar.c (Fnormalize_menu_item_name):
3392 * menubar.c (syms_of_menubar):
3393 * menubar.c (vars_of_menubar):
3394 * menubar.c (complex_vars_of_menubar):
3396 a) Cleaned up a bunch of documentation and improved it.
3398 b) XEmacs now automatically adds an accelerator onto the beginning
3399 of any menu items that don't have one. I did this because there
3400 will inevitably be some menu items on the main menubar that don't
3401 have accelerators on them because the package that adds that
3402 particular menu item hasn't yet been fixed up to have accelerators
3403 in them and it looked rather strange to have some items with and
3404 some items without accelerators, especially since even in items
3405 without accelerators, you can, at least under windows, still
3406 access the item through an accelerator corresponding to the first
3407 character in the item's name. If people don't like this behavior,
3408 I can add a variable to turn it off optionally, but I'm not sure
3409 this is a good idea because we really do need to have accelerators
3410 on all of the menu items, and if a package doesn't like the
3411 accelerators being put on the first character, then it should put
3412 the accelerators where they belong.
3414 c) I made a behavior change, which is that the descriptor that
3415 specifies the text of the menu item, which formerly was just a
3416 string, can now also be an evaluated expression. This makes this
3417 descriptor parallel with all of the others, which could also be
3418 evaluated expressions. This also obviates the need for the
3419 keyword :label, which was previously listed in the documentation
3420 as unimplemented, and which was for the same purpose.
3425 * ntproc.c (new_child):
3426 * ntproc.c (sys_spawnve):
3427 * ntproc.c (find_child_console):
3428 * ntproc.c (sys_kill):
3429 Fixed compile warnings. By the way, this file should really go
3430 away entirely, and this will happen as soon as Kirill makes his
3431 final round of process cleanups, which affect the function
3435 * process-nt.c (struct nt_process_data):
3436 * process-nt.c (find_process_from_pid):
3437 * process-nt.c (send_signal_the_nt_way):
3438 * process-nt.c (enable_child_signals):
3439 * process-nt.c (find_child_console):
3440 * process-nt.c (send_signal_the_95_way):
3441 * process-nt.c (nt_finalize_process_data):
3442 * process-nt.c (ensure_console_window_exists):
3443 * process-nt.c (nt_create_process):
3444 * process-nt.c (nt_kill_child_process):
3445 * process-nt.c (nt_kill_process_by_pid):
3446 * process-nt.c (nt_open_network_stream):
3447 * process-nt.c (vars_of_process_nt):
3448 Copied over code from Emacs 20.5 to correctly send signals to sub-
3449 processes under Windows 95. Also added code to automatically
3450 create and hide console window when a sub-process is created under
3451 Windows 95, which obviates the need for the separate runemacs.exe
3452 executable, and finally implemented some variables that were
3453 implemented in Emacs 20.5, but previously not in XEmacs. These
3454 include mswindows- start-process-share-console and
3455 mswindows-start-process-inherit-error-mode. (Both of these only
3456 apply to Windows 95.)
3458 * regex.c (regex_compile): Fixed a compile warning.
3461 * select-msw.c (mswindows_own_selection):
3462 * select-msw.c (mswindows_get_foreign_selection):
3463 * select-msw.c (mswindows_disown_selection):
3464 * select-msw.c (console_type_create_select_mswindows):
3465 * select-msw.c (syms_of_select_mswindows):
3466 Cleaned up the file and implemented the device method
3467 selection_exists_p, which had accidentally been left out. Also
3468 removed four lisp functions that were remnants from before the
3469 time when the selection code was properly device abstracted.
3470 These functions are no longer needed because there are generic
3471 equivalents, and because they were added recently and don't exist
3472 in FSF Emacs, I don't think there's any problem with just deleting
3476 * sysdep.c (sys_subshell):
3477 Fixed a compile warning, although in this case there's probably
3478 something wrong with this code, and it ought to be looked into
3479 more thoroughly by somebody who understands it.
3482 * window.c (Fwindow_text_area_height):
3483 * window.c (Fwindow_width):
3484 * window.c (Fwindow_full_width):
3485 * window.c (Fwindow_pixel_width):
3486 * window.c (debug_print_window):
3487 * window.c (syms_of_window):
3488 Added functions window-text-area-height and window-full-width,
3489 which are functions for returning various width and height
3490 characteristics of a window. (One of these functions is necessary
3491 for making the file dialog box work correctly, and the other one
3492 was added for completeness.) Also added a table to the
3493 documentation for window-height which describes the entire scheme
3494 for accessing width and height characteristics of a window.
3496 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
3498 * nt.c (fstat): Added a comment for another problem with
3499 non-encapsulated [f]stat(), reported by Adrian Aichner
3500 <aichner@ecf.teradyne.com>.
3502 2000-03-11 Andy Piper <andy@xemacs.org>
3504 * window.c (make_dummy_parent): initialize subwindow instance
3506 (Fset_window_configuration): zero extent_modiff.
3508 2000-03-10 Andy Piper <andy@xemacs.org>
3510 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
3511 more changes can be triggered.
3512 (Fredisplay_frame): ditto.
3513 (Fredraw_device): ditto.
3514 (Fredisplay_device): ditto.
3515 (redisplay_frame): make non-static.
3516 (redisplay_frame): call update_frame_gutter_geometry outside of
3519 * gutter.h: declare update_frame_gutter_geometry.
3521 * redisplay.h: declare redisplay_frame.
3523 * gutter.c (update_frame_gutter_geometry): move geometry changes
3524 in update_frame_gutters here. Geometry changes can only occur
3525 outside of redisplay.
3526 (update_frame_gutters): remove geometry change code.
3527 (Fredisplay_gutter_area): make sure that we are in display when we
3528 update and that we have flushed any size changes.
3530 2000-03-11 Andy Piper <andy@xemacs.org>
3532 * alloc.c (pdump_dump_data): remove i & count shadows.
3534 2000-02-27 Mike Alexander <mta@arbortext.com>
3536 * sysdep.h: Declare pdump_read_file
3538 * sysdep.c (pdump_read_file): New function
3540 * alloc.c (pdump_load): Call pdump_read_file to get the portable
3543 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
3545 * lrecord.h: add `lrecord_type_pgsetenv'.
3547 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
3549 * symsinit.h: declare (vars|syms)_of* functions.
3550 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
3552 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
3554 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
3556 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
3559 * emacs.c (main_1): Call postgres initialization code.
3561 * postgresql.h: New file. PostgreSQL RDBMS support.
3562 * postgresql.c: New file.
3564 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
3566 * redisplay-output.c (redisplay_output_display_block): Disable
3569 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3571 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
3572 (Fcanna_henkan_next): Ditto.
3573 (Fcanna_bunsetu_henkou): Ditto.
3574 (Fcanna_henkan_kakutei): Ditto.
3575 (Fcanna_henkan_end): Ditto.
3576 (Fcanna_henkan_quit): Ditto.
3577 (Fcanna_henkan_next): Set retun value correctly.
3578 (c2mu): Use unsigned char instead of signed char.
3580 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3582 * emacs.c (main_1): Always call syms_of_gui.
3583 * inline.c: include gui.h
3585 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3587 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
3588 converted to Lisp_Object.
3589 (Qtop_bottom): New variable.
3590 (syms_of_redisplay): Initialize it.
3591 * redisplay.h (Vvisible_bell): Ditto.
3592 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
3593 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
3594 only flash top and bottom.
3596 2000-03-08 Andy Piper <andy@xemacs.org>
3598 * buffer.c (Frename_buffer): record new buffer name the right way.
3600 2000-03-08 Andy Piper <andy@xemacs.org>
3602 * glyphs.c (update_subwindow): increase hash depth so that widget
3603 items get picked up properly.
3605 * redisplay-output.c (compare_runes): increase hash depth so that
3606 widget items get picked up properly.
3608 2000-03-08 Andy Piper <andy@xemacs.org>
3610 * gutter.c (output_gutter): add some debug.
3612 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
3613 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
3614 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
3616 * redisplay-output.c (compare_runes): use display_hash to
3617 determine if glyphs really are not the same.
3619 * glyphs.c (update_subwindow): check display_hash to see if
3620 anything really needs to be updated. If not then do
3621 nothing. Record the display_hash after updating.
3622 (image_instance_equal): compare the image_instance face also.
3624 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
3626 * redisplay.h: Fix comment style.
3628 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
3630 * consle-msw.h (struct mswindows_frame):
3631 Added new member paint_pending to indicate whether a WM_PAINT
3632 magic event has been queued for this frame.
3634 * event-msw.c (mswindows_drain_windows_queue):
3635 Don't queue a WM_PAINT magic event if one is already queued.
3636 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
3638 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
3640 2000-03-07 Didier Verna <didier@xemacs.org>
3642 * dired.c: #include `regex.h' after `sysfile.h'.
3644 2000-03-06 Martin Buchholz <martin@xemacs.org>
3646 * sound.c (init_nas_sound): Fix compiler warning.
3648 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
3650 (MARK_STRUCT_AS_FREE):
3651 (MARK_STRUCT_AS_NOT_FREE):
3652 Make `gcc -fstrict-aliasing' work properly.
3654 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
3656 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
3657 (mswindows_delete_device): Call CoUnnitialize().
3659 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
3661 2000-02-25 <CraigL@DyCon.com>
3663 * process-nt.c: MinGW now has <shellapi.h>, but still needs
3666 * sysdep.c: This extern declaration for environ prevents MinGW
3667 from finding the variable in CRTDLL.DLL.
3669 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
3673 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
3675 (MMRESULT): Removed, now defined in cygwin's windows headers.
3677 (uid_t,gid_t,pid_t,ssize_t): ..
3678 (_timeb): Removed, MinGW defines both _timeb and timeb.
3679 (HAVE_H_ERRNO): Added.
3680 (HAVE_TZNAME): Added, configure is not detecting this.
3682 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
3684 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
3685 * syntax.c (syntax_match): Use it.
3687 * cmds.c: Import auto-fill-chars from FSF Emacs.
3688 (Vauto_fill_chars): New variables.
3689 (internal_self_insert): Check Vauto_fill_chars.
3691 Declare auto-fill-chars as a Lisp variable and initialize it.
3693 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
3695 * fileio.c (Fmake_symbolic_link):
3697 Run handlers even if local machine doesn't have symlinks.
3699 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
3701 * event-msw.c (mswindows_drain_windows_queue):
3702 Don't generate paint magic events for non-XEmacs frames.
3704 2000-03-05 Andy Piper <andy@xemacs.org>
3706 * redisplay.c (redisplay_frame): generate_displayable_area and
3707 friends assumes that we are not in GC, we therefore have to make
3708 sure that this doesn't happen.
3710 * gutter.c (calculate_gutter_size): generate_displayable_area
3711 assumes that we are not in GC, we therefore have to make sure that
3712 this doesn't happen.
3714 2000-03-05 Martin Buchholz <martin@xemacs.org>
3716 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
3718 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
3720 * redisplay.c (regenerate_window): Make sure we set a sane value
3721 for end_pos even if we jump out of the loop.
3722 (regenerate_window): Answer Ben's question :-).
3723 (start_end_of_last_line): Add may_error argument.
3724 (start_of_last_line):
3725 (end_of_last_line): Pass may_error = 0.
3726 (end_of_last_line_may_error): New function.
3727 (pixel_to_glyph_translation): Use it, so we don't crash in
3730 2000-03-04 Andy Piper <andy@xemacs.org>
3732 * window.h (struct window): add gutter_extent_modiff.
3734 * window.c (allocate_window): zero out gutter_extent_modiff.
3736 * redisplay.h: declare sync_display_line_structs.
3738 * redisplay.c (add_glyph_rune): add a better comment.
3740 * redisplay-output.c (sync_display_line_structs): made non-static.
3741 (compare_runes): remove unneccesary glyph cachel access.
3743 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
3745 * gutter.c (output_gutter): don't output the gutter if extent
3746 changes only involve extents in buffers. use 4 sets of display
3748 (gutter_extent_signal_changed_region_maybe): new function. Mark
3749 extents in gutters as changed.
3750 (update_frame_gutters): use 4 sets of display lines.
3751 (reset_gutter_display_lines): ditto.
3752 (free_frame_gutters): ditto.
3753 (redraw_exposed_gutter): force output of gutters.
3755 * frame.h (struct frame): add 4 sets of gutter display lines.
3757 * extents.c: (extent_changed_for_redisplay): signal changes to
3758 extents in strings in the gutter as well as extents in buffers.
3760 2000-03-02 Andy Piper <andy@xemacs.org>
3762 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
3764 * frame.c (Fmake_frame): make sure the gutters get initialized
3765 after the frame is visible.
3766 (set_frame_selected_window): re-arrange compilation macros a
3768 (change_frame_size_1): mark gutters changed.
3770 * device.c (Fset_device_class): mark gutters changed.
3772 2000-03-01 Andy Piper <andy@xemacs.org>
3774 * window.c (window_top_frame_gutter_height): deleted.
3775 (window_bottom_frame_gutter_height): ditto.
3776 (window_left_frame_gutter_height): ditto.
3777 (window_right_frame_gutter_height): ditto.
3778 (window_top_gutter_height): don't use them.
3779 (window_bottom_gutter_height): ditto.
3780 (window_left_gutter_width): ditto.
3781 (window_right_gutter_width): ditto.
3782 (Fsplit_window): ditto.
3783 (Fwindow_pixel_edges): don't use border dimensions here.
3785 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
3786 (update_scrollbar_instance): ditto.
3788 * redisplay.c (generate_modeline): don't take gutters into account.
3789 (generate_modeline): ditto.
3790 (redisplay_frame): small gutter display optimisation.
3792 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
3794 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
3795 gutters into account.
3797 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
3798 for window position and type.
3800 * gutter.c (get_gutter_coords): fix for frame gutters.
3801 (update_frame_gutters): update frame geometry if the gutters have
3803 (init_frame_gutters): record current gutter geometries.
3805 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
3807 (mswindows_widget_instantiate): ditto.
3809 * frame.h (struct frame): add current_gutter_bounds.
3811 * frame.c (change_frame_size_1): position window and minibuffer
3812 appropriately taking into account the frame gutters.
3814 * frame-x.c: (x_initialize_frame_size): take into account the
3817 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
3819 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
3821 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
3823 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
3825 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
3827 * file-coding.c (reset_decoding_stream): Clear previous
3828 detection state when autodetect.
3830 2000-02-29 Didier Verna <didier@xemacs.org>
3832 * extents.c (set_extent_glyph_1): don't require extents to be
3835 2000-02-27 Andy Piper <andy@xemacs.org>
3837 * gutter.c (Fset_default_gutter_position): don't default left and
3838 right gutter visibility to t.
3839 (Fset_default_gutter_position): run
3840 default-gutter-position-changed-hook.
3841 (syms_of_gutter): add default-gutter-position-changed-hook.
3843 2000-02-26 Andy Piper <andy@xemacs.org>
3845 * specifier.c (Fmake_specifier): add gutter references.
3847 * gutter.h (RAW_WINDOW_GUTTER): new macro.
3849 * lisp.h: declare Fvalid_plist_p.
3851 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
3853 (default_gutter_visible_p_changed_in_window): invalidate gutter as
3854 well as its visibility so that it gets reconstructed.
3855 (construct_window_gutter_spec): new function. Construct a string
3856 to be displayed in the gutter from a plist of strings. Take care
3857 to only use elements that are declared as visible.
3858 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
3860 (gutter_validate): allow plists of strings in the specifier.
3861 (gutter_specs_changed): construct the real_gutter from the gutter
3862 specs using construct_window_gutter_spec.
3863 (gutter_visible_validate): gutter-visible is a new specifier type.
3864 (Fgutter_visible_specifier_p): new function for the new specifier.
3865 (syms_of_gutter): declare gutter-visible and
3866 Fgutter_visible_specifier_p.
3867 (specifier_type_create_gutter): intitalize new gutter-visible
3869 (reinit_specifier_type_create_gutter): ditto.
3870 (specifier_vars_of_gutter): use new specifier type for gutter
3872 (init_frame_gutters): construct real_gutter correctly.
3873 (Fgutter_specifier_p): beef up documentation.
3874 (Fgutter_size_specifier_p): ditto.
3876 * winslots.h: add real_gutter slots.
3878 2000-02-25 Andy Piper <andy@xemacs.org>
3880 * device-msw.c: Be kind to older cygwin versions. From Raymond
3881 Toy <toy@rtp.ericsson.se>.
3883 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
3884 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
3886 2000-02-25 Martin Buchholz <martin@xemacs.org>
3888 * elhash.c (MARK_OBJ): Practice macro hygiene.
3890 2000-02-24 Martin Buchholz <martin@xemacs.org>
3892 * miscplay.c: s/__inline__/inline/g;
3893 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
3894 (get_device_compdc): INLINE ==> static inline
3895 * *.[ch]: Change INLINE to INLINE_HEADER globally.
3896 find -name '*.h' | \
3897 xargs global-replace \
3898 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
3900 2000-02-25 Andy Piper <andy@xemacs.org>
3902 * window.c (window_top_frame_gutter_height): new function.
3903 (window_top_window_gutter_height): ditto.
3904 (window_top_gutter_height): use them.
3905 (window_bottom_frame_gutter_height): new function.
3906 (window_bottom_window_gutter_height): ditto.
3907 (window_bottom_gutter_height): use them.
3908 (window_left_window_gutter_width): new function.
3909 (window_left_frame_gutter_width): ditto.
3910 (window_left_gutter_width): use them.
3911 (window_right_window_gutter_width): new function.
3912 (window_right_frame_gutter_width): ditto.
3913 (window_right_gutter_width): use them.
3914 (window_pixel_height): new function. calulate window pixel height
3915 with frame gutter involvement.
3916 (Fsplit_window): calculate new sizes taking frame gutters into
3918 (window_char_height_to_pixel_height): don't include frame gutters.
3919 (window_char_height): use window_pixel_height.
3920 (window_pixheight): rename from window_pixel_height.
3921 (change_window_height): use it.
3922 (window_pixel_height_to_char_height): don't include frame gutters.
3923 (window_char_width_to_pixel_width): ditto.
3925 2000-02-25 Andy Piper <andy@xemacs.org>
3927 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
3930 2000-02-24 Martin Buchholz <martin@xemacs.org>
3932 * alloc.c (staticpro):
3938 (compact_string_chars):
3940 Convert: if (foo) abort(); ==> assert (! foo);
3942 * eldap.c (Fldap_search_basic):
3946 Fix compiler warnings, and possible crashes if (random) return
3947 value were to be used.
3949 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
3951 * device-msw.c: Workaround ResetDC failure.
3953 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
3956 * redisplay-msw.c (get_frame_dc): Added start_page_p.
3957 (mswindows_text_width): Do not start printer page.
3959 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
3961 * glyphs-msw.c: Added image methods to msprinter console and
3962 msprinter-specific image instantiation.
3964 2000-02-20 Mike Alexander <mta@arbortext.com>
3966 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
3967 to avoid crashes when selection-sets-clipboard is on
3968 (mswindows_own_selection): ditto
3970 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
3973 * redisplay-msw.c (get_frame_dc):
3976 * device-msw.c (mswindows_init_device):
3977 (mswindows_delete_device):
3978 (msprinter_init_device):
3979 (msprinter_delete_device):
3980 * frame-msw.c (mswindows_init_frame_1):
3981 (mswindows_delete_frame):
3982 (msprinter_init_frame_3):
3983 (msprinter_delete_frame): Move compatible DC to device object from
3984 frame object, for both mswindows and msprinter. Only one at a time
3985 is needed, it is a real waste to have one per frame!
3987 2000-02-23 Andy Piper <andy@xemacs.org>
3989 * glyphs.c: add dynamic width and height elements.
3990 (image_instance_equal): ditto.
3992 * glyphs-widget.c (widget_query_geometry): calculate width and
3993 height dynamically if required.
3994 (initialize_widget_image_instance): initialize dynamic dimensions.
3995 (widget_instantiate): pick-up dynamic dimensions.
3997 * glyphs.h (struct Lisp_Image_Instance): add width and height for
3998 dynamic determination. Add appropriate macros.
4000 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
4002 (WINDOW_GUTTER_SIZE): ditto.
4003 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
4005 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
4007 (get_frame_dc): ditto.
4009 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
4012 2000-02-23 Martin Buchholz <martin@xemacs.org>
4014 * XEmacs 21.2.31 is released.
4016 2000-02-22 Ben Wing <ben@xemacs.org>
4018 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
4020 2000-02-22 Andy Piper <andy@xemacs.org>
4022 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
4024 2000-02-21 Mike Sperber <mike@xemacs.org>
4028 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
4031 2000-02-21 Mike Sperber <mike@xemacs.org>
4033 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
4035 2000-02-21 Martin Buchholz <martin@xemacs.org>
4037 * XEmacs 21.2.30 is released.
4039 2000-02-20 Martin Buchholz <martin@xemacs.org>
4041 Performance hacking.
4043 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
4044 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
4047 * console.c (DEFVAR_CONSOLE_LOCAL_1):
4048 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
4049 * symeval.h (DEFVAR_SYMVAL_FWD):
4050 * symbols.c (guts_of_unbound_marker):
4051 Make all c_readonly objects also lisp_readonly and marked for life.
4052 * lrecord.h (struct lrecord_implementation):
4053 Document flags better.
4054 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
4055 * lrecord.h (DECLARE_LRECORD):
4056 * lrecord.h (XSETRECORD):
4057 * lrecord.h (RECORDP):
4058 * lrecord.h (RECORD_TYPEP):
4059 * lrecord.h (RECORD_MARKER): New.
4060 * lrecord.h (error_check_*):
4061 * lrecord.h (CONCHECK_NONRECORD):
4062 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
4063 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
4064 * lrecord.h (set_lheader_implementation):
4065 * lrecord.h (enum lrecord_type): New.
4066 * symeval.h (SYMBOL_VALUE_MAGIC_P):
4067 * alloc.c (disksave_object_finalization_1):
4068 * alloc.c (mark_object):
4069 * alloc.c (lrecord_type_index):
4070 * alloc.c (tick_lcrecord_stats):
4071 * alloc.c (Fgarbage_collect):
4072 * alloc.c (init_alloc_once_early):
4073 * alloc.c (pdump_load):
4074 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
4075 * alloc.c (lrecord_type_index): Delete.
4076 Make lisp object type indexes be constant.
4077 Makes (byte-compile) 5% faster.
4078 Put all marker functions into their own array.
4079 Makes (garbage-collect) 5% faster.
4080 Optimize SYMBOL_VALUE_MAGIC_P.
4081 Makes (byte-compile) 2-3% faster.
4082 * config.h.in (gc_checking_assert): New.
4083 * alloc.c: Use gc_checking_assert().
4084 * .dbxrc: Make compatible with new object type implementation.
4085 * .gdbinit: Make compatible with new object type implementation.
4086 * alloc.c: Delete all symbols defined only for debugging, such as
4087 Lisp_Type_Vector and lrecord_charset.
4089 2000-02-21 Andy Piper <andy@xemacs.org>
4091 * gui-msw.c (Fmswindows_shell_execute): fix file location
4094 * buffer.c (Fkill_buffer): remove buffer from alist buffer
4095 unshowing so that set_window_buffer doesn't undo
4096 kill_buffer_hook's hard work.
4098 * glyphs-widget.c (tab_control_query_geometry): don't count the
4099 first item when calculating geometry.
4101 * glyphs.c (map_subwindow): remove redundant code.
4102 (update_frame_subwindows): be more circumspect about when to
4105 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
4106 when items haven't changed. Update faces if faces have changed as
4107 well as just the widget face.
4108 (x_tab_control_update): Update faces if faces have changed as well
4109 as just the widget face.
4111 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
4113 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
4115 (build_syscolor_string): Use mswindows_color_to_string to try to
4117 (mswindows_device_system_metrics): Reverse the foreground and
4118 background colors so that they match the documentation.
4120 * objects-msw.c: (mswindows_X_color_map): tweak some values so
4121 they match the default Windows palette.
4122 (mswindows_color_to_string): New function.
4124 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
4126 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
4128 2000-02-18 Olivier Galibert <galibert@pobox.com>
4130 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
4131 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
4133 * symbols.c (init_symbols_once_early): Removed obsolete
4134 DATA_SEG_BITS related kludge.
4135 (defvar_magic): Ditto.
4137 * malloc.c: Removed obsolete DATA_SEG_BITS
4139 * mem-limits.h: Ditto.
4141 * Makefile.in.in: Removed obsolete HAVE_SHM
4144 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4146 * device-msw.c (mswindows_delete_device): Free DDE string
4149 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4151 * keymap.c (get_keyelt):
4152 * unexnt.c (unexec):
4153 * vm-limit.c (memory_warnings):
4154 * ntheap.c (recreate_heap):
4155 * ntheap.h (UNINIT_PTR):
4156 * select-msw.c (Fmswindows_get_clipboard):
4157 (Fmswindows_set_clipboard):
4158 * objects-msw.h (MSWINDOWS_BAD_HFONT):
4160 * menubar-msw.c (displayable_menu_item):
4162 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
4163 * sysdep.c (sys_subshell):
4164 * process-nt.c (nt_create_process):
4165 * nt.c (normalize_filename):
4166 (dostounix_filename):
4167 (unixtodos_filename):
4168 * ntproc.c (win32_executable_type):
4169 * ntplay.c (play_sound_data_1):
4171 * editfns.c (get_home_directory):
4172 * event-msw.c (struct winsock_stream):
4173 (mswindows_dde_callback):
4174 * device-msw.c (msprinter_init_device):
4175 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
4177 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
4178 mswindows_clear_toolbar were swapped!
4180 * objects-msw.c:(colormap_t):
4182 * emacs.c (struct standard_args): Fixed const jumble.
4184 * glyphs-widget.c (update_widget): Fixed comparison notation.
4186 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
4188 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
4189 __declspec(noreturn) syntax.
4191 2000-02-19 Martin Buchholz <martin@xemacs.org>
4193 * eldap.c (Fldap_open):
4194 (Fldap_search_basic):
4197 Use new coding system conversion macros.
4199 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
4201 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
4203 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
4205 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
4206 (Fldap_add, Fldap_modify, Fldap_delete): New functions
4208 * eldap.c (Qadd, Qreplace): New constant symbols
4209 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
4210 interruptions by XEmacs signals
4211 Remove unnecessary calls to slow_down_interrupts and
4213 (Fldap_search_basic): Renamed from Fldap_search_internal
4214 Added new optional parameter VERBOSE that triggers the
4215 display of progress messages
4216 Remove unnecessary calls to slow_down_interrupts and
4218 LDAP result code analysis rewritten
4219 (Fldap_add, Fldap_modify, Fldap_delete): New functions
4220 (syms_of_eldap): Define the new symbols and functions
4223 2000-02-17 Martin Buchholz <martin@xemacs.org>
4225 * realpath.c: Determine PATH_MAX maximally portably.
4227 * insdel.c (bytecount_to_charcount): Optimize.
4228 The function used to be optimized for entirely ASCII sequences.
4229 Now it is optimized for successive characters from the same
4230 charset. This also wins big for _mostly_ ASCII sequences.
4232 * fileio.c (Ffile_truename): convert return from realpath() using
4233 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
4234 - Rewrite GCPROing slightly.
4236 * sysdep.c (sys_open): Do filename conversion, like all other
4237 sys_* functions. Fixes bug:
4238 (let ((file-name-coding-system 'iso-8859-2))
4239 (write-region x y latin2-name))
4240 ==> writes filename using internal encoding.
4242 2000-02-18 Martin Buchholz <martin@xemacs.org>
4244 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
4245 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
4246 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
4247 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
4248 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
4249 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
4250 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
4251 (CONST_IF_NOT_DEBUG): Delete.
4252 * alloc.c (this_one_is_unmarkable): Delete.
4253 (mark_object): Don't check for this_one_is_unmarkable. Use the
4254 c_readonly flag instead.
4255 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
4257 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
4259 * event-msw.c (mswindows_drain_windows_queue):
4260 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
4261 away redundant repaint events.
4263 2000-02-17 Andy Piper <andy@xemacs.org>
4265 * redisplay.h: declare mark_redisplay_structs.
4267 * redisplay.c (redisplay_window):
4268 (redisplay_frame): don't check subwindows_state_changed.
4269 (mark_redisplay): mark gutters here.
4271 * glyphs.c: (instantiate_image_instantiator): always layout if we
4272 haven't done so already.
4273 (allocate_image_instance): don't mark as dirty.
4274 (update_subwindow): bind inhibit_quit.
4276 * gutter.c (mark_gutters): new function.
4278 * glyphs-x.c (x_update_widget): Always resize to get round a
4281 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
4282 breaking absolutely everything.
4284 * gutter.h: declare mark_gutters.
4286 2000-02-16 Martin Buchholz <martin@xemacs.org>
4288 * XEmacs 21.2.29 is released.
4290 2000-02-15 Olivier Galibert <galibert@pobox.com>
4292 * fns.c (size_bit_vector): Fix computation of the size.
4294 2000-02-15 Martin Buchholz <martin@xemacs.org>
4296 * *.[ch]: Change CONST to const globally.
4297 find -name '*.[ch]' | \
4298 xargs global-replace \
4299 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
4300 - Remove vestigial references to CONST_IS_LOSING
4302 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4304 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
4305 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
4306 events instead of dispatching them directly.
4307 (mswindows_handle_paint): New function to do repainting.
4308 (mswindows_wnd_proc):
4309 (emacs_mswindows_handle_magic_event): Call above function.
4311 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
4313 * objects-msw.c (mswindows_create_font_variant): Return the new
4315 (initialize_font_instance): Get font metrics from the underlined
4316 variant of the font to cope with the case where the underlined
4317 font has a bigger descent.
4319 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4321 * gui.c (gui_item_accelerator): Return the first underlined
4322 character in item name.
4324 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4326 * lisp.h: Added Qprinter.
4328 * general.c (syms_of_general): Initialized it.
4330 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
4332 (get_frame_compdc): Made inline.
4334 * console.h (struct console_methods): Added eject_page method.
4336 * frame.h: Added FRAME_DISPLAY_P and friends.
4337 Aligned backslahes in many macros in more readable fashion.
4338 Added page_number to struct frame, and an accessor macro
4341 * defice.h: Added DEVICE_DISPLAY_P and friends.
4343 * device.c (Fdevice_printer_p): Used these.
4345 * frame.c (allocate_frame_core): Initialize page number.
4346 (Fprint_job_page_number):
4347 (Fprint_job_eject_page): Implemented.
4349 * frame-msw.c (msprinter_eject_page): Added method.
4350 (msprinter_start_page): Added.
4352 * window.c (Fwindow_truncated_p): Fixed docstring.
4353 (Fwindow_last_line_visible_height): Implemented.
4355 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
4357 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
4359 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
4361 * syntax.c (scan_words): Always advance at least one character.
4363 2000-02-13 Andy Piper <andy@xemacs.org>
4365 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
4366 to make sure the glyph is in the cachels.
4368 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
4369 global image instance flag.
4370 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
4371 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
4373 * glyphs.c (allocate_image_instance): set dirty bits correctly.
4374 (Fset_image_instance_property): mark layout as changed.
4375 (invalidate_glyph_geometry_maybe): mark layout as changed.
4376 (glyph_width): use new NEEDS_LAYOUT macro.
4377 (glyph_ascent): ditto.
4378 (glyph_descent): ditto.
4379 (glyph_height): ditto.
4380 (image_instance_layout): mark layout as clean after laying out.
4381 (update_subwindow): don't mark layout as clean here.
4383 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
4384 should no longer be needed.
4386 * glyphs-x.c (x_update_widget): sanitize asserts.
4387 (x_finalize_image_instance): sanitize assignment to widgets.
4389 * glyphs-widget.c (widget_instantiate): don't need to clear the
4392 2000-02-13 Martin Buchholz <martin@xemacs.org>
4394 * sysdep.c (getcwd): Use standard prototype.
4395 * sysdep.h (getcwd): Use standard prototype.
4397 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
4398 (sequence, start, end).
4399 Remove redundant type checking.
4400 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
4401 view of `caller-protects') to avoid a crash where the real fix was
4404 2000-02-12 Martin Buchholz <martin@xemacs.org>
4406 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
4408 * s/sol2.h: Remove feature macro initialization.
4410 * alloc.c (alloc_lcrecord): Add more type checking assertions.
4411 (vector_hash): New. Code from internal_hash.
4413 Fix up allocation subsystem comments.
4415 * config.h.in: Add __EXTENSIONS__ for Solaris.
4417 * systime.h (EMACS_GETTIMEOFDAY): New.
4418 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
4419 Remove Solaris-specific code.
4420 Use void* for the (ignored) second arg for gettimeofday().
4422 * elhash.c (hash_table_hash): Implement it, finally.
4423 * elhash.c: Use hashcode_t.
4425 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
4426 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
4428 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
4429 * fns.c (size_bit_vector):
4430 * alloc.c (size_vector):
4431 (make_vector_internal):
4432 (make_bit_vector_internal):
4433 (sweep_bit_vectors_1):
4434 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
4436 2000-02-10 Martin Buchholz <martin@xemacs.org>
4438 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
4439 Include strings.h to avoid warnings for bzero and strcasecmp.
4441 2000-02-10 Olivier Galibert <galibert@pobox.com>
4443 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
4444 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
4446 * fns.c (size_bit_vector): New. Declare bit vectors as a
4449 2000-02-10 Olivier Galibert <galibert@pobox.com>
4451 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
4452 use a value field instead.
4453 (symbol_value_forward_forward): Use value field.
4454 (DEFVAR_SYMVAL_FWD): Use value field.
4455 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
4456 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
4457 (DEFVAR_CONST_INT): Ditto.
4458 (DEFVAR_BOOL): Ditto.
4459 (DEFVAR_CONST_BOOL): Ditto.
4460 (DEFVAR_INT_MAGIC): Ditto.
4461 (DEFVAR_BOOL_MAGIC): Ditto.
4463 * symbols.c (guts_of_unbound_marker): Use value field.
4464 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
4465 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
4467 * lisp.h: Declare dumpopaque and noninteractive1.
4469 * alloc.c (dumpopaque): Added.
4470 (pdump_dump_opaquevec): Added.
4471 (pdump): Call pdump_dump_opaquevec to dump opaque data.
4472 (pdump_load): Reload opaque data. Sync noninteractive1 with
4475 2000-02-10 Andy Piper <andy@xemacs.org>
4477 * glyphs.c (image_instance_layout): if the size changes, mark it
4480 * redisplay-output.c (redisplay_output_layout): Update the
4482 (redisplay_output_subwindow): ditto.
4484 * glyphs.c (update_subwindow): make sure we reset flags for
4485 layouts as well as everything else.
4487 * glyphs-widget.c (layout_layout): don't need to set the instances
4490 2000-02-09 Martin Buchholz <martin@xemacs.org>
4492 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
4493 not HAVE_DLOPEN, which is a lower-level thing.
4495 * .cvsignore: Ignore gmon.out
4497 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
4499 * .cvsignore: Ignore portable dumper xemacs.dmp file
4501 2000-02-09 Andy Piper <andy@xemacs.org>
4503 * redisplay-output.c (redisplay_output_layout): be more clever
4504 about when we output based on the changed flags.
4506 * glyphs.h (struct image_instantiator_methods): add update_method.
4507 (struct Lisp_Image_Instance): add changed flags. Declare new
4508 macros for manipulating them.
4510 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
4511 (image_instance_parent_glyph): find an image_instance's parent
4512 glyph or image_instance.
4513 (image_instance_layout): mark the size as changed.
4514 (set_image_instance_dirty_p): new function. mark an image
4515 instance, plus all of its parents, as dirty.
4516 (Fset_image_instance_property): use it.
4517 (Fglyph_animated_timeout_handler): use it.
4518 (update_subwindow): call update_widget and device methods for
4519 update_subwindow. Mark all changed flags as clean.
4520 (Fresize_subwindow): mark size as changed.
4522 * glyphs-x.c (x_finalize_image_instance): try and detect gc
4524 (x_update_subwindow): only resize subwindows here.
4525 (x_update_widget): new function. Update all changed properties of
4527 (x_resize_subwindow): deleted.
4528 (x_widget_set_property): deleted.
4529 (x_progress_gauge_set_property): deleted.
4530 (x_progress_gauge_update): new function. Implement recorded
4532 (x_tab_control_update): ditto.
4533 (x_tab_control_set_property): deleted.
4534 (console_type_create_glyphs_x): declare new functions.
4535 (image_instantiator_format_create_glyphs_x): ditto.
4537 * glyphs-widget.c (widget_set_property): mark text changed.
4538 (update_widget): new function. Update properties of a widget.
4539 (widget_instantiate): for layouts make sure we set their
4540 children's parent correctly.
4541 (tab_control_set_property): new function. Record changes that will
4542 take place under redisplay's control.
4543 (progress_gauge_set_property): ditto.
4544 (image_instantiator_progress_guage): declare new functions.
4545 (image_instantiator_tab_control): ditto.
4547 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
4549 (mswindows_update_widget): new function. Update all properties on
4550 a widget that have changed.
4551 (mswindows_button_update): new function. Update a button's set
4553 (mswindows_tab_control_update): new function. Update the items in
4555 (mswindows_tab_control_set_property): deleted.
4556 (mswindows_progress_gauge_update): new function. Update the
4557 progress gauge's progress.
4558 (mswindows_widget_set_property): deleted. This is all done
4560 (mswindows_progress_gauge_set_property): ditto.
4561 (console_type_create_glyphs_mswindows): declare new methods.
4562 (image_instantiator_format_create_glyphs_mswindows): ditto.
4564 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
4565 (msprinter_set_frame_properties): ditto.
4567 * console.h (struct console_methods): Add update_widget_method.
4569 2000-02-09 Andy Piper <andy@xemacs.org>
4571 * gui-msw.c (Fmswindows_shell_execute): Make
4572 mswindows-shell-execute industrial strength.
4574 2000-02-08 Martin Buchholz <martin@xemacs.org>
4576 * lrecord.h: Make macro argument `props' match member function `plist'.
4580 * fns.c (Fobject_plist):
4583 Object property list frobbing cleanup.
4584 - Allow any lisp object (compared with `eq'), not just symbols, as
4585 keys in object plists.
4586 - Move symbol plist frobbing into symbols.c, where it belongs.
4587 - Move string plist frobbing into alloc.c, where it belongs.
4588 - Everything's an lrecord now, so no need to test for symbolp, etc.
4589 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
4591 * extents.c: Reorder code to remove declarations.
4593 * frame.h (store_in_alist): Remove useless declaration.
4595 2000-02-07 Martin Buchholz <martin@xemacs.org>
4597 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
4598 * config.h.in: Add HAVE_XCONVERTCASE.
4600 2000-02-07 Andy Piper <andy@xemacs.org>
4602 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
4603 it breaks many things.
4605 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
4607 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
4608 actually can start a common comment type.
4609 * src/syntax.h (SYNTAX_END_P): ditto for end.
4611 2000-02-07 Martin Buchholz <martin@xemacs.org>
4613 * XEmacs 21.2.28 is released.
4615 2000-02-06 Martin Buchholz <martin@xemacs.org>
4617 * event-Xt.c (x_keysym_to_character): New.
4618 (maybe_define_x_key_as_self_inserting_character): New.
4619 (x_has_keysym): New.
4620 Auto-define all keys on the keyboard as self-insert-key.
4622 2000-02-02 Martin Buchholz <martin@xemacs.org>
4624 * menubar.c (vars_of_menubar): A small code simplification.
4626 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
4633 Use consistent style for specifying X resources.
4635 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
4636 This makes (dontusethis-set-symbol-value-handler) actually usable.
4638 * lrecord.h (lrecord_decription_type):
4639 * alloc.c (pdump_register_sub):
4642 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
4643 Comply with XEmacs coding style.
4644 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
4645 args, and XD_LISP_OBJECT_ARRAY with 3 args.
4647 * keymap.c (Faccessible_keymaps):
4648 Make (accessible-keymaps map "\C-h") do the Right Thing.
4649 Make (accessible-keymaps map []) do the Right Thing.
4650 Make (accessible-keymaps map "") do the Right Thing.
4651 (check_keymap_definition_loop): New function.
4652 (keymap_store_internal): Keep luser from shooting self in foot,
4653 via (define-key ctl-x-4-map "p" global-map).
4654 Remove fullness slot from struct Lisp_Keymap, since hash tables
4656 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
4658 2000-01-30 Martin Buchholz <martin@xemacs.org>
4660 * redisplay.c (init_redisplay): Fix small memory leak.
4662 * elhash.c (pdump_reorganize_hash_table):
4663 Rename from reorganize_hash_table. Change prototype.
4664 Reuse the original memory for hentries. Save 100k.
4665 * alloc.c (PDUMP_READ): new macro.
4666 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
4667 * alloc.c: No need to #ifndef before #undef.
4669 * print.c: Allow debug_print() to print readably by modifying
4670 debug_print_readably. Use consistent variable names.
4672 * .dbxrc: Try to get things to work even if stopped in a function
4673 without source available by explicitly specifying source files.
4674 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4676 * unexnt.c (_start): Removed bogus code which caused loading heap
4677 from differrent executable file.
4678 Removed bogus assignment to _fmode, which caused inconsistencies.
4680 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4682 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
4683 Have spawnve encapsulation regard DONT_ENCAPSULATE.
4684 Do not preliminary `#define signal sigset'.
4686 * systime.h: Do not prototype environ on windows nt and cygwin,
4687 this conflicts with system header.
4689 * syssignal.h: Use correct define for WINDOWSNT
4691 * sysdep.h: Do not prototype environ on windows nt, this conflicts
4694 * sysdep.c (near start of file): Fixed commentary and rearranged
4695 ifdefs in readable order.
4696 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
4699 (end_of_data): Do not compile in if using PDUMP.
4701 * symsinit.h: Protptyped vars_of_nt().
4703 * ntproc.c (windows9x_p): Added, instead of os_subtype.
4704 (find_child_console): Use it.
4707 * ntheap.h: Do not extern os_subtype.
4709 * ntheap.c (cache_system_info): Do not cache unneeded:
4710 nt_major_version, nt_minor_version and os_subtype.
4711 (recreate_heap): Do not compile in when PDUMPing.
4713 * nt.c (geteuid and friends): Use the new varibale
4714 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
4715 (init_user_info): Removed the above mentioned hackery.
4716 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
4717 stat has been fixed in the C runtime.
4718 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
4720 * file-coding.c (struct file_coding_dump): Do not define
4721 ucs_to_mule_table in the struct if not MULE.
4722 (struct struct lrecord_description fcd_description_1): Do not dump
4725 * emacs.c (main_1): Call vars_of_nt().
4726 (right before Fdump_emacs_data): Don't need lastfile if using both
4727 portabe dumper and system malloc.
4729 * alloc.c (Fmemory_limit): Conditionalized out.
4730 (pdump): Use OPEN_BINARY for the portable dump file.
4731 (pdump_load): Ditto.
4733 2000-02-02 Mike Alexander <mta@arbortext.com>
4735 * nt.c (convert_time): Set tm_isdst before calling mktime and
4736 avoid calling it at all if the compiler supports 64 bit integers.
4737 Also initialize utc_base_ft before using it.
4739 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4741 * frame.c (change_frame_size_1): Take f->internal_border_width
4742 into consideration when calculating the width of the frame.
4744 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4746 * window.c (frame_min_height):
4747 (frame_size_valid_p):
4748 (frame_pixsize_valid_p): Added.
4749 (check_frame_size): Generalized.
4751 * window.h: Prototyped the above.
4754 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
4755 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
4756 Deleted Vwin32_* and Vbinary_process_* unused variables.
4758 * device-msw.c (msprinter_init_device): Do not get printer font
4759 list; Added DEVMODE functions.
4761 * frame-msw.c: Added lots of printer code.
4763 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
4766 * console-msw.h: Added more msprinter device private slots.
4768 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4770 * event-msw.c (key_needs_default_processing_p): Added.
4771 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
4773 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4775 * glyphs.c (image_instance_layout): Mark image instance as clean
4777 (glyph_dirty_p): Removed redundant function.
4778 (invalidate_glyph_geometry_maybe): Added.
4779 (update_glyph_cachel_data): Call it.
4781 * glyphs.h: Prototyped it.
4783 * redisplay.c (add_glyph_rune): Call it.
4784 (redisplay_window): Reset glyphs cachels when frame faces has
4785 changed, thus forcing recomputation of built-in border glyphs.
4787 2000-01-30 Martin Buchholz <martin@xemacs.org>
4789 * Makefile.in.in: Make portable dumper and purify play well together.
4790 Add imperfect, but better than nothing, support for pdump.
4791 Remove xemacs.dmp when temacs is re-generated.
4792 Don't ignore errors when dumping xemacs.
4794 * symbols.c (maybe_call_magic_handler): Remove one magic number.
4796 2000-01-28 Andy Piper <andy@xemacs.org>
4798 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
4799 (setup_normal_frame): ditto.
4800 (setup_frame_without_minibuffer): ditto.
4801 (setup_minibuffer_frame): ditto.
4802 (delete_frame_internal): ditto.
4803 (Fmake_frame_invisible): ditto.
4804 (Ficonify_frame): ditto.
4806 * window.h: change Fset_window_buffer signature.
4808 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
4809 (Fset_window_buffer): allow recording of buffer if the window is
4810 the selected window.
4811 (window_loop): Use new Fset_window signature.
4813 2000-01-23 Daniel Pittman <daniel@danann.net>
4815 * config.h.in: Added template for `HAVE_ATHENA_3D'
4817 2000-01-29 Andy Piper <andy@xemacs.org>
4819 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
4821 * gutter.c (output_gutter): Don't output if the window isn't live.
4823 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4825 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
4826 of 01/12/00: Moved SetFocus back here where it belongs.
4828 2000-01-23 Andy Piper <andy@xemacs.org>
4830 * s/cygwin32.h: declare printer things.
4832 2000-01-26 Andy Piper <andy@xemacs.org>
4834 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
4837 2000-01-24 Andy Piper <andy@xemacs.org>
4839 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
4840 (mswindows_button_instantiate): Make sure glyph is a pixmap.
4842 * glyphs-widget.c (widget_instantiate): Avoid shadows.
4844 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
4846 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
4848 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
4849 (mswindows_output_display_block): Avoid local shadows.
4851 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
4852 (mswindows_enqueue_mouse_button_event): ditto.
4853 (mswindows_handle_gui_wm_command): remove declaration.
4855 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
4858 * console-msw.h: Avoid shadows.
4859 (mswindows_get_toolbar_button_text):
4860 (emacs_mswindows_create_stream_pair):
4861 (emacs_mswindows_delete_stream_pair):
4862 (mswindows_handle_toolbar_wm_command): declare.
4864 * device-msw.c (build_syscolor_string): Avoid shadows.
4866 2000-01-23 Andy Piper <andy@xemacs.org>
4868 * glyphs-widget.c (widget_instantiate): reverse the items for
4869 layouts so that children are in the expected order.
4871 2000-01-28 Martin Buchholz <martin@xemacs.org>
4873 * ralloc.c: safe_bcopy ==> memmove
4874 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
4875 * s/msdos.h: Remove BCOPY macros.
4876 * insdel.c (gap_right): Remove BCOPY conditional code.
4877 * insdel.c (gap_left): Remove BCOPY conditional code.
4878 XEmacs demands a working ANSI C compiler - hence memmove.
4880 * regex.c (regex_compile): Remove accidental use of trigraphs.
4882 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4884 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
4887 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
4889 * event-msw.c (mswindows_drain_windows_queue): Added the
4891 (mswindows_need_event): Commented the call to
4892 mswindows_drain_windows_queue().
4893 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
4896 * console-msw.h: Moved a few function prototypes here from
4899 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
4900 parameter from unsigned short to unsigned long.
4901 (Fmswindows_shell_execute): Added return value.
4903 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
4905 * sysdep.c (init_system_name):
4906 process-unix.c (unix_canonicalized_host_name):
4907 Don't call freeaddrinfo() if getaddrinfo() fails.
4909 * process-unix.c (unix_open_unix_network_stream):
4910 Moved the code to get a port # into address loop.
4912 2000-01-27 Martin Buchholz <martin@xemacs.org>
4914 * buffer.c (reinit_vars_of_buffer):
4915 The right place to initialize conversion_in_dynarr and
4916 conversion_out_dynarr.
4918 * alloc.c (pdump): Use the real open() till sys_open() is functional.
4920 * process-unix.c (unix_canonicalize_host_name): Muleize.
4921 (unix_open_network_stream): Muleize.
4923 * buffer.h: Fix up prototypes for ralloc.c functions.
4925 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
4926 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
4927 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
4928 instead of gethostbyname()
4929 * process-unix.c: In unix_canonicalize_host_name() and
4930 unix_open_network_stream(), add code to use getaddrinfo()
4931 instead of gethostbyname().
4933 2000-01-27 Daniel Pittman <daniel@danann.net>
4935 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
4936 libs when built with flat Athena.
4938 2000-01-27 Martin Buchholz <martin@xemacs.org>
4940 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
4941 Use coding standards for function prototypes.
4943 2000-01-25 Martin Buchholz <martin@xemacs.org>
4945 * dialog-msw.c (push_lisp_string_as_unicode):
4946 * doc.c (unparesseuxify_doc_string):
4947 * dired.c (Fuser_name_completion_1):
4948 * dired.c (Fuser_name_all_completions):
4949 * dired.c (free_user_cache):
4950 * dired.c (user_name_completion):
4951 * console-x.c (get_display_arg_connection):
4952 * minibuf.c (clear_echo_area_internal):
4953 * minibuf.c (echo_area_append):
4954 * eldap.c (Fldap_open):
4955 * eldap.c (Fldap_search_internal):
4956 * frame-x.c (x_set_frame_text_value):
4957 * frame-x.c (x_set_frame_properties):
4958 * frame-x.c (x_create_widgets):
4959 * redisplay-tty.c (term_get_fkeys_1):
4960 * objects-x.c (x_parse_nearest_color):
4961 * objects-x.c (x_valid_color_name_p):
4962 * objects-x.c (x_initialize_font_instance):
4963 * objects-x.c (x_list_fonts):
4964 * objects-x.c (x_find_charset_font):
4965 * tooltalk.c (Fadd_tooltalk_message_arg):
4966 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
4967 * tooltalk.c (Fadd_tooltalk_pattern_arg):
4968 * process-unix.c (unix_create_process):
4969 * ntproc.c (sys_spawnve):
4970 * sound.c (Fplay_sound_file):
4971 * sound.c (Fplay_sound):
4972 * buffer.c (init_initial_directory):
4973 * buffer.c (init_buffer):
4974 * editfns.c (init_editfns):
4975 * editfns.c (Ftemp_directory):
4976 * editfns.c (Fuser_full_name):
4977 * editfns.c (uncache_home_directory):
4978 * editfns.c (get_home_directory):
4979 * editfns.c (Fuser_home_directory):
4980 * editfns.c (Fformat_time_string):
4981 * editfns.c (Fcurrent_time_string):
4982 * gui-x.c (button_item_to_widget_value):
4983 * database.c (Fopen_database):
4984 * event-Xt.c (x_to_emacs_keysym):
4985 * event-Xt.c (x_event_to_emacs_event):
4986 * event-Xt.c (describe_event_window):
4987 * event-msw.c (mswindows_wnd_proc):
4988 * glyphs-eimage.c (jpeg_instantiate):
4989 * glyphs-eimage.c (gif_instantiate):
4990 * glyphs-eimage.c (png_instantiate):
4991 * glyphs-eimage.c (tiff_instantiate):
4992 * glyphs-x.c (xbm_instantiate_1):
4993 * glyphs-x.c (x_xbm_instantiate):
4994 * glyphs-x.c (x_xface_instantiate):
4995 * glyphs-x.c (autodetect_instantiate):
4996 * glyphs-x.c (cursor_font_instantiate):
4997 * glyphs-x.c (x_widget_instantiate):
4998 * glyphs-x.c (x_widget_set_property):
4999 * glyphs-x.c (x_widget_property):
5000 * glyphs-x.c (BUILD_GLYPH_INST):
5001 * print.c (write_string_to_stdio_stream):
5002 * print.c (output_string):
5003 * print.c (Falternate_debugging_output):
5004 * print.c (Fexternal_debugging_output):
5005 * glyphs-msw.c (extract_xpm_color_names):
5006 * glyphs-msw.c (mswindows_xpm_instantiate):
5007 * glyphs-msw.c (bmp_instantiate):
5008 * glyphs-msw.c (resource_name_to_resource):
5009 * glyphs-msw.c (mswindows_resource_instantiate):
5010 * glyphs-msw.c (xbm_instantiate_1):
5011 * glyphs-msw.c (mswindows_xbm_instantiate):
5012 * glyphs-msw.c (mswindows_xface_instantiate):
5013 * glyphs-msw.c (mswindows_widget_instantiate):
5014 * glyphs-msw.c (add_tree_item):
5015 * glyphs-msw.c (add_tab_item):
5016 * glyphs-msw.c (mswindows_combo_box_instantiate):
5017 * glyphs-msw.c (mswindows_widget_property):
5018 * glyphs-msw.c (mswindows_combo_box_property):
5019 * glyphs-msw.c (mswindows_widget_set_property):
5020 * console.c (stuff_buffered_input):
5021 * objects-msw.c (mswindows_initialize_color_instance):
5022 * objects-msw.c (mswindows_valid_color_name_p):
5023 * objects-msw.c (mswindows_list_fonts):
5024 * objects-msw.c (mswindows_font_instance_truename):
5025 * bytecode.c (optimize_compiled_function):
5026 * select-x.c (symbol_to_x_atom):
5027 * select-x.c (x_atom_to_symbol):
5028 * select-x.c (hack_motif_clipboard_selection):
5029 * select-x.c (selection_data_to_lisp_data):
5030 * select-x.c (lisp_data_to_selection_data):
5031 * select-x.c (Fx_get_cutbuffer_internal):
5032 * select-x.c (Fx_store_cutbuffer_internal):
5033 * buffer.h (TO_EXTERNAL_FORMAT): New function.
5034 * buffer.h (TO_INTERNAL_FORMAT): New function.
5035 * emacs.c (make_arg_list_1):
5036 * emacs.c (make_argc_argv):
5038 * emacs.c (Fdump_emacs):
5039 * emacs.c (split_string_by_emchar_1):
5044 * device-x.c (x_init_device):
5045 * device-x.c (Fx_valid_keysym_name_p):
5046 * device-x.c (Fx_get_font_path):
5047 * device-x.c (Fx_set_font_path):
5048 * glyphs.c (bitmap_to_lisp_data):
5049 * glyphs.c (pixmap_to_lisp_data):
5050 * alloc.c (make_ext_string): Use coding system arguments. Update
5052 * alloc.c (build_string):
5053 * callproc.c (child_setup):
5054 * callproc.c (init_callproc):
5055 * fileio.c (lisp_strerror):
5056 * fileio.c (directory_file_name):
5057 * fileio.c (Fexpand_file_name):
5058 * fileio.c (Ffile_truename):
5059 * fileio.c (Fsysnetunam):
5060 * fileio.c (Fdo_auto_save):
5061 * sysdep.c (sys_readdir):
5062 * tests.c: New file. Allow adding C tests.
5063 Replace GET_* macros with a more comprehensible and flexible
5064 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
5066 Any coding system can be used to do format conversion.
5067 Eliminate enum external_data_format.
5068 Eliminate convert_to_external_format.
5069 Eliminate convert_to_internal_format.
5070 Make sure file-name, keyboard, terminal, and ctext are always
5071 defined as coding systems or aliases. Make
5072 file-name-coding-system, terminal-coding-system, and
5073 keyboard-coding-system magical variables that are equivalent to
5074 defining the corresponding coding system aliases.
5076 * file-coding.c (Fcoding_system_canonical_name_p): New function.
5077 * file-coding.c (Fcoding_system_alias_p): New function.
5078 * file-coding.c (Fcoding_system_aliasee): New function.
5079 * file-coding.c (append_suffix_to_symbol): New function.
5080 * file-coding.c (dangling_coding_system_alias_p): New function.
5081 * file-coding.c (Ffind_coding_system):
5082 * file-coding.c (Fcopy_coding_system):
5083 * file-coding.c (encode_coding_no_conversion):
5084 * file-coding.c (syms_of_file_coding):
5085 * file-coding.c (vars_of_file_coding):
5086 Rewrite coding system alias code.
5087 Allow nested aliases, like symbolic links.
5088 Allow redefinition of coding system aliases.
5089 Prevent existence of dangling coding system aliases.
5091 * dired.c (Fuser_name_completion_1):
5092 * dired.c (Fuser_name_all_completions):
5093 A crash would happen if user did QUIT in the middle of building
5094 user_name_cache. Remove redundant code in mainline and unwind_protect.
5097 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
5099 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
5100 an unsigned char *. Update all callers.
5102 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5104 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
5106 2000-01-25 Martin Buchholz <martin@xemacs.org>
5108 * elhash.c (hentry_description): Use more portable definition.
5109 (resize_hash_table): Initialize new hentries using
5110 xnew_array_and_zero, thereby simplifying the code.
5112 * mule-charset.c (make_charset): Make sure entire object is
5113 intialized, to avoid Purify warnings.
5115 * alloc.c (resize_string): Fix unlikely crash with big strings.
5117 2000-01-24 Martin Buchholz <martin@xemacs.org>
5119 * realpath.c (xrealpath):
5122 2000-01-25 Martin Buchholz <martin@xemacs.org>
5124 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
5126 1999-12-28 Max Matveev <max@melbourne.sgi.com>
5128 * unexelfsgi.c (unexec): Change the way we decide which segment
5131 Assumption that .bss section should be outside the PT_LOADable
5132 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
5133 it's present) is inside the 'data' segment. This would fail the
5134 test which was used to find a segment to grow and cover new
5135 heap. Instead of this assumption, I created another one - on IRIX
5136 the segment to grow should start below .bss and it's address
5137 should extent above the end of .bss. Once this segment is
5138 identified, it's grown to accommodate the new heap and new
5139 zero-length .bss section is added at the end of .data2.
5141 2000-01-25 Martin Buchholz <martin@xemacs.org>
5143 * eval.c (Feval): Wrong number of arguments should use original
5144 function, not the indirect_function version of it.
5146 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
5148 * glyphs-x.c (x_button_instantiate): Don't add image if
5150 (x_locate_pixmap_file): Call Fexpand_file_name when file name
5153 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
5155 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
5157 (DEFVAR_INT_MAGIC): Ditto.
5158 (DEFVAR_BOOL_MAGIC): Ditto.
5159 * glyphs.h: Reindent backslash.
5161 2000-01-24 Martin Buchholz <martin@xemacs.org>
5163 * glyphs-widget.c (layout_query_geometry):
5164 (layout_layout): Use correct types for gheight, gwidth.
5166 2000-01-24 Martin Buchholz <martin@xemacs.org>
5168 * EmacsManager.c (QueryGeometry): Purified.
5170 2000-01-23 Martin Buchholz <martin@xemacs.org>
5172 * alloc.c (make_float): Make sure entire object is intialized, to
5173 avoid Purify warnings.
5174 (pdump_register_sub): Remove useless assignment.
5175 (pdump): Use xmalloc, not malloc.
5176 (pdump_load): Use xmalloc, not malloc.
5178 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5185 * sysdep.c: Removed redundant #include <windows.h>
5187 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5189 * frame.c (delete_frame_internal): Do not delete device when its
5190 implementation so declares.
5191 (delete_frame_internal): Set device selected frame to nil when
5192 last frame goes away.
5194 * device-msw.c (msprinter_device_system_metrics): Implemented.
5195 (mswindows_device_system_metrics): Added 'device-dpi property.
5197 * device.c: (Fdevice_printer_p): Added.
5198 Added 'offset-workspace device metric.
5200 * console.h (device_metrics): Declared DM_offset_workspace.
5202 2000-01-23 Martin Buchholz <martin@xemacs.org>
5204 * fileio.c (Ffile_truename): Remove pointless and confusing
5205 initialization of elen.
5207 * glyphs-widget.c: Compiler warning fixes.
5209 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
5211 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
5212 instead of a Lisp_Object as argument to make it consistent with
5213 the other LIVE_P macros.
5214 (CHECK_LIVE_PROCESS): New macro.
5216 * process.c: Declare Qprocess_live_p.
5217 (Fprocess_live_p): New function.
5218 (create_process): Use PROCESS_LIVE_P.
5219 (read_process_output): Ditto.
5220 (set_process_filter): Ditto.
5221 (Fdelete_process): Ditto.
5222 (kill_buffer_processes): Ditto
5223 (process_send_signal): Use CHECK_LIVE_PROCESS.
5224 (Fprocess_input_coding_system): Check whether process is still
5225 alive (fix PR#1061).
5226 (Fprocess_output_coding_system): Ditto.
5227 (Fprocess_coding_system): Ditto.
5228 (Fset_process_input_coding_system): Ditto.
5229 (Fset_process_output_coding_system): Ditto.
5231 2000-01-23 Andy Piper <andy@xemacs.org>
5233 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
5236 * glyphs.c (mark_image_instance): take into account changed
5237 image_instance format.
5238 (image_instance_equal): ditto.
5239 (image_instance_hash): ditto.
5241 * glyphs-widget.c (widget_instantiate): Incorporate layout
5242 instantiation here. Delay layout of the layout until later.
5243 (layout_instantiate): deleted.
5244 (layout_query_geometry): new function. get the geometry of a
5246 (layout_layout): layout a layout dynamically.
5247 (image_instantiator_widget): New function - splitting up
5248 image_instantiator_format_create_glyphs_widget for netwinder
5250 (image_instantiator_buttons):
5251 (image_instantiator_edit_fields):
5252 (image_instantiator_combo_box):
5253 (image_instantiator_scrollbar):
5254 (image_instantiator_progress_guage):
5255 (image_instantiator_tree_view):
5256 (image_instantiator_tab_control):
5257 (image_instantiator_labels):
5258 (image_instantiator_layout): ditto.
5259 (image_instantiator_format_create_glyphs_widget): Call preceeding
5262 2000-01-22 Martin Buchholz <martin@xemacs.org>
5264 * process.c (Fset_process_coding_system):
5265 * device-x.c (Fx_keysym_hash_table):
5268 * lstream.c (Lstream_write): Return documented value, not 0.
5270 * fileio.c (directory_file_name):
5271 (Fsubstitute_in_file_name):
5272 (Fsubstitute_insert_file_contents_internal):
5273 (Fwrite_region_internal):
5278 Remove vestigial APOLLO-conditional code.
5280 2000-01-21 Martin Buchholz <martin@xemacs.org>
5282 * getpagesize.h: Add guard macros.
5283 * libsst.h: Add guard macros.
5284 * libst.h: Add guard macros.
5285 * line-number.h: Add guard macros.
5286 * ndir.h: Add guard macros.
5287 * sysfloat.h: Add guard macros.
5288 * sysfile.h: Add guard macros.
5289 * sysproc.h: Add guard macros.
5290 * syswait.h: Add guard macros.
5291 * xintrinsic.h: Add guard macros.
5292 * xintrinsicp.h: Add guard macros.
5293 * xmmanager.h: Add guard macros.
5294 * xmmanagerp.h: Add guard macros.
5295 * xmprimitive.h: Add guard macros.
5296 * xmu.h: Add guard macros.
5297 * gpmevent.h: Add copyright statement. Add guard macros.
5298 * miscplay.h: Add guard macros.
5299 * *.h: Use consistent C-standards-approved guard macro names.
5301 * opaque.c (make_opaque): Switch parameter order.
5302 * opaque.h (make_opaque): Switch parameter order.
5304 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
5306 * config.h.in (type_checking_assert): Added.
5307 (bufpos_checking_assert): Added.
5309 2000-01-21 Martin Buchholz <martin@xemacs.org>
5311 * alloc.c: Harmless pdump changes.
5313 - spell alignment correctly.
5314 * sysdep.c: Use countof()
5316 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5318 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
5319 initially_selected_for_input() console method, default to 0.
5320 (semi_canonicalize_console_connection): Try to delegate to
5321 canonicalize_console_connection if no such console method.
5322 (canonicalize_console_connection): Vice versa.
5323 (print_console): Do not print nil connection.
5325 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
5326 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
5327 (XDEVIMPF_FRAMELESS_OK): Added.
5328 (CONSOLE_INHERITS_METHOD): Added.
5330 * console-msw.c (mswindows_canonicalize_console_connection):
5332 (mswindows_canonicalize_device_connection): Added.
5334 * console-msw.h (struct msprinter_device): Added this struct and
5336 (mswindows_device): Made fontlist a lisp object.
5338 * device.c (semi_canonicalize_device_connection): Try to delegate
5339 to canonicalize_device_connection if no such console method.
5340 (canonicalize_device_connection): Vice versa.
5341 (print_device): Do not print nil connection.
5343 * device-msw.c (mswindows_init_device): Call InitCommonControls
5345 (mswindows_delete_device): Removed fontlist deallocation.
5346 (mswindows_mark_device): Added.
5348 * events.c (event_equal): Added abort() at unreached code.
5349 (event_hash): Ditto.
5351 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
5352 fallback tags of Windows devices.
5354 * general.c (syms_of_general): Initialized Qmsprinter.
5356 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
5357 of fallback tags of Windows devices.
5359 * lisp.h: Declared Qmsprinter.
5361 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
5363 (mswindows_list_fonts): Ditto.
5364 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
5365 that it can be used by both mswindows and msprinter devices.
5366 (initialize_font_instance): Added.
5367 (mswindows_initialize_font_instance): Use it.
5368 (msprinter_initialize_font_instance): Added.
5370 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
5371 and implementation flags check.
5372 (redisplay_without_hooks): Changed the call to the above.
5373 (Fredraw_device): Ditto.
5374 (Fredisplay_device): Ditto.
5376 * redisplay-msw.c (get_frame_dc): Implemented.
5377 (get_frame_compdc): Implemented.
5378 (many functions): Use the two functions above to get device
5379 contexts, ether for a window or a printer.
5381 2000-01-21 Olivier Galibert <galibert@pobox.com>
5383 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
5384 initialization here.
5385 (init_symbols_once_early): Call it.
5386 * emacs.c (main_1): Call it.
5387 * symsinit.h: Declare it.
5389 2000-01-19 Olivier Galibert <galibert@pobox.com>
5391 * alloc.c: Use a lrecord_header * in the backtrace instead of a
5393 (pdump_backtrace): Ditto.
5394 (pdump_register_object): Ditto. Cleanup use of the pointers.
5395 (pdump_get_entry): Abort if trying to register a null pointer.
5396 (pdump_dump_data): Cleanup types when relocating.
5397 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
5398 (pdump_dump_rtables): Remove bad casts.
5399 (pdump_load): Cleanup relocation w.r.t union type. Use a
5400 Lisp_Object instead of a EMACS_INT for the hashtable
5403 2000-01-20 Martin Buchholz <martin@xemacs.org>
5405 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
5407 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
5409 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
5411 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
5413 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5415 * faces.h (FACE_STRIKETHRU_P): Added.
5417 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
5420 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
5421 (mswindows_set_dc_font): New function, aware of font variants,
5422 separated from mswindows_update_dc.
5424 * objects-msw.h (struct mswindows_font_instance_data): Added
5427 * objects-msw.c (mswindows_finalize_font_instance): Delete all
5428 cached fonts and the data structure.
5429 (mswindows_initialize_font_instance): Added creation of font data
5431 (mswindows_print_font_instance): Print at least something.
5432 (mswindows_create_font_variant): Implemented.
5433 (mswindows_get_hfont): Implemented.
5435 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
5437 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
5438 prototyping problem with msvc.
5440 * emacs.c (main_1): added syms_of_gui_mswindows() call
5442 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
5443 syms_of_gui_mswindows() function
5445 * symsinit.h: added the prototype for syms_of_gui_mswindows()
5447 2000-01-18 Martin Buchholz <martin@xemacs.org>
5449 * XEmacs 21.2.27 is released.
5451 2000-01-18 Martin Buchholz <martin@xemacs.org>
5453 * glyphs-eimage.c (struct tiff_error_struct):
5455 (tiff_warning_func):
5456 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
5461 * unexec.c: Remove vestigial Lucid C code.
5466 Remove declarations of errno and strerror().
5468 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
5470 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
5472 2000-01-16 Martin Buchholz <martin@xemacs.org>
5474 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
5477 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
5482 Change enum eol_type to eol_type_t.
5484 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
5486 * gui.c (get_gui_callback): Check cons before accessing car.
5488 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
5490 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
5491 (XSETSPECIFIER_TYPE): Ditto.
5493 2000-01-17 Didier Verna <didier@xemacs.org>
5495 * redisplay.c (generate_fstring_runes): compute string size in
5496 characters, not bytes.
5498 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
5500 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
5502 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
5504 * print.c (print_error_message): Call print_prepare().
5506 2000-01-14 Martin Buchholz <martin@xemacs.org>
5508 * .dbxrc: Renamed from dbxrc.
5510 * events.c (event_to_character):
5511 Use `assert (foo)' instead of `if (!foo) abort()'
5513 * .gdbinit (xtype): Add documentation.
5514 * .gdbinit (check-temacs): New function.
5515 * .gdbinit (check-xemacs): New function.
5516 * dbxrc (check-xemacs): New function.
5517 * dbxrc (check-xemacs): New function.
5519 2000-01-14 Andy Piper <andy@xemacs.org>
5521 * glyphs-widget.c (widget_query_geometry): Make sure that we
5522 calculate default dimensions correctly.
5524 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5526 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
5528 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
5529 pdump_wire'd variable.
5531 * emacs.c: (main_1): Conditionalized calls to
5532 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
5534 2000-01-13 Martin Buchholz <martin@xemacs.org>
5536 * window.c (Fset_window_configuration):
5537 * sysdep.c (_start):
5538 * input-method-motif.c (res):
5539 * event-Xt.c (Xt_process_to_emacs_event):
5540 Simple compiler warning fixes.
5542 * bytecode.c (funcall_compiled_function): Use the original
5543 function symbol on the backtrace list in preference to the
5544 compiled_function object in error messages.
5546 2000-01-13 Andy Piper <andy@xemacs.org>
5548 * glyphs-x.c (update_widget_face): Make sure we update the widget
5549 background as well as foreground.
5551 2000-01-13 Andy Piper <andy@xemacs.org>
5553 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
5554 fields to subwindow.
5555 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
5556 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
5557 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
5558 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
5560 * glyphs-widget.c (check_valid_tab_orientation): new function.
5561 (initialize_widget_image_instance): zero orientation and
5563 (widget_instantiate): pick up orientation.
5564 (tab_control_query_geometry): return appropriate values for
5567 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
5568 appropriate creation flags for left, right and bottom tabs.
5570 * s/cygwin32.h: add tab definitions.
5572 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5574 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
5575 frame upon hiding a subwindow.
5576 (mswindows_button_instantiate): Changed the push button style to
5578 (mswindows_button_instantiate): Removed button BS_NOTIFY
5580 (mswindows_button_instantiate): Removed redundant check for
5581 a disabled gui item.
5582 (mswindows_button_instantiate): Made use of WS_TABSTOP
5583 consistent: "operable" controls (edit, button, tree, scroll) have
5584 this style, "display-only" ones (static, progress gauge) do
5585 not. This style is currently ignored by XEmacs though. Also,
5586 removed the WS_EX_CONTROLPARENT style - it is not for children,
5587 it is for their parents!
5588 (mswindows_edit_field_instantiate): Ditto.
5589 (mswindows_progress_gauge_instantiate): Ditto.
5590 (mswindows_tree_view_instantiate): Ditto.
5591 (mswindows_tab_control_instantiate): Ditto.
5592 (mswindows_scrollbar_instantiate): Ditto.
5593 (mswindows_combo_box_instantiate): Ditto.
5594 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
5595 style to the "clip" window.
5596 (mswindows_button_instantiate): Removed compilation warning by
5597 equally typing terms of the ?: operator.
5599 2000-01-12 Didier Verna <didier@xemacs.org>
5601 * redisplay.c (generate_fstring_runes): new parameter holding the
5602 last modeline-format extent.
5603 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
5604 extent, fill the glyph block with it.
5605 (generate_fstring_runes): handle these parameters.
5606 (generate_formatted_string_db): ditto.
5608 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
5609 glyphs'extents in the modeline.
5611 1999-01-11 Mike Woolley <mike@bulsara.com>
5613 * ntheap.c: Reduced the reserved heap space from 1Gb down to
5614 256Mb, as a workaround for the non-starting problem many people
5617 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
5619 * console-tty.c (Fset_console_tty_output_coding_system):
5620 Force redrawing tty frame.
5622 2000-01-10 Didier Verna <didier@xemacs.org>
5624 * redisplay.c (generate_fstring_runes): fix size computation bug.
5626 2000-01-09 William M. Perry <wmperry@aventail.com>
5628 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
5630 2000-01-09 Andy Piper <andy@xemacs.org>
5632 * glyphs-msw.c: index -> i to avoid shadows.
5633 (xbm_create_bitmap_from_data): make static.
5634 (check_valid_string_or_int): deleted.
5635 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
5637 * glyphs-x.c (x_update_subwindow): remove unused args.
5639 * glyphs.c (glyph_image_instance): return the thing. Don't set the
5640 back pointer - this is done in allocate_image_instance.
5641 (query_string_font): return Qnil to make the compiler happy.
5642 (unmap_subwindow): set to ~0 to make the compiler happy.
5643 (glyph_query_geometry): comment out until used.
5644 (glyph_layout): ditto.
5646 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
5648 * insdel.c (signal_after_change): Remove extraneous unbind_to().