1 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
4 and `latin-viscii-upper' for `latin-viscii'.
6 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * mule-charset.c (Fdecode_builtin_char): Comment out
9 regularization code for ISO-IR GR representation.
11 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * mule-charset.c (decode_builtin_char): New function; renamed from
14 `make_builtin_char'; return -1 instead of signal.
15 (Fdecode_builtin_char): Use `decode_builtin_char'.
17 * char-ucs.h (decode_builtin_char): New prototype; renamed from
19 (DECODE_CHAR): Use `decode_builtin_char' instead of
20 `make_builtin_char'; use mapping table of `chinese-big5' for
23 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * text-coding.c (char_encode_big5): New function.
26 (char_finish_big5): Likewise.
27 (reset_encoding_stream): Use `char_encode_big5' and
28 `char_finish_big5' for CODESYS_BIG5.
29 (mule_encode): Don't use `encode_coding_big5'.
30 (encode_coding_big5): Deleted.
32 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
35 0x81- in XEmacs UTF-2000.
36 (detect_coding_big5): Likewise.
38 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * mule-charset.c (Fdefine_char): Don't use a CCS property to
41 generate character-id if the CCS property does not have
42 corresponding predefined character.
43 (make_builtin_char): Return -1 if corresponding predefined
44 character is not found.
45 (Fdecode_char): Return nil if corresponding character is not
47 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
48 don't map to builtin ucs space.
50 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
53 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
55 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
57 * mule-charset.c (Vcharset_ideograph_gt): New variable.
58 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
59 (Qideograph_gt): Likewise.
60 (Qideograph_gt_pj_{1..11}): Likewise.
61 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
62 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
64 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
65 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
66 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
68 * char-ucs.h (LEADING_BYTE_GT): New macro.
69 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
70 (MIN_CHAR_GT): Likewise.
71 (MAX_CHAR_GT): Likewise.
73 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
75 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
76 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
78 * doprnt.c (unsigned_int_converters): Add `c'.
79 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
81 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
82 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
84 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
85 (MAX_CHAR_MOJIKYO_0): New macro.
86 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
88 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
90 * mule-charset.c (Fdefine_char): Delete cemented out code.
91 (encode_builtin_char_1): Modify for new allocation of builtin
94 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
96 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * mule-charset.c (Vcharset_ucs_cns): New variable.
99 (Qucs_cns): New variable.
100 (syms_of_mule_charset): Add new symbol `ucs-cns'.
101 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
103 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
107 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
109 * search.c (search_buffer): Make `charset_base_code' as
110 character-id >> 6 to eliminate the corresponding last byte in
111 UTF-8 representation [I'm not sure it is right thing].
112 (boyer_moore): Likewise.
114 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
116 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
117 representation in MULE.
119 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * text-coding.c (Fmake_coding_system): Use
122 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
123 `EXTERNAL_PROPERTY_LIST_LOOP'.
125 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
127 * text-coding.c (decode_output_utf8_partial_char): New function.
128 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
130 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * text-coding.c (decode_coding_utf8): Output original byte
133 sequence if it is broken; change order of conditions.
135 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
138 * mb-multibyte.h (BYTE_ASCII_P):
139 Use bit ops for char-signedness safety.
140 (BYTE_C0_P): Use bit ops for char-signedness safety.
141 (BYTE_C1_P): Use bit ops for char-signedness safety.
143 * character.h: (XCHAR_OR_CHAR_INT):
144 Always use inline function.
145 Remove redundant type checking assert() - XINT will abort quite
148 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * text-coding.c: (Fencode_shift_jis_char):
152 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
153 Replace 0 with '\0' when working with bytes.
154 Replace initial "(" with "\(" in docstrings.
156 (Fmake_coding_system):
157 When type is ccl and value is vector, register it with a proper
158 symbol. And checks whether the given ccl program is valid.
159 (mule_decode): When calling ccl_driver, if src indicates
160 NULL pointer, set an empty string instead.
161 (mule_encode): Likewise.
164 (detect_coding_sjis):
165 (decode_coding_sjis):
166 (detect_coding_big5):
167 (decode_coding_big5):
168 (detect_coding_ucs4):
169 (decode_coding_ucs4):
170 (detect_coding_utf8):
171 (decode_coding_utf8):
172 (detect_coding_iso2022):
173 (decode_coding_iso2022):
174 (decode_coding_no_conversion):
176 Make all detecting and decoding functions take an Extbyte * arg.
177 (text_encode_generic):
178 (encode_coding_big5):
179 (encode_coding_no_conversion):
181 Make all encoding functions take a Bufbyte * arg.
182 Use size_t instead of unsigned int for memory sizes.
183 Only cast to unsigned char whenever dereferencing Extbyte *.
185 (struct lrecord_description fcd_description_1): Use countof.
186 (complex_vars_of_file_coding):
187 Use countof instead of sizeof.
188 Use CHECK_NATNUM instead of CHECK_INT.
190 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * mule-charset.c (Fget_char_attribute): Add new optional argument
194 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
195 (remove_char_ccs): Likewise.
197 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
199 * text-coding.c (char_encode_shift_jis): New implementation in
201 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
204 * mule-charset.c (Vcharset_chinese_big5): New variable in
206 (Qchinese_big5): New variable in UTF-2000.
207 (BIG5_SAME_ROW): New macro in UTF-2000.
208 (make_builtin_char): Use builtin characters of
209 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
210 characters of `Vcharset_chinese_big5'.
211 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
212 (complex_vars_of_mule_charset): Add new coded-charset
213 `chinese-big5' in UTF-2000.
215 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
216 (Vcharset_chinese_big5): New external variable declaration.
217 (Vcharset_japanese_jisx0208_1990): Likewise.
219 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
223 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
225 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
228 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
229 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
232 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
236 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
241 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
244 for `CHARSET_BY_ATTRIBUTES'.
245 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
246 `CHARSET_BY_ATTRIBUTES'.
248 * text-coding.c (struct decoding_stream): Rename member `CH' to
250 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
251 (decode_coding_sjis): Likewise.
252 (decode_coding_big5): Likewise.
253 (decode_coding_ucs4): Likewise.
254 (decode_coding_utf8): Likewise.
255 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
256 `CHARSET_BY_ATTRIBUTES'.
257 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
258 `str->counter'; decode 3, 4 bytes sets.
259 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
261 (decode_coding_no_conversion): Use `str->cpos' instead of
264 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
265 (Qmojikyo_2022_1): New variable.
266 (make_charset): Don't use `CHARSET_TYPE_*'.
267 (range_charset_code_point): Support coded-charset
269 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
270 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
271 `CHARSET_BY_ATTRIBUTES'.
272 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
273 `CHARSET_BY_ATTRIBUTES'.
274 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
275 (complex_vars_of_mule_charset): Add new coded-charset
278 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
279 interface; changed to inline function.
281 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
282 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
283 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
284 (CHARSET_TYPE_94): Deleted.
285 (CHARSET_TYPE_94X94): Deleted.
286 (CHARSET_TYPE_96): Deleted.
287 (CHARSET_TYPE_96X96): Deleted.
288 (CHARSET_TYPE_128): Deleted.
289 (CHARSET_TYPE_128X128): Deleted.
290 (CHARSET_TYPE_256): Deleted.
291 (CHARSET_TYPE_256X256): Deleted.
292 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
294 (DECODE_MOJIKYO_2022): New inline function.
295 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
296 `Vcharset_mojikyo_2022_1'.
298 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
302 (put_byte_table): Likewise.
303 (char_id_table_equal): Use `get_byte_table' [new implementation].
305 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
307 * mule-charset.c: Include <limits.h> in UTF-2000.
308 (BT_UINT8_MIN): New macro in UTF-2000.
309 (BT_UINT8_MAX): New macro in UTF-2000.
310 (BT_UINT8_t): New macro in UTF-2000.
311 (BT_UINT8_nil): New macro in UTF-2000.
312 (BT_UINT8_unbound): New macro in UTF-2000.
313 (INT_UINT8_P): New inline function in UTF-2000.
314 (UINT8_VALUE_P): New inline function in UTF-2000.
315 (UINT8_ENCODE): New inline function in UTF-2000.
316 (UINT8_DECODE): New inline function in UTF-2000.
317 (mark_uint8_byte_table): New function in UTF-2000.
318 (print_uint8_byte_table): New function in UTF-2000.
319 (uint8_byte_table_equal): New function in UTF-2000.
320 (uint8_byte_table_hash): New function in UTF-2000.
321 (make_uint8_byte_table): New function in UTF-2000.
322 (uint8_byte_table_same_value_p): New function in UTF-2000.
323 (BT_UINT16_MIN): New macro in UTF-2000.
324 (BT_UINT16_MAX): New macro in UTF-2000.
325 (BT_UINT16_t): New macro in UTF-2000.
326 (BT_UINT16_nil): New macro in UTF-2000.
327 (BT_UINT16_unbound): New macro in UTF-2000.
328 (INT_UINT16_P): New inline function in UTF-2000.
329 (UINT16_VALUE_P): New inline function in UTF-2000.
330 (UINT16_ENCODE): New inline function in UTF-2000.
331 (UINT16_DECODE): New inline function in UTF-2000.
332 (UINT8_TO_UINT16): New inline function in UTF-2000.
333 (mark_uint16_byte_table): New function in UTF-2000.
334 (print_uint16_byte_table): New function in UTF-2000.
335 (uint16_byte_table_equal): New function in UTF-2000.
336 (uint16_byte_table_hash): New function in UTF-2000.
337 (make_uint16_byte_table): New function in UTF-2000.
338 (uint16_byte_table_same_value_p): New function in UTF-2000.
339 (print_byte_table): New function in UTF-2000.
340 (byte-table): Use `print_byte_table' as printer.
341 (make_byte_table): Delete second argument `older'.
342 (byte_table_same_value_p): New function in UTF-2000.
343 (copy_byte_table): Deleted.
344 (get_byte_table): New function in UTF-2000.
345 (put_byte_table): New function in UTF-2000.
346 (print_char_id_table): New function in UTF-2000.
347 (char-id-table): Use `print_char_id_table' as printer.
348 (make_char_id_table): Delete second argument `older'.
349 (get_char_id_table): Use `get_byte_table [new implementation].
350 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
352 (Ffind_char_attribute_table): New function in UTF-2000.
353 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
354 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
355 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
356 (syms_of_mule_charset): Add new function
357 `find-char-attribute-table' in UTF-2000.
359 * lrecord.h (enum lrecord_type): Add
360 `lrecord_type_uint16_byte_table' and
361 `lrecord_type_uint8_byte_table'.
363 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
364 (Lisp_Uint8_Byte_Table): New type.
365 (XUINT8_BYTE_TABLE): New macro.
366 (XSETUINT8_BYTE_TABLE): New macro.
367 (UINT8_BYTE_TABLE_P): New macro.
368 (GC_UINT8_BYTE_TABLE_P): New macro.
369 (struct Lisp_Uint16_Byte_Table): New structure.
370 (Lisp_Uint16_Byte_Table): New type.
371 (XUINT16_BYTE_TABLE): New macro.
372 (XSETUINT16_BYTE_TABLE): New macro.
373 (UINT16_BYTE_TABLE_P): New macro.
374 (GC_UINT16_BYTE_TABLE_P): New macro.
376 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
379 (Vcharacter_ideographic_strokes_table): Deleted.
380 (Vcharacter_total_strokes_table): Deleted.
381 (Vcharacter_morohashi_daikanwa_table): Deleted.
382 (Vcharacter_decomposition_table): Deleted.
383 (Qname): Deleted because it is duplicated.
384 (Qideographic_radical): Deleted.
385 (Qideographic_strokes): Deleted.
386 (Qtotal_strokes): Deleted.
387 (Qmorohashi_daikanwa): Deleted.
388 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
389 `ideographic-radical', `ideographic-strokes', `total-strokes',
390 `morohashi-daikanwa' and `->decomposition'.
391 (Fget_char_attribute): Likewise.
392 (Fput_char_attribute): Likewise; use `make-vector' instead of
393 `make_older_vector' for `->decomposition' value.
394 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
395 `ideograph-daikanwa'.
396 (syms_of_mule_charset): Delete builtin symbols `name',
397 `ideographic-radical', `ideographic-strokes', `total-strokes' and
398 `morohashi-daikanwa'.
399 (vars_of_mule_charset): Don't setup
400 `Vcharacter_ideographic_radical_table',
401 `Vcharacter_ideographic_strokes_table',
402 `Vcharacter_total_strokes_table',
403 `Vcharacter_morohashi_daikanwa_table' and
404 `Vcharacter_decomposition_table'.
406 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
408 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
409 `make_older_vector', `make_vector_newer_1' and
412 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
413 `make_older_vector' and `make_vector_newer'.
415 * config.h.in (HAVE_GGC): New macro.
417 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
419 * mule-charset.c (struct char_attribute_list_closure): New
420 structure in UTF-2000.
421 (add_char_attribute_to_list_mapper): New function in UTF-2000.
422 (Fchar_attribute_list): Likewise.
423 (Fset_charset_mapping_table): Use `make_vector_newer'.
424 (Fdecode_builtin_char): New function in UTF-2000.
425 (syms_of_mule_charset): Add new function `char-attribute-list' and
426 `decode-builtin-char' in UTF-2000.
428 * lisp.h (make_vector_newer): New prototype.
430 * alloc.c (make_vector_newer_1): New function.
431 (make_vector_newer): New function.
433 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
438 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * mule-charset.c (Vchar_attribute_hash_table): New variable.
441 (Vcharacter_attribute_table): Deleted.
442 (Vcharacter_name_table): Deleted.
443 (put_char_attribute): Deleted.
444 (remove_char_attribute): Deleted.
445 (struct char_attribute_alist_closure): New structure.
446 (add_char_attribute_alist_mapper): New function.
447 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
448 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
449 (Fget_char_attribute): Likewise.
450 (Fput_char_attribute): Likewise.
451 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
452 of `remove_char_attribute'.
453 (Fdefine_char): Return character.
454 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
455 and `Vcharacter_name_table'.
456 (complex_vars_of_mule_charset): Likewise
457 `Vchar_attribute_hash_table'.
459 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * character.h (CHARC_CHARSET): New macro.
462 (CHARC_CHARSET_ID): New macro.
463 (CHARC_CODE_POINT): New macro.
464 (CHARC_COLUMNS): New macro.
465 (CHARC_TO_CHAR): New inline function.
466 (CHARC_EQ): New inline function.
467 (CHARC_ASCII_EQ): New inline function.
468 (CHARC_IS_SPACE): New inline function.
469 (ASCII_TO_CHARC): New inline function.
471 * char-ucs.h (encode_char_2): Deleted.
472 (ENCODE_CHAR): Use `encode_char_1' again.
473 (breakup_char_1): Likewise.
474 (CHAR_TO_CHARC): New inline function.
476 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
478 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
480 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
481 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
482 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
483 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
484 (create_string_text_block): Use `CHARC_ASCII_EQ' and
486 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
488 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
490 (x_output_display_block): Use `CHARC_CHARSET' and
493 * redisplay-tty.c (tty_output_display_block): Use
495 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
497 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
499 * insdel.c (find_charsets_in_charc_string): Use
501 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
502 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
503 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
504 (convert_charc_string_into_malloced_string): Likewise.
506 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
509 instead of <Emchar_dynarr *> for buf; use
510 `convert_bufbyte_string_into_charc_dynarr' instead of
511 `convert_bufbyte_string_into_emchar_dynarr'; use
512 `find_charsets_in_charc_string' instead of
513 `find_charsets_in_emchar_string'.
516 - Include "character.h".
517 (struct rune): New member `cglyph'; delete member `chr'.
519 * redisplay.c (redisplay_text_width_charc_string): New function;
520 delete `redisplay_text_width_emchar_string'.
521 (rtw_charc_dynarr): New variable; renamed from
523 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
524 `rtw_emchar_dynarr'; use
525 `convert_bufbyte_string_into_charc_dynarr' instead of
526 `convert_bufbyte_string_into_emchar_dynarr'; use
527 `redisplay_text_width_charc_string' instead of
528 `redisplay_text_width_emchar_string'.
529 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
530 instead of `rtw_emchar_dynarr'; use
531 `convert_bufbyte_string_into_charc_dynarr' instead of
532 `convert_bufbyte_string_into_emchar_dynarr'.
533 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
534 `redisplay_text_width_charc_string' instead of
535 `redisplay_text_width_emchar_string'.
536 (create_text_block): Modify for <struct rune> change.
537 (generate_formatted_string_db): Likewise.
538 (create_string_text_block): Likewise.
539 (pixel_to_glyph_translation): Likewise.
541 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
542 instead of <const Emchar *>.
543 (x_text_width): Likewise.
544 (x_output_display_block): Use <Charc_dynarr *> instead
545 <Emchar_dynarr *>; modify for <structure rune> change.
546 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
549 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
550 <const Emchar *>; use `charc_string_displayed_columns' instead of
551 `emchar_string_displayed_columns'.
552 (tty_output_display_block): Use <Charc_dynarr *> instead of
553 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
554 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
555 (tty_output_charc_dynarr_dynarr): New variable; renamed from
556 `tty_output_emchar_dynarr_dynarr'.
557 (tty_output_charc_dynarr): New function; delete
558 `tty_output_charc_dynarr'.
560 * redisplay-output.c (compare_runes): Modify for `struct rune'.
561 (redisplay_output_layout): Use <Charc_dynarr *> instead of
562 <Emchar_dynarr *> for buf; use
563 `convert_bufbyte_string_into_charc_dynarr' instead of
564 `convert_bufbyte_string_into_emchar_dynarr'.
566 * frame.c (title_string_charc_dynarr): New variable; renamed from
567 `title_string_emchar_dynarr'.
568 (generate_title_string): Use `title_string_charc_dynarr' instead
569 of `title_string_emchar_dynarr'; use
570 `convert_charc_string_into_malloced_string' instead of
571 `convert_emchar_string_into_malloced_string'.
572 (init_frame): Use `title_string_charc_dynarr' instead of
573 `title_string_emchar_dynarr'.
576 - Include "character.h".
577 (struct console_methods): Use <const Charc *> instead of <const
578 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
579 <Emchar_dynarr *> in output_string_method.
581 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
584 * console-stream.c (stream_text_width): Use <const Charc *>
585 instead of <const Emchar *>.
587 * character.h (Charc_dynarr): New type.
589 * char-ucs.h (structure Charc): New structure; define new type
592 * char-lb.h (DECODE_CHAR): New inline function.
593 (encode_char_1): New inline function.
594 (ENCODE_CHAR): New macro.
595 (structure Charc): New structure; define new type `Charc'.
597 * char-1byte.h (Vcharset_control_1): New macro.
598 (Vcharset_latin_iso8859_1): New macro.
599 (DECODE_CHAR): New inline function.
600 (encode_char_1): New inline function.
601 (ENCODE_CHAR): New macro.
602 (structure Charc): New structure; define new type `Charc'.
604 * insdel.c (find_charsets_in_charc_string): New function; delete
605 `find_charsets_in_emchar_string'.
606 (charc_string_displayed_columns): New function; delete
607 `emchar_string_displayed_columns'.
608 (convert_bufbyte_string_into_charc_dynarr): New function; delete
609 `convert_bufbyte_string_into_emchar_dynarr'.
610 (convert_charc_string_into_bufbyte_dynarr): New function; delete
611 `convert_charc_string_into_bufbyte_dynarr'.
612 (convert_charc_string_into_malloced_string): New function; delete
613 `convert_charc_string_into_malloced_string'.
615 * buffer.h (find_charsets_in_charc_string): New prototype; delete
616 `find_charsets_in_emchar_string'.
617 (charc_string_displayed_columns): New prototype; delete
618 `emchar_string_displayed_columns'.
619 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
620 `convert_charc_string_into_bufbyte_dynarr'.
621 (convert_charc_string_into_malloced_string): New prototype; delete
622 `convert_charc_string_into_malloced_string'.
624 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
626 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
628 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
630 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
632 * char-ucs.h: Use <short> for <Charset_ID>.
634 * mule-charset.h, char-1byte.h: Use <unsigned char> for
637 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
639 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
642 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
644 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
646 (Qmorohashi_daikanwa): New variable.
647 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
648 for `morohashi-daikanwa' attribute.
649 (Fget_char_attribute): Likewise.
650 (Fput_char_attribute): Likewise.
651 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
652 has the same value of `ideograph-daikanwa'.
653 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
654 (vars_of_mule_charset): Setup
655 `Vcharacter_morohashi_daikanwa_table'.
657 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
661 (add_charset_to_list_mapper): Add `key' instead of
662 `XCHARSET_NAME (value)' to return aliases.
664 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * mule-charset.c (Vcharacter_ideographic_radical_table): New
668 (Vcharacter_ideographic_strokes_table): New variable.
669 (Qideographic_radical): New variable.
670 (Qideographic_strokes): New variable.
671 (Fchar_attribute_alist): Use
672 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
673 attribute; use `Vcharacter_ideographic_strokes_table' for
674 `ideographic-strokes' attribute.
675 (Fget_char_attribute): Likewise.
676 (Fput_char_attribute): Likewise.
677 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
678 `ideographic-strokes'.
679 (vars_of_mule_charset): Setup
680 `Vcharacter_ideographic_radical_table' and
681 `Vcharacter_ideographic_strokes_table'.
683 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
686 (Qtotal_strokes): New variable.
687 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
688 `total-strokes' attribute.
689 (Fget_char_attribute): Likewise.
690 (Fput_char_attribute): Likewise.
691 (syms_of_mule_charset): Add new symbol `total-strokes'.
692 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
694 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * mule-charset.c (Vcharacter_decomposition_table): New variable.
697 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
699 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
700 `->decomposition' attribute.
701 (Fput_char_attribute): Likewise.
702 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
704 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
706 * mule-charset.c (decoding_table_check_elements): New function.
707 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
709 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * mule-charset.c (Fset_charset_mapping_table): Use
712 `put_char_ccs_code_point'.
714 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * mule-charset.c (decoding_table_put_char): New inline function.
717 (put_char_ccs_code_point): Use `decoding_table_put_char'.
719 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
721 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
722 (XCHARSET_BYTE_SIZE): New macro.
723 (decoding_table_remove_char): New inline function.
724 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
725 `decoding_table_remove_char'.
726 (remove_char_ccs): Use `decoding_table_remove_char'.
727 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
729 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * mule-charset.c (Vcharacter_name_table): New variable.
732 (Qname): New variable.
733 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
735 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
736 `Vcharacter_name_table' for `name' attribute.
737 (Fremove_char_attribute): Use function `remove_char_ccs'.
738 (put_char_ccs_code_point): New function.
739 (remove_char_ccs): New function.
740 (syms_of_mule_charset): Add new symbol `name'.
741 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
743 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
745 * mule-charset.c (make_byte_table): Add new argument `older'.
746 (make_char_id_table): Likewise.
747 (copy_char_id_table): Comment out because it is not used.
748 (put_char_id_table): Modify for `make_byte_table'.
749 (Fput_char_attribute): Make encoding_table as older object;
750 inherit older bit of `Vcharacter_composition_table'.
751 (mark_charset): Don't mark `cs->encoding_table'.
752 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
753 normal object; make `Vcharacter_composition_table' as an older
754 object; delete staticpro for `Vcharacter_composition_table'; make
755 `Vcharacter_variant_table' as a normal object.
757 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
758 (mark_object): Don't check older object in UTF-2000.
760 * lrecord.h (struct lrecord_header): Add new member `older' in
762 (set_lheader_implementation): Setup `SLI_header->older' in
764 (set_lheader_older_implementation): New macro in UTF-2000.
765 (OLDER_RECORD_P): New macro in UTF-2000.
766 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
767 (alloc_older_lcrecord): New prototype in UTF-2000.
768 (alloc_older_lcrecord_type): New macro in UTF-2000.
770 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
772 * mule-charset.c (byte_table_description): Use
773 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
774 (char_id_table_description): Delete bogus `, 1'.
775 (Fget_char_attribute): Refer encoding_table of each coded-charset
776 to get value of coded-charset attribute of a character.
777 (Fput_char_attribute): Use `make_older_vector' instead of
778 `make_vector'; use encoding_table of each coded-charset to store
779 value of coded-charset attribute of a character.
780 (Fremove_char_attribute): Use encoding_table of each coded-charset
781 to store value of coded-charset attribute of a character.
782 (mark_charset): Mark `cs->encoding_table'; don't mark
783 `cs->decoding_table'.
784 (charset_description): Add description of new member
786 (make_charset): Initialize `encoding_table'.
788 * char-ucs.h (struct Lisp_Charset): Add new member
790 (CHARSET_ENCODING_TABLE): New macro.
791 (XCHARSET_ENCODING_TABLE): New macro.
792 (charset_code_point): New implementation.
793 (encode_char_1): Likewise.
795 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
796 (disksave_object_finalization_1): Call finalizers of
797 `all_older_lcrecords' in UTF-2000.
798 (make_older_vector): New function in UTF-2000.
799 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
802 * lisp.h (make_older_vector): New prototype in UTF-2000.
804 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * lrecord.h (enum lrecord_type): Rename
807 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
809 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
810 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
811 `get_char_code_table'.
813 * mule-charset.c (mark_char_id_table): Renamed from
814 `mark_char_code_table'.
815 (char_id_table_equal): Renamed from `char_code_table_equal'.
816 (char_id_table_hash): Renamed from `char_code_table_hash'.
817 (make_char_id_table): Renamed from `make_char_code_table'.
818 (copy_char_id_table): Renamed from `copy_char_code_table'.
819 (get_char_id_table): Renamed from `get_char_code_table'.
820 (put_char_id_table): Renamed from `put_char_code_table'.
821 (to_char_id): Renamed from `to_char_code'.
823 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
824 `Lisp_Char_Code_Table'.
825 (char_id_table): Renamed from `char_code_table'.
826 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
827 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
828 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
829 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
830 (get_char_id_table): Renamed from `get_char_code_table'.
832 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
834 * lrecord.h (enum lrecord_type): Rename
835 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
837 * mule-charset.c (mark_byte_table): Renamed from
838 `mark_char_byte_table'.
839 (byte_table_equal): Renamed from `char_byte_table_equal'.
840 (byte_table_hash): Renamed from `byte_table_hash'.
841 (make_byte_table): Renamed from `make_byte_table'.
842 (copy_byte_table): Renamed from `copy_char_byte_table'.
844 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
845 `Lisp_Char_Byte_Table'.
846 (byte_table): Renamed from `char_byte_table'.
847 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
848 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
849 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
850 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
852 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
854 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
855 (dfc_convert_to_internal_format): Likewise.
857 * text-coding.c (Fcoding_system_canonical_name_p): New function.
858 * text-coding.c (Fcoding_system_alias_p): New function.
859 * text-coding.c (Fcoding_system_aliasee): New function.
860 * text-coding.c (append_suffix_to_symbol): New function.
861 * text-coding.c (dangling_coding_system_alias_p): New function.
862 * text-coding.c (Ffind_coding_system):
863 * text-coding.c (Fcopy_coding_system):
864 * text-coding.c (encode_coding_no_conversion):
865 * text-coding.c (syms_of_file_coding):
866 * text-coding.c (vars_of_file_coding):
867 Rewrite coding system alias code.
868 Allow nested aliases, like symbolic links.
869 Allow redefinition of coding system aliases.
870 Prevent existence of dangling coding system aliases.
871 Eliminate convert_to_external_format.
872 Eliminate convert_to_internal_format.
874 * text-coding.c: Change enum eol_type to eol_type_t.
876 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
878 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
879 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
881 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
882 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
884 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
886 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
887 `ideograph-daikanwa'.
889 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
890 (Vcharset_ucs_bmp): Likewise.
891 (Vcharset_mojikyo): Add new extern variable definition.
892 (Vcharset_latin_iso8859_2): Deleted because it is not used.
893 (Vcharset_latin_iso8859_3): Likewise.
894 (Vcharset_latin_iso8859_4): Likewise.
895 (Vcharset_latin_iso8859_9): Likewise.
896 (Vcharset_latin_viscii_lower): Likewise.
897 (Vcharset_latin_viscii_upper): Likewise.
898 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
899 `mojikyo' code-point is used to decode.
900 (encode_char_2): New function [to convert `mojikyo' code-point to
901 Mojikyo font encoding].
902 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
903 (breakup_char_1): Likewise.
904 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
906 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
908 * text-coding.c (Fmake_coding_system): Add document about
909 `disable-composition' property.
911 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * text-coding.c (Qdisable_composition): New variable; delete
915 (Fmake_coding_system): Add new property `disable-composite';
916 delete property `composite'.
917 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
918 instead of `!CODING_SYSTEM_COMPOSITE'.
919 (syms_of_file_coding): Add new symbol `disable-composition';
920 delete symbol `composite'.
922 * file-coding.h (struct Lisp_Coding_System): Add
923 `disable_composition'; delete `enable_composition'.
924 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
925 `CODING_SYSTEM_COMPOSITE'.
926 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
927 `XCODING_SYSTEM_COMPOSITE'.
929 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
931 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
934 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
936 * text-coding.c (Qcomposite): New variable.
937 (Fmake_coding_system): Add new property `composite'.
938 (struct decoding_stream): Add `combined_char_count',
939 `combined_chars' and `combining_table' in UTF-2000.
940 (COMPOSE_FLUSH_CHARS): New macro.
941 (COMPOSE_ADD_CHAR): New macro.
942 (reset_decoding_stream): Reset `str->combined_char_count' and
943 `str->combining_table' in UTF-2000.
944 (decode_coding_iso2022): Modify for character-decomposition.
945 (syms_of_file_coding): Add new symbol `composite'.
947 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
949 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
950 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
951 of `Vcharacter_composition_table' if `->decomposition' property
953 (Qlatin_tcvn5712): New variable.
954 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
955 (complex_vars_of_mule_charset): Add new coded-charset
958 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
960 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
962 * file-coding.h (struct Lisp_Coding_System): Add
963 `enable_composition'.
964 (CODING_SYSTEM_COMPOSITE): New macro.
965 (XCODING_SYSTEM_COMPOSITE): New macro.
967 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
969 * mule-canna.c (c2mu): Fix problem with UTF-2000.
971 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
973 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
974 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
976 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
978 * mule-charset.c (Vcharset_mojikyo): New variable.
979 (Fdefine_char): Don't use coded-charset which does not have
980 non-builtin character range to allocate character-id.
981 (Qmojikyo): New variable.
982 (syms_of_mule_charset): Add new symbol `mojikyo'.
983 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
985 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
986 (LEADING_BYTE_MOJIKYO): New macro.
987 (MIN_CHAR_MOJIKYO): New macro.
988 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
989 (MAX_CHAR_MOJIKYO): New macro.
991 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
993 * mule-charset.c (remove_char_attribute): Fixed.
995 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
997 * mule-charset.c (remove_char_attribute): New function.
998 (Fremove_char_attribute): New function.
999 (encode_builtin_char_1): Comment out builtin-support for
1000 greek-iso8859-7 and cyrillic-iso8859-5.
1001 (Fdecode_char): Check `code' is an integer.
1002 (syms_of_mule_charset): Add `remove-char-attribute'.
1003 (MIN_CHAR_GREEK): Deleted.
1004 (MAX_CHAR_GREEK): Likewise.
1005 (MIN_CHAR_CYRILLIC): Likewise.
1006 (MAX_CHAR_CYRILLIC): Likewise.
1007 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
1008 MAX_CHAR_GREEK for `greek-iso8859-7'.
1010 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
1011 (MAX_CHAR_GREEK): Likewise.
1012 (MIN_CHAR_CYRILLIC): Likewise.
1013 (MAX_CHAR_CYRILLIC): Likewise.
1015 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
1017 * mule-charset.c (Fdefine_char): Fix problem when new code-point
1018 format is used without `ucs' property.
1019 (Fdecode_char): Fix problem with GR representation.
1020 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
1021 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
1023 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1025 * mule-charset.c (make_builtin_char): New function.
1026 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
1027 (Fset_charset_mapping_table): Modify for new representation of
1029 (Fdecode_char): New function.
1030 (syms_of_mule_charset): Add new builtin function `decode-char' in
1033 * char-ucs.h (make_builtin_char): New prototype.
1034 (DECODE_CHAR): New inline function.
1035 (MAKE_CHAR): Use `DECODE_CHAR'.
1037 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
1039 * text-coding.c (parse_charset_conversion_specs): Use
1040 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
1042 (iso2022_designate): Likewise.
1044 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
1045 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
1047 * mule-charset.c (Vcharset_ucs): New variable.
1048 (print_charset): Change design; use `CHARSET_CHARS' and
1049 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
1050 (make_charset): Change signature to specify `chars' and
1051 `dimension' instead of `type'.
1052 (range_charset_code_point): Modify for 256^n-set.
1053 (encode_builtin_char_1): Encode as `ucs' in default.
1054 (Fmake_charset): Modify for `make_charset'.
1055 (Fmake_reverse_direction_charset): Likewise.
1056 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
1058 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
1061 * char-ucs.h (Vcharset_ucs): New variable.
1062 (LEADING_BYTE_UCS): New macro.
1063 (struct Lisp_Charset): Delete `type'; change type of `dimension'
1064 and `chars' to `unsigned short' from `unsigned int'.
1065 (CHARSET_TYPE): Deleted.
1066 (XCHARSET_TYPE): Deleted.
1068 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
1070 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
1072 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
1073 (ENCODE_CHAR): New macro.
1075 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1077 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1078 to 0.14 (Kawachi-Katakami).
1080 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
1082 * text-coding.c (char_encode_shift_jis): Modify for
1083 `charset_code_point'.
1084 (char_encode_iso2022): Likewise.
1086 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
1087 (integer) instead of list of <Lisp_Object>s (integers) as the
1088 format of code-point of a coded-charset.
1089 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1090 (encode_builtin_char_1): New function; delete
1091 `split_builtin_char'.
1092 (charset_code_point): Return <int> instead of <Lisp_Object>.
1093 (Fsplit_char): Don't use `SPLIT_CHAR'.
1095 * char-ucs.h (encode_builtin_char_1): New prototype; delete
1096 prototype for `split_builtin_char'.
1097 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
1098 (charset_code_point): Likewise.
1099 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
1100 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
1102 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
1104 * mule-charset.c (complex_vars_of_mule_charset): Don't define
1105 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
1107 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1109 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
1111 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
1112 (MAX_CHAR_OBS_94x94): Deleted.
1114 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1116 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
1118 * char-ucs.h (MAX_CHAR_BMP): New macro.
1120 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1122 * text-coding.c: Sync with r21-2-24.
1124 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
1126 * file-coding.c: Modify for UTF-2000.
1128 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1130 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1133 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
1135 * mule-charset.c (split_builtin_char): Delete builtin support for
1136 `katakana-jisx0201'.
1137 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
1138 BMP area in builtin representation.
1140 * char-ucs.h (MAKE_CHAR): Delete builtin support for
1141 `Vcharset_katakana_jisx0201'.
1143 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
1145 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
1146 (Qisolated): New variable.
1147 (Qinitial): New variable.
1148 (Qmedial): New variable.
1149 (Qfinal): New variable.
1150 (Qvertical): New variable.
1151 (Qsmall): New variable.
1152 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
1153 `Qvertical' and `Qsmall'.
1154 (Qmojikyo_pj_[1 .. 21]): New variable.
1155 (syms_of_mule_charset): Add new symbols `isolated', `initial',
1156 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
1157 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
1160 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1162 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
1163 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
1164 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
1166 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1168 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
1169 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
1171 (Qjapanese_jisx0208_1990): New variable.
1172 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
1173 (complex_vars_of_mule_charset): Add new coded-charset
1174 `japanese-jisx0208-1990'.
1176 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
1177 (MIN_CHAR_JIS_X0208_1990): New macro.
1178 (MAX_CHAR_JIS_X0208_1990): New macro.
1180 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1182 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
1183 coded-charset is not found.
1185 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
1187 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
1188 (Fdefine_char): Use `Fmake_char'.
1190 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1192 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
1193 (Vcharset_hiragana_jisx0208): Deleted.
1194 (Vcharset_katakana_jisx0208): Deleted.
1195 (Qideograph_daikanwa): New variable.
1196 (Qhiragana_jisx0208): Deleted.
1197 (Qkatakana_jisx0208): Deleted.
1198 (split_builtin_char): Split `ideograph-daikanwa'.
1199 (Fsplit_char): New implementation for UTF-2000.
1200 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
1201 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
1202 (complex_vars_of_mule_charset): Add new coded-charset
1203 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
1204 `katakana-jisx0208'.
1206 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
1207 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
1208 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
1209 (MIN_CHAR_DAIKANWA): New macro.
1210 (MAX_CHAR_DAIKANWA): New macro.
1212 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1214 * data.c (Fstring_to_number): Don't recognize floating point if
1217 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
1219 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
1221 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1223 * mule-charset.c (Qsquare): New variable.
1224 (to_char_code): Add `Qsquare'.
1225 (syms_of_mule_charset): Add new symbol `square'.
1227 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1229 * mule-charset.c (Qcircle): New variable.
1230 (to_char_code): Add `Qcircle'.
1231 (syms_of_mule_charset): Add new symbol `circle'.
1233 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1235 * mule-charset.c (Qfont): New variable.
1236 (to_char_code): Add `Qfont'.
1237 (syms_of_mule_charset): Add new symbol `font'.
1239 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1241 * mule-charset.c (Qsub): New variable.
1242 (to_char_code): Add `Qsub'.
1243 (syms_of_mule_charset): Add new symbol `sub'.
1245 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1247 * mule-charset.c (Fput_char_attribute): Convert each element of
1248 VALUE to GL position if ATTRIBUTE is a GR-set,
1250 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
1252 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
1253 coded-charset is a GR-set.
1255 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1257 * mule-charset.c (Fput_char_attribute): Check each element of
1258 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
1260 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1262 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
1264 (Qethiopic_ucs): New variable in UTF-2000.
1265 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
1266 (complex_vars_of_mule_charset): Add new coded-charset
1267 `ethiopic-ucs' in UTF-2000.
1269 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
1270 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1272 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
1274 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
1276 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1278 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
1281 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1283 * mule-charset.c (Vcharacter_variant_table): New variable.
1284 (Q_ucs): New variable.
1285 (Fchar_variants): New function.
1286 (Fput_char_attribute): Register `->ucs' value to
1287 `Vcharacter_variant_table'.
1288 (syms_of_mule_charset): Add new function `char-variants' and new
1290 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
1292 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1294 * mule-charset.c (get_char_code_table): Allow negative character
1296 (put_char_code_table): Likewise.
1297 (Vcharacter_composition_table): New variable.
1298 (Q_decomposition): New variable.
1299 (Qwide): New variable.
1300 (Qnarrow): New variable.
1301 (Qcompat): New variable.
1302 (QnoBreak): New variable.
1303 (Qsuper): New variable.
1304 (Qfraction): New variable.
1305 (to_char_code): New function.
1306 (Fget_composite_char): New function.
1307 (Fput_char_attribute): Register `->decomposition' value to
1308 `Vcharacter_composition_table'.
1309 (syms_of_mule_charset): Add new function `get-composite-char', new
1310 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
1311 `super' and `fraction'.
1312 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
1314 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1316 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
1317 character; copy the return value.
1319 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1321 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
1323 * mule-charset.c (range_charset_code_point): Must use make_int.
1324 (split_builtin_char): New function.
1326 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1328 * mule-charset.c (char_byte_table): Change name from
1329 "char-code-table" to "char-byte-table".
1330 (mark_char_code_table): New function.
1331 (char_code_table_equal): New function.
1332 (char_code_table_hash): New function.
1333 (char_code_table_description): New constant.
1334 (char_code_table): New type.
1335 (make_char_code_table): New function.
1336 (copy_char_code_table): New function.
1337 (get_char_code_table): Modify for `char_code_table' type.
1338 (put_char_code_table): Likewise.
1339 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
1342 * char-ucs.h (char_code_table): New type.
1343 (XCHAR_CODE_TABLE): New macro.
1344 (XSETCHAR_CODE_TABLE): New macro.
1345 (CHAR_CODE_TABLE_P): New macro.
1346 (GC_CHAR_CODE_TABLE_P): New macro.
1347 (struct Lisp_Char_Code_Table): New structure.
1349 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1351 * mule-charset.c (Fmake_charset): Setup byte_offset for
1354 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
1356 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
1359 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1361 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
1364 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1366 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
1367 charset, it is regarded as a charset.
1368 (put_char_attribute): New function in UTF-2000.
1369 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
1370 charset, mapping-table of the charset is modified.
1371 (Fdefine_char): New function in UTF-2000.
1372 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
1373 `Fput_char_attribute'.
1374 (syms_of_mule_charset): Add new function `define-char' and new
1375 symbol `ucs' in UTF-2000.
1376 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
1378 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1380 * mule-charset.c (Fcharset_name): Define `byte_offset' in
1381 non-UTF-2000 configuration.
1383 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1385 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
1386 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
1388 * mule-charset.c (mark_charset): `cs->encoding_table' has been
1390 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
1391 (Fset_charset_mapping_table): Likewise.
1393 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
1394 (CHARSET_ENCODING_TABLE): Delete.
1395 (XCHARSET_ENCODING_TABLE): Delete.
1396 (charset_code_point): New interface.
1398 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
1400 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
1401 instead of `charset_get_byte1' and `charset_get_byte2'.
1403 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
1404 (charset_get_byte2): Deleted.
1406 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
1408 * char-ucs.h (SPLIT_CHAR): New inline function.
1409 (breakup_char_1): Use `SPLIT_CHAR'.
1411 * mule-charset.c (range_charset_code_point): New function.
1412 (charset_code_point): New function.
1414 * char-ucs.h (range_charset_code_point): New interface.
1415 (breakup_char_1): Use `range_charset_code_point'.
1417 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1419 * mule-charset.c (Fmake_charset): Delete unused local variable
1422 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
1423 (breakup_char_1): Find a charset and code-point in
1424 `Vcharacter_attribute_table'.
1426 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1428 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1431 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
1433 * mule-charset.c (Vcharacter_attribute_table): New variable.
1434 (Fchar_attribute_alist): New function.
1435 (Fget_char_attribute): New function.
1436 (Fput_char_attribute): New function.
1437 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
1439 (syms_of_mule_charset): Add new function `char-attribute-alist',
1440 `get-char-attribute' and `put-char-attribute'.
1441 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
1443 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
1445 * mule-charset.c (Fmake_charset): Just use
1446 `get_unallocated_leading_byte'.
1448 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
1449 sets; don't use final-byte based number for private sets.
1451 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1453 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
1456 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
1458 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1461 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1463 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
1464 of `CHAR_LEADING_BYTE' in UTF-2000.
1466 * insdel.c (find_charsets_in_bufbyte_string): Use
1467 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1468 (find_charsets_in_emchar_string): Likewise.
1470 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
1471 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
1473 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
1474 (CHAR_CHARSET_ID): New macro.
1476 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1478 * chartab.c (get_char_table): Don't use type `Charset_ID' for
1479 charset-id - MIN_LEADING_BYTE.
1480 (put_char_table): Likewise.
1482 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1484 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
1485 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
1486 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
1487 (CHARSET_ID_OFFSET): New macro.
1488 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
1489 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
1490 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
1491 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1493 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
1495 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
1496 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
1497 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
1498 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
1499 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
1501 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1503 * mule-charset.c (next_allocated_leading_byte): New variable in
1505 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
1506 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
1507 (get_unallocated_leading_byte): Simply use
1508 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
1509 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
1512 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
1513 (MAX_LEADING_BYTE_PRIVATE): New macro.
1514 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
1515 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
1517 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1519 * mule-charset.c (Fmake_charset): Allocate final-byte based
1520 charset-id for 94-set, 96-set and 94x94-set.
1522 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1524 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
1526 (Fmake_charset): Likewise.
1527 (complex_vars_of_mule_charset): Modify the font registry of
1528 `ucs-bmp' not to match `Ethiopic-Unicode'.
1530 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1532 * mule-charset.c (complex_vars_of_mule_charset): Add font
1533 registory of `ucs-bmp'.
1535 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1537 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
1538 coded-charsets in `default-coded-charset-priority-list' when
1539 breaking up a character.
1541 * mule-charset.c (Vcharset_latin_viscii): New variable.
1542 (Qlatin_viscii): New variable.
1543 (make_charset): Don't use `decoding_table'.
1544 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
1546 (Fset_charset_mapping_table): New implementation.
1547 (syms_of_mule_charset): Add new symbol `latin-viscii'.
1548 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
1549 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
1550 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
1551 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
1552 charset `latin_viscii'.
1554 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
1555 (CHARSET_TYPE_94X94): Change to 1 from 2.
1556 (CHARSET_TYPE_96): Change to 2 from 1.
1557 (CHARSET_TYPE_128): New macro.
1558 (CHARSET_TYPE_128X128): Change to 5 from 4.
1559 (CHARSET_TYPE_256): New macro.
1560 (CHARSET_TYPE_256X256): Change to 7 from 5.
1561 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
1563 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
1565 * text-coding.c (char_encode_shift_jis): Refer
1566 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
1567 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
1569 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
1570 (char_byte_table_equal): New function in UTF-2000.
1571 (char_byte_table_hash): New function in UTF-2000.
1572 (char_byte_table_description): New constant in UTF-2000.
1573 (char_byte_table): New type in UTF-2000.
1574 (make_char_byte_table): New function in UTF-2000.
1575 (copy_char_byte_table): New function in UTF-2000.
1576 (make_char_code_table): New macro in UTF-2000.
1577 (get_char_code_table): New function in UTF-2000.
1578 (put_char_code_table): New function in UTF-2000.
1579 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
1580 (charset_description): Add setting in UTF-2000.
1581 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
1582 `CHARSET_TO_BYTE1_TABLE(cs)'.
1583 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
1584 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
1585 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
1586 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
1587 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
1588 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
1589 `CHARSET_TO_BYTE2_TABLE(cs)'.
1591 * char-ucs.h (char_byte_table): New type.
1592 (XCHAR_BYTE_TABLE): New macro.
1593 (XSETCHAR_BYTE_TABLE): New macro.
1594 (CHAR_BYTE_TABLE_P): New macro.
1595 (GC_CHAR_BYTE_TABLE_P): New macro.
1596 (struct Lisp_Char_Byte_Table): New structure.
1597 (get_char_code_table): New interface.
1598 (Emchar_to_byte_table): Deleted.
1599 (get_byte_from_character_table): Deleted.
1600 (struct Lisp_Charset): Add `encoding_table'; delete
1601 `to_byte1_table' and `to_byte2_table'.
1602 (CHARSET_ENCODING_TABLE): New macro.
1603 (CHARSET_TO_BYTE1_TABLE): Deleted.
1604 (CHARSET_TO_BYTE2_TABLE): Deleted.
1605 (XCHARSET_ENCODING_TABLE): New macro.
1606 (XCHARSET_TO_BYTE1_TABLE): Deleted.
1607 (XCHARSET_TO_BYTE2_TABLE): Deleted.
1609 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1611 * mule-charset.c (syms_of_mule_charset): Delete charset alias
1612 `vietnamese-viscii-*'.
1614 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
1616 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
1617 (Qvietnamese_viscii_upper): New variable.
1618 (Fdefine_charset_alias): New function.
1619 (syms_of_mule_charset): Add new function `define-charset-alias'.
1620 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
1621 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
1624 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
1626 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
1627 (MAX_CHAR_OBS_94x94): New macro.
1628 (breakup_char_1): Support obsolete XEmacs-UCS private code space
1631 * mule-charset.c (put_byte_from_character_table): Change unit size
1633 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
1635 (Fmake_reverse_direction_charset): Modify dummy argument of
1636 `make_charset' for non-UTF-2000 environment.
1638 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
1640 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
1642 * mule-charset.c (destroy_byte_from_character_table): New macro.
1643 (latin_jisx0201_to_ucs): Deleted.
1644 (latin_iso8859_2_to_ucs): Deleted.
1645 (latin_iso8859_3_to_ucs): Deleted.
1646 (latin_iso8859_4_to_ucs): Deleted.
1647 (latin_iso8859_9_to_ucs): Deleted.
1648 (latin_viscii_lower_to_ucs): Deleted.
1649 (latin_viscii_upper_to_ucs): Deleted.
1650 (mark_charset): Mark `cs->decoding_table'.
1651 (Fcharset_mapping_table): Fix DOC-string.
1652 (Fset_charset_mapping_table): New function.
1653 (syms_of_mule_charset): Add nwe function
1654 `set-charset-mapping-table'.
1655 (complex_vars_of_mule_charset): Don't setup and use
1658 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
1660 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
1663 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
1665 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
1666 (Vcharset_katakana_jisx0208): New variable.
1667 (Qhiragana_jisx0208): New variable.
1668 (Qkatakana_jisx0208): New variable.
1669 (make_charset): Add new argument `byte_offset'.
1670 (charset_get_byte1): Modify for new coded-charset definition; use
1671 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1672 `XCHARSET_BYTE_OFFSET'.
1673 (Fmake_charset): Modify for `make_charset'.
1674 (Fmake_reverse_direction_charset): Likewise.
1675 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
1676 `katakana-jisx0208'.
1677 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
1678 `.' in font registry of charset `katakana-jisx0201',
1679 `latin-jisx0201', `vietnamese-viscii-lower' and
1680 `vietnamese-viscii-upper'; modify DOC-string of charset
1681 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
1682 registry of charset `japanese-jisx0208' not to use font for JIS
1683 X0208:1990; add new charset `hiragana-jisx0208' and
1684 `katakana-jisx0208'.
1686 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
1687 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
1688 (struct Lisp_Charset): Add `byte_offset'.
1689 (CHARSET_BYTE_OFFSET): New macro.
1690 (XCHARSET_UCS_MIN): New macro.
1691 (XCHARSET_UCS_MAX): New macro.
1692 (XCHARSET_CODE_OFFSET): New macro.
1693 (XCHARSET_BYTE_OFFSET): New macro.
1694 (MIN_CHAR_HIRAGANA): New macro.
1695 (MAX_CHAR_HIRAGANA): New macro.
1696 (MIN_CHAR_KATAKANA): New macro.
1697 (MAX_CHAR_KATAKANA): New macro.
1698 (MAKE_CHAR): Modify for new coded-charset definition; use
1699 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
1700 `XCHARSET_BYTE_OFFSET'.
1702 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
1704 * mule-charset.c (CHAR96): Deleted.
1705 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
1707 (latin_iso8859_2_to_ucs): Likewise.
1708 (latin_iso8859_3_to_ucs): Likewise.
1709 (latin_iso8859_4_to_ucs): Likewise.
1710 (latin_iso8859_9_to_ucs): Likewise.
1711 (latin_viscii_lower_to_ucs): Likewise.
1712 (latin_viscii_upper_to_ucs): Likewise.
1713 (latin_tcvn5712_to_ucs): Commented out.
1714 (make_charset): Change type of argument `decoding_table' from
1715 <Emchar*> to <Lisp_Object> [vector of characters].
1716 (Fmake_charset): Modify for `make_charset'.
1717 (Fmake_reverse_direction_charset): Likewise.
1718 (Fcharset_mapping_table): New function in UTF-2000.
1719 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
1721 (complex_vars_of_mule_charset): Modify for type change of
1722 `*_to_ucs'; modify for `make_charset'.
1724 * char-ucs.h (struct Lisp_Charset): Change type of
1725 `decoding_table' from <Emchar*> to <Lisp_Object>.
1726 (MAKE_CHAR): Modify for new specification of `decoding_table'.
1728 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
1730 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
1731 error with non-UTF-2000-Mule.
1733 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
1735 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
1737 (Vcharset_chinese_cns11643_4): Likewise.
1738 (Vcharset_chinese_cns11643_5): Likewise.
1739 (Vcharset_chinese_cns11643_6): Likewise.
1740 (Vcharset_chinese_cns11643_7): Likewise.
1741 (Qchinese_cns11643_3): Likewise.
1742 (Qchinese_cns11643_4): Likewise.
1743 (Qchinese_cns11643_5): Likewise.
1744 (Qchinese_cns11643_6): Likewise.
1745 (Qchinese_cns11643_7): Likewise.
1746 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
1747 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
1748 and `chinese-cns11643-7' to lisp/mule/chinese.el.
1749 (complex_vars_of_mule_charset): Likewise.
1751 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
1753 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
1755 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
1756 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
1758 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
1760 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
1762 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
1763 (breakup_char_1): Likewise.
1765 * text-coding.c (char_encode_iso2022): Keep designated charsets if
1766 one of them includes the specified character.
1768 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1770 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
1772 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1774 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
1776 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1778 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
1779 definition for non-UTF-2000 Mule.
1780 (latin_iso8859_3_to_ucs): Likewise.
1781 (latin_iso8859_4_to_ucs): Likewise.
1782 (latin_iso8859_9_to_ucs): Likewise.
1783 (latin_jisx0201_to_ucs): Likewise.
1784 (MIN_CHAR_THAI): Likewise.
1785 (MAX_CHAR_THAI): Likewise.
1786 (MIN_CHAR_GREEK): Likewise.
1787 (MAX_CHAR_GREEK): Likewise.
1788 (MIN_CHAR_HEBREW): Likewise.
1789 (MAX_CHAR_HEBREW): Likewise.
1790 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
1791 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
1792 (MIN_CHAR_CYRILLIC): Likewise.
1793 (MAX_CHAR_CYRILLIC): Likewise.
1795 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
1797 * char-ucs.h (breakup_char_1): Use
1798 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
1799 thai-tis620 and katakana-jisx0201 area.
1801 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1803 * char-ucs.h (breakup_char_1): Use
1804 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
1807 * text-coding.c (reset_encoding_stream): Fixed.
1808 (char_encode_ucs4): Delete `& 255'.
1810 * char-ucs.h (breakup_char_1): Use
1811 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
1813 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1815 * file-coding.c (Fmake_coding_system): Don't set up
1816 `codesys->fixed.size'.
1817 (encode_coding_no_conversion): Don't refer
1818 `str->codesys->fixed.size'.
1820 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1822 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
1823 (latin_a_char_to_byte1): Deleted.
1824 (latin_a_char_to_byte2): Deleted.
1826 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1828 * mule-charset.c (make_charset): Add new argument `ucs_min',
1829 `ucs_max' and `code_offset'.
1830 (charset_get_byte1): New implementation [delete specific charset
1831 depended implementations].
1832 (Fmake_charset): Modify for `make_charset'.
1833 (Fmake_reverse_direction_charset): Likewise.
1834 (complex_vars_of_mule_charset): Likewise.
1836 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
1838 (CHARSET_UCS_MIN): New macro.
1839 (CHARSET_UCS_MAX): New macro.
1840 (CHARSET_CODE_OFFSET): New macro.
1841 (MAKE_CHAR): Delete charset depended definitions [except
1844 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
1846 * char-ucs.h (breakup_char_1): Use
1847 `Vdefault_coded_charset_priority_list' for C0-Controls,
1848 Basic-Latin, C1-Controls and Latin-1-Supplement area.
1850 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
1852 * char-ucs.h (charset_get_byte1): New function.
1853 (XCHARSET_GET_BYTE1): Deleted.
1854 (charset_get_byte2): New function.
1855 (XCHARSET_GET_BYTE2): Deleted.
1856 (Vdefault_coded_charset_priority_list): New external variable.
1857 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
1858 `Vdefault_preferred_coded_charset_list'.
1860 * mule-charset.c (charset_get_byte1): New function.
1861 (charset_get_byte2): New function.
1862 (Vdefault_coded_charset_priority_list): New variable.
1863 (vars_of_mule_charset): Add new variable
1864 `default-coded-charset-priority-list'.
1866 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1868 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
1869 (XCHARSET_GET_BYTE2): New inline function.
1870 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
1871 `XCHARSET_GET_BYTE2'.
1873 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
1875 * mule-charset.c (make_charset): Initialize
1876 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
1877 NULL if table is not defined.
1879 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1881 * text-coding.c (char_encode_shift_jis): Use
1882 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
1883 `ucs_to_latin_jisx0201'.
1885 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
1886 (ucs_to_latin_iso8859_2): Deleted.
1887 (ucs_to_latin_iso8859_3): Deleted.
1888 (ucs_to_latin_iso8859_4): Deleted.
1889 (ucs_to_latin_iso8859_9): Deleted.
1890 (ucs_to_latin_viscii_lower): Deleted.
1891 (ucs_to_latin_viscii_upper): Deleted.
1892 (ucs_to_latin_tcvn5712): Deleted.
1893 (make_charset): Add new argument `decoding_table'; set up
1894 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
1895 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
1896 `decoding_table' is defined in UTF-2000.
1897 (Fmake_charset): Modify for `make_charset'.
1898 (Fmake_reverse_direction_charset): Likewise.
1899 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
1900 and `GENERATE_96_SET'.
1902 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
1903 (ucs_to_latin_jisx0201): Deleted.
1904 (latin_iso8859_2_to_ucs): Deleted.
1905 (ucs_to_latin_iso8859_2): Deleted.
1906 (latin_iso8859_3_to_ucs): Deleted.
1907 (ucs_to_latin_iso8859_3): Deleted.
1908 (latin_iso8859_4_to_ucs): Deleted.
1909 (ucs_to_latin_iso8859_4): Deleted.
1910 (latin_iso8859_9_to_ucs): Deleted.
1911 (ucs_to_latin_iso8859_9): Deleted.
1912 (latin_viscii_lower_to_ucs): Deleted.
1913 (ucs_to_latin_viscii_lower): Deleted.
1914 (latin_viscii_upper_to_ucs): Deleted.
1915 (ucs_to_latin_viscii_upper): Deleted.
1916 (struct Lisp_Charset): Renamed `encoding_table' to
1917 `to_byte1_table'; add `to_byte2_table'.
1918 (CHARSET_DECODING_TABLE): New macro.
1919 (CHARSET_TO_BYTE1_TABLE): New macro.
1920 (CHARSET_TO_BYTE2_TABLE): New macro.
1921 (XCHARSET_DECODING_TABLE): New macro.
1922 (XCHARSET_TO_BYTE1_TABLE): New macro.
1923 (XCHARSET_TO_BYTE2_TABLE): New macro.
1924 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
1926 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
1927 don't use `ucs_to_*' tables.
1929 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
1931 * text-coding.c (Fmake_coding_system): Don't set up
1932 `codesys->fixed.size'.
1933 (encode_coding_no_conversion): Use `if' instead of `switch'.
1935 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
1937 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1939 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
1940 (Fmake_charset): Modify for `make_charset'.
1941 (Fmake_reverse_direction_charset): Likewise.
1942 (complex_vars_of_mule_charset): Likewise.
1944 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1946 * text-coding.c (char_encode_shift_jis): Use table
1947 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
1949 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
1951 * text-coding.c (text_encode_generic): Use `if' instead of
1953 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
1956 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1958 * text-coding.c (encode_coding_sjis): Deleted.
1959 (char_encode_shift_jis): New function.
1960 (char_finish_shift_jis): New function.
1961 (reset_encoding_stream): Set up `encode_char' and `finish' for
1962 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
1963 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
1964 (char_encode_utf8): Treat `eol_type'.
1966 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1968 * file-coding.c (decode_coding_iso2022): Use
1969 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
1971 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1973 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
1976 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
1978 * char-lb.h (CHAR_COLUMNS): New macro.
1980 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
1982 * text-coding.c (char_encode_ucs4): New function.
1983 (char_finish_ucs4): New function.
1984 (encode_coding_ucs4): Deleted.
1985 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
1986 (text_encode_generic): Delete local variable `charset' and `half'.
1987 (ucs_to_mule_table): Deleted.
1988 (mule_to_ucs_table): Deleted.
1989 (Fset_ucs_char): Deleted.
1990 (ucs_to_char): Deleted.
1991 (Fucs_char): Deleted.
1992 (Fset_char_ucs): Deleted.
1993 (Fchar_ucs): Deleted.
1994 (decode_ucs4): Deleted.
1995 (mule_char_to_ucs4): Deleted.
1996 (encode_ucs4): Deleted.
1997 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
1998 (decode_coding_utf8): Likewise.
1999 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
2000 (char_encode_iso2022): Fixed.
2001 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
2002 `Fset_char_ucs' and `Fchar_ucs'.
2003 (complex_vars_of_file_coding): Don't initialize
2004 `ucs_to_mule_table'.
2006 * objects-tty.c (tty_initialize_font_instance): Don't use
2009 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
2012 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
2013 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2015 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
2016 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2017 (emchar_string_displayed_columns): Likewise.
2019 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
2020 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
2021 (string_column_at_point): Likewise.
2022 (Fmove_to_column): Likewise.
2024 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
2025 `encoding_table' and `decoding_table'.
2026 (CHARSET_REP_BYTES): Deleted.
2027 (XCHARSET_REP_BYTES): Deleted.
2028 (XCHARSET_COLUMNS): Deleted.
2029 (CHAR_COLUMNS): New macro.
2030 (lookup_composite_char): Deleted unconditionally.
2031 (composite_char_string): Likewise.
2033 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
2035 * char-ucs.h (Emchar_to_byte_table): New type.
2036 (get_byte_from_character_table): New function interface.
2037 (Vcharset_latin_jisx0201): New variable.
2038 (latin_jisx0201_to_ucs): New variable.
2039 (ucs_to_latin_jisx0201): New variable.
2040 (Vcharset_latin_iso8859_2): New variable.
2041 (latin_iso8859_2_to_ucs): New variable.
2042 (ucs_to_latin_iso8859_2): New variable.
2043 (Vcharset_latin_iso8859_3): New variable.
2044 (latin_iso8859_3_to_ucs): New variable.
2045 (ucs_to_latin_iso8859_3): New variable.
2046 (Vcharset_latin_iso8859_4): New variable.
2047 (latin_iso8859_4_to_ucs): New variable.
2048 (ucs_to_latin_iso8859_4): New variable.
2049 (Vcharset_latin_iso8859_9): New variable.
2050 (latin_iso8859_9_to_ucs): New variable.
2051 (ucs_to_latin_iso8859_9): New variable.
2052 (Vcharset_latin_viscii_lower): New variable.
2053 (latin_viscii_lower_to_ucs): New variable.
2054 (ucs_to_latin_viscii_lower): New variable.
2055 (Vcharset_latin_viscii_upper): New variable.
2056 (latin_viscii_upper_to_ucs): New variable.
2057 (ucs_to_latin_viscii_upper): New variable.
2058 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
2059 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
2060 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
2061 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
2062 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
2063 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
2064 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
2065 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
2066 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
2067 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
2069 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
2070 (Vcharset_latin_viscii_upper): New variable.
2071 (make_byte_from_character_table): New function.
2072 (put_byte_from_character_table): New function.
2073 (get_byte_from_character_table): New function.
2074 (CHAR96): New macro.
2075 (ucs_to_latin_jisx0201): New variable.
2076 (latin_jisx0201_to_ucs): New variable.
2077 (ucs_to_latin_iso8859_2): New variable.
2078 (latin_iso8859_2_to_ucs): New variable.
2079 (ucs_to_latin_iso8859_3): New variable.
2080 (latin_iso8859_3_to_ucs): New variable.
2081 (ucs_to_latin_iso8859_4): New variable.
2082 (latin_iso8859_4_to_ucs): New variable.
2083 (ucs_to_latin_iso8859_9): New variable.
2084 (latin_iso8859_9_to_ucs): New variable.
2085 (ucs_to_latin_viscii_lower): New variable.
2086 (latin_viscii_lower_to_ucs): New variable.
2087 (ucs_to_latin_viscii_upper): New variable.
2088 (latin_viscii_upper_to_ucs): New variable.
2089 (ucs_to_latin_tcvn5712): New variable.
2090 (latin_tcvn5712_to_ucs): New variable.
2091 (Qlatin_viscii_lower): New variable.
2092 (Qlatin_viscii_upper): New variable.
2093 (syms_of_mule_charset): Set up new symbol
2094 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
2095 (complex_vars_of_mule_charset): Set up new charset
2096 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
2097 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
2098 `ucs_to_<CHARSET>' tables.
2100 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
2102 * text-coding.c: New file.
2104 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
2106 * mule-charset.c (Fmake_char): Fix problem of 256-set.
2108 * char-ucs.h (Vcharset_ucs_bmp): New variable.
2109 (MAKE_CHAR): Modify for `ucs-bmp'.
2110 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
2111 non-MULE characters of BMP.
2113 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
2115 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2118 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
2121 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
2122 - Include character.h for `CHAR_ASCII_P'.
2124 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
2126 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
2127 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
2129 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
2130 (BYTE_C0_P): Likewise.
2131 (BYTE_C1_P): Likewise.
2132 (Lstream_get_emchar_1): Likewise.
2133 (Lstream_fput_emchar): Likewise.
2134 (Lstream_funget_emchar): Likewise.
2135 (copy_internal_to_external): Likewise.
2136 (copy_external_to_internal): Likewise.
2138 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
2139 (BYTE_C0_P): Likewise.
2140 (BYTE_C1_P): Likewise.
2141 (Lstream_get_emchar_1): Likewise.
2142 (Lstream_fput_emchar): Likewise.
2143 (Lstream_funget_emchar): Likewise.
2144 (copy_internal_to_external): Likewise.
2145 (copy_external_to_internal): Likewise.
2147 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
2148 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2150 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
2151 (BYTE_ASCII_P): Moved to mb-1byte.h.
2153 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
2155 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
2157 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
2158 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
2159 (VALID_CHARPTR_P): Moved to mb-*byte.h.
2160 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2161 (VALIDATE_CHARPTR_FORWARD): Likewise.
2162 (simple_charptr_emchar): Moved to mb-multibyte.h.
2163 (simple_set_charptr_emchar): Likewise.
2164 (simple_charptr_copy_char): Likewise.
2165 (non_ascii_charptr_emchar): Likewise.
2166 (non_ascii_set_charptr_emchar): Likewise.
2167 (non_ascii_charptr_copy_char): Likewise.
2168 (charptr_emchar): Moved to mb-*byte.h.
2169 (set_charptr_emchar): Likewise.
2170 (charptr_copy_char): Likewise.
2172 * mb-1byte.h, mb-multibyte.h: New files.
2174 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
2176 * mb-utf-8.h (MULTIBYTE): New macro.
2177 (MAX_EMCHAR_LEN): Moved from buffer.h.
2178 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
2180 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
2182 * mb-lb.h, multibyte.h: New files.
2184 * char-1byte.h (Charset_ID): Moved from buffer.h.
2185 (MIN_LEADING_BYTE): Likewise.
2186 (LEADING_BYTE_ASCII): Likewise.
2187 (NUM_LEADING_BYTES): Likewise.
2188 (CHARSETP): Likewise.
2189 (CHARSET_BY_LEADING_BYTE): Likewise.
2190 (XCHARSET_LEADING_BYTE): Likewise.
2191 (XCHARSET_GRAPHIC): Likewise.
2192 (XCHARSET_COLUMNS): Likewise.
2193 (XCHARSET_DIMENSION): Likewise.
2194 (CHAR_CHARSET): Likewise.
2195 (CHAR_LEADING_BYTE): Likewise.
2196 (BREAKUP_CHAR): Likewise.
2197 (Vcharset_ascii): Likewise.
2199 * buffer.h: Include multibyte.h unconditionally.
2200 (VALID_CHARPTR_P): Moved to multibyte.h.
2201 (ASSERT_VALID_CHARPTR): Likewise.
2202 (REAL_INC_CHARPTR): Likewise.
2203 (REAL_INC_CHARBYTIND): Likewise.
2204 (REAL_DEC_CHARPTR): Likewise.
2205 (INC_CHARPTR): Likewise.
2206 (INC_CHARBYTIND): Likewise.
2207 (DEC_CHARPTR): Likewise.
2208 (VALIDATE_CHARPTR_BACKWARD): Likewise.
2209 (VALIDATE_CHARPTR_FORWARD): Likewise.
2210 (charptr_n_addr): Likewise.
2211 (MAX_EMCHAR_LEN): Moved to mb-*.h.
2212 (simple_charptr_emchar): Moved to multibyte.h.
2213 (simple_set_charptr_emchar): Likewise.
2214 (simple_charptr_copy_char): Likewise.
2215 (non_ascii_charptr_emchar): Likewise.
2216 (non_ascii_set_charptr_emchar): Likewise.
2217 (non_ascii_charptr_copy_char): Likewise.
2218 (charptr_emchar): Likewise.
2219 (set_charptr_emchar): Likewise.
2220 (charptr_copy_char): Likewise.
2221 (charptr_emchar_n): Likewise.
2222 (Charset_ID): Moved to char-1byte.h.
2223 (Vcharset_ascii): Likewise.
2224 (CHAR_CHARSET): Likewise.
2225 (CHAR_LEADING_BYTE): Likewise.
2226 (LEADING_BYTE_ASCII): Likewise.
2227 (NUM_LEADING_BYTES): Likewise.
2228 (MIN_LEADING_BYTE): Likewise.
2229 (CHARSETP): Likewise.
2230 (CHARSET_BY_LEADING_BYTE): Likewise.
2231 (XCHARSET_LEADING_BYTE): Likewise.
2232 (XCHARSET_GRAPHIC): Likewise.
2233 (XCHARSET_COLUMNS): Likewise.
2234 (XCHARSET_DIMENSION): Likewise.
2235 (BREAKUP_CHAR): Likewise.
2237 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2239 * character.h: Add document about interface for characters.
2241 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
2242 (MAKE_CHAR): Delete comment about
2243 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
2244 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
2245 (BREAKUP_CHAR): Modify name of arguments.
2246 (CHAR_CHARSET): Modify name of argument.
2248 * buffer.h: Delete document about Emchar accessors.
2250 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2252 * character.h (CHAR_INTP): Moved from buffer.h
2253 (CHAR_OR_CHAR_INTP): Likewise.
2254 (XCHAR_OR_CHAR_INT): Likewise.
2255 (CHECK_CHAR_COERCE_INT): Likewise.
2257 * buffer.h (CHAR_INTP): Moved to character.h
2258 (CHAR_OR_CHAR_INTP): Likewise.
2259 (XCHAR_OR_CHAR_INT): Likewise.
2260 (CHECK_CHAR_COERCE_INT): Likewise.
2262 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2265 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
2266 - Include char-1byte.h, char-lb.h or char-ucs.h.
2268 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
2270 * buffer.h: Include character unconditionally.
2271 (valid_char_p): Moved to char-*.h.
2272 (non_ascii_valid_char_p): Moved to char-lb.h.
2274 * char-1byte.h, char-lb.h, char-ucs.h: New files.
2276 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
2278 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
2279 in UTF-2000 because it is not ported yet and not to use
2280 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
2281 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
2282 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
2284 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
2285 (CHAR_ASCII_P): Moved from character.h.
2287 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
2288 (CHAR_ASCII_P): Likewise.
2289 (CHAR_FIELD1_MASK): Deleted.
2290 (CHAR_FIELD2_MASK): Deleted.
2291 (CHAR_FIELD3_MASK): Deleted.
2292 (MAX_CHAR_BASIC_LATIN): New macro.
2293 (CHAR_FIELD1): Deleted.
2294 (CHAR_FIELD2_INTERNAL): Deleted.
2295 (CHAR_FIELD3_INTERNAL): Deleted.
2296 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
2297 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
2298 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
2299 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
2300 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
2301 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
2302 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
2303 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
2304 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
2305 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
2306 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
2307 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
2308 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
2309 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
2310 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
2311 (MIN_CHAR_COMPOSITION): Deleted.
2312 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
2313 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
2315 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
2317 * buffer.h: Include mb-utf-8.h in UTF-2000.
2319 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
2321 * mb-utf-8.h: New file.
2323 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
2325 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
2328 * mule-charset.h, buffer.h (Charset_ID): New type.
2330 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2332 * mule-canna.c (c2mu): Use `MAKE_CHAR',
2333 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
2334 instead of `MULE_CHAR_PRIVATE_OFFSET',
2335 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
2336 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
2337 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
2339 * character.h (Vcharset_japanese_jisx0212): New variable
2342 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
2344 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
2345 (charset_by_attributes): Delete array about direction.
2346 (latin_a_char_to_charset): New variable in UTF-2000.
2347 (latin_a_char_to_byte1): New variable in UTF-2000.
2348 (latin_a_char_to_byte2): New variable in UTF-2000.
2349 (Qucs_bmp): New variable.
2350 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
2352 (next_allocated_2_byte_leading_byte): Likewise.
2353 (non_ascii_set_charptr_emchar): Likewise.
2354 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
2355 `CHARSET_TYPE_256X256' in UTF-2000; modify for
2356 `charset_by_attributes'.
2357 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
2358 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
2359 and `CHARSET_BY_LEADING_BYTE'.
2360 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
2361 `utf-2000-version' to `vars_of_mule_charset'.
2362 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
2363 define `leading-code-private-11' in UTF-2000; move setting of
2364 `utf-2000-version' from `syms_of_mule_charset'.
2365 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
2368 * character.h (Charset_ID): New type.
2369 (LEADING_BYTE_UCS_BMP): New macro.
2370 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
2371 (CHARSET_ID_OFFSET_94): New macro.
2372 (MIN_CHARSET_ID_PRIVATE_94): New macro.
2373 (MAX_CHARSET_ID_PRIVATE_94): New macro.
2374 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
2376 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
2377 (LEADING_BYTE_LATIN_JISX0201): Likewise.
2378 (CHARSET_ID_OFFSET_96): New macro.
2379 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
2380 CHARSET_ID_OFFSET_96 and final-byte.
2381 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
2382 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
2383 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
2384 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
2385 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
2386 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
2387 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
2388 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
2389 (LEADING_BYTE_THAI_TIS620): Likewise.
2390 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
2391 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
2392 (CHARSET_ID_OFFSET_94x94): New macro.
2393 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
2394 CHARSET_ID_OFFSET_94x94 and final-byte.
2395 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
2396 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
2397 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
2398 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
2399 (LEADING_BYTE_CHINESE_GB2312): Likewise.
2400 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
2401 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
2402 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
2403 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
2404 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
2405 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
2406 (CHARSET_TYPE_128X128): New macro.
2407 (CHARSET_TYPE_256X256): New macro.
2408 (XCHARSET_PRIVATE_P): Delete unconditionally.
2409 (charset_by_attributes): Delete array about direction.
2410 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
2411 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
2412 (MIN_CHAR_94): New macro.
2413 (MAX_CHAR_94): New macro.
2414 (MIN_CHAR_96): New macro.
2415 (MAX_CHAR_96): New macro.
2416 (MIN_CHAR_94x94): New macro.
2417 (MAX_CHAR_94x94): New macro.
2418 (MIN_CHAR_96x96): New macro.
2419 (MAX_CHAR_96x96): New macro.
2420 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
2421 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2422 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
2424 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
2425 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
2426 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
2427 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
2428 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
2429 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
2430 `XCHARSET_LEADING_BYTE' to make code-point.
2431 (latin_a_char_to_charset): New variable.
2432 (latin_a_char_to_byte1): New variable.
2433 (latin_a_char_to_byte2): New variable.
2434 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
2435 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
2436 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
2438 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
2439 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
2440 (find_charsets_in_emchar_string): Likewise.
2441 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
2443 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
2445 (decode_coding_iso2022): Likewise.
2447 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
2450 * redisplay.c (redisplay_text_width_emchar_string): Use
2451 `Charset_ID' instead of `unsigned char'.
2452 (redisplay_frame_text_width_string): Likewise.
2454 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
2457 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
2458 instead of `unsigned char'.
2459 (face_cachel_charset_font_metric_info): Likewise.
2461 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
2462 (get_non_ascii_char_table_value): Likewise.
2463 (get_char_table): Likewise.
2464 (put_char_table): Likewise.
2465 (map_over_other_charset): Likewise.
2466 (map_char_table): Likewise.
2468 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
2469 instead of `unsigned char'.
2471 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
2473 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
2474 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
2476 * mule-charset.c (leading_code_private_11): Don't define in
2479 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
2480 in UTF-2000 because it is not ported yet and not to use
2481 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
2483 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
2485 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
2487 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2489 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
2492 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
2493 of unsigned char to store leading-byte.
2495 * chartab.c (get_non_ascii_char_table_value): Don't use
2496 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
2498 * file-coding.c (encode_coding_big5): Delete bogus implementation
2501 * character.h (LEADING_BYTE_*): Delete definition for
2503 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
2504 (LEADING_BYTE_PREFIX_P): Deleted.
2505 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
2506 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
2507 (BUFBYTE_LEADING_BYTE_P): Deleted.
2508 (CHARSET_PRIVATE_P): Deleted unconditionally.
2509 (rep_bytes_by_first_byte): Deleted unconditionally.
2510 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
2511 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
2512 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
2513 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
2514 (CHAR_FIELD2): Deleted.
2515 (CHAR_FIELD3): Deleted.
2516 (MAKE_CHAR): Delete definition for non-UTF-2000.
2517 (BREAKUP_CHAR_1_UNSAFE): Deleted.
2518 (breakup_char_1): New implementation.
2519 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
2520 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
2522 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
2524 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
2527 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2529 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
2530 (CHARSET_PRIVATE_P): Likewise.
2531 (XCHARSET_PRIVATE_P): Likewise.
2532 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
2534 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
2536 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
2538 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
2540 * character.h (LEADING_BYTE_*): Changed in UTF2000.
2541 (NUM_LEADING_BYTES): Changed from 128 to 256.
2542 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2543 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
2545 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
2547 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
2549 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
2550 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
2551 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
2552 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
2553 (Qchinese_cns11643_3): New variable in UTF2000.
2554 (Qchinese_cns11643_4): New variable in UTF2000.
2555 (Qchinese_cns11643_5): New variable in UTF2000.
2556 (Qchinese_cns11643_6): New variable in UTF2000.
2557 (Qchinese_cns11643_7): New variable in UTF2000.
2558 (syms_of_mule_charset): Define `chinese-cns11643-3',
2559 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
2560 and `chinese-cns11643-7' in UTF2000.
2561 (vars_of_mule_charset): Initialize
2562 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
2564 (complex_vars_of_mule_charset): Setup charset
2565 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
2566 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
2568 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2570 * mule-charset.c: Move setting for `leading-code-private-11' from
2571 `syms_of_mule_charset' to `vars_of_mule_charset'.
2573 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2575 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
2576 and `NUM_LEADING_BYTES' in assert.
2578 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
2580 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
2582 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
2583 `NUM_LEADING_BYTES' instead of 128.
2585 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
2587 * mule-charset.h (charset_by_leading_byte): Use
2588 `NUM_LEADING_BYTES' instead of 128.
2589 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
2591 * mule-charset.c (charset_by_leading_byte): Use
2592 `NUM_LEADING_BYTES' instead of 128.
2593 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
2595 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
2598 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
2600 * mule-charset.c (syms_of_mule_charset): Update to
2603 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
2605 * file-coding.c (encode_coding_sjis): New implementation for
2606 UTF2000. (decode_coding_sjis): Ditto.
2608 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2610 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
2611 Don't define in UTF2000.
2613 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
2616 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2617 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
2620 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
2622 * config.h.in (CHAR_IS_UCS4): New macro.
2624 * mule-charset.c (rep_bytes_by_first_byte): Modify for
2625 conventional MULE representation.
2626 (syms_of_mule_charset): Update to 0.3 (Imamiya).
2628 * mule-charset.h: Reverted to original.
2630 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
2631 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
2632 "mule-charset.h" if CHAR_IS_UCS4 is defined.
2634 * character.h: New file.
2636 * file-coding.c (Fmake_coding_system): Set 1 to
2637 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
2639 (encode_coding_no_conversion): New implementation for UTF2000.
2641 * file-coding.h (struct Lisp_Coding_System): Add new member
2644 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
2646 * file-coding.c (decode_coding_iso2022): Code-point arguments of
2647 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
2648 (encode_coding_iso2022): New implementation for UTF2000.
2650 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2652 * mule-canna.c (c2mu): New implementation for UTF2000.
2655 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2657 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
2659 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2661 * file-coding.c (reset_encoding_stream): Set 0 to
2662 `str->iso2022.current_char_boundary' in UTF2000.
2663 (encode_utf8): Don't define in UTF2000.
2664 (encode_coding_utf8): New implementation for UTF-8 representation
2666 (complex_vars_of_file_coding): Define coding-system `utf-8'.
2668 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
2670 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
2672 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
2674 (REP_BYTES_BY_FIRST_BYTE): Likewise.
2676 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
2678 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
2679 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
2680 as UTF-8 in UTF2000.
2681 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
2682 (non_ascii_valid_char_p): Don't define in UTF2000.
2683 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
2684 (Lstream_get_emchar_1): Likewise.
2685 (utf-2000-version): New variable in UTF2000.
2687 * lread.c (read_escape): Add new reader `u'.
2689 * insdel.c (three_to_one_table): Don't define in UTF2000.
2690 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
2691 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2693 (bytind_to_bufpos_func): Likewise.
2694 (buffer_mule_signal_inserted_region): Likewise.
2695 (vars_of_insdel): Don't initialize `three_to_one_table'.
2696 (init_buffer_text): Use `buf->text->mule_size' instead of
2697 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
2700 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
2701 UTF-8 representation in UTF2000.
2702 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
2703 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
2704 (decode_coding_iso2022): Don't define local variable `lb' in
2705 UTF2000; don't use LEADING_BYTE in UTF2000; use
2706 `DECODE_ADD_UCS_CHAR' in UTF2000.
2707 (convert_to_external_format): Decode as UTF-8 in UTF2000.
2709 * config.h.in (UTF2000): New macro.
2711 * buffer.h (struct buffer_text): Add new member `mule_size' and
2712 don't add `mule_shifter' and `mule_three_p' in UTF2000.
2713 (valid_char_p): Return always 1 in UTF2000.
2714 (MAX_EMCHAR_LEN): 6 in UTF2000.
2715 (three_to_one_table): Don't define in UTF2000.
2716 (real_bufpos_to_bytind): Modify for UTF-8 representation in
2718 (real_bytind_to_bufpos): Likewise.
2720 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
2722 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
2724 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
2725 representation change.
2726 (Vutf_2000_version): New variable.
2727 (leading_code_private_11): New variable.
2728 (syms_of_mule_charset): Add new variables `utf-2000-version' and
2729 `leading-code-private-11'.
2731 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
2732 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
2733 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
2734 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
2735 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
2736 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
2737 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
2738 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
2739 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
2740 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
2741 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
2742 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
2743 (MIN_CHAR_GREEK): New macro.
2744 (MAX_CHAR_GREEK): New macro.
2745 (MIN_CHAR_CYRILLIC): New macro.
2746 (MAX_CHAR_CYRILLIC): New macro.
2747 (MIN_CHAR_HEBREW): New macro.
2748 (MAX_CHAR_HEBREW): New macro.
2749 (MIN_CHAR_THAI): New macro.
2750 (MAX_CHAR_THAI): New macro.
2751 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
2752 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
2753 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
2754 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
2755 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
2756 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
2757 (CHAR_FIELD2): New inline function.
2758 (CHAR_FIELD3): New inline function.
2759 (MULE_CHAR_PRIVATE_OFFSET): New macro.
2760 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
2761 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
2762 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
2763 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
2764 (MIN_CHAR_COMPOSITION): Likewise.
2765 (CHAR_LEADING_BYTE): Modified for character representation change.
2766 (MAKE_CHAR): Likewise.
2768 * lisp.h (Vcharset_latin_iso8859_1): New variable.
2769 (Vcharset_greek_iso8859_7): Likewise.
2770 (Vcharset_cyrillic_iso8859_5): Likewise.
2771 (Vcharset_hebrew_iso8859_8): Likewise.
2772 (Vcharset_thai_tis620): Likewise.
2773 (Vcharset_katakana_jisx0201): Likewise.
2775 2000-12-05 Martin Buchholz <martin@xemacs.org>
2777 * XEmacs 21.2.38 is released.
2779 2000-12-05 Martin Buchholz <martin@xemacs.org>
2781 * symsinit.h: Add init_postgresql_from_environment.
2783 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
2785 * regex.c: Convert to clean C.
2787 2000-12-05 Dan Holmsand <dan@eyebee.com>
2790 Don't #include sysfile.h. Revert to duplicating PATH_MAX
2792 (sys_readlink): renamed to system_readlink to avoid conflict with
2793 the other sys_readlink.
2795 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
2797 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
2799 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
2801 * postgresql.c (init_postgresql_from_environment): new function.
2802 (vars_of_postgresql): Move code initializing Lisp variables out and
2803 into init_postgresql_from_environment.
2804 emacs.c (main_1): Call init_postgresql_from_environment if and only
2805 if running a dumped XEmacs.
2807 2000-08-31 Dan Holmsand <dan@eyebee.com>
2809 * buffer.c: Make find-file-compare-truenames default to true on
2812 * realpath.c (win32_abs_start):
2814 (win32_readlink): New functions.
2815 (xrealpath): Return really real filenames on windows.
2817 * fileio.c (Ffile_truename): Make file-truename work on windows.
2819 2000-11-29 Didier Verna <didier@xemacs.org>
2821 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
2822 * faces.c (update_face_cachel_data): use it.
2823 * faces.c (add_face_cachel): use it. Complete background pixmap
2824 frobbing in face cache if `update_face_cachel_data' has not done so.
2826 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
2828 * search.c (string_match_1): Don't set last_thing_searched
2831 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
2833 * buffer.c: Include casetab.h
2834 (common_init_complex_vars_of_buffer): Use new case-table object.
2835 * buffer.h: Include casetab.h
2836 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
2837 (DOWNCASE_TABLE_OF): Ditto.
2838 * bufslots.h: Remove char-tables and add case-table.
2839 * casetab.c: Include casetab.h
2840 (CASE_TABLE_P): Removed.
2841 (mark_case_table): New function.
2842 (allocate_case_table): New function.
2843 (Fcase_table_p): Use new case-table.
2844 (case_table_char): New function.
2845 (Fget_case_table): Ditto.
2846 (Fput_case_table): Ditto.
2847 (Fput_case_table_pair): Ditto.
2848 (Fcopy_case_table): Ditto.
2849 (Fcurrent_case_table): Return case-table.
2850 (Fstandard_case_table): Return case-table.
2851 (Fset_case_table): Fix doc-string.
2852 (set_case_table): Use case-table
2853 (syms_of_casetab): DEFSUBR new functions.
2854 (complex_vars_of_casetab): Set up standard case-table.
2855 * casetab.h: New file.
2856 * editfns.c: Include casetab.h
2857 (Fcompare_buffer_substrings): Use case-table.
2858 * inline.c: Include casetab.h
2859 * lisp.h: Remove bogus extern.
2860 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
2861 * search.c: Include casetab.h
2862 (TRANSLATE_ASCII): Removed.
2863 (TRANSLATE): Unconditionally translate character.
2864 (looking_at_1): Use case-table.
2865 (string_match_1): Ditto.
2866 (fast_string_match): Ditto.
2867 (search_command): Ditto.
2868 (search_buffer): Separate boyer_moore. Check whether
2869 boyer_moore is poosible.
2870 (simple_search): New function.
2871 (boyer_moore): Separated from search_buffer. Translate char.
2873 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
2875 * regex.c (RE_TR_ASCII): Removed.
2876 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
2877 (PATFETCH): Call PATFETCH_RAW.
2878 (PATFETCH_RAW): Fetch Emchar.
2879 (PATUNFETCH): Decrement charptr.
2880 (GET_BUFFER_SPACE): Rename b to buf_end.
2882 (BUF_PUSH_2): Ditto.
2883 (BUF_PUSH_3): Ditto.
2884 (EXTEND_BUFFER): Ditto.
2885 (SET_LIST_BIT): Ditto.
2886 (regex_compile): Ditto. Translate non ASCII char.
2887 (compile_range): Ditto.
2888 (re_search_2): Ditto.
2889 (re_match_2_internal): Compare Emchar.
2890 (bcmp_translate): Ditto.
2892 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
2894 * lisp.h (basic char/int typedefs): comment improvement.
2896 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
2898 * emacs.c (main_1): unconditional pdump unstomping; don't save and
2899 unstomp inhibit_site_lisp. Improve comments.
2901 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
2903 * mule-charset.c (Fcharset_property): improve type checking, comments.
2905 2000-11-28 Andy Piper <andy@xemacs.org>
2907 * redisplay-output.c (redisplay_output_subwindow): make sure we do
2908 clipped display for windows in the gutter also.
2909 (redisplay_display_boxes_in_window_p): change semantics of return
2910 codes to be more intuitive.
2912 * gutter.h: declare display_boxes_in_gutter_p.
2914 * gutter.c (display_boxes_in_gutter_p): new function for
2917 2000-11-22 Andy Piper <andy@xemacs.org>
2919 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
2922 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
2924 * callproc.c (Fold_call_process_internal):
2925 * gpm.c (Freceive_gpm_event):
2926 (tty_get_foreign_selection): Might be just warning supression.
2927 * fileio.c (Fwrite_region_internal):
2928 (Fset_visited_file_modtime):
2929 * keymap.c (event_matches_key_specifier_p):
2930 Initialize GCPROed variable.
2932 * menubar-x.c (command_builder_find_menu_accelerator):
2933 Initialize before use.
2935 2000-11-23 Andy Piper <andy@xemacs.org>
2937 * unexcw.c (unexec): make the resulting executable executable.
2939 2000-11-21 Martin Buchholz <martin@xemacs.org>
2941 * doc.c (get_doc_string):
2942 Use size_t, not int, for result of XSTRING_LENGTH.
2944 * cmds.c (Fdelete_char):
2945 * cmds.c (Fpoint_at_eol):
2946 * cmds.c (Fself_insert_command):
2947 Use EMACS_INT, not int, for result of XINT.
2948 Someday, someone will want to insert more than 2**31 identical characters.
2950 * cmds.c (Fdelete_char):
2951 * cmds.c (Fdelete_backward_char):
2952 * syntax.c (Fforward_word):
2953 * syntax.c (Fforward_comment):
2954 Make COUNT argument optional, for consistency with forward-char et al.
2956 2000-11-22 Martin Buchholz <martin@xemacs.org>
2959 * print.c (long_to_string):
2960 Return a useful value: the pointer at end of data written.
2963 Use `static const char * const' for constant strings.
2964 (union printf_arg): Delete `i', `ui' members.
2967 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
2968 Do all printf-ing via the `l' specifier.
2969 Use EMACS_INT instead of int.
2972 2000-11-20 Didier Verna <didier@xemacs.org>
2974 * faces.c (update_face_cachel_data): don't frob the background
2975 pixmap when the window is being created. The face is needed but
2978 2000-11-20 Andy Piper <andy@xemacs.org>
2980 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
2981 messing with a debug environment.
2983 2000-11-20 Martin Buchholz <martin@xemacs.org>
2985 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
2987 2000-11-20 Martin Buchholz <martin@xemacs.org>
2989 * casetab.c (Fcase_table_p): Fix compile error and crash.
2991 2000-11-18 Philip Aston <philipa@mail.com>
2993 * s/cygwin32.h: Cygwin has SVR4-like pty support.
2995 2000-11-18 Martin Buchholz <martin@xemacs.org>
2997 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
2998 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
3000 2000-11-17 Martin Buchholz <martin@xemacs.org>
3002 * config.h.in: Define HAVE_ELF_H if elf.h exists.
3003 * unexelf.c: Use HAVE_ELF_H.
3004 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
3005 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
3006 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
3007 Greg Harrington <greg_harrington@hotmail.com> provided a machine
3009 So this is an unexelfsgi.c from a different line of development.
3011 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3013 * regex.c (RE_TR_ASCII): New function.
3014 (RE_TRANSLATE): Call it.
3016 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
3018 * buffer.h (TRT_TABLE_OF): Remove assert.
3019 (IN_TRT_TABLE_DOMAIN): Removed.
3021 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
3023 * free-hook.c (log_gcpro):
3024 (show_gcprohist): Add support for GCPRO5.
3026 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
3028 * emacs.c (main_1): Improve -sd error message when --pdump=no.
3030 2000-11-16 Olivier Galibert <galibert@xemacs.org>
3032 * symeval.h: Declare flush_all_buffer_local_cache.
3034 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
3035 (flush_buffer_local_cache): Added.
3036 (flush_all_buffer_local_cache): Added.
3038 * lrecord.h: Remove unused XD_LO_RESET_NIL.
3040 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
3041 (pdump_dump_data): Ditto.
3042 (pdump_reloc_one): Ditto.
3043 (pdump): Remove unused pdump_qnil. Flush buffer local caches
3047 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3049 * buffer.c: Remove if 0'ed entry.
3050 * buffer.h: Rewrite TRT to use char-table.
3051 * bufslots.h: Remove mirror tables.
3052 * casetab.c: Remove mirror tables.
3053 (CASE_TABLE_P): New macro.
3054 (Fcase_table_p): Element of a case table is string or char-table.
3055 (make_mirror_trt_table): Removed.
3056 (set_case_table): Setup char-table from strings for backward
3058 * dired.c (Fdirectory_files):
3059 * dired-msw.c: (mswindows_get_files):
3060 * lisp.h: Change prototype of re_pattern_buffer.
3061 * regex.c: (RE_TRANSLATE): New macro.
3062 (TRANSLATE_P): Ditto.
3063 Change translate to type RE_TRANSLATE_TYPE.
3064 * regex.h: Define RE_TRANSLATE_TYPE
3065 * search.c (TRANSLATE): New macro.
3066 (TRANSLATE_ASCII): New macro.
3067 Translate table is changed to Lisp_Object.
3068 (signal_failure): Inhibit return.
3070 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
3077 Do UNGCPRO before return.
3079 2000-11-14 Martin Buchholz <martin@xemacs.org>
3081 * XEmacs 21.2.37 is released.
3083 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
3085 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
3086 Add comments about discarded return value.
3088 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
3091 * event-stream.c: Fix comments. Remove some #if 0'ed part.
3093 2000-10-27 Andy Piper <andy@xemacs.org>
3095 * gutter.c (Fset_default_gutter_position): default left and right
3097 (calculate_gutter_size): calculate resonable heuristic for left
3098 and right gutter sizes.
3099 (specifier_vars_of_gutter): change left and right gutter sizes to
3101 (calculate_gutter_size_from_display_lines): new function.
3102 (output_gutter): check for resizing on left and right gutters.
3103 (clear_gutter): don't special case top and left gutters.
3104 (specifier_vars_of_gutter): use new signature for
3105 set_specifier_caching.
3107 * glyphs-x.c (x_redisplay_widget): spelling fix.
3108 * glyphs.c (specifier_vars_of_glyphs):
3109 * menubar.c (specifier_vars_of_menubar):
3110 * redisplay.c (specifier_vars_of_redisplay):
3111 * toolbar.c (specifier_vars_of_toolbar):
3112 * window.c (specifier_vars_of_window):
3113 * scrollbar.c (specifier_vars_of_scrollbar):
3114 (complex_vars_of_scrollbar): use new signature for
3115 set_specifier_caching.
3117 * specifier.c (set_specifier_caching): include recompute flag.
3118 (recompute_one_cached_specifier_in_window): always recompute if
3120 (recompute_one_cached_specifier_in_frame): ditto.
3122 * specifier.h (struct specifier_caching): add recompute flag.
3124 2000-10-24 Andy Piper <andy@xemacs.org>
3126 * unexcw.c (copy_executable_and_dump_data_section): add new
3127 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
3130 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3132 * console-x.h (x_device): New member modifier_release_time.
3133 * event-Xt.c (x_handle_sticky_modifiers):
3134 Bound interval modifier keys are sticky.
3135 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
3136 * events.h: extern it.
3138 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3140 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
3142 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
3144 * event-stream.c (execute_command_event): Preserve current_events
3145 and the like when event is misc-user-event.
3146 Inhibit quit during the call to maybe_echo_keys.
3148 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
3150 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
3151 symlink when buffer is killed.
3152 (inhibit_clash_detection): New variable.
3154 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3156 * console.c (Fset_input_method): Trigger redisplay on tty.
3158 2000-11-07 Martin Buchholz <martin@xemacs.org>
3160 * process.c (Fprocess_status): Revert to previous behavior:
3161 (process-status "nosuchprocess") ==> nil
3163 2000-11-06 Martin Buchholz <martin@xemacs.org>
3165 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
3166 Work around another GCC 2.95.2 optimizer bug.
3168 2000-11-02 Martin Buchholz <martin@xemacs.org>
3170 * process.c (Fget_process): Use LIST_LOOP_2.
3171 (kill_buffer_processes): Use LIST_LOOP_2.
3173 * minibuf.c (Fall_completions):
3174 Delete old non-functional code for FSF fourth argument.
3176 * frame.c (frame_matches_frame_spec):
3177 Renamed from `frame_matches_frametype'. Update all callers.
3178 (device_matches_device_spec):
3179 Renamed from 'device_matches_console_spec'. Update all callers.
3181 * doc.c (Fsubstitute_command_keys):
3182 Remove buffer overflow crash. Small code cleanups.
3184 * casetab.c (check_case_table): Simpler code.
3186 * window.c (Freplace_buffer_in_windows):
3187 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
3188 (and similar implementation) as Fdelete_windows_on.
3191 * alloc.c (Fmake_list):
3192 * alloc.c (make_vector):
3193 * alloc.c (Fmake_vector):
3194 * alloc.c (make_bit_vector):
3195 * alloc.c (Fmake_bit_vector):
3196 * alloc.c (Fbit_vector):
3197 * alloc.c (Fmake_string):
3198 * alloc.c (Fpurecopy):
3199 * alloc.c (Fmemory_limit):
3201 * buffer.c (Fget_buffer):
3202 * buffer.c (Fkill_buffer):
3203 * buffer.c (complex_vars_of_buffer):
3204 * bytecode.c (Fcompiled_function_stack_depth):
3205 * callint.c (Fprefix_numeric_value):
3207 * event-stream.c (Fread_key_sequence):
3209 * casetab.c (Fcase_table_p):
3210 * casetab.c (check_case_table):
3211 * casetab.c (Fset_case_table):
3212 * casetab.c (Fset_standard_case_table):
3214 * chartab.c (Fchar_table_type):
3215 * chartab.c (Freset_char_table):
3216 * chartab.c (Fget_char_table):
3217 * chartab.c (Fget_range_char_table):
3218 * chartab.c (Fput_char_table):
3219 * chartab.c (Fmap_char_table):
3220 * chartab.c (Fcategory_table_p):
3221 * chartab.c (Fcheck_category_at):
3222 * chartab.c (Fchar_in_category_p):
3223 * chartab.c (Fcategory_table):
3224 * chartab.c (Fcopy_category_table):
3225 * chartab.c (Fset_category_table):
3226 * chartab.c (Fcategory_designator_p):
3227 * chartab.c (Fcategory_table_value_p):
3228 * cmds.c (Fdelete_char):
3229 * cmds.c (Fdelete_backward_char):
3230 * cmds.c (Fself_insert_command):
3231 * cmds.c (Fself_insert_internal):
3232 * console.c (Fvalid_console_type_p):
3233 * console.c (Fcdfw_console):
3234 * console.c (Fconsole_type):
3235 * console.c (Fconsole_name):
3236 * console.c (Fconsole_device_list):
3237 * console.c (Fconsole_on_window_system_p):
3241 * data.c (Fsubr_interactive):
3242 * data.c (Fchar_to_int):
3243 * data.c (Fint_to_char):
3246 * data.c (Fnumber_to_string):
3247 * data.c (Fstring_to_number):
3249 * database.c (mark_database):
3250 * database.c (finalize_database):
3251 * database.c (Fdatabase_live_p):
3252 * database.c (Fdatabasep):
3253 * device-x.c (Fx_get_resource):
3254 * device.c (Fdfw_device):
3256 * dired.c (Ffile_name_completion):
3257 * dired.c (Ffile_name_all_completions):
3258 * dired.c (Fuser_name_completion):
3259 * dired.c (Fuser_name_completion_1):
3260 * dired.c (Fuser_name_all_completions):
3261 * doc.c (Fdocumentation):
3262 * doc.c (Fdocumentation_property):
3263 * doc.c (Fsubstitute_command_keys):
3265 * editfns.c (Fchar_to_string):
3266 * editfns.c (Fstring_to_char):
3267 * editfns.c (Ftemp_directory):
3268 * editfns.c (Finsert_char):
3269 * editfns.c (Fbuffer_substring_no_properties):
3270 * editfns.c (Fnarrow_to_region):
3271 * editfns.c (Fchar_equal):
3272 * editfns.c (Fchar_Equal):
3273 * editfns.c (Ftranspose_regions):
3274 * emacs.c (Fdump_emacs):
3276 * eval.c (Fcommand_execute):
3277 * eval.c (Fautoload):
3278 * eval.c (Fbacktrace):
3279 * eval.c (Fbacktrace_frame):
3281 * events.c (Fcopy_event):
3282 * events.c (Fcharacter_to_event):
3283 * events.c (Fevent_button):
3284 * events.c (Fevent_process):
3286 * extents.c (Fnext_extent_change):
3287 * extents.c (Fextent_property):
3289 * faces.c (Fmake_face):
3291 * file-coding.c (Fencode_shift_jis_char):
3292 * file-coding.c (Fencode_big5_char):
3293 * fileio.c (Ffile_name_directory):
3294 * fileio.c (Ffile_name_nondirectory):
3295 * fileio.c (Ffile_name_as_directory):
3296 * fileio.c (Fdirectory_file_name):
3297 * fileio.c (Ffile_truename):
3298 * fileio.c (Fsubstitute_in_file_name):
3299 * fileio.c (Ffile_modes):
3300 * fileio.c (Fset_file_modes):
3301 * fileio.c (Fset_default_file_modes):
3302 * fileio.c (Fverify_visited_file_modtime):
3303 * floatfns.c (Facos):
3304 * floatfns.c (Fasin):
3305 * floatfns.c (Fatan):
3306 * floatfns.c (Fcos):
3307 * floatfns.c (Fsin):
3308 * floatfns.c (Ftan):
3309 * floatfns.c (Fbessel_j0):
3310 * floatfns.c (Fbessel_j1):
3311 * floatfns.c (Fbessel_jn):
3312 * floatfns.c (Fbessel_y0):
3313 * floatfns.c (Fbessel_y1):
3314 * floatfns.c (Fbessel_yn):
3315 * floatfns.c (Ferf):
3316 * floatfns.c (Ferfc):
3317 * floatfns.c (Flog_gamma):
3318 * floatfns.c (Fexp):
3319 * floatfns.c (Fexpt):
3320 * floatfns.c (Flog):
3321 * floatfns.c (Flog10):
3322 * floatfns.c (Fsqrt):
3323 * floatfns.c (Fcube_root):
3324 * floatfns.c (Facosh):
3325 * floatfns.c (Fasinh):
3326 * floatfns.c (Fatanh):
3327 * floatfns.c (Fcosh):
3328 * floatfns.c (Fsinh):
3329 * floatfns.c (Ftanh):
3330 * floatfns.c (Fabs):
3331 * floatfns.c (Ffloat):
3332 * floatfns.c (Flogb):
3333 * floatfns.c (Fceiling):
3334 * floatfns.c (Ffloor):
3335 * floatfns.c (Fround):
3336 * floatfns.c (Ftruncate):
3337 * floatfns.c (Ffceiling):
3338 * floatfns.c (Fffloor):
3339 * floatfns.c (Ffround):
3340 * floatfns.c (Fftruncate):
3341 * fns.c (Fstring_equal):
3342 * fns.c (Fstring_lessp):
3347 * fns.c (Fsubstring):
3349 * fns.c (Fold_assoc):
3350 * fns.c (assoc_no_quit):
3352 * fns.c (Fold_assq):
3353 * fns.c (assq_no_quit):
3355 * fns.c (Fold_rassoc):
3357 * fns.c (Fold_rassq):
3358 * fns.c (rassq_no_quit):
3359 * fns.c (Fremassoc):
3360 * fns.c (remassoc_no_quit):
3362 * fns.c (remassq_no_quit):
3363 * fns.c (Fremrassoc):
3364 * fns.c (Fremrassq):
3365 * fns.c (remrassq_no_quit):
3367 * fns.c (Fplist_get):
3368 * fns.c (Fplist_put):
3369 * fns.c (Fplist_remprop):
3370 * fns.c (Fplist_member):
3371 * fns.c (Flax_plist_get):
3372 * fns.c (Flax_plist_put):
3373 * fns.c (Flax_plist_remprop):
3374 * fns.c (Flax_plist_member):
3376 * fns.c (Fold_equal):
3378 * fns.c (Fbase64_encode_region):
3379 * fns.c (Fbase64_encode_string):
3380 * fns.c (Fbase64_decode_region):
3382 * frame.c (frame_matches_frame_spec):
3383 * frame.c (device_matches_device_spec):
3384 * frame.c (next_frame):
3385 * frame.c (previous_frame):
3386 * frame.c (Fnext_frame):
3387 * frame.c (Fprevious_frame):
3388 * frame.c (Fframe_property):
3389 * frame.c (Fset_frame_height):
3390 * frame.c (Fset_frame_size):
3394 * glyphs.c (decode_error_behavior_flag):
3395 * glyphs.c (Fmake_image_instance):
3396 * indent.c (Findent_to):
3397 * intl.c (Fignore_defer_gettext):
3398 * keymap.c (Fkeymapp):
3399 * keymap.c (Flookup_key):
3401 * lread.c (Fload_internal):
3402 * lread.c (Feval_buffer):
3403 * lread.c (Feval_region):
3404 * macros.c (Fexecute_kbd_macro):
3405 * marker.c (set_marker_internal):
3406 * marker.c (Fset_marker):
3407 * marker.c (set_marker_restricted):
3408 * marker.c (Fcopy_marker):
3409 * marker.c (noseeum_copy_marker):
3411 * menubar.c (Fpopup_menu):
3413 * mule-charset.c (Fcharset_name):
3414 * mule-charset.c (Fchar_charset):
3415 * mule-charset.c (Fchar_octet):
3416 * mule-charset.c (Fsplit_char):
3417 * mule-wnnfns.c (Fwnn_open):
3418 * mule-wnnfns.c (Fwnn_dict_comment):
3419 * mule-wnnfns.c (Fwnn_quit_henkan):
3420 * mule-wnnfns.c (Fwnn_word_toroku):
3421 * mule-wnnfns.c (Fwnn_word_sakujo):
3422 * mule-wnnfns.c (Fwnn_word_use):
3423 * mule-wnnfns.c (Fwnn_hindo_set):
3425 * objects.c (Fmake_color_instance):
3426 * objects.c (Fmake_font_instance):
3427 * print.c (Fwrite_char):
3429 * process.c (mark_process):
3430 * process.c (print_process):
3431 * process.c (get_process_from_usid):
3432 * process.c (Fprocessp):
3433 * process.c (Fprocess_live_p):
3434 * process.c (Fget_process):
3435 * process.c (Fget_buffer_process):
3436 * process.c (get_process):
3437 * process.c (Fprocess_id):
3438 * process.c (Fprocess_name):
3439 * process.c (Fprocess_command):
3440 * process.c (init_process_io_handles):
3441 * process.c (start_process_unwind):
3442 * process.c (Fstart_process_internal):
3443 * process.c (Fopen_multicast_group_internal):
3444 * process.c (Fset_process_window_size):
3445 * process.c (read_process_output):
3446 * process.c (send_process):
3447 * process.c (Fprocess_tty_name):
3448 * process.c (Fset_process_buffer):
3449 * process.c (Fprocess_buffer):
3450 * process.c (Fprocess_mark):
3451 * process.c (set_process_filter):
3452 * process.c (Fset_process_filter):
3453 * process.c (Fprocess_filter):
3454 * process.c (Fprocess_send_region):
3455 * process.c (Fprocess_send_string):
3456 * process.c (exec_sentinel):
3457 * process.c (Fset_process_sentinel):
3458 * process.c (Fprocess_sentinel):
3459 * process.c (status_notify):
3460 * process.c (Fprocess_status):
3461 * process.c (Fprocess_exit_status):
3462 * process.c (process_send_signal):
3463 * process.c (Fprocess_send_eof):
3464 * process.c (deactivate_process):
3465 * process.c (remove_process):
3466 * process.c (Fdelete_process):
3467 * process.c (kill_buffer_processes):
3468 * process.c (Fprocess_kill_without_query):
3469 * process.c (Fprocess_kill_without_query_p):
3471 * rangetab.c (Fget_range_table):
3472 * rangetab.c (Fput_range_table):
3473 * rangetab.c (Fremove_range_table):
3474 * rangetab.c (Fclear_range_table):
3476 * search.c (Fskip_chars_forward):
3477 * search.c (Fskip_chars_backward):
3478 * search.c (Fskip_syntax_forward):
3479 * search.c (Fskip_syntax_backward):
3480 * search.c (search_command):
3481 * search.c (Freplace_match):
3482 * search.c (Fregexp_quote):
3483 * select.c (Fown_selection_internal):
3484 * select.c (Fselection_owner_p):
3485 * select.c (Fselection_exists_p):
3486 * select.c (Fget_selection_internal):
3489 * symbols.c (Fintern):
3490 * symbols.c (Fintern_soft):
3491 * symbols.c (Funintern):
3492 * symbols.c (Fapropos_internal):
3493 * symbols.c (Fset_default):
3495 * syntax.c (Fsyntax_table_p):
3496 * syntax.c (Fcopy_syntax_table):
3497 * syntax.c (Fset_syntax_table):
3498 * syntax.c (Fchar_syntax):
3499 * syntax.c (syntax_match):
3500 * syntax.c (Fmatching_paren):
3501 * syntax.c (Fforward_word):
3502 * syntax.c (scan_lists):
3503 * syntax.c (Fscan_lists):
3504 * syntax.c (Fscan_sexps):
3505 * syntax.c (Fparse_partial_sexp):
3506 * toolbar.c (Fcheck_toolbar_button_syntax):
3509 * window.c (Fwindowp):
3510 * window.c (Fwindow_live_p):
3511 * window.c (Fwindow_point):
3512 * window.c (Fdelete_window):
3513 * window.c (Fnext_window):
3514 * window.c (Fprevious_window):
3515 * window.c (Fother_window):
3516 * window.c (window_loop):
3517 * window.c (Fget_lru_window):
3518 * window.c (Fsplit_window):
3519 * window.c (Fenlarge_window):
3520 * window.c (Fenlarge_window_pixels):
3521 * window.c (Fshrink_window):
3522 * window.c (Fshrink_window_pixels):
3523 * window.c (change_window_height):
3524 * window.c (Fwindow_configuration_p):
3525 * window.c (Fcurrent_window_configuration):
3527 * casefiddle.c (casify_object):
3528 * casefiddle.c (Fupcase):
3529 * casefiddle.c (Fdowncase):
3530 * casefiddle.c (Fcapitalize):
3531 * casefiddle.c (Fupcase_initials):
3532 * casefiddle.c (casify_region_internal):
3533 * casefiddle.c (casify_region):
3534 * casefiddle.c (Fupcase_region):
3535 * casefiddle.c (Fdowncase_region):
3536 * casefiddle.c (Fcapitalize_region):
3537 * casefiddle.c (Fupcase_initials_region):
3538 * casefiddle.c (Fupcase_word):
3539 * casefiddle.c (Fdowncase_word):
3540 * casefiddle.c (Fcapitalize_word):
3541 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3542 Replace 0 with '\0' when working with bytes.
3543 Replace initial "(" with "\(" in docstrings.
3545 2000-11-01 Martin Buchholz <martin@xemacs.org>
3547 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
3549 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
3551 2000-10-31 Martin Buchholz <martin@xemacs.org>
3553 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
3555 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3557 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
3560 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
3562 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
3563 (inhibit_auto_save_session): New variable.
3564 (vars_of_fileio): Declare and initialize them.
3565 * fileio.c (Fdo_auto_save): Don't create session file if
3566 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
3568 2000-10-31 Martin Buchholz <martin@xemacs.org>
3570 * sgiplay.c (play_internal): C++ compilability.
3571 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
3572 * callproc.c (Fold_call_process_internal):
3573 Remove unused vars `env', `first'.
3574 * scrollbar.c (update_scrollbar_instance):
3575 #### unused var `current_window'.
3576 * redisplay-tty.c: Put currently unused vars insert_mode_on,
3577 etc. within #ifdef NOT_YET.
3578 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
3579 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
3580 * specifier.c (specifier_instance):
3581 #### unused var `tag'.
3582 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
3584 2000-10-27 Martin Buchholz <martin@xemacs.org>
3587 * fns.c (list_sort):
3588 * fns.c (Ffillarray):
3589 * fns.c (bytecode_nconc2):
3592 * fns.c (Fmapconcat):
3593 Be pedantically 64-bit correct. For the time when someone will
3594 want to have a list with length > 2**32.
3596 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
3597 Work around MIPSpro compiler bug.
3599 * process-unix.c (unix_kill_child_process): Add snarky comment.
3600 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
3602 * config.h.in: Oops, _getpt ==> _getpty
3604 2000-10-26 Martin Buchholz <martin@xemacs.org>
3608 Use void*, not char*, as return type of alloca().
3610 * alloc.c (free_marker): Side effect inside assert expression!
3612 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
3614 * mule-charset.c (Fset_charset_ccl_program): To check
3615 if the given ccl program is valid, use setup_ccl_program()
3616 instead of CHECK_VECTOR().
3617 (Fmake_charset): Likewise.
3619 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
3621 * faces.c (get_extent_fragment_face_cache_index):
3622 Fix cachel.merged_faces memory leak.
3624 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
3626 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
3627 Reset MSB of octets obtained by DECODE_SJIS
3628 because of the incompatibility with Emacs.
3629 (ccl_driver)<CCL_ENCODE_SJIS>:
3630 Set MSB of octets before passing them to
3631 ENCODE_SJIS because of the incompatibility
3634 2000-10-18 Daiki Ueno <ueno@unixuser.org>
3636 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
3637 (DECLARE_LRECORD): Undo the last change.
3638 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
3640 2000-10-17 Daiki Ueno <ueno@unixuser.org>
3642 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
3643 the implementation to lrecord_implementations_table.
3645 2000-10-14 Daiki Ueno <ueno@unixuser.org>
3647 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
3648 initial value of `lrecord_type_##c_name' and
3649 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
3650 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
3651 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
3652 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
3653 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
3655 2000-10-17 Martin Buchholz <martin@xemacs.org>
3657 * miscplay.c (sndcnv8S_2mono):
3658 (sndcnv2monounsigned):
3659 (sndcnvULaw_2linear):
3661 Remove implementation-defined behavior.
3663 2000-10-12 Martin Buchholz <martin@xemacs.org>
3665 * input-method-xlib.c: Warning suppression.
3667 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
3669 * mule-ccl.c: Sync up with Emacs 21.0.90.
3670 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
3672 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
3674 (ccl_driver[WriteMultibyteChar2]): Bug fix.
3675 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
3676 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
3677 leading char belongs to official 2-dimensional charset.
3678 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
3679 write the given character as is. Otherwise,
3680 if it is a multibyte char, convert it by
3681 non_ascii_set_charptr_emchar, then write it.
3682 (CCL_WRITE_STRING): Likewise.
3683 (ccl_get_compiled_code): New function.
3684 (setup_ccl_program): When ccl_prog is invalid,
3686 (Fregister_code_conversion_map): New function.
3687 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
3689 * mule-ccl.h: Sync up with Emacs 21.0.90.
3690 (Fregister_ccl_program): export it.
3692 * redisplay-msw.c (separate_textual_runs):
3693 If ccl program is not valid, don't do ccl conversion.
3695 * redisplay-x.c (separate_textual_runs): Ditto.
3697 * file-coding.c (Fmake_coding_system):
3698 When type is ccl and value is vector, register it
3699 with a proper symbol. And checks whether the
3700 given ccl program is valid.
3701 (mule_decode): When calling ccl_driver, if src indicates
3702 NULL pointer, set an empty string instead.
3703 (mule_encode): Likewise.
3705 2000-10-11 Martin Buchholz <martin@xemacs.org>
3707 The following large batch of changes gets us back to a state of
3708 C++ compilability. Extbyte is now a char, which means that
3709 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
3711 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
3713 * sound.c (Fplay_sound): Type correctness.
3715 * select-x.c (hack_motif_clipboard_selection): Type correctness.
3716 (x_get_window_property): Type correctness.
3717 (receive_incremental_selection): unsigned char ==> Extbyte
3718 (selection_data_to_lisp_data): unsigned char ==> Extbyte
3719 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
3720 (Fx_store_cutbuffer_internal): Type correctness.
3722 * process-unix.c (try_to_initialize_subtty): Type correctness.
3724 * objects-x.c (x_print_color_instance): Type correctness.
3725 (x_print_font_instance): Type correctness.
3726 (x_list_fonts): SExtbyte ==> Extbyte.
3727 (valid_x_font_name_p): SExtbyte ==> Extbyte.
3728 (x_find_charset_font): SExtbyte ==> Extbyte.
3729 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
3730 (truename_via_XListFonts): SExtbyte ==> Extbyte.
3731 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
3734 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
3735 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
3736 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
3737 (BYTE_C0_P): Use bit ops for char-signedness safety.
3738 (BYTE_C1_P): Use bit ops for char-signedness safety.
3739 (CHARSET_BY_LEADING_BYTE):
3740 (CHARSET_BY_ATTRIBUTES):
3741 Always use inline function.
3742 Use type_checking_assert.
3745 * mule-charset.c (non_ascii_charptr_copy_char):
3746 Modify to work with both ASCII and non-ASCII characters.
3747 Improve docs and variable names.
3748 Replace over-clever fall-through switch with a simple loop.
3749 (Lstream_get_emchar_1):
3750 Replace over-clever fall-through switch with a simple loop.
3752 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
3753 Warning suppression.
3755 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
3756 the return value of Lstream_getc, which could be EOF as well.
3758 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
3760 * lisp.h: Make Extbyte a char, not unsigned char, so that external
3761 APIs can be used on Extbytes without casts. Risky!
3765 * input-method-xlib.c (XIM_init_device):
3766 Use Xlib.h instead of IntrinsicP.h.
3767 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
3768 which will break in X11R7.
3769 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
3770 to call XRegisterIMInstantiateCallback with correct types.
3772 * gui-x.c (button_item_to_widget_value): Type correctness.
3774 * glyphs.c (bitmap_to_lisp_data): Type correctness.
3776 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
3777 (xbm_instantiate_1): Type correctness.
3778 (BUILD_GLYPH_INST): Type correctness.
3780 * fileio.c (Fsubstitute_in_file_name): Type correctness.
3783 (decode_coding_sjis):
3784 (decode_coding_big5):
3785 (decode_coding_ucs4):
3786 (decode_coding_utf8):
3787 (decode_coding_iso2022):
3788 (decode_coding_no_conversion):
3789 Make all decoding functions take an Extbyte * arg.
3790 (encode_coding_sjis):
3791 (encode_coding_big5):
3792 (encode_coding_ucs4):
3793 (encode_coding_utf8):
3794 (encode_coding_iso2022):
3795 (encode_coding_no_conversion):
3796 Make all encoding functions take a Bufbyte * arg.
3797 Use size_t instead of unsigned int for memory sizes.
3798 Only cast to unsigned char whenever dereferencing Extbyte *.
3800 * doc.c (unparesseuxify_doc_string): Type correctness.
3802 * console-x.c (split_up_display_spec):
3803 Rewrite without using details of internal string representation.
3804 (x_semi_canonicalize_device_connection): Type correctness.
3807 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
3808 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
3809 (HAVE_XFREE386): Removed.
3811 * buffer.h (DEC_CHARPTR): `const' correctness.
3812 (bufbyte_strcmp): New.
3813 (bufbyte_memcmp): New.
3815 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
3817 * buffer.h (XCHAR_OR_CHAR_INT):
3818 Always use inline function.
3819 Remove redundant type checking assert() - XINT will abort quite nicely.
3821 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
3823 * search.c (Freplace_match): Set newtext to an empty string.
3825 2000-10-10 Martin Buchholz <martin@xemacs.org>
3827 * s/decosf1-3.h: Remove #include of stropts.h
3828 * s/ptx.h: Remove #include of stropts.h
3829 * s/usg5-4.h: Remove #include of stropts.h
3832 Use stropts.h, not sys/stropts.h.
3833 Use strtio.h, not sys/strtio.h.
3835 2000-10-04 Martin Buchholz <martin@xemacs.org>
3837 * XEmacs 21.2.36 is released.
3839 2000-09-21 Andy Piper <andy@xemacs.org>
3841 * glyphs-x.c (x_redisplay_widget): make sure non-structural
3842 changes still involve copying the widget tree.
3843 (update_widget_face): make sure a change is register in the widget
3844 tree. Call update_tab_widget_face appropriately.
3845 (update_tab_widget_face): ditto.
3846 (x_tab_control_redisplay): make sure non-structural changes still
3847 involve copying the widget tree.
3849 2000-08-31 Daiki Ueno <ueno@unixuser.org>
3851 * lread.c (locate_file): Check the path element is non-nil.
3853 2000-10-02 Martin Buchholz <martin@xemacs.org>
3855 * lisp.h: Warning suppression for SCO compilers.
3857 * redisplay-tty.c (reset_tty_modes): Fix crash.
3858 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
3860 2000-09-27 Martin Buchholz <martin@xemacs.org>
3862 Big signal/process handling overhaul. Bugs fixed:
3863 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
3864 M-x comint-kill-subjob should work for both values nil and t of
3865 process-connection-type. It was broken on most platforms.
3866 Testing on Irix and Cygwin still needed. Other plaforms tested.
3867 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
3868 * process-unix.c: Signal/Process handling overhaul.
3869 (pty_name): make 64 bytes, as `expect' does, for paranoia.
3870 (allocate_pty): Use all available modern methods of allocating
3871 ptys, falling back to old style BSD allocation as a last resort.
3872 Use allegedly more secure Unix98 pty allocation by default.
3873 (allocate_pty_the_old_fashioned_way): New. the last resort.
3874 (unix_create_process): Push ptem, ldterm, ttcompat where
3875 available. Autoconfiscate.
3876 (try_to_initialize_subtty): New.
3877 (unix_kill_child_process): Proper signal handling for ptys on most
3878 platforms, using special knowledge of AIX, BSD, etc...
3879 (unix_create_process): Always disconnect_controlling_terminal() for
3880 subprocesses, whether using ptys or not.
3881 * process.h: Remove old getpt-dependent PTY code.
3882 * process.c (Fprocess_send_signal): New, obvious generic function.
3883 (decode_signal): New.
3884 (Finterrupt_process):
3888 (Fcontinue_process):
3889 (Fsignal_process): Use decode_signal.
3890 (process_send_signal):
3891 Many docstring corrections.
3892 Allow any signal to be sent to a process object.
3893 * config.h.in: Add symbols for big signal/process overhaul.
3894 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
3895 * sysproc.h: Include process-related headers, where available:
3896 sys/stropts.h sys/strtio.h pty.h libutil.h
3904 Remove old S&M pty stuff.
3905 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
3906 * systty.h: Simplify cpp hackery, improve comments.
3907 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
3909 * editfns.c (Fformat_time_string):
3910 Be a little more paranoid with the return value of ctime.
3912 * fileio.c (check_executable):
3914 Use symbolic constants X_OK, W_OK.
3916 * console-x.c (split_up_display_spec): Fix a warning.
3918 2000-10-02 Martin Buchholz <martin@xemacs.org>
3920 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
3921 * ntproc.c (sys_spawnve): make_string ==> build_string
3922 Small clarity improvements.
3924 2000-09-30 Martin Buchholz <martin@xemacs.org>
3926 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
3928 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
3930 * config.h.in (HAVE_STRCASECMP): Remove.
3932 2000-09-29 Martin Buchholz <martin@xemacs.org>
3934 * redisplay-output.c (redisplay_output_pixmap):
3935 Cleaner and possibly more 64-bit correct code.
3937 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
3939 * dumper.c (pdump_load_finish): move restoration of
3940 `noninteractive1' to emacs.c (main_1).
3941 * emacs.c (main_1): protect LISP-visible command-line flags
3944 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
3946 * Makefile.in.in (versionclean): Use EXE_TARGET and
3947 DUMP_TARGET instead of literal program names.
3949 2000-09-20 Martin Buchholz <martin@xemacs.org>
3951 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
3953 2000-09-19 Martin Buchholz <martin@xemacs.org>
3955 * *: Spelling mega-patch
3957 2000-09-19 Martin Buchholz <martin@xemacs.org>
3959 * fns.c (bad_bad_turtle):
3960 Delete "Eek!" comment, since we fixed the bug to which it refers.
3962 2000-09-16 Martin Buchholz <martin@xemacs.org>
3964 * alloca.c: Replace REGISTER with register.
3966 2000-09-16 Daiki Ueno <ueno@unixuser.org>
3968 * file-coding.c (ucs_to_char): Use countof.
3970 2000-09-16 Martin Buchholz <martin@xemacs.org>
3972 * file-coding.c: (ucs_to_char):
3973 (complex_vars_of_file_coding):
3974 Use countof instead of sizeof.
3975 Use CHECK_NATNUM instead of CHECK_INT.
3977 * sysdep.c (strcasecmp): Remove.
3978 * device-x.c (ascii_strcasecmp): New.
3979 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
3980 Avoid using non-standard non-portable strcasecmp.
3982 2000-09-16 Martin Buchholz <martin@xemacs.org>
3984 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
3985 * font-lock.c: remove reference to emacsfns.h.
3986 * search.c: small doc improvement.
3987 * event-Xt.c: correct file names in comments.
3988 * console-x.h Correct file names in comments.
3989 * frame.c: Correct file names in comments.
3990 * event-stream.c: remove Energize from comments.
3992 2000-09-15 Martin Buchholz <martin@xemacs.org>
3994 * symeval.h (DEFERROR_STANDARD):
3997 (DEFSYMBOL_NO_DUMP):
3998 (DEFSYMBOL_MULTIWORD_PREDICATE):
3999 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
4001 The construct &##name is not sensible C.
4002 Fixes compilation errors with Unixware native compiler.
4004 2000-09-14 Martin Buchholz <martin@xemacs.org>
4006 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
4007 (next_frame_internal): Removed. We now just have next_frame.
4009 Write a simpler and cleaner one-pass algorithm.
4010 Remove called_from_delete_device arg and #ifdefed-out code.
4012 Renamed from prev_frame. Update callers.
4013 Cleaned up to have an analogous implementation to next_frame.
4014 (other_visible_frames_internal): Remove the
4015 called_from_delete_device bogus arg, and hence, remove this
4016 function. Just use other_visible_frames().
4018 * window.c (Fnext_window):
4020 Since next_frame() is guaranteed to return a frame, remove check
4021 for nil inserted in previous patch.
4024 Make code look more like Fnext_window.
4026 Respect the `console' arg when iterating through windows.
4027 Fixes bug: (get-buffer-window buffer t device) not respecting
4029 This function needs more work, as others have pointed out.
4031 * frame.h: Rename prev_frame to previous_frame.
4032 device_matches_console_spec no longer takes a `frame' arg.
4037 Use EMACS_BLOCK_SIGNAL instead of sigblock.
4038 From "Golubev I. N." <gin@mo.msk.ru>.
4040 * make-src-depend: Fix typo.
4042 2000-09-13 Martin Buchholz <martin@xemacs.org>
4044 * window.c (Fnext_window):
4045 next_frame() might return nil, not a frame.
4047 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4049 * frame.c (next_frame_internal):
4050 We've passed a frame if we've passed its device.
4052 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
4053 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
4055 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
4057 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
4058 Allow option to suppress accelerators in menu/dialog items.
4059 (populate_or_checksum_helper): Pass dialog title through above.
4061 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
4063 * event-msw.c (mswindows_key_to_emacs_keysym):
4064 Add "pause" key, fix "menu" key.
4066 2000-09-09 Martin Buchholz <martin@xemacs.org>
4068 * eval.c (reinit_vars_of_eval):
4069 Increase max_lisp_eval_depth to 1000,
4070 required for thai-xtis.el to byte-compile under some circumstances.
4072 2000-09-04 Martin Buchholz <martin@xemacs.org>
4074 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
4077 2000-09-01 Martin Buchholz <martin@xemacs.org>
4079 * make-src-depend: Make the generated Makefiles smaller.
4081 * s/hpux.h (SETUP_SLAVE_PTY):
4082 Provide a %d in the format string for the errno argument.
4084 * editfns.c (Ftemp_directory):
4086 Avoid buffer overrun on very long file name.
4088 * input-method-xlib.c (XIM_init_device):
4089 6th parameter of XRegisterIMInstantiateCallback has different
4090 pointer types on different OSes, so simply cast to (void *).
4092 * unexhp9k800.c: Warning fixes. Fiddly changes.
4094 * sysdll.c (dll_open):
4095 shl_load will hang hard if passed a NULL filename.
4096 Simply return NULL for compatibility with dlopen.
4097 * sysdll.c: Conform to XEmacs coding standards.
4099 * sysdep.c (get_pty_max_bytes):
4100 Support pty input lines longer than 512 bytes on HP-UX 10.20.
4102 2000-08-31 Martin Buchholz <martin@xemacs.org>
4104 * tooltalk.c: Add #include <syssignal.h>
4106 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
4108 * s/hpux.h: Don't use undefined function sigunblock().
4110 2000-08-31 Martin Buchholz <martin@xemacs.org>
4112 * config.h.in: Add HAVE_BALLOON_HELP.
4113 * emacs.c: Use HAVE_BALLOON_HELP.
4114 * Makefile.in.in (x_objs):
4115 Make Balloon Help conditional on finding shape.h.
4117 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
4119 * syntax.c (regex_emacs_buffer_p): New variable.
4120 * syntax.h (regex_emacs_buffer_p): extern.
4121 * search.c (looking_at_1):
4123 (fast_string_match):
4124 (search_buffer): Set regex_emacs_buffer_p.
4125 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
4126 when before_dot, at_dot, after_dot.
4128 2000-08-23 Andy Piper <andy@xemacs.org>
4130 * gui-x.c (popup_selection_callback): Only set action_occurred
4131 when we really have an image instance.
4132 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
4134 2000-08-23 Andy Piper <andy@xemacs.org>
4136 * gui-msw.c (mswindows_handle_gui_wm_command): set
4138 * gui-x.c (popup_selection_callback): ditto.
4140 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
4141 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
4142 (struct Lisp_Image_Instance): add action_occurred flag.
4144 * glyphs.c (redisplay_subwindow): use action_occurred flag.
4145 (image_instance_changed): ditto.
4146 (reset_frame_subwindow_instance_cache): only unmap windows - do
4147 not remove them from the cache also.
4149 * glyphs-widget.c (tab_control_update): better debug.
4150 (progress_gauge_update): ditto.
4151 (layout_update): ditto.
4152 (layout_instantiate): ditto.
4153 (tab_control_order_only_changed): cope with null pending items.
4155 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
4156 debug. Force selection of an item when an action occurred. Cope
4157 with null pending_items.
4158 (mswindows_progress_gauge_redisplay): better debug.
4159 * glyphs-x.c (x_tab_control_redisplay): ditto.
4161 * redisplay.c (redisplay_frame): reset the frame cache if the
4164 * window.c (Fset_window_configuration): potentially re-enable
4166 (window_unmap_subwindows): need to finalize instances here since
4167 it is only used in mark_window_as_deleted.
4169 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
4171 * nas.c (SndOpenDataForReading):
4172 nas.c (WaveOpenDataForReading):
4173 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
4174 Somehow escaped from the 2000-08-14 patch.
4176 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
4178 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
4179 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
4181 2000-08-21 Andy Piper <andy@xemacs.org>
4183 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
4184 window if it is not already displayed.
4186 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
4187 it is not already displayed.
4189 * window.c (Fset_window_configuration): don't reset the frame
4192 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
4193 instances from the frame cache if we are actually finalizing them.
4194 (reset_frame_subwindow_instance_cache): reset frame cache only
4195 after unmapping everything.
4196 (map_subwindow): set displayed flag after mapping.
4198 2000-08-21 Martin Buchholz <martin@xemacs.org>
4200 * data.c (indirect_function):
4201 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
4203 * eval.c (function_argcount):
4204 Use original function when signaling errors.
4206 2000-08-18 Andy Piper <andy@xemacs.org>
4208 * frame.c (delete_frame_internal): use new
4209 free_frame_subwindow_instances name.
4211 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
4212 (add_tab_item): make return type correct.
4213 (mswindows_tab_control_instantiate): assert index of tab.
4214 (mswindows_tab_control_redisplay): Re-code to use
4215 gui_item_equal_sans_selected and gui_item_list_find_selected.
4217 * glyphs-widget.c (tab_control_update): Correct comment.
4219 * window.c (window_unmap_subwindows): use new
4220 unmap_subwindow_instance_cache_mapper.
4221 (window_unmap_subwindows_cache_mapper): deleted.
4222 (Fset_window_configuration): comparisons should now be with
4223 EQ. Preserve the subwindow instance cache across configuration
4225 (allocate_window): ditto.
4226 (make_dummy_parent): ditto.
4228 * glyphs.c (free_frame_subwindow_instances): rename from
4229 free_frame_subwindow_instance_cache. finalize all instances rather
4230 than just those in the display cache.
4231 (finalize_all_subwindow_instances): walk windows unmapping and
4232 finalizing subwindows.
4233 (unmap_subwindow_instance_cache_mapper): moved from
4234 window.c. Allow finalization as well as unmapping.
4236 * gui.c (gui_item_list_find_selected): new function.
4238 * gui.h (gui_item_list_find_selected): declare.
4240 * glyphs-x.c (x_tab_control_redisplay): pick tab
4241 explicitly. Re-code to use gui_item_equal_sans_selected and
4242 gui_item_list_find_selected.
4244 * glyphs-x.h: add lwlib-utils.h
4246 * buffer.c (Frecord_buffer): undo previous change.
4248 2000-08-09 Vin Shelton <acs@xemacs.org>
4250 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
4251 possible. Create temporary files more securely. The patch was
4252 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
4253 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
4254 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
4257 2000-08-07 Ben Wing <ben@xemacs.org>
4259 * getloadavg.c: remove duplicate (and windows-breaking)
4260 includes of fcntl.h and sys/file.h.
4262 * nt.c: remove duplicate getloadavg() definition.
4264 * sysdll.h (Qdll_filename_encoding): add missing stand-in
4267 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
4269 * eval.c (function_argcount): If function needs to be autoloaded
4270 actually use the loaded definition.
4273 2000-08-05 Ben Wing <ben@xemacs.org>
4275 * getloadavg.c: add prototype for getloadavg(). remove
4276 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
4277 of the code). remove duplicate header includes.
4279 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
4281 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
4282 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
4283 useful load average.
4285 * alloc.c (reinit_alloc_once_early): removed references to
4286 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
4287 the lisp vars are the only things referencing the malloc_sbrk_*
4288 vars, and they were already if 0'd out. these vars only exist
4289 in the older malloc.c, which is basically unused, and they're
4290 only for informational purposes.
4292 * m\*.h: removed useless VIRT_ADDR_VARIES.
4294 * m\powerpc.h: removed stray NO_ARG_ARRAY.
4296 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
4298 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
4299 color if the image is a mono pixmap.
4301 2000-07-30 Ben Wing <ben@xemacs.org>
4303 * Makefile.in.in (release):
4306 * buffer.c (directory_is_current_directory):
4307 * dired-msw.c (mswindows_get_files):
4309 * dired.c (Fdirectory_files):
4310 * dired.c (file_name_completion_stat):
4311 * dired.c (Ffile_attributes):
4312 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
4313 preprocessor tricks, to avoid problems on some machines
4316 * callproc.c (egetenv): GC docs.
4319 * console-msw.h (struct mswindows_dialog_id):
4320 * lrecord.h (lrecord_type):
4321 New object for use with MSW dialogs.
4323 * console.h (struct console_methods):
4324 New enable/disable frame methods, for proper modal dialogs.
4326 * device-msw.c (msprinter_default_printer): Fix to follow
4327 proper Mule conventions.
4330 * device-msw.c (signal_open_printer_error):
4331 * device-msw.c (msprinter_init_device):
4332 * device-msw.c (ensure_not_printing):
4333 * device-msw.c (plist_get_margin):
4334 * device-msw.c (Fmsprinter_select_settings):
4335 * device-msw.c (finalize_devmode):
4336 * device-msw.c (Fmsprinter_settings_despecialize):
4337 * device-msw.c (signal_enum_priner_error):
4338 * extents.c (decode_extent):
4339 * extents.c (decode_map_extents_flags):
4340 * extents.c (decode_extent_at_flag):
4341 * extents.c (Fextent_at):
4342 * extents.c (Fextents_at):
4343 * extents.c (symbol_to_glyph_layout):
4344 [[[[2]]]] Use structured errors.
4347 * dialog-msw.c (mswindows_is_dialog_msg):
4348 * dialog-msw.c (mark_mswindows_dialog_id):
4349 * dialog-msw.c (dialog_proc):
4350 * dialog-msw.c (handle_question_dialog_box):
4351 * dialog-msw.c (syms_of_dialog_mswindows):
4352 Define new object to clean up marking; use it as a dialog identifier.
4353 Call new delete-dialog-box-hook.
4355 * dialog-x.c (dbox_selection_callback):
4356 * dialog-x.c (dbox_descriptor_to_widget_value):
4357 * dialog-x.c (x_make_dialog_box_internal):
4358 Call new delete-dialog-box-hook.
4362 * dialog.c (syms_of_dialog):
4363 * dialog.c (vars_of_dialog):
4364 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
4367 * eval.c (signal_call_debugger):
4368 when noninteractive, output stack traces on the console instead
4369 of in a (never-seen) buffer.
4371 * eval.c (signal_type_error):
4372 * eval.c (invalid_argument_2):
4374 new funs for use w/structured errors.
4377 * event-Xt.c (x_to_emacs_keysym):
4378 * event-Xt.c (describe_event):
4379 * event-Xt.c (emacs_Xt_event_handler):
4380 * event-Xt.c (vars_of_event_Xt):
4382 * event-msw.c (mswindows_wnd_proc):
4383 * event-msw.c (vars_of_event_mswindows):
4384 rename {x,mswindows}-debug-events to debug-{}-events for
4385 consistency with other debug-foo variables.
4388 document next-event more clearly.
4390 * fileio.c (Ffile_name_directory):
4391 * fileio.c (Ffile_name_nondirectory):
4392 * fileio.c (Funhandled_file_name_directory):
4393 * fileio.c (file_name_as_directory):
4394 * fileio.c (Ffile_name_as_directory):
4395 * fileio.c (directory_file_name):
4396 * fileio.c (Fdirectory_file_name):
4397 * fileio.c (Fmake_temp_name):
4398 * fileio.c (Ffile_truename):
4399 * fileio.c (Fsubstitute_in_file_name):
4400 * fileio.c (expand_and_dir_to_file):
4401 * fileio.c (barf_or_query_if_file_exists):
4402 * fileio.c (check_executable):
4403 * fileio.c (Ffile_exists_p):
4404 * fileio.c (Ffile_writable_p):
4405 * fileio.c (Ffile_directory_p):
4406 * fileio.c (Ffile_regular_p):
4407 * fileio.c (Ffile_modes):
4408 * fileio.c (Ffile_newer_than_file_p):
4409 * fileio.c (Fverify_visited_file_modtime):
4410 * fileio.c (Fset_visited_file_modtime):
4411 * fileio.c (auto_save_1):
4416 * frame-msw.c (mswindows_init_frame_1):
4417 * frame-msw.c (mswindows_enable_frame):
4418 * frame-msw.c (error_frame_unsizable):
4419 * frame-msw.c (msprinter_init_frame_1):
4420 * frame-msw.c (msprinter_init_frame_3):
4421 * frame-msw.c (console_type_create_frame_mswindows):
4423 implement new enable/disable frame methods.
4426 * frame-x.c (x_enable_frame):
4427 * frame-x.c (console_type_create_frame_x):
4428 implement new enable/disable frame methods.
4431 * frame.c (Fdisable_frame):
4432 * frame.c (syms_of_frame):
4433 * frame.h (struct frame):
4434 implement new enable/disable frame methods/functions.
4439 * glyphs-msw.c (mswindows_widget_instantiate):
4440 comment that initial-focus should be implemented.
4443 * glyphs-widget.c (check_valid_instantiator):
4444 * glyphs-widget.c (check_valid_orientation):
4445 * glyphs-widget.c (check_valid_tab_orientation):
4446 * glyphs-widget.c (check_valid_justification):
4447 * glyphs-widget.c (check_valid_border):
4448 * glyphs-widget.c (check_valid_callback):
4449 * glyphs-widget.c (check_valid_int_or_function):
4450 * glyphs-widget.c (check_valid_string_or_vector):
4451 * glyphs-widget.c (check_valid_item_list_1):
4452 * glyphs-widget.c (widget_validate):
4453 * glyphs-widget.c (combo_box_validate):
4454 * glyphs-widget.c (widget_instantiate):
4455 * glyphs-widget.c (syms_of_glyphs_widget):
4456 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
4457 * glyphs-widget.c (image_instantiator_combo_box):
4458 * glyphs-widget.c (image_instantiator_scrollbar):
4459 * glyphs-widget.c (image_instantiator_tab_control):
4460 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
4462 support (unimplemented) keyword initial-focus.
4463 reindent long macros.
4465 * glyphs-x.c (x_redisplay_widget):
4466 * glyphs-x.c (x_button_instantiate):
4467 * glyphs-x.c (x_button_redisplay):
4468 * glyphs-x.c (x_progress_gauge_instantiate):
4469 * glyphs-x.c (x_edit_field_instantiate):
4470 * glyphs-x.c (x_combo_box_instantiate):
4471 * glyphs-x.c (x_tab_control_instantiate):
4472 * glyphs-x.c (x_label_instantiate):
4474 * gui-x.c (button_item_to_widget_value):
4475 * gui-x.c (gui_items_to_widget_values_1):
4476 * gui-x.c (gui_item_children_to_widget_values):
4477 * gui-x.c (gui_items_to_widget_values):
4479 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
4480 add new flag to gui-parsing routines to indicate whether
4481 accelerator specs should be supported.
4483 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
4485 * glyphs.h (struct Lisp_Image_Instance):
4486 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
4487 add initial-focus flag.
4490 * gui.c (syms_of_gui):
4491 * gui.c (vars_of_gui):
4492 clean up menu-no-selection-hook.
4495 support delete-dialog-box-hook.
4497 * lread.c (Fload_internal):
4498 * lread.c (locate_file_in_directory_mapper):
4502 * lrecord.h (struct toolbar_button):
4503 * lrecord.h (syms_of_toolbar):
4504 document how to create a new object.
4506 * menubar-msw.c (mswindows_char_is_accelerator):
4507 may be called on frames w/o menus.
4509 * menubar.c (vars_of_menubar):
4510 clean up :filter docs.
4517 * process-nt.c (validate_signal_number):
4518 * process-nt.c (signal_cannot_launch):
4519 * process-nt.c (nt_create_process):
4520 * process-nt.c (nt_send_process):
4521 * process-nt.c (nt_kill_child_process):
4522 * process-nt.c (nt_open_network_stream):
4523 * process-nt.c (syms_of_process_nt):
4525 delete quote-handling. call new lisp code that does it better.
4527 * process-unix.c (connect_to_file_descriptor):
4528 * process-unix.c (allocate_pty):
4529 * process-unix.c (unix_send_process):
4530 * process-unix.c (unix_kill_child_process):
4531 * process-unix.c (unix_open_network_stream):
4532 * process-unix.c (unix_open_multicast_group):
4536 * process.c (Fstart_process_internal):
4537 (2). need to canonicalize process path even if absolute.
4539 * select-msw.c (symbol_to_ms_cf):
4540 * select-msw.c (ms_cf_to_symbol):
4541 * select-msw.c (cf_is_autofreed):
4542 * select-msw.c (mswindows_destroy_selection):
4544 * select.c (syms_of_select):
4546 support dibv5, fix bugs. (from Mike Alexander)
4548 * select.c (Fget_selection_internal):
4549 * select.c (select_convert_out):
4552 * sysdep.c (xemacs_stat):
4557 but keep original stat() here because we provide encapsulation
4561 * sysfile.h (fstat):
4562 remove stat garbage.
4566 don't include tchar.h. it's inappropriate because it makes
4567 compile-time distinctions when we want runtime distinctions.
4568 (we provide our own tchar replacements)
4571 use default object printer for toolbar-button.
4574 make sure we don't encapsulate.
4576 * window.c (vars_of_window):
4577 emphasize that temp-buffer-show-hook is obsolete.
4579 2000-08-05 Martin Buchholz <martin@xemacs.org>
4581 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
4582 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
4584 * events.c (Fevent_timestamp_lessp):
4585 Not 64-bit clean. Use EMACS_INT, not int.
4587 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
4589 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
4590 unsigned int and changed the last enum to
4591 lrecord_type_last_built_in_type.
4592 (lrecord_implementations_table): changed prototype to know how
4593 long the array is supposed to be.
4594 (lrecord_type_count): new unsigned int to keep track of the
4595 current number of lisp lrecord types.
4596 (DEFINE_EXTERNAL_LRECORD):
4597 (DECLARE_EXTERNAL_LRECORD): Added these two for external
4598 dynamic-modules to declare new lisp types. They are the same
4599 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
4600 int for each new type, and increment lrecord_type_count by 1.
4602 * alloc.c (lrecord_implementations_table): Changed to reference
4603 lrecord_type_last_built_in_type for the size of the array.
4604 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
4606 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
4608 * glyphs.h (check_valid_item_list): Renamed from
4609 check_valid_item_list_1.
4611 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
4613 * select.c (Qselect_coerce): New.
4614 * select.c (Vselection_coercion_alist): New.
4615 * select.c (syms_of_select): Declare.
4616 * select.c (get-selection-internal): Use it.
4617 Use the new select-coerce functionality.
4619 * select.c (select_coerce): New.
4620 * select.h (select_coerce): Declare.
4621 New function to coerce one type of data into another.
4623 2000-08-03 Martin Buchholz <martin@xemacs.org>
4625 * callproc.c (Fcall_process_internal):
4626 (Fcall_process_internal):
4627 * process-unix.c (unix_create_process):
4628 Save and restore the value of errno, so that error messages are accurate.
4630 2000-08-01 Martin Buchholz <martin@xemacs.org>
4632 * elhash.c (print_hash_table):
4633 Fix printing of hash tables to also use `key-and-value' instead of `t'.
4634 Prettify docstrings and indentation.
4636 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
4638 * window.c (Fwindow_pixel_edges): Subtract frame border and
4641 2000-07-31 Andy Piper <andy@xemacs.org>
4643 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
4644 will acknowledge the change.
4646 * glyphs.h: declare tab_control_order_only_changed.
4648 * glyphs-x.c (x_tab_control_redisplay): use
4649 tab_control_order_only_changed.
4651 * glyphs-widget.c (tab_control_order_only_changed): new function.
4653 * glyphs-msw.c (mswindows_tab_control_redisplay): use
4654 tab_control_order_only_changed.
4656 * gui.c (gui_item_equal_sans_selected): new function.
4657 (gui_item_equal): use it.
4659 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
4660 :properties in favor of :items..
4662 * glyphs-widget.c (check_valid_item_list): rename from
4663 check_valid_item_list_1.
4664 (check_valid_item_list_1): renamed.
4665 (combo_box_validate): deprecate :properties in favor of :items.
4666 (widget_instantiate): ditto.
4667 (tab_control_update): ditto.
4668 (image_instantiator_combo_box): ditto.
4669 (image_instantiator_tree_view): ditto.
4670 (image_instantiator_tab_control): ditto.
4671 (layout_post_instantiate): remove dead code.
4673 * print.c (debug_print_no_newline): only write to debugger if in
4676 * elhash.c (Fmake_hash_table): update doc string.
4678 * event-msw.c (mswindows_wnd_proc): don't allow processing of
4679 messages whilst in GC. This at least stops XEmacs crashing but has
4680 the potential for wierd behaviour.
4682 2000-07-31 Martin Buchholz <martin@xemacs.org>
4685 Make existence of s&m files optional.
4687 * s/bsd386.h: Remove HAVE_GETLOADAVG.
4688 * s/freebsd.h: Remove HAVE_GETLOADAVG.
4689 * s/gnu.h: Remove HAVE_GETLOADAVG.
4690 * s/netbsd.h: Remove HAVE_GETLOADAVG.
4691 * s/sol2.h: Remove HAVE_GETLOADAVG.
4692 * lisp.h: Remove getloadavg() declaration.
4694 Include <sys/loadavg.h> if available.
4695 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
4696 * config.h.in: Group together getloadavg()-related macros.
4697 Use only configure-time tests to detect getloadavg().
4699 2000-07-30 Martin Buchholz <martin@xemacs.org>
4701 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
4703 2000-07-25 Andy Piper <andy@xemacs.org>
4705 * syswindows.h: add tchar.h for native builds.
4707 * frame.c (syms_of_frame): remove set-glyph-image.
4709 * general-slots.h: add Qset_glyph_image.
4711 * glyphs-widget.c (layout_update): add domain arg to
4713 (syms_of_glyphs_widget): remove set-glyph-image.
4715 2000-07-23 Ben Wing <ben@xemacs.org>
4717 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
4720 2000-07-22 Andy Piper <andy@xemacs.org>
4722 * symsinit.h: add syms_of_win32().
4724 * gui-msw.c (syms_of_gui_mswindows): remove
4725 Fmswindows_shell_execute.
4726 (Fmswindows_shell_execute): moved to win32.c.
4728 * emacs.c (main_1): add syms_of_win32 ().
4730 * win32.c (init_potentially_nonexistent_functions): rewrite in
4731 compiler-friendly terms.
4732 (Fmswindows_shell_execute): move here from gui-msw.c.
4733 (syms_of_win32): new.
4735 * device-msw.c (Fmswindows_printer_list): clean up args to
4737 Don't include tchar under cygwin or mingw.
4738 (msprinter_default_printer): make cygwin-friendly.
4740 2000-07-21 Andy Piper <andy@xemacs.org>
4742 * glyphs-widget.c (image_instantiator_tree_view): use tab
4743 control's update function.
4744 (layout_property): new function. Retrieve items.
4746 * glyphs-msw.c (mswindows_tree_view_redisplay): new
4747 function. Re-populate the tree view from the pending items.
4749 * glyphs.c (instantiate_image_instantiator): Make sure the domain
4750 is designated the parent if the domain is an image instance. This
4751 is needed so that dirtiness can be cascade up the hierarchy and
4752 thus for layout children to be redisplayed correctly.
4753 (allocate_image_instance): rename glyph -> parent.
4755 * redisplay.h: change redisplay_output_layout signature.
4757 * redisplay-msw.c (mswindows_output_display_block): use domain
4760 * redisplay-x.c (x_output_display_block): use domain arg.
4762 2000-07-10 Andy Piper <andy@xemacs.org>
4764 * window.c (Fset_window_configuration): add comment.
4766 * redisplay-output.c (compare_runes):
4767 (redisplay_output_subwindow): redisplay rather than update subwindow.
4768 (redisplay_output_layout): ditto.
4770 * redisplay-msw.c (mswindows_frame_output_end):
4771 (mswindows_frame_output_end): make defer window pos optional.
4773 * lisp.h: add Flast.
4775 * glyphs.h (struct image_instantiator_methods): add dest_mask top
4776 normalize method. Change update method to be for changed
4777 instantiators. Add redisplay method. Change signature of layout
4779 (struct Lisp_Image_Instance): add instantiator.
4780 (IMAGE_INSTANCE_INSTANTIATOR): new.
4781 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
4782 (XIMAGE_INSTANCE_INSTANTIATOR): new.
4783 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
4786 (find_instantiator_differences): new function.
4787 (Fset_instantiator_property): new convenience function.
4788 (check_image_instance_structure): strictly check for vector
4790 (normalize_image_instantiator): make non-static.
4791 (instantiate_image_instantiator): pass on dest_mask and use new
4792 signatures for image_instance_layout and friends.
4793 (mark_image_instance): mark the instantiator. Mark the subwindow
4794 face not the widget face.
4795 (image_instance_equal): add instantiator.
4796 (image_instance_hash): ditto.
4797 (allocate_image_instance): ditto.
4798 (Fset_image_instance_property): removed.
4799 (Fimage_instance_file_name): ditto.
4800 (Fcolorize_image_instance): ditto.
4801 (image_instance_layout): add offsets to be set.
4802 (update_image_instance): new function. update an image instance
4803 from its changed instantiator.
4804 (inherit_normalize): add dest_mask.
4805 (xbm_normalize): ditto.
4806 (xface_normalize): ditto.
4807 (xpm_normalize): ditto.
4808 (text_update): set_property -> update.
4809 (image_instantiate): use the glyph identity as a hash key, not the
4811 (glyph_width): use new image_instance_layout signature.
4812 (glyph_ascent): ditto.
4813 (glyph_descent): ditto.
4814 (glyph_height): ditto.
4815 (glyph_query_geometry): ressurrect.
4816 (glyph_layout): ditto.
4817 (redisplay_subwindow): update -> redisplay.
4818 (syms_of_glyphs): add Fset_instantiator_property.
4819 (image_instantiator_format_create): set_property -> update.
4822 (autodetect_normalize): add dest_maks to signature.
4823 (x_redisplay_subwindow): update -> redisplay.
4824 (x_redisplay_widget): ditto.
4825 (x_button_redisplay): ditto.
4826 (x_progress_gauge_redisplay): ditto.
4827 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
4829 (console_type_create_glyphs_x): update -> redisplay.
4830 (image_instantiator_format_create_glyphs_x): ditto.
4833 (check_valid_instantiator): disallow glyphs in the instantiator,
4834 they must now be vectors.
4835 (check_valid_instantiator_list): ditto.
4836 (glyph_instantiator_to_glyph): use internal symbol rather than
4838 (widget_update): renamed from widget_set_property. Call cascaded
4840 (redisplay_widget): renamed from update_widget.
4841 (widget_layout): image_instance_layout now takes position as well
4843 (widget_normalize): ditto.
4844 (widget_instantiate): ditto.
4845 (tab_control_query_geometry) ditto.:
4846 (tab_control_update): renamed from tab_control_set_property.
4847 (progress_gauge_update): set_property -> update.
4848 (layout_normalize): rewrite so that child instantiators are
4850 (layout_update): new function. Create glyphs from the normalized
4851 children and cope with any other layout keywords. We do not
4852 instantiate children here that will be take care of by
4853 redisplay_output_layout.
4854 (layout_instantiate): call layout_update and not much else.
4855 (layout_post_instantiate): not sure whether this is needed
4857 (layout_query_geometry): query glyph geometry rather than
4858 image_instance geometry.
4859 (layout_layout): set offsets from pass in parameters. Use glyph
4860 geometry and layout functions rather than image instance ones.
4861 (native_layout_layout): ditto.
4862 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
4863 (image_instantiator_widget): set_property -> update.
4864 (image_instantiator_buttons): ditto.
4865 (image_instantiator_progress_guage): ditto.
4866 (image_instantiator_tab_control): ditto.
4867 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
4868 (image_instantiator_layout): add update method.
4870 * glyphs-msw.c (bmp_normalize):
4871 (mswindows_resource_normalize): add dest_mask so that it can be
4872 proprogated by layout_normalize.
4873 (begin_defer_window_pos): make optional because it may not be the
4874 right thing to do and it introduces differences with X.
4875 (mswindows_unmap_subwindow): ditto.
4876 (mswindows_map_subwindow): ditto.
4877 (mswindows_redisplay_subwindow): renamed from
4878 mswindows_update_subwindow.
4879 (mswindows_redisplay_widget): ditto.
4880 (mswindows_button_redisplay): renamed from
4881 mswindows_button_update. Update is now what the instantiation
4882 function does for a changed instantiator.
4883 (mswindows_progress_gauge_instantiate): set the progress value
4884 here if appropriate.
4885 (mswindows_tab_control_redisplay): cope with re-ordering of the
4886 members of the tab widget by simply selecting the new top
4887 widget. This makes things appear ok if you click on a tab.
4888 (mswindows_combo_box_instantiate): image_instance_layout now takes
4889 position as well as size.
4890 (mswindows_progress_gauge_redisplay): renamed from
4891 mswindows_progress_gauge_update.
4892 (console_type_create_glyphs_mswindows): fix update -> redisplay.
4893 (image_instantiator_format_create_glyphs_mswindows): ditto.
4895 * glyphs-eimage.c (jpeg_normalize):
4898 (tiff_normalize): add dest_mask so that it can be proprogated by
4903 (hash_table_weakness_validate):
4904 (decode_hash_table_weakness):
4905 (Fhash_table_weakness):
4907 (syms_of_elhash): use Ben's naming scheme for hashtable types..
4909 * console.h (struct console_methods): move update_* to
4912 2000-07-20 Ben Wing <ben@xemacs.org>
4914 * *.[ch] (XSETOBJ): remove unused middle argument.
4915 lisp-disunion.h: correct wrap_object() to one argument.
4917 2000-07-15 Ben Wing <ben@xemacs.org>
4920 * s/cygwin32.h (CYGWIN_CONV_PATH):
4921 Add missing logb prototype for v1.1.
4922 Use post-b20 names and alias to pre-b20 names when pre-b20.
4924 * s/windowsnt.h: [5].
4926 2000-07-15 Ben Wing <ben@xemacs.org>
4928 * Makefile.in.in (x_objs):
4929 * Makefile.in.in (sheap_objs):
4930 * Makefile.in.in (objs):
4931 added win32.o, cosmetic cleanups.
4933 * alloc.c (Fmake_byte_code):
4934 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
4935 etc. macros which declare their own args now.
4937 * alloc.c (syms_of_alloc):
4938 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
4941 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
4943 * buffer.c (Fget_file_buffer):
4944 Fixed GCPRO problem.
4946 * buffer.c (get_truename_buffer):
4947 Fixed comment about GC checking.
4949 * buffer.c (syms_of_buffer):
4950 Undeclared those dedicated frame funs.
4954 Define convenience macros for internal/external conversions.
4955 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
4956 and Qenvironment_variable_encoding for cleaner code.
4959 Remove dedicated-frame; in lisp.
4961 * bytecode.c (funcall_compiled_function):
4964 * bytecode.c (syms_of_bytecode):
4968 * console-msw.c (mswindows_show_console): Rewrote.
4970 * console-msw.c (Fmswindows_debugging_output): New.
4971 Sends to OutputDebugString (special MSWin debugger interface).
4973 * console-msw.c (Fmswindows_message_box):
4974 Fixed stupid bugs so it works when called from kill-emacs.
4976 * console-msw.c (syms_of_console_mswindows):
4977 Declare Fmswindows_debugging_output.
4980 New MSWin prototypes.
4982 * console-msw.h (struct mswindows_frame):
4983 New entry last-click-mods for improved button-modifier support.
4985 * console-msw.h (FRAME_MSWINDOWS_POPUP):
4986 New struct entry `popup' with corresponding accessor.
4989 * console-x.c (split_up_display_spec):
4990 * console-x.c (get_display_arg_connection):
4991 * console-x.c (x_semi_canonicalize_console_connection):
4992 * console-x.c (x_canonicalize_device_connection):
4993 [[[6]]]: Change char to more specific type.
4994 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
4996 * console-x.c (x_semi_canonicalize_console_connection):
4997 * console-x.c (x_canonicalize_device_connection):
4998 [[[9]]]: Fix up error signalling to use new structured error system.
5001 [[[4]]]: Define codesys aliases:
5002 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
5003 Qx_color_name_encoding, Qx_display_name_encoding.
5005 * console.h (struct console_methods):
5006 New method make_dialog_box_internal supersedes older
5007 popup_dialog_box method.
5010 Define many new errors, part of new structured errors.
5012 * data.c (init_errors_once_early):
5013 * data.c (syms_of_data):
5016 * device-msw.c (mswindows_init_device):
5017 [[[5]]]: Cleanup to support NT 3.51.
5019 * device-msw.c (decode_devmode): Cleanup.
5021 * device-msw.c (mswindows_handle_print_setup_dialog_box):
5022 * device-msw.c (mswindows_handle_print_dialog_box):
5023 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5024 * device-msw.c (syms_of_device_mswindows):
5025 Delete the dialog box primitives recently introduced by Kirill and
5026 instead interface to general dialog box interface.
5029 * device-x.c (compute_x_app_name):
5030 * device-x.c (x_init_device):
5031 * device-x.c (Fx_valid_keysym_name_p):
5032 * device-x.c (Fx_set_font_path):
5036 * device.h (wrap_device): New.
5037 First of its kind; meant to replace XSETDEVICE.
5039 * dialog-msw.c: Many file-dialog symbols.
5041 * dialog-msw.c (mswindows_register_popup_frame): New.
5042 * dialog-msw.c (mswindows_is_dialog_msg): New.
5043 For supporting kbd traversal in dialog boxes.
5045 * dialog-msw.c (dialog_proc):
5046 Support hitting ESC in dialogs.
5048 * dialog-msw.c (struct):
5049 Common dialog box errors.
5051 * dialog-msw.c (handle_file_dialog_box): New.
5052 Add file dialog code.
5054 * dialog-msw.c (handle_question_dialog_box):
5055 Redo existing code to support new question dialog syntax.
5057 * dialog-msw.c (console_type_create_dialog_mswindows):
5058 We support new dialog console method.
5060 * dialog-msw.c (syms_of_dialog_mswindows):
5061 * dialog-msw.c (vars_of_dialog_mswindows):
5062 New file dialog symbols, vars.
5065 * dialog-x.c (maybe_run_dbox_text_callback):
5066 * dialog-x.c (dbox_descriptor_to_widget_value):
5067 * dialog-x.c (x_make_dialog_box_internal):
5068 * dialog-x.c (console_type_create_dialog_x):
5069 Mule-ize entire file.
5070 Redo to support question dialog syntax.
5074 * dialog.c (Fmake_dialog_box_internal):
5075 * dialog.c (syms_of_dialog):
5076 Kill old popup-dialog-box, replace with new primitive.
5077 Just call device method or signal error.
5079 * eldap.c (Fldap_open):
5080 * eldap.c (Fldap_search_basic):
5081 * eldap.c (Fldap_add):
5082 * eldap.c (Fldap_modify):
5087 * emacs.c (make_arg_list_1):
5088 * emacs.c (make_arg_list):
5089 Mule-ize call to dll_init().
5093 * emacs.c (make_argc_argv):
5094 * emacs.c (free_argc_argv):
5095 * emacs.c (init_cmdargs):
5097 * emacs.c (Fkill_emacs):
5098 * emacs.c (Fdump_emacs):
5099 Update comments about what can be used in syms_* etc.
5100 Call init_win32() when necessary.
5101 Fix up MS Win dialog box in kill-buffer to actually work right.
5112 * eval.c (condition_case_3):
5114 * eval.c (function_argcount):
5115 * eval.c (funcall_lambda):
5118 * eval.c (type_error): New.
5119 * eval.c (maybe_type_error): New.
5120 * eval.c (continuable_type_error): New.
5121 * eval.c (maybe_continuable_type_error): New.
5122 * eval.c (type_error_with_frob): New.
5123 * eval.c (maybe_type_error_with_frob): New.
5124 * eval.c (continuable_type_error_with_frob): New.
5125 * eval.c (maybe_continuable_type_error_with_frob): New.
5126 New functions for use with structured errors.
5129 * event-Xt.c (x_event_to_emacs_event):
5130 Buttons are now modifiers too.
5132 * event-Xt.c (emacs_Xt_current_event_timestamp):
5133 Implement new event method.
5134 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
5137 * event-msw.c (ntpipe_shove_writer): [5].
5138 * event-msw.c (mswindows_enqueue_mouse_button_event):
5139 * event-msw.c (mswindows_drain_windows_queue):
5140 * event-msw.c (mswindows_wnd_proc): [7].
5141 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
5142 * event-msw.c (mswindows_modifier_state):
5143 Throughout: support new button modifiers.
5145 * event-msw.c (emacs_mswindows_current_event_timestamp):
5146 Implement new event method.
5147 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
5150 * event-stream.c (event_stream_current_event_timestamp): New.
5151 * event-stream.c (maybe_kbd_translate): New functionality.
5152 * event-stream.c (vars_of_event_stream):
5153 Document new kbd-translate-table functionality.
5155 * event-stream.c (Fcurrent_event_timestamp): New.
5156 New primitive for use in fabricated events.
5157 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
5159 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
5162 * events.c (Fmake_event):
5163 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
5167 * events.c (format_event_object): fix gcc warnings.
5169 * events.c (Fevent_timestamp): Document new primitives.
5171 * events.c (TIMESTAMP_HALFSPACE): New.
5173 * events.c (Fevent_timestamp_lessp): New. New primitive for
5174 comparing timestamps correctly (half-space algorithm).
5176 * events.c (Fevent_modifier_bits): Doc fix.
5178 * events.c (Fevent_modifiers): Major doc addition.
5179 * events.c (event_x_y_pixel_internal): Typo fix.
5180 * events.c (syms_of_events): Declare new primitives.
5183 Update long comment for button modifiers, timestamps.
5185 * events.h (struct event_stream):
5186 New current_event_timestamp method.
5189 * extents.c (extent_in_region_p):
5190 * extents.c (decode_extent):
5191 * extents.c (Fset_extent_parent):
5192 * extents.c (decode_map_extents_flags):
5196 * extents.c (struct extent_at_arg):
5197 * extents.c (decode_extent_at_flag):
5198 * extents.c (extent_at_mapper):
5199 * extents.c (extent_at_bytind):
5200 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
5201 * extents.c (Fextents_at): New primitive. [9].
5202 * extents.c (symbol_to_glyph_layout): [9].
5203 Support new primitive `extents-at'.
5206 * extents.c (get_text_property_bytind):
5207 extent_at_bytind has another arg.
5210 * extents.c (syms_of_extents): New primitive.
5212 * file-coding.c (Fmake_coding_system): [1].
5213 * file-coding.c (subsidiary_coding_system): fix gcc warning
5214 * file-coding.c (syms_of_file_coding): [2].
5216 * fileio.c (Fexpand_file_name):
5217 * fileio.c (Fsysnetunam):
5218 * fileio.c (Ffile_exists_p):
5219 * fileio.c (Ffile_executable_p):
5220 * fileio.c (Fverify_visited_file_modtime):
5223 * fileio.c (syms_of_fileio): [2].
5225 * filelock.c (lock_file_1):
5226 * filelock.c (current_lock_owner):
5227 * filelock.c (lock_if_free):
5228 * filelock.c (lock_file):
5229 * filelock.c (unlock_file):
5232 * fns.c (concat): Fix gcc warning.
5235 * fns.c (Fold_member):
5237 * fns.c (Fold_memq):
5238 * fns.c (memq_no_quit):
5240 * fns.c (Fold_assoc):
5242 * fns.c (Fold_assq):
5243 * fns.c (assq_no_quit):
5245 * fns.c (Fold_rassoc):
5247 * fns.c (Fold_rassq):
5248 * fns.c (rassq_no_quit):
5250 * fns.c (Fold_delete):
5252 * fns.c (Fold_delq):
5253 * fns.c (delq_no_quit):
5254 * fns.c (Fremassoc):
5256 * fns.c (remassq_no_quit):
5257 * fns.c (Fremrassoc):
5258 * fns.c (Fremrassq):
5259 * fns.c (remrassq_no_quit):
5264 * frame-msw.c (mswindows_init_frame_1):
5265 * frame-msw.c (mswindows_delete_frame):
5266 Register popups with dialog code so keyboard traversing works.
5268 * frame-tty.c (tty_raise_frame_no_select): [1].
5271 * frame-x.c (x_set_frame_text_value):
5272 * frame-x.c (x_set_frame_properties):
5273 * frame-x.c (x_create_widgets):
5277 * frame.c (Fmouse_pixel_position): Minor doc fixes.
5279 * frame.h (wrap_frame): New.
5280 Macro like wrap_device.
5283 * general.c (SYMBOL):
5284 * general.c (syms_of_general):
5285 Major reorg. This is now just a wrapper and symbols themselves
5286 are listed in general-slots.h.
5288 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
5289 * glyphs-msw.c (mswindows_resource_instantiate): [5].
5291 * glyphs-msw.c (mswindows_native_layout_instantiate):
5292 Add DS_CONTROL so keyboard traversal will work.
5295 * glyphs-widget.c (syms_of_glyphs_widget):
5296 Move some symbols to general-slots.h.
5299 * glyphs-x.c (xbm_instantiate_1):
5300 * glyphs-x.c (x_xbm_instantiate):
5301 * glyphs-x.c (x_xface_instantiate):
5302 * glyphs-x.c (autodetect_instantiate):
5303 * glyphs-x.c (cursor_font_instantiate):
5304 * glyphs-x.c (x_update_widget):
5305 * glyphs-x.c (x_widget_instantiate):
5306 * glyphs.c (bitmap_to_lisp_data):
5307 * glyphs.c (pixmap_to_lisp_data):
5310 * glyphs.c (syms_of_glyphs):
5314 * gui-x.c (print_widget_value):
5315 * gui-x.c (menu_separator_style_and_to_external):
5316 * gui-x.c (add_accel_and_to_external):
5317 * gui-x.c (button_item_to_widget_value):
5318 * gui-x.c (gui_items_to_widget_values_1):
5319 * gui-x.c (gui_items_to_widget_values):
5320 * gui-x.c (syms_of_gui_x):
5321 * gui-x.c (vars_of_gui_x):
5322 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
5326 Muleize, prototype changes matching gui-x.c.
5329 * gui.c (separator_string_p):
5330 * gui.c (gui_item_add_keyval_pair):
5331 * gui.c (make_gui_item_from_keywords_internal):
5332 * gui.c (signal_too_long_error):
5333 * gui.c (parse_gui_item_tree_item):
5334 * gui.c (syms_of_gui):
5335 * gui.c (vars_of_gui):
5337 menu-no-selection-hook moved here (used by MSWin).
5338 Move some symbols to general-slots.h.
5342 * insdel.c (get_buffer_pos_char):
5343 * insdel.c (get_buffer_range_char):
5346 * keymap.c (keymap_lookup_directly):
5347 * keymap.c (keymap_store):
5348 * keymap.c (ensure_meta_prefix_char_keymapp):
5349 * keymap.c (describe_map):
5351 Support new button modifiers.
5353 * lisp-disunion.h (wrap_object):
5354 * lisp-disunion.h (XSETOBJ):
5355 Rename make_obj to wrap_object.
5358 * lisp-union.h (make_int):
5359 * lisp-union.h (make_char):
5360 Support wrap_object.
5363 * lisp.h (LIST_LOOP):
5364 * lisp.h (EXTERNAL_LIST_LOOP):
5365 * lisp.h (LIST_LOOP_2):
5366 * lisp.h (EXTERNAL_LIST_LOOP_1):
5367 * lisp.h (EXTERNAL_LIST_LOOP_2):
5368 * lisp.h (EXTERNAL_LIST_LOOP_3):
5369 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
5370 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
5371 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
5372 * lisp.h (EXTERNAL_ALIST_LOOP_5):
5373 * lisp.h (EXTERNAL_ALIST_LOOP_6):
5374 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
5375 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
5376 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
5377 * lisp.h (struct Lisp_Symbol):
5378 * lisp.h (maybe_continuable_error_with_frob):
5379 Fix up section comments.
5380 Add new types for char to indicate usage.
5381 Delete symbols auto-generated from general-slots.h.
5382 Add prototypes for structured error functions.
5383 Add long comments describing looping macros and change interface
5384 so that lvalues are automatically declared.
5385 Add NO_DECLARE macro in case callers want to declare lvalues
5388 * lread.c (read_syntax_error):
5389 * lread.c (continuable_read_syntax_error):
5390 * lread.c (read_structure):
5391 * lread.c (sequence_reader):
5392 * lread.c (read_list_conser):
5393 * lread.c (read_compiled_function):
5394 Rename syntax_error and continuable_syntax_error to avoid clash
5395 with same-named structured error functions.
5397 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
5398 * menubar-msw.c (populate_menu_add_item):
5399 * menubar-msw.c (populate_or_checksum_helper):
5404 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
5405 Mule-ize whole file.
5407 * menubar.c (Fnormalize_menu_item_name): Add optimization.
5409 * mule-charset.c (Fmake_charset):
5410 * mule-wnnfns.c (Fwnn_set_param):
5413 * ntproc.c (create_child):
5414 * ntproc.c (Fwin32_set_current_locale):
5415 Add comments portending doom.
5418 * objects-msw.c (old_font_enum_callback_2):
5419 * objects-msw.c (font_enum_callback_1):
5420 * objects-msw.c (mswindows_enumerate_fonts):
5424 * objects-x.c (allocate_nearest_color):
5425 * objects-x.c (x_parse_nearest_color):
5426 * objects-x.c (x_initialize_color_instance):
5427 * objects-x.c (x_print_color_instance):
5428 * objects-x.c (x_finalize_color_instance):
5429 * objects-x.c (x_valid_color_name_p):
5430 * objects-x.c (x_initialize_font_instance):
5431 * objects-x.c (x_print_font_instance):
5432 * objects-x.c (valid_x_font_name_p):
5433 * objects-x.c (truename_via_FONT_prop):
5434 * objects-x.c (truename_via_random_props):
5435 * objects-x.c (truename_via_XListFonts):
5436 * objects-x.c (x_font_truename):
5437 * objects-x.c (x_font_instance_truename):
5438 * objects-x.c (x_font_instance_properties):
5439 * objects-x.c (x_list_fonts):
5440 * objects-x.c (x_find_charset_font):
5441 Mule-ize entire file.
5448 * print.c (std_handle_out_external):
5449 * print.c (debug_print_no_newline):
5450 * print.c (syms_of_print):
5451 Output to all debugger kinds in debug-print.
5452 Fix console-output code under MSWin to actually work.
5454 * process-nt.c (send_signal):
5455 * process-nt.c (nt_create_process):
5456 Use newer Unicode macros.
5458 * process-unix.c (unix_create_process):
5459 * process-unix.c (unix_canonicalize_host_name):
5460 * process-unix.c (unix_open_network_stream):
5466 * search.c (syms_of_search):
5469 * select-msw.c (mswindows_destroy_selection):
5472 * select-x.c (symbol_to_x_atom):
5475 * select.c (syms_of_select):
5478 * sound.c (Fplay_sound_file):
5482 * specifier.c (decode_specifier_type):
5483 * specifier.c (Fvalid_specifier_locale_type_p):
5484 * specifier.c (check_valid_locale_or_locale_type):
5485 * specifier.c (decode_locale):
5486 * specifier.c (decode_locale_type):
5487 * specifier.c (decode_locale_list):
5488 * specifier.c (check_valid_domain):
5489 * specifier.c (decode_specifier_tag_set):
5490 * specifier.c (Fcanonicalize_tag_set):
5491 * specifier.c (Fdefine_specifier_tag):
5492 * specifier.c (Fspecifier_tag_predicate):
5493 * specifier.c (check_valid_inst_list):
5494 * specifier.c (check_valid_spec_list):
5495 * specifier.c (decode_how_to_add_specification):
5496 * specifier.c (check_modifiable_specifier):
5497 * specifier.c (specifier_add_spec):
5498 * specifier.c (boolean_validate):
5499 * specifier.c (display_table_validate):
5502 * specifier.c (syms_of_specifier):
5503 Move some symbols to general-slots.h.
5507 * symbols.c (Fmapatoms):
5508 * symbols.c (Fapropos_internal):
5511 * symbols.c (set_default_buffer_slot_variable):
5512 * symbols.c (set_default_console_slot_variable):
5515 * symbols.c (defsymbol_massage_name_1):
5516 * symbols.c (defkeyword_massage_name):
5517 * symbols.c (deferror_1):
5518 * symbols.c (deferror):
5519 * symbols.c (deferror_massage_name_and_message):
5521 * symeval.h (DEFSYMBOL):
5522 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
5524 * symbols.c (syms_of_symbols):
5528 * symsinit.h (init_win32): New.
5529 Also new is syms_of_dialog_mswindows.
5532 Add new Unicode macros, missing Cygwin wide-char functions,
5533 convenience conversion macros for Qmswindows_tstr, macros for
5534 encapsulating required MSWin <-> Cygwin filename conversions,
5535 prototype for dynamically-extracted (not in NT 3.51) functions.
5540 * tooltalk.c (Fadd_tooltalk_message_arg):
5541 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
5542 * tooltalk.c (Fadd_tooltalk_pattern_arg):
5545 * tooltalk.c (syms_of_tooltalk):
5549 * unexnt.c (unexec):
5550 Fix up headers, declaration of unexec() to be more standard.
5552 2000-07-20 Martin Buchholz <martin@xemacs.org>
5554 * offix.h: Revert change to guard macros - they're used in offix.c!
5556 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5558 * lisp.h: Defsubred Fdelete.
5560 * console-msw.h: (msprinter_default_printer): Added.
5562 * console-msw.c (msprinter_canonicalize_console_connection):
5563 (msprinter_canonicalize_device_connection): Added.
5565 * device-msw.c (msprinter_default_printer):
5566 (Fmswingows_get_default_printer):
5567 (signal_enum_priner_error):
5568 (Fmswingows_printer_list): Added.
5570 2000-07-19 Martin Buchholz <martin@xemacs.org>
5572 * XEmacs 21.2.35 is released.
5574 2000-07-19 Martin Buchholz <martin@xemacs.org>
5576 * select-x.c (x_handle_selection_request):
5577 Text selected in xemacs and pasted into xterm failed to appear.
5578 Spelling fixes and cosmetic changes.
5580 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5582 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
5583 XEmacs frame (fix for doubling chars in dialog boxes).
5585 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5587 * select.c (select_convert_in, select_convert_out):
5588 Don't call intern() every time.
5590 * select.c (Qselect_convert_in, Qselect_convert_out): New.
5591 * select.c (vars_of_select): Initialise them.
5593 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5595 * select.c (selection-coercible-types): New.
5597 * select.c (own-selection-internal):
5598 * select.c (get-selection-internal):
5599 MULE bug fix - these should default to COMPOUND_TEXT and not
5600 STRING for MULE. I think.
5602 * select.c (select_convert_out): Use selection-coercible-types
5603 to find types that we can attempt to perform coercions on.
5605 2000-07-18 Martin Buchholz <martin@xemacs.org>
5609 Add coding: cookie to identify encoding.
5611 * mule-canna.c (CANNA_mode_keys): make static.
5612 Use proper prototypes, even for functions of no arguments.
5613 Remove external prototype for Fding().
5615 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
5617 * select.c (syms_of_select): Add missing DEFSUBR.
5619 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
5621 * select.c (get_selection_internal, own_selection_internal):
5622 Make the type default to STRING, rather than placing a nil type
5623 into Vselection_alist.
5625 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
5627 * gpmevent.c (tty_selection_exists_p):
5628 * gpmevent.c (tty_own_selection):
5629 Updated parameter lists.
5631 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
5633 * select.h (selection-alist): Removed declaration.
5635 * select.h (get_local_selection):
5636 * select.c (get_local_selection):
5639 * select.h (convert_selection): Removed declaration.
5640 * select.c (convert_selection): Removed.
5641 This function belongs in Lisp.
5643 * select.h (select_convert_in): Declare.
5644 * select.h (select_convert_out): Declare.
5645 * select.c (select_convert_in): New.
5646 * select.c (select_convert_out): New.
5647 New conversion functions for other files to call.
5649 * select.h (select_notify_buffer_kill): Declare.
5650 * select.c (select_notify_buffer_kill): New.
5651 New functions that get called from kill-buffer.
5653 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
5654 X-specific lisp code.
5656 * select.h: Declare some of the lisp-visible functions for
5659 * select.c (clean_local_selection_data): Removed. This was
5660 a disgusting function, and previously should have been in
5661 select-x.c in any case. The functionality is now provided
5662 in select-convert-from-integer (select.el).
5664 * select.c (available-selection-types): Fixed stupidity where
5665 INTEGER and ATOM got added twice. Also add STRING when we see an
5668 * select.c (get-selection-internal): Removed symbol stripping. No
5669 longer causes conversion when data comes from the internal cache.
5671 * select.c (syms_of_select): Added new functions.
5673 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
5674 error checking - previously this called abort!
5676 * select-x.c (x_own_selection): Changed comment.
5678 * select-x.c (x_handle_selection_request): Use select_convert_out.
5679 Don't mess with selection-alist; it's an internal variable of select.c.
5681 * select-x.c (x_get_foreign_selection): Use select_convert_in.
5683 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
5684 rather than messing with selection-alist.
5686 * select-msw.c (mswindows_get_foreign_selection):
5687 Use TO_INTERNAL_FORMAT rather than hacking.
5689 2000-07-14 Martin Buchholz <martin@xemacs.org>
5691 * process-unix.c (unix_open_multicast_group):
5692 (unix_open_multicast_group): Remove useless casts.
5694 2000-07-13 Martin Buchholz <martin@xemacs.org>
5696 * sound.c (Fplay_sound): Fix `unused variable' warning.
5698 * emacs.c (main): Use correct type for _environ on SCO5.
5700 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
5702 * console.h (own_selection_method):
5703 * console.h (selection_exists_p_method):
5704 * console.h (available_selection_types_method): New.
5705 * console.h (register_selection_data_type_method): New.
5706 * console.h (selection_data_type_name): New.
5708 * console-msw.h (mswindows_destroy_selection): Declare it. New
5709 function & alist to track GlobalAlloc()'d handles that need
5710 releasing when the clipboard data gets replaced or emptied.
5712 * event-msw.c (mswindows_wnd_proc): Call it.
5714 * lisp.h, general.c (Qappend): New symbol representing a
5717 * select.c (own-selection-internal):
5718 * select.c (selection-exists-p):
5719 * select.c (available-selection-types): New.
5720 * select.c (register-selection-data-type): New.
5721 * select.c (selection-data-type-name): New. New functions to deal
5722 with device-specific selection data formats.
5723 * select.c (selection-converter-out-alist): Renamed.
5724 * select.c (selection-converter-in-alist): New.
5725 * select.c (selection-appender-alist): New. Added new alists.
5726 * select.c (syms_of_select, vars_of_select): Added new symbols &
5728 * select.c (get_local_selection): Split.
5729 * select.c: Removed spurious type checking - selections may now be
5730 of any type, not just strings.
5731 * select.c (own-selection-internal):
5733 * select.h, select.c (convert_selection): New. Created
5734 convert_selection() function based on get_local_selection().
5735 * select.h, select.c (QCF_*): New symbols representing mswindows
5737 * select.h, select.c (Qreplace_all, Qreplace_existing): New
5738 symbols representing `how-to-add' modes.
5740 * select-msw.c (x_sym_p): New.
5741 * select-msw.c (symbol_to_ms_cf): New.
5742 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
5743 symbols & clipboard formats. Can also handle string names.
5744 * select-msw.c (mswindows_own_selection):
5745 * select-msw.c (mswindows_selection_exists_p):
5746 Added `data-type' parameter. Use it.
5747 * select-msw.c (mswindows_available_selection_types): New.
5748 * select-msw.c (mswindows_register_selection_data_type): New.
5749 * select-msw.c (mswindows_selection_data_type_name): New.
5750 * select-msw.c (mswindows_own_selection):
5751 * select-msw.c (mswindows_get_foreign_selection):
5752 * select-msw.c (mswindows_selection_exists_p): Rewrote.
5753 * select-msw.c (console_create_select_mswindows): Added new methods.
5754 * select-msw.c (mswindows_destroy_selection): New.
5755 * select-msw.c (Vhandle_alist): New list.
5756 * select-msw.c (mswindows_own_selection):
5758 * select-x.c (x_own_selection):
5759 * select-x.c (x_selection_exists_p):
5760 * select-x.c: Added some comments about maybe using new
5762 * select-x.c (x_own_selection):
5764 * specifier.c: Remove definition of Qappend (now in general.c)
5765 * specifier.c (syms_of_specifier): Remove Qappend.
5767 2000-07-12 Martin Buchholz <martin@xemacs.org>
5769 * config.h.in: Add socklen_t.
5771 * s/decosf4-0.h: No special compiler flags needed or desired.
5772 In particular, undefine _BSD for DEC OSF 4.0.
5774 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5776 * redisplay-msw.c (msprinter_frame_output_end): Added.
5777 (console_type_create_redisplay_mswindows): Referred the above.
5779 * frame.c (setup_frame_without_minibuffer): Do not create a
5780 default minibuffer frame on a printer device.
5782 * frame-msw.c (apply_dc_geometry): Added.
5783 (msprinter_start_page):
5784 (msprinter_init_frame_3):
5785 (msprinter_eject_page): Use it.
5787 * console-msw.h (struct msprinter_frame): Added pix_left and top,
5788 and removed residual duplex and orientation properties.
5790 2000-07-11 Martin Buchholz <martin@xemacs.org>
5792 * eval.c (function_argcount): Work around a DEC CC compiler bug.
5794 * unexalpha.c: Remove system prototypes from C sources!
5796 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
5798 * eval.c: Remove references to M-x edit-options in DEFUNs for
5799 `defvar' and `defconst'.
5801 2000-07-09 Martin Buchholz <martin@xemacs.org>
5803 * config.h.in: Remove SMART_INCLUDE hackery.
5806 * config.h.in: Don't use SMART_INCLUDE.
5808 * postgresql.h: Include libpq-fe.h here. Fix typo.
5809 * inline.c: Simply #include "postgresql.h"
5811 - Don't use SMART_INCLUDE
5812 - Use simply "const".
5813 - Use standard doc string conventions.
5814 - Use correct type for result of PQstatus.
5816 2000-07-09 Martin Buchholz <martin@xemacs.org>
5818 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
5820 C++ compilation changes.
5821 * config.h.in (EXTERN_C): Define.
5822 * config.h.in (not): This is also a C++ keyword.
5823 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
5824 * cm.c: Use EXTERN_C.
5825 * redisplay-tty.c: Use EXTERN_C.
5826 * sysdep.c: Use EXTERN_C. Remove Gould support.
5828 2000-07-09 Martin Buchholz <martin@xemacs.org>
5830 * general.c: Remove duplicate definition for Qfunction.
5832 2000-07-08 Ben Wing <ben@xemacs.org>
5834 * device-msw.c (msprinter_init_device):
5835 * device-msw.c (sync_printer_with_devmode):
5836 * device-msw.c (handle_devmode_changes):
5837 * device-msw.c (print_dialog_worker):
5838 * device-msw.c (Fmsprinter_apply_settings):
5839 * device-msw.c (hash_devmode):
5840 * device-msw.c (Fmsprinter_settings_despecialize):
5841 use Qmswindows_tstr, not Qctext.
5843 * vm-limit.c (check_memory_limits):
5844 avoid infinite loop printing warning messages.
5846 2000-07-05 Craig Lanning <lanning@scra.org>
5848 * Makefile.in.in: Add support for including the Windows resources
5849 when building with the cygwin and mingw targets.
5851 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
5852 not set or not correct.
5853 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
5854 (init_initial_directory): Don't try to use $PWD on the
5855 WIN32_NATIVE target.
5858 [[Add -mwindows to eliminate console window.]] not required --ben
5859 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5860 (MAIL_USE_POP): removed; now handled by configure.
5862 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
5863 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
5864 (HAVE_NATIVE_SOUND): removed; now handled by configure.
5865 (MAIL_USE_POP): removed; now handled by configure.
5866 (ENCAPSULATE_STAT): from Dan Holmsand, added.
5867 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
5868 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
5870 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
5871 up from <winsock.h> via systime.h.
5872 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
5873 (getpagesize): from Dan Holmsand, added.
5874 Added #endif which was left dangling by Ben's mega patch; added
5875 comment to help prevent this in the future.
5877 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
5879 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5881 * console-msw.h (struct mswindows_device): Removed unnecessary
5882 cached device geometry values.
5883 Added update_tick and an accessor macro.
5884 (Lisp_Devmode): Added lrecord declaration.
5885 (struct msprinter_device): Contain devmode as a Lisp object.
5886 Added mswindows_get_selected_frame_hwnd();
5888 * console.h (struct console_methods): Indentation nitpicking.
5890 * device-msw.c (mswindows_init_device): Do not initialize geometry
5891 cache. Initialize update tick.
5892 (mswindows_device_system_metrics): Ask the device for its geometry.
5893 (global_free_2_maybe):
5894 (devmode_to_hglobal):
5895 (handle_printer_changes):
5896 (ensure_not_printing):
5897 (print_dialog_worker):
5898 (Fmsprinter_print_setup_dialog):
5899 (Fmsprinter_print_dialog):
5902 (Fmsprinter_page_setup_dialog): Added functions.
5903 (sync_printer_with_devmode):
5904 (handle_devmode_changes):
5905 (Fmsprinter_get_settings):
5906 (Fmsprinter_select_settings):
5907 (Fmsprinter_apply_settings):
5909 (Fmsprinter_settings_copy):
5910 (Fmsprinter_settings_despecialize):
5914 (hash_devmode): Added functions
5915 (syms_of_device_mswindows): Init devmode lrecord class.
5917 * device.h: Added an exfun for find-device.
5919 * event-msw.c (mswindows_wnd_proc): Do not update the cached
5920 geometry; although, recreate the device compatible DC.
5922 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
5923 (msprinter_init_frame_3):
5924 (msprinter_frame_property):
5925 (msprinter_internal_frame_property_p):
5926 (msprinter_frame_properties):
5927 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
5928 print job properties (will move to device settings).
5930 * lisp.h: Added symbols.
5932 * general.c (syms_of_general): Declared them.
5934 * hash.c (string_hash): Added.
5936 * lrecord.h (lrecord_type): Added devmode lrecord type.
5938 2000-07-02 Mike Sperber <mike@xemacs.org>
5940 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
5943 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5945 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
5948 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
5950 * data.c (Fstring_to_number): Don't recognize floating point if
5953 2000-06-22 Martin Buchholz <martin@xemacs.org>
5955 * glyphs-widget.c (tab_control_query_geometry):
5956 (widget_query_geometry):
5957 (button_query_geometry):
5958 * glyphs.c (text_query_geometry):
5959 Enforce type correctness.
5961 2000-06-18 Martin Buchholz <martin@xemacs.org>
5963 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
5964 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
5966 2000-06-17 Martin Buchholz <martin@xemacs.org>
5968 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
5969 conflicts with gcc's fixincluded version of FOO.h.
5971 * glyphs.h (image_instance_geometry): Remove trailing `,'
5973 2000-06-08 Mike Alexander <mta@arbortext.com>
5975 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
5976 (shove_thread): Don't write the same output twice
5977 (make_ntpipe_output_stream): Increase priority of shove thread
5978 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
5980 (ntpipe_shove_closer): Don't delete the pipe until we're done with
5983 2000-06-12 Ben Wing <ben@xemacs.org>
5985 * s\mingw32.h (sigset):
5986 * s\windowsnt.h (sigset):
5987 rename msw_ to mswindows_ for consistency with general convention.
5989 2000-06-12 Ben Wing <ben@xemacs.org>
5992 * console-msw.c (mswindows_get_console_hwnd):
5993 * console-msw.c (mswindows_ensure_console_allocated):
5994 * console-msw.c (mswindows_hide_console):
5995 * console-msw.c (mswindows_show_console):
5996 * console-msw.c (mswindows_ensure_console_buffered):
5997 * console-msw.c (mswindows_output_console_string):
5998 * console-msw.c (mswindows_windows9x_p):
6000 * device-msw.c (mswindows_get_workspace_coords):
6001 * device-msw.c (mswindows_device_system_metrics):
6002 * dialog-msw.c (mswindows_popup_dialog_box):
6003 * event-msw.c (mswindows_wnd_proc):
6004 * frame-msw.c (mswindows_size_frame_internal):
6005 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
6006 * menubar-msw.c (displayable_menu_item):
6007 * menubar-msw.c (mswindows_char_is_accelerator):
6009 * nt.c (mswindows_sigset):
6010 * nt.c (mswindows_sigrelse):
6011 * nt.c (mswindows_sigpause):
6012 * nt.c (mswindows_raise):
6013 * nt.c (timer_proc):
6015 * ntproc.c (find_child_console):
6016 * ntproc.c (sys_kill):
6018 * print.c (std_handle_out_external):
6019 * process-nt.c (find_child_console):
6020 * process-nt.c (send_signal_the_95_way):
6021 * process-nt.c (ensure_console_window_exists):
6022 * process-nt.c (nt_create_process):
6024 rename msw_ to mswindows_ for consistency with general convention.
6028 include nt.h, not syswindows.h.
6030 * nt.c (mswindows_fstat):
6031 * nt.c (mswindows_stat):
6032 prefix mswindows_ instead of attempting to directly override the
6033 library functions. fix declarations.
6036 include syswindows.h. move some sysdep.h stuff here.
6039 include syswindows.h, not <windows.h>.
6047 * sysdep.c (sys_fstat):
6048 * sysdep.c (sys_stat):
6049 call mswindows versions when appropriate.
6052 move mswin decls to nt.h.
6055 add long comment describing appropriate use of the various windows
6058 2000-06-11 Ben Wing <ben@xemacs.org>
6060 * device-x.c: Correct doc string for sixth arg of x-get-resource.
6062 2000-06-10 Ben Wing <ben@xemacs.org>
6064 * Makefile.in.in (release):
6065 Correction to make sure xemacs.exe always dumped when correct.
6069 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
6071 * buffer.c (set_buffer_internal):
6072 [[[[2]]]]: Remove HAVE_FEP code.
6074 * buffer.c (init_initial_directory):
6078 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
6082 * callproc.c (call_process_cleanup):
6083 * callproc.c (Fold_call_process_internal):
6084 * callproc.c (child_setup):
6085 * callproc.c (getenv_internal):
6086 * callproc.c (init_callproc):
6087 * callproc.c (vars_of_callproc):
6088 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
6089 __CYGWIN32__ -> CYGWIN.
6090 DOS_NT -> WIN32_NATIVE.
6091 Remove MSDOS support/references, converting to WIN32_NATIVE
6093 __MINGW32__ -> MINGW.
6094 Fix windows.h includes.
6095 Remove bogus HAVE_NTGUI.
6101 mswindows_message_outputted added for use in allowing startup
6102 errors on the console to be seen.
6104 * console-msw.c (msw_ensure_console_allocated):
6105 * console-msw.c (msw_output_console_string):
6106 * console-msw.c (DHEADER):
6107 * console-msw.c (DOPAQUE_DATA):
6108 * console-msw.c (DEVENT):
6109 * console-msw.c (DCONS):
6110 * console-msw.c (DCONSCDR):
6111 * console-msw.c (DSTRING):
6112 * console-msw.c (DVECTOR):
6113 * console-msw.c (DSYMBOL):
6114 * console-msw.c (DSYMNAME):
6117 * console-stream.c (stream_init_console):
6118 Fix text/binary problems.
6121 * device-msw.c (mswindows_finish_init_device):
6122 * device-msw.c (mswindows_delete_device):
6125 * device.c (handle_asynch_device_change):
6129 * dgif_lib.c (DGifOpenFileName):
6130 * dgif_lib.c (DGifOpenFileHandle):
6131 * dgif_lib.c (DGifGetLine):
6132 * dgif_lib.c (DGifGetPixel):
6133 Added config.h/lisp.h, fix up includes.
6140 * dired.c (file_name_completion):
6141 * dired.c (Ffile_attributes):
6142 * dired.c (syms_of_dired):
6146 * dumper.c (pdump_file_unmap):
6147 * dumper.c (pdump_load):
6151 * editfns.c (Ftemp_directory):
6152 * editfns.c (user_login_name):
6153 * editfns.c (Fuser_real_login_name):
6154 * editfns.c (get_home_directory):
6157 * elhash.c (finish_marking_weak_hash_tables):
6158 [[[[5]]]]: Fix GCC warnings.
6161 * emacs.c (mswindows_handle_hardware_exceptions):
6162 * emacs.c (make_arg_list_1):
6164 * emacs.c (Fkill_emacs):
6165 * emacs.c (Fdump_emacs):
6167 Fix problems with nested crashes, add long comment.
6169 * event-Xt.c (init_event_Xt_late):
6173 * event-msw.c (mswindows_dde_callback):
6174 * event-msw.c (mswindows_handle_sticky_modifiers):
6175 * event-msw.c (mswindows_wnd_proc):
6179 * events.c (character_to_event):
6183 * fileio.c (Ffile_name_directory):
6184 * fileio.c (Ffile_name_nondirectory):
6185 * fileio.c (directory_file_name):
6186 * fileio.c (Fexpand_file_name):
6187 * fileio.c (Fsubstitute_in_file_name):
6188 * fileio.c (Ffile_name_absolute_p):
6189 * fileio.c (check_executable):
6190 * fileio.c (Ffile_readable_p):
6191 * fileio.c (Ffile_accessible_directory_p):
6192 * fileio.c (Ffile_modes):
6193 * fileio.c (Funix_sync):
6194 * fileio.c (vars_of_fileio):
6197 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
6199 Expand getdefdir defn.
6200 Fix bogus rename() comment.
6202 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
6203 to use standard XEmacs include files, e.g. sysfile.h, rather
6204 than system-specific includes.
6210 * frame.c (vars_of_frame):
6214 * getloadavg.c (getloadavg):
6216 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
6217 (We don't use it elsewhere in the code; just add a comment.)
6224 * glyphs-msw.c (mswindows_resource_instantiate):
6227 * glyphs-x.c (x_native_layout_instantiate):
6230 * gui-msw.c (Fmswindows_shell_execute):
6239 * lread.c (locate_file_in_directory_mapper):
6246 * mem-limits.h (get_lim_data):
6258 * nt.c (rva_to_section):
6259 * nt.c (mswindows_executable_type):
6261 Fix closedir() defn.
6264 [[[[8]]]]: *_OK defs moved to sysfile.h.
6273 * print.c (std_handle_out_external):
6277 * process-nt.c (nt_create_process):
6279 try to fix process quoting somewhat.
6281 * process-unix.c (unix_create_process):
6285 * process.c (vars_of_process):
6292 * realpath.c (xrealpath):
6295 * redisplay-tty.c (init_tty_for_redisplay):
6305 * sheap.c (more_static_core):
6306 * sheap.c (report_sheap_usage):
6310 * signal.c (alarm_signal):
6317 * strftime.c (zone_name):
6320 * symsinit.h (init_sunpro):
6324 commctrl.h not in Cygwin b20.1.
6328 * sysdep.c (sys_subshell):
6329 * sysdep.c (init_baud_rate):
6330 * sysdep.c (emacs_get_tty):
6331 * sysdep.c (emacs_set_tty):
6332 * sysdep.c (tty_init_sys_modes_on_device):
6333 * sysdep.c (init_system_name):
6334 * sysdep.c (sys_open):
6335 * sysdep.c (interruptible_open):
6336 * sysdep.c (sys_fopen):
6337 * sysdep.c (sys_mkdir):
6338 * sysdep.c (sys_rename):
6339 * sysdep.c (get_process_times_1):
6346 * sysdir.h (DIRENTRY_NONEMPTY):
6349 * sysdll.c (dll_init):
6355 added text/binary defs.
6361 * sysproc.h (EDESTADDRREQ):
6362 * sysproc.h (poll_fds_for_input):
6379 Always define WIN32_LEAN_AND_MEAN.
6381 * unexcw.c (unexec):
6385 * unexec.c (copy_text_and_data):
6386 * unexec.c (adjust_lnnoptrs):
6390 * unexnt.c (_start):
6393 2000-06-07 Ben Wing <ben@xemacs.org>
6395 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
6396 was used only as a model. We've long since extracted any useful
6397 logic or code out of this. (I just did an exhaustive search.)
6399 * s\msdos.h: Removed.
6401 * s\windows95.h: Removed.
6403 2000-06-10 Ben Wing <ben@xemacs.org>
6407 Don't use extern with fun defs.
6411 Remove nt\inc include.
6412 Remove getdisk, getdefdir. (The former is unused, the latter
6413 expanded in fileio.h.)
6416 * s\windowsnt.h (WIN32_NATIVE):
6417 * s\windowsnt.h (HAVE_STRCASECMP):
6419 Add long comment about preprocessor changes.
6420 Remove getdisk, getdefdir. (The former is unused, the latter
6421 expanded in fileio.h.)
6423 2000-06-10 Ben Wing <ben@xemacs.org>
6432 Remove bogus/unused NO_SOCK_SIGIO.
6434 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
6436 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
6439 2000-06-04 Mike Sperber <mike@xemacs.org>
6441 * casetab.c (set_case_table): For `set-standard-case-table',
6442 actually deposit the new case tables where the rest of XEmacs can
6445 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
6447 * data.c (Faset): Don't cast XCHAR() to unsigned char.
6449 2000-06-05 Ben Wing <ben@xemacs.org>
6451 * callproc.c (child_setup): Don't do close_load_descs() under
6452 MS Windows. Put in a comment explaining why.
6454 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
6456 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
6457 Toolkit shell" which breaks `kill-compilation' on Windows NT
6458 native, retaining STDERR handling improvements.
6460 2000-06-01 Andreas Jaeger <aj@suse.de>
6462 * s/s390.h: Support for S390, based on a patch by Martin
6463 Schwidefsky <schwidefsky@de.ibm.com>.
6465 2000-05-30 Andy Piper <andy@xemacs.org>
6467 * window.c (allocate_window):
6468 (make_dummy_parent):
6469 (Fset_window_configuration): use new hashtable type.
6471 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
6472 (struct image_instantiator_methods):
6473 (struct Lisp_Image_Instance): make instance geometry signed.
6475 * glyphs.c (instantiate_image_instantiator):
6476 (image_instance_query_geometry):
6477 (image_instance_layout):
6478 (image_instance_layout):
6479 (query_string_geometry):
6480 (text_query_geometry):
6481 (image_instantiate):
6482 (image_instantiate):
6483 (cache_subwindow_instance_in_frame_maybe):
6484 (subwindow_query_geometry): make instance geometry signed.
6486 * glyphs-widget.c (widget_query_geometry):
6488 (button_query_geometry):
6489 (tree_view_query_geometry):
6490 (tab_control_query_geometry):
6491 (layout_query_geometry):
6493 (native_layout_layout): make instance geometry signed.
6495 2000-05-29 Olivier Galibert <galibert@pobox.com>
6497 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
6500 * general.c (syms_of_general): Add Qfull_assoc symbol.
6502 * data.c (finish_marking_weak_lists): Mark full-assoc lists
6504 (decode_weak_list_type): Decode full-assoc type.
6505 (encode_weak_list_type): Encode full-assoc type.
6506 (Fmake_weak_list): Update doc string.
6508 2000-05-30 Andy Piper <andy@xemacs.org>
6510 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
6512 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
6513 (decode_hash_table_weakness): ditto.
6514 (Fhash_table_weakness): ditto.
6515 (Fhash_table_type): ditto.
6516 (finish_marking_weak_hash_tables): ditto.
6517 (hash_table_weakness_validate): ditto.
6518 (syms_of_elhash): ditto.
6520 2000-05-28 Martin Buchholz <martin@xemacs.org>
6522 * XEmacs 21.2.34 is released.
6524 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6526 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
6528 (updating_line_start_cache): Gone.
6529 (regenerate_window): Replace resetting of VERTICAL_CLIP by
6530 generic code to force a minimum of 1 line laid out in the
6533 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
6535 * glyphs.c (instantiate_image_instantiator): Check for initialized
6536 height & width no longer special cases IMAGE_NOTHING.
6537 (nothing_instantiate): Set height and width of instance.
6539 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
6541 * unexelf.c (unexec): Search for ".data" section.
6542 Initialize new_data2_offset from old_data_index.
6543 Remove redundant check for ElfW.
6545 2000-05-23 Andy Piper <andy@xemacs.org>
6547 * glyphs.c (get_image_instantiator_governing_domain): allow more
6548 specific domains as the governing domain rather than expecting an
6549 exact match. This fixes problems with layouts.
6551 2000-05-22 Andy Piper <andy@xemacs.org>
6553 * redisplay-output.c (compare_runes): check for non-images
6555 * glyphs.c (set_glyph_dirty_p): ditto.
6556 (update_glyph_cachel_data): ditto.
6558 * glyphs-widget.c (layout_post_instantiate): ditto.
6559 (layout_post_instantiate): ditto.
6561 * event-msw.c (mswindows_wnd_proc): warning removal.
6563 2000-05-12 Craig Lanning <CraigL@DyCon.com>
6565 * s\mingw32.h: Added #undef for CLASH_DETECTION.
6567 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
6569 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
6571 * nt.c (rva_to_section): mingw32 needs rva_to_section.
6572 (mswindows_executable_type): mingw32 now has enough headers for
6575 2000-05-20 Andy Piper <andy@xemacs.org>
6577 * console-msw.c (mswindows_output_last_error): ; -> ,
6579 2000-05-12 Andy Piper <andy@xemacs.org>
6581 * console-msw.c (FROB): compare ints with ints.
6583 2000-05-11 Andy Piper <andy@xemacs.org>
6585 * glyphs-x.c (x_finalize_image_instance): make minimal build
6588 2000-05-20 Ben Wing <ben@xemacs.org>
6591 * event-Xt.c (vars_of_event_Xt):
6592 move modifier-keys-are-sticky to event-stream.c.
6595 * event-msw.c (mswindows_enqueue_mouse_button_event):
6596 * event-msw.c (key_needs_default_processing_p):
6597 * event-msw.c (XEMSW_LCONTROL):
6598 * event-msw.c (mswindows_handle_sticky_modifiers):
6599 * event-msw.c (FROB):
6600 * event-msw.c (clear_sticky_modifiers):
6601 * event-msw.c (output_modifier_keyboard_state):
6602 * event-msw.c (output_alt_keyboard_state):
6603 * event-msw.c (mswindows_wnd_proc):
6604 * event-msw.c (mswindows_modifier_state):
6605 * event-msw.c (emacs_mswindows_handle_magic_event):
6606 implement sticky modifiers.
6609 * event-stream.c (vars_of_event_stream):
6610 move modifier-keys-are-sticky here.
6616 implement map-range-table.
6619 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
6621 * redisplay-tty.c (reset_tty_modes):
6622 (tty_redisplay_shutdown): Adjust argument type to
6623 tty_frame_output_end.
6625 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6627 * eval.c (Fbacktrace): Don't output a line with only right
6630 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
6632 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
6633 (Fpq_reset_poll): Ditto.
6635 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
6637 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
6639 2000-05-16 Ben Wing <ben@xemacs.org>
6642 * buffer.c (dfc_convert_to/from_internal_format):
6643 * buffer.c (reinit_vars_of_buffer):
6644 Fix conversion functions to allow reentrancy.
6647 * console-msw.c (mswindows_output_last_error):
6648 New fun, generally useful -- output a human-readable
6649 version of GetLastError() on the console.
6652 * console-msw.h (struct mswindows_frame):
6653 Changes for DeferWindowPos. Declare mswindows_output_last_error().
6655 * console-stream.c (stream_output_begin):
6656 * console-stream.c (stream_output_end):
6657 * console-stream.c (stream_output_vertical_divider):
6658 * console-stream.c (stream_clear_region):
6659 * console-stream.c (stream_flash):
6660 * console-stream.c (console_type_create_stream):
6661 Delete blank stream methods, not needed.
6663 * console.h (struct console_methods):
6664 Split begin/end methods into window and frame.
6667 * event-msw.c (mswindows_handle_paint):
6668 * event-msw.c (output_alt_keyboard_state):
6669 * event-msw.c (mswindows_wnd_proc):
6670 * event-msw.c (vars_of_event_mswindows):
6671 Comment about problems with ignored-expose.
6672 Define mswindows-debug-events; not really implemented.
6674 * frame-msw.c (mswindows_init_frame_1):
6678 * glyphs-msw.c (begin_defer_window_pos):
6679 * glyphs-msw.c (mswindows_unmap_subwindow):
6680 * glyphs-msw.c (mswindows_map_subwindow):
6681 * glyphs-msw.c (mswindows_resize_subwindow):
6682 Use DeferWindowPos to reduce flashing when mapping/unmapping.
6684 * glyphs.c (make_image_instance_1):
6687 * gutter.c (Fredisplay_gutter_area):
6688 Use new begin/end methods.
6690 * lisp.h (Dynarr_new2):
6694 * redisplay-msw.c (mswindows_frame_output_begin):
6695 * redisplay-msw.c (mswindows_frame_output_end):
6696 * redisplay-msw.c (console_type_create_redisplay_mswindows):
6697 New begin/end methods -- handle DeferWindowPos.
6699 * redisplay-output.c (redisplay_move_cursor):
6700 * redisplay-output.c (redraw_cursor_in_window):
6701 * redisplay-output.c (redisplay_update_line):
6702 * redisplay-output.c (redisplay_output_window):
6703 New begin/end methods.
6706 * redisplay-tty.c (tty_frame_output_begin):
6707 * redisplay-tty.c (tty_frame_output_end):
6708 * redisplay-tty.c (console_type_create_redisplay_tty):
6709 New begin/end methods.
6712 * redisplay-x.c (x_window_output_begin):
6713 * redisplay-x.c (x_window_output_end):
6714 * redisplay-x.c (console_type_create_redisplay_x):
6715 New begin/end methods.
6717 * redisplay.c (redisplay_frame):
6718 * redisplay.c (Fredisplay_echo_area):
6719 New begin/end methods.
6720 use MAYBE_DEVMETH for clear_frame; it may not exist.
6722 * window.h (WINDOW_XFRAME):
6723 WINDOW_XFOO macros -- get locale and decode struct pointer.
6726 2000-05-12 Ben Wing <ben@xemacs.org>
6729 * emacs.c (ensure_no_quitting_from_now_on):
6730 * emacs.c (fatal_error_signal):
6731 * emacs.c (mswindows_handle_hardware_exceptions):
6733 * emacs.c (Fkill_emacs):
6734 * emacs.c (shut_down_emacs):
6735 * emacs.c (assert_failed):
6736 various improvements in fatal error handling.
6739 move preparing_for_armageddon to emacs.c.
6742 declare fatal_error_in_progress.
6745 * print.c (std_handle_out_external):
6746 * print.c (std_handle_out_va):
6747 * print.c (stderr_out):
6748 * print.c (stdout_out):
6749 use console under mswin when no standard output.
6750 don't do code conversion during fatal error.
6752 * scrollbar.c (Fscrollbar_page_up):
6753 * scrollbar.c (Fscrollbar_page_down):
6754 fix missing else. reindent.
6756 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
6760 * glyphs.h (GLYPH_CACHEL_DESCENT):
6761 (GLYPH_CACHEL_DESCENT):
6762 (GLYPH_CACHEL_DESCENT):
6763 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
6764 used in case these are inline functions.
6765 Use more absurd values to error check.
6767 include window.h for error check functions.
6769 2000-05-11 Ben Wing <ben@xemacs.org>
6771 * cmdloop.c (Freally_early_error_handler):
6772 Display message box under windows; otherwise, message will disappear
6773 before it can be viewed.
6776 * console-msw.c (Fmswindows_message_box):
6777 * console-msw.c (FROB):
6778 * console-msw.c (syms_of_console_mswindows):
6779 Define new fun `mswindows-message-box'.
6780 #### I will merge this into `popup-dialog-box'; just give me
6784 * general.c (syms_of_general):
6785 Some new symbols used in `mswindows-message-box'.
6788 * glyphs.c (Fset_image_instance_property):
6789 put warning in this fun.
6792 * glyphs.h (GLYPH_CACHEL_WIDTH):
6793 * glyphs.h (GLYPH_CACHEL_ASCENT):
6794 * glyphs.h (GLYPH_CACHEL):
6795 * glyphs.h (GLYPH_CACHEL_GLYPH):
6796 define error-checking versions to try to catch a bug i've seen --
6797 redisplay gets in an infinite loop because the glyph width of the
6798 continuation glyph is 65535.
6801 Extern message-box stuff.
6803 * window.c (allocate_window):
6804 * window.c (make_dummy_parent):
6805 * window.c (Fset_window_configuration):
6806 Use EQUAL not EQ for subwindow caches to make them work a bit
6807 better. (Something is still very broken.)
6810 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6812 * glyphs.c (image_instantiate): Suppress gcc warnings.
6813 (Fmake_image_instance): Fix doc string.
6814 * specifier.c (Fmake_specifier): Ditto.
6816 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6818 * paths.h.in (PATH_LOCK): Removed.
6819 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
6820 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
6822 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6824 * fns.c (Ffeaturep): Update e-mail address in doc-string.
6825 Document (featurep '(and xemacs 21.02)).
6827 2000-05-09 Ben Wing <ben@xemacs.org>
6829 * buffer.c (complex_vars_of_buffer):
6830 update modeline-format doc.
6833 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
6836 timeline of all released versions of Emacs, for use in creating
6837 authorship comments and in synching up.
6839 * glyphs-widget.c (image_instantiator_buttons):
6840 * glyphs-widget.c (image_instantiator_edit_fields):
6841 * glyphs-widget.c (image_instantiator_combo_box):
6842 * glyphs-widget.c (image_instantiator_scrollbar):
6843 * glyphs-widget.c (image_instantiator_progress_guage):
6844 * glyphs-widget.c (image_instantiator_tree_view):
6845 * glyphs-widget.c (image_instantiator_tab_control):
6846 * glyphs-widget.c (image_instantiator_labels):
6847 * glyphs-widget.c (image_instantiator_layout):
6848 * glyphs-widget.c (image_instantiator_native_layout):
6849 rename decode_domain method to governing_domain.
6852 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
6853 * glyphs.c (add_entry_to_device_ii_format_list):
6854 make sure we don't put an entry more than once into the list.
6855 * glyphs.c (check_instance_cache_mapper):
6856 *************************************************************
6857 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6859 *************************************************************
6860 * glyphs.c (get_image_instantiator_governing_domain):
6861 clean up, expand on new concept of governing domain.
6862 * glyphs.c (instantiate_image_instantiator):
6863 * glyphs.c (allocate_image_instance):
6864 use governing_domain instead of cache_domain in naming.
6865 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
6866 * glyphs.c (make_image_instance_1):
6867 * glyphs.c (Fmake_image_instance):
6868 allow for any domain (not just device), and process the
6869 governing domain correctly. very big doc fix.
6870 * glyphs.c (Fimage_instance_domain):
6871 new primitive, to retrieve the governing domain of an image instance.
6872 * glyphs.c (image_instantiate):
6873 use new governing_domain stuff. this fixes a crash you could get
6874 by instantiating certain widget glyphs in frame locales. (should
6875 signal an error instead of crashing.)
6876 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
6877 * glyphs.c (Fglyphp): clean up doc.
6878 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
6879 * glyphs.c (syms_of_glyphs):
6880 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
6881 * glyphs.c (image_instantiator_format_create): add some comments about
6883 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
6884 for current-display-table. (Apparently Hrjove implemented in 1998 a
6885 design I wrote up in 1996, but didn't update the doc string.)
6887 * glyphs.h: clean up a doc string.
6888 * glyphs.h (governing_domain):
6889 * glyphs.h (struct image_instantiator_methods):
6890 changes for governing_domain stuff.
6893 * gutter.c (Fgutter_specifier_p):
6894 * gutter.c (Fgutter_size_specifier_p):
6895 * gutter.c (Fgutter_visible_specifier_p):
6897 * objects.c (Fcolor_specifier_p):
6898 * objects.c (Ffont_specifier_p):
6899 * objects.c (Fface_boolean_specifier_p):
6900 doc strings moved to make-*-specifier.
6902 * redisplay.c (add_disp_table_entry_runes_1):
6903 * redisplay.c (generate_fstring_runes):
6904 * redisplay.c (screen):
6905 add random comments and doc strings.
6908 * specifier.c (Fmake_specifier):
6909 major overhaul of this doc string.
6911 * specifier.c (Fvalid_specifier_domain_p):
6912 comment about the bogosity of image instances being domains.
6913 * specifier.c (decode_domain):
6914 now non-static, used in glyphs.c.
6915 * specifier.c (specifier_instance):
6916 comment about the bogosity of image instances being domains.
6917 * specifier.c (Fgeneric_specifier_p):
6918 move doc string to make-generic-specifier.
6919 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
6923 * specifier.h (DOMAIN_FRAME):
6924 * specifier.h (DOMAIN_LIVE_P):
6925 * specifier.h (DOMAIN_XDEVICE):
6927 add comments about problems with these macros.
6928 prototype for decode_domain.
6931 * toolbar.c (Ftoolbar_specifier_p):
6932 move doc string to `make-toolbar-specifier'.
6934 * window.c (window_unmap_subwindows_cache_mapper):
6935 *************************************************************
6936 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
6938 *************************************************************
6940 2000-05-09 Andy Piper <andy@xemacs.org>
6942 * glyphs.h: declare reset_frame_subwindow_instance_cache.
6944 * window.c (Fset_window_configuration): reset the frame subwindow
6945 cache and re-initialize the window subwindow caches.
6947 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
6949 2000-05-09 Ben Wing <ben@xemacs.org>
6951 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
6954 2000-04-26 Mike Woolley <mike@bulsara.com>
6956 * ntheap.c: Changed recreate_heap to limit the amount reserved
6957 for the heap to that which is actually available. Also now
6958 displays a message box (with some dignostics) in the event that
6959 it still can't start.
6961 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
6963 * callproc.c (Fold_call_process_internal): GCPRO path
6965 2000-05-08 Jan Vroonhof <jan@xemacs.org>
6967 Patch by Bill Perry.
6969 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
6970 back data instead of #ifdef.
6971 (Fscrollbar_page_down): ditto.
6973 2000-05-07 Ben Wing <ben@xemacs.org>
6976 Kludge for defining Qmswindows_tstr.
6979 * nt.c (open_input_file):
6980 * nt.c (open_output_file):
6981 * nt.c (rva_to_section):
6982 * nt.c (mswindows_executable_type):
6983 Move all memory-mapped-file routines here (some were in unexnt.c,
6984 which is bad because they are used by process-nt.c, and unexnt
6985 won't be around when portable dumping). Synched the above routines
6989 Removed ifdef'd out bogus code.
6990 Fixed some prototypes.
6993 * nt.h (OFFSET_TO_RVA):
6994 * nt.h (RVA_TO_OFFSET):
6995 * nt.h (RVA_TO_PTR):
6996 Moved the memory-mapped-file structures, macros and prototypes
6997 here, to parallel nt.c. ntheap.h should really be removed
6998 entirely, and it's a non-portable-dumper specific file.
7000 * ntheap.h (round_to_next):
7001 Moved the memory-mapped-file structures, macros and prototypes
7004 * ntproc.c (compare_env):
7005 Moved rva_to_section and mswindows_executable_type to nt.c.
7006 Moved compare_env to process-nt.c.
7007 ntproc.c will die, one day.
7009 * ntproc.c (sys_spawnve):
7010 Account for win32_ -> mswindows_.
7013 * process-nt.c (struct nt_process_data):
7014 * process-nt.c (ensure_console_window_exists):
7015 * process-nt.c (compare_env):
7016 * process-nt.c (nt_create_process):
7017 * process-nt.c (nt_kill_process_by_pid):
7018 * process-nt.c (syms_of_process_nt):
7019 * process-nt.c (vars_of_process_nt):
7020 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
7021 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
7022 changes). Eliminate our old `nt-quote-process-args' mechanism.
7023 Synch up nt_create_process with FSF 20.6 sys_spawnve.
7024 Move compare_env here from ntproc.c.
7026 * process.c (Fprocess_send_region):
7027 Takes an optional fourth argument, BUFFER, which should fix some
7028 problems with call-process.
7031 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
7034 Move ICC_BAR_CLASSES to syscommctrl.h.
7035 Add preliminary macros for MSWindows/Mule. More to come.
7038 * unexnt.c (unexec):
7039 open_output_file moved to nt.c.
7042 2000-05-05 Andy Piper <andy@xemacs.org>
7044 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
7045 instance from the frame cache also since GC may catch up too late
7046 to make frame deletion sane.
7048 2000-05-04 Andy Piper <andy@xemacs.org>
7050 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
7051 (x_finalize_image_instance): ungcpro on deletion.
7053 * glyphs.c (image_instantiator_format_create): give pointers a
7054 query geometry method so that the geometry is at least set.
7056 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
7057 initialize layouts if using widgets.
7059 2000-05-03 Andy Piper <andy@xemacs.org>
7061 * nt.c: remove bogus reference to sysmmsystem.h
7063 * gui-x.c (popup_selection_callback): fix no selection abort.
7065 2000-05-02 Andy Piper <andy@xemacs.org>
7067 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
7068 (mswindows_widget_instantiate): ditto.
7070 * glyphs-widget.c (initialize_widget_image_instance): initialize
7072 (widget_instantiate): cope with children and items in the same
7075 * glyphs.c (mark_image_instance): cope with children as a first
7077 (image_instance_equal): ditto.
7078 (image_instance_hash): ditto.
7079 (image_instance_changed): ditto.
7081 2000-04-30 Andy Piper <andy@xemacs.org>
7083 * glyphs.c (subwindow_query_geometry): new function. Return some
7085 (subwindow_instantiate): don't assign dimensions if none have been
7087 (image_instantiator_format_create): add subwindow_query_geometry.
7088 (print_image_instance): cope with layouts as widgets.
7090 2000-04-29 Andy Piper <andy@xemacs.org>
7092 * frame.c (delete_frame_internal): call
7093 free_frame_subwindow_instance_cache so that all subwindows are
7094 finalized before their parent.
7095 (mark_frame): remove subwindow_cachels.
7096 (Fmake_frame): remove subwindow_cachel manipulation.
7097 (allocate_frame_core): subwindow_instance_cache is a weak list.
7098 (delete_frame_internal): set subwindow_instance_cache to nil.
7100 * glyphs-msw.c (mswindows_finalize_image_instance): make double
7102 (mswindows_finalize_image_instance): use the device
7103 not the domain as the domain may have died already.
7105 * glyphs-x.c (x_finalize_image_instance): ditto.
7106 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
7109 * redisplay-output.c (redisplay_unmap_subwindows): update for
7110 subwindow instance cache as a weak list.
7111 (redisplay_unmap_subwindows_maybe): ditto.
7112 (redisplay_unmap_subwindows_except_us): ditto.
7114 * glyphs.c (unmap_subwindow): error checking will check the domain
7115 so don't deal with it here. Don't use cachels anymore.
7116 (map_subwindow): ditto.
7117 (update_subwindow_cachel_data): remove old accessor names.
7118 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
7119 (Fresize_subwindow): don't update cachel.
7120 (mark_subwindow_cachels):
7121 (update_subwindow_cachel_data):
7122 (add_subwindow_cachel):
7123 (get_subwindow_cachel_index):
7124 (update_subwindow_cachel):
7125 (reset_subwindow_cachels):
7126 (mark_subwindow_cachels_as_not_updated): deleted.
7127 (cache_subwindow_instance_in_frame_maybe): new function. Add a
7128 subwindow instance to the frame cache.
7129 (find_matching_subwindow): update for subwindow instance cache as
7131 (update_widget_instances): ditto.
7132 (image_instance_type_to_mask):inlined.
7133 (free_frame_subwindow_instance_cache): new function. finalize all
7134 subwindows that are instantiated.
7136 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
7137 of cachel information.
7138 (IMAGE_INSTANCE_DISPLAY_X):
7139 (IMAGE_INSTANCE_DISPLAY_Y):
7140 (IMAGE_INSTANCE_DISPLAY_WIDTH):
7141 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
7142 (XIMAGE_INSTANCE_DISPLAY_X):
7143 (XIMAGE_INSTANCE_DISPLAY_Y):
7144 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
7145 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
7146 remove subwindow_cachel structure and function references.
7147 (image_instance_type_to_mask): inline from glyphs.c
7149 * redisplay.c (redisplay_frame): remove subwindow_cachel
7152 * frame.h (struct frame): remove subwindow_cachels.
7153 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
7155 * frameslots.h: add subwindow_instance_cache.
7157 * window.c (replace_window): check subwindow cache of replacement.
7158 (window_unmap_subwindows_cache_mapper):
7159 (window_unmap_subwindows): new functions. Unmap all subwindows
7160 cached on this window.
7161 (mark_window_as_deleted): unmap all subwindows.
7163 2000-04-27 Andy Piper <andy@xemacs.org>
7165 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
7167 * glyphs-widget.c (widget_layout): return something.
7168 (layout_layout): return something. Fail if not initialized.
7169 (layout_query_geometry): ditto.
7170 (image_instantiator_native_layout): new function. Initialized the
7172 (widget_instantiate): don't do layout stuff here.
7174 * glyphs.c (instantiate_image_instantiator): reorded calling or
7175 instantiate and post_instantiate with layout in between.
7176 (image_instance_layout): be more selective about deciding whether
7177 the layout has been done or not.
7179 * glyphs.h (struct image_instantiator_methods): return a value
7182 2000-04-26 Andy Piper <andy@xemacs.org>
7184 * glyphs.c (allocate_image_instance): make initial width and
7185 height unspecified. Set initialized to 0.
7187 * syscommctrl.h new file. Encapsulates commctrl.h.
7189 * syswindows.h new file. Encapsulates windows.h.
7191 * ntplay.c: use new syswindows.h and syscommctrl.h header.
7193 * console-msw.h: ditto.
7195 * redisplay-tty.c (tty_output_display_block): remove layout references.
7197 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
7198 window handle rather than just the frame.
7200 * glyphs.c (mark_image_instance): remove layout references.
7201 (print_image_instance): ditto.
7202 (image_instance_equal): ditto.
7203 (image_instance_hash): ditto.
7204 (decode_image_instance_type): ditto.
7205 (encode_image_instance_type): ditto.
7206 (image_instantiate): ditto.
7207 (allocate_glyph): ditto.
7208 (Fimage_instance_height): ditto.
7209 (Fimage_instance_width): ditto.
7210 (update_subwindow): ditto.
7212 * redisplay-x.c (x_output_display_block): recode for layouts as
7215 * redisplay-output.c (redisplay_output_layout): recode for layouts
7217 (compare_runes): remove layout references.
7219 * redisplay-msw.c (mswindows_output_display_block): recode for
7222 * glyphs-widget.c (image_instantiator_layout): remove
7223 layout_possible_dest_types.
7224 (layout_possible_dest_types): deleted.
7226 * glyphs.h (image_instance_type): remove layout references.
7227 (struct Lisp_Image_Instance): ditto. Add initialized flag.
7228 (IMAGE_INSTANCE_INITIALIZED): new accessor.
7229 (XIMAGE_INSTANCE_INITIALIZED): ditto.
7231 2000-04-25 Andy Piper <andy@xemacs.org>
7233 * glyphs-widget.c (image_instantiator_buttons):
7234 (image_instantiator_edit_fields):
7235 (image_instantiator_combo_box):
7236 (image_instantiator_scrollbar):
7237 (image_instantiator_progress_guage):
7238 (image_instantiator_tree_view):
7239 (image_instantiator_tab_control):
7240 (image_instantiator_labels):
7241 (image_instantiator_layout): call default post_instantiate method.
7242 (widget_post_instantiate): new function. Simply lays out the
7245 * glyphs.h (struct image_instantiator_methods): add
7246 post_instantiate method.
7248 * glyphs.c (instantiate_image_instantiator): add post_instantiate
7251 2000-04-23 Andy Piper <andy@xemacs.org>
7253 * glyphs.h (struct image_instantiator_methods): add
7254 decode_domain_method.
7255 (struct Lisp_Image_Instance): remove subwindow frame - it can be
7256 derived from the domain.
7257 (IMAGE_INSTANCE_FRAME): new accessor.
7258 (XIMAGE_INSTANCE_FRAME): ditto.
7260 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
7261 instead of _SUBWINDOW_FRAME.
7262 (finalize_image_instance): ditto.
7263 (Fimage_instance_foreground): ditto.
7264 (Fimage_instance_background): ditto.
7265 (image_instantiate): ditto.
7266 (update_subwindow_cachel): ditto.
7267 (update_subwindow): ditto.
7268 (unmap_subwindow): ditto.
7269 (map_subwindow): ditto
7270 (subwindow_instantiate): ditto.
7271 * glyphs-msw.c (mswindows_update_widget): ditto.
7272 (mswindows_progress_gauge_instantiate): ditto.
7273 (mswindows_tab_control_update): ditto.
7274 * glyphs-x.c (x_update_widget): ditto.
7275 (x_widget_instantiate): ditto.
7276 (x_tab_control_instantiate): ditto.
7277 (x_tab_control_update): ditto.
7278 * event-msw.c (mswindows_wnd_proc): ditto
7280 * glyphs-widget.c (image_instantiator_layout): use
7281 subwindow_decode_domain.
7282 (image_instantiator_buttons): ditto.
7283 (image_instantiator_edit_fields): ditto.
7284 (image_instantiator_combo_box): ditto.
7285 (image_instantiator_scrollbar): ditto.
7286 (image_instantiator_progress_guage): ditto.
7287 (image_instantiator_tree_view): ditto.
7288 (image_instantiator_tab_control): ditto.
7289 (image_instantiator_labels): ditto.
7290 (image_instantiator_layout): ditto.
7292 * glyphs.c: add instance error checking to many functions.
7293 (instantiate_image_instantiator): decode device from cache_domain.
7294 (image_instantiate): partially rewrite by using
7295 decode_image_instantiator_domain to determine what domain the
7296 instance needs to be cached in.
7297 (decode_image_instantiator_domain): new function. Determine what
7298 domain the image needs to be cached in.
7299 (check_window_subwindow_cache): new error checking function.
7300 (check_instance_cache_mapper): ditto.
7301 (check_image_instance_structure): ditto.
7302 (subwindow_decode_domain): new function. Encodes a window as a
7303 subwindow's cache domain.
7304 (image_instantiator_format_create): use it for text and
7307 2000-04-21 Andy Piper <andy@xemacs.org>
7309 * glyphs.c (image_instance_device): new function.
7310 (image_instance_frame): new function.
7311 (image_instance_window): new function.
7312 (image_instance_live_p): new function.
7314 * window.c (mark_window_as_deleted): reset the subwindow_instance_
7317 * glyphs.h (struct Lisp_Image_Instance): device->domain.
7318 (IMAGE_INSTANCE_DOMAIN): new accessor.
7319 (XIMAGE_INSTANCE_DOMAIN): ditto.
7321 * glyphs-x.c (x_finalize_image_instance): device->domain.
7323 * glyphs-msw.c (init_image_instance_geometry): device->domain.
7324 (mswindows_finalize_image_instance): ditto.
7326 * glyphs-eimage.c (jpeg_instantiate): device->domain.
7327 (gif_instantiate): ditto.
7328 (png_instantiate): ditto.
7329 (tiff_instantiate): ditto.
7331 * glyphs.c (instantiate_image_instantiator): use domain rather
7333 (mark_image_instance): device -> domain.
7334 (print_image_instance): ditto.
7335 (finalize_image_instance): ditto.
7336 (image_instance_equal): ditto.
7337 (allocate_image_instance): ditto.
7338 (Fcolorize_image_instance): ditto.
7339 (query_string_geometry): ditto.
7340 (image_instantiate): ditto
7341 (query_string_font): ditto.
7342 (image_instantiate): ditto.
7343 (update_subwindow): ditto.
7344 (unmap_subwindow): ditto.
7345 (map_subwindow): ditto.
7346 (subwindow_instantiate): ditto.
7348 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
7349 (DOMAIN_FRAME): ditto.
7350 (DOMAIN_WINDOW): ditto.
7351 (DOMAIN_LIVE_P): ditto.
7352 (XDOMAIN_DEVICE): ditto.
7353 (XDOMAIN_FRAME): ditto.
7354 (XDOMAIN_WINDOW): ditto.
7356 * specifier.c (Fvalid_specifier_domain_p): add image instances as
7357 a valid specifier domain.
7359 2000-04-19 Andy Piper <andy@xemacs.org>
7361 * glyphs-widget.c (syms_of_glyphs_widget): remove
7362 widget-callback-current-channel.
7363 (vars_of_glyphs_widget): ditto.
7366 * gui.c (get_gui_callback): revert to previous behaviour.
7368 2000-04-18 Andy Piper <andy@xemacs.org>
7370 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
7371 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
7372 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
7374 * glyphs.c (image_instance_equal): add margin_width.
7375 (image_instance_hash): ditto.
7377 * glyphs-widget.c (widget_instantiate): deal with margin-width.
7378 (layout_query_geometry): ditto.
7379 (layout_layout): ditto.
7380 (syms_of_glyphs_widget): add margin-width.
7381 (image_instantiator_layout): allow margin-width.
7383 * glyphs.c (update_widget_instances): make a normal function.
7384 (syms_of_glyphs): remove Qupdate_widget_instances.
7387 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
7388 so that we don't corrupt ideas about the last event or
7389 command. Remove widget-callback-current-channel fiddling.
7390 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
7392 2000-05-01 Martin Buchholz <martin@xemacs.org>
7394 * XEmacs 21.2.33 is released.
7396 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
7398 * make-src-depend: Allow dots in header file name.
7400 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
7402 * mule-charset.h (struct charset_lookup): Add
7403 next_allocated_1_byte_leading_byte and
7404 next_allocated_2_byte_leading_byte.
7405 * mule-charset.c: Move above two variables so that those values
7408 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
7410 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
7411 when string length is zero.
7412 (find_charsets_in_emchar_string): Ditto.
7414 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
7416 * lisp.h: extern Qdialog and Qmenubar.
7418 * gui-x.c: added events.h.
7419 also fixed typo which made the file uncompilable.
7421 * general.c: Added Qmenubar and Qdialog
7423 2000-04-28 Ben Wing <ben@xemacs.org>
7425 * frame-msw.c (mswindows_init_frame_1):
7426 * frame-msw.c (mswindows_mark_frame):
7427 * event-msw.c (mswindows_enqueue_dispatch_event):
7429 * console-msw.h (struct mswindows_frame):
7430 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
7431 there are now three hash tables for callbacks.
7432 mswindows_enqueue_dispatch_event is no longer static.
7434 * dialog-x.c (maybe_run_dbox_text_callback):
7435 * dialog-x.c (dbox_descriptor_to_widget_value):
7436 switch to new cons3 form for callbacks.
7438 * glyphs-msw.c (mswindows_register_gui_item):
7439 * glyphs-msw.c (mswindows_widget_instantiate):
7440 * glyphs-msw.c (add_tree_item):
7441 * glyphs-msw.c (add_tab_item):
7442 new image instance parameter, so it can be passed to callback-ex.
7443 respect :callback-ex as well as :callback.
7445 * glyphs-widget.c (VALID_GUI_KEYWORDS):
7448 * glyphs.c (print_image_instance):
7449 prettify, e.g. now prints widget type.
7452 certain funs have new image instance parameter.
7455 * gui.c (get_gui_callback):
7456 * gui.c (gui_item_add_keyval_pair):
7457 * gui.c (gui_item_init):
7458 * gui.c (gui_add_item_keywords_to_plist):
7459 * gui.c (mark_gui_item):
7460 * gui.c (gui_item_hash):
7461 * gui.c (gui_item_equal):
7462 * gui.c (copy_gui_item):
7463 * gui.c (syms_of_gui):
7464 recognize callback-ex in a number of places.
7465 also, fix the annoying "can't get out of yes-no dialog" bug.
7468 * gui.h (struct Lisp_Gui_Item):
7469 recognize callback-ex in a number of places.
7471 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
7472 new parameter in button_item_to_widget_value.
7474 * glyphs-x.c (x_update_widget):
7475 * glyphs-x.c (x_button_instantiate):
7476 * glyphs-x.c (x_button_update):
7477 * glyphs-x.c (x_progress_gauge_instantiate):
7478 * glyphs-x.c (x_edit_field_instantiate):
7479 * glyphs-x.c (x_combo_box_instantiate):
7480 * glyphs-x.c (x_tab_control_instantiate):
7481 * glyphs-x.c (x_label_instantiate):
7482 new image instance parameter in various places.
7485 * event-Xt.c (enqueue_Xt_dispatch_event):
7486 this fun gets exported.
7489 * gui-msw.c (mswindows_handle_gui_wm_command):
7490 handle both :callback and :callback-ex, and generate our own
7491 event because it's one of the callback-ex arguments.
7494 * gui-x.c (popup_selection_callback):
7495 handle both :callback and :callback-ex, and generate our own
7496 event because it's one of the callback-ex arguments.
7497 * gui-x.c (button_item_to_widget_value):
7498 * gui-x.c (gui_items_to_widget_values_1):
7499 * gui-x.c (gui_item_children_to_widget_values):
7500 * gui-x.c (gui_items_to_widget_values):
7501 new image instance parameter in various places.
7503 * fns.c (Freplace_list):
7504 fix small typo in doc string.
7507 declare enqueue_Xt_dispatch_event.
7509 2000-04-28 Ben Wing <ben@xemacs.org>
7512 * buffer.c (Frecord_buffer):
7513 * buffer.c (syms_of_buffer):
7514 delete record-buffer-hook.
7517 * fns.c (Freplace_list):
7518 * fns.c (syms_of_fns):
7519 new primitive replace-list.
7522 slot for old buffer-alist.
7528 * redisplay.c (redisplay_frame):
7529 * redisplay.c (syms_of_redisplay):
7530 * redisplay.c (vars_of_redisplay):
7531 new hook buffer-list-changed-hook.
7534 2000-04-27 Ben Wing <ben@xemacs.org>
7536 * extents.h: extern in_modeline_generation.
7538 * redisplay.c (generate_formatted_string_db): set
7539 in_modeline_generation.
7541 * extents.c (extent_changed_for_redisplay): don't mark redisplay
7542 flags if in modeline generation. otherwise frame-modified-tick
7543 is ticked far too often.
7544 Declare in_modeline_generation.
7546 2000-04-26 Ben Wing <ben@xemacs.org>
7548 * emacs.c (vars_of_emacs): document quick-build "error-checking"
7550 (vars_of_emacs): add quick-build as an error-checking option.
7551 A bit kludgy, but there doesn't seem much point in creating
7552 a real var for this.
7554 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
7556 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
7558 * redisplay.h (struct display_line): Add a new variable,
7561 * redisplay.c (create_text_block): Set dl->line_continuation if
7563 (create_string_text_block): Ditto.
7564 (regenerate_window_incrementally): Use line_continuation instead
7565 of searching continuation glyph.
7566 (add_margin_runes): Call add_glyph_rune.
7567 (add_glyph_rune): Handle margin glyph.
7569 2000-04-20 Martin Buchholz <martin@xemacs.org>
7571 * filelock.c (fill_in_lock_file_name):
7573 Check for IS_ANY_SEP instead of '/'.
7575 Avoid generating gratuitous garbage. Call user_login_name() directly.
7576 Never check errno without first seeing that system call failed.
7577 (unlock_file): Add GCPRO.
7578 (Flock_buffer): Fix docstring.
7579 (Ffile_locked_p): Fix docstring. Add GCPRO.
7581 2000-04-19 Martin Buchholz <martin@xemacs.org>
7583 * sysdep.c (get_pty_max_bytes):
7584 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
7585 strings longer than 252 bytes.
7587 * md5.c: Unconditionally include ANSI header <limits.h>
7589 * glyphs-x.c (convert_EImage_to_XImage):
7590 * lisp-union.h (union Lisp_Object):
7591 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
7593 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7595 * filelock.c (current_lock_owner): Remove unused variable o, p.
7597 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
7599 * callint.c: Remove multiply defined symbol Qlet
7600 (syms_of_callint): ditto.
7602 2000-04-14 Andy Piper <andy@xemacs.org>
7604 * general.c (syms_of_general): add last-command, this-command, let
7607 * lisp.h: declare various symbols.
7609 * glyphs.h: declare Qwidget_callback_current_channel;
7611 * glyphs-widget.c (syms_of_glyphs_widget): add
7612 Qgui_callback_current_channel.
7613 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
7615 * gui-msw.c (mswindows_handle_gui_wm_command): bind
7616 widget-callback-current-channel when invoking the interactive
7617 arg. Also bind last-command and next-command when invoking the
7619 * gui-x.c (popup_selection_callback): ditto.
7621 * gui.c (get_gui_callback): massage args so that we are always
7622 calling eval. This allows us to add our own variable bindings
7625 * glyphs-x.c (x_button_instantiate): use
7626 gui_items_to_widget_values since this is GC safe.
7627 (x_progress_gauge_instantiate): ditto.
7628 (x_edit_field_instantiate): ditto.
7629 (x_label_instantiate): ditto.
7631 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
7632 (emacs_Xt_event_widget_focus_out): new function
7633 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
7635 (emacs_Xt_event_add_widget_actions): new function. add focus
7636 functions as actions.
7637 (init_event_Xt_late): use it.
7639 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
7641 * event-stream.c (Fdispatch_event): Doc fix.
7643 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
7645 * postgresql.c: Remove all references to PQsetenv*.
7647 * postgresql.h: Remove references to PGsetenvHandler object.
7648 * lrecord.h (lrecord_type): Ditto.
7650 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7652 * glyphs-msw.h (struct mswindows_image_instance_data): Added
7653 real_heigh and real_width members, and accessor macros for these.
7655 * glyphs-msw.c (init_image_instance_geometry): New function.
7656 (init_image_instance_from_dibitmap): Use it.
7657 (mswindows_resource_instantiate): Use it.
7658 (init_image_instance_from_xbm_inline): Use it.
7659 (mswindows_initialize_image_instance_mask): Use real bitmap
7661 (mswindows_create_resized_bitmap): Ditto.
7662 (mswindows_create_resized_mask): Ditto.
7664 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
7665 and bitmap to their surface size.
7667 2000-04-11 Jan Vroonhof <jan@xemacs.org>
7669 * process-unix.c (unix_send_process): Guard against process MIA
7670 after Faccept_process_output.
7672 2000-04-11 Ben Wing <ben@xemacs.org>
7674 * eval.c (unbind_to_hairy): fix brokenness introduced by
7675 nanosecond speed improvements.
7677 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
7679 * sunplay.c (init_device): To play sounds correctly, the device
7680 apparently needs to be initialized at least once by XEmacs. Make
7683 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
7685 * redisplay.c (add_margin_runes): Add text image glyph
7688 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
7690 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
7691 gcc is newer than 2.5.
7693 2000-04-06 Colin Rafferty <colin@xemacs.org>
7695 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
7697 * fns.c (size_bit_vector):
7698 * alloc.c (size_vector):
7699 (make_vector_internal):
7700 (make_bit_vector_internal):
7701 (sweep_bit_vectors_1):
7702 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
7704 2000-04-06 Andy Piper <andy@xemacs.org>
7706 * gmalloc.c (malloc): undo previous change.
7711 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
7713 * line-number.c (buffer_line_number): Revert to former version.
7715 2000-04-06 Andy Piper <andy@xemacs.org>
7717 * gmalloc.c (malloc): add error checking.
7722 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
7723 button_item_to_widget_value arg.
7725 * glyphs-x.c (x_button_instantiate): add extra
7726 button_item_to_widget_value arg.
7727 (x_progress_gauge_instantiate): ditto.
7728 (x_edit_field_instantiate): ditto.
7729 (x_label_instantiate): ditto.
7731 * gui-x.c (gui_items_to_widget_values_1): add extra
7732 button_item_to_widget_value arg.
7733 (button_item_to_widget_value): add extra menu_item_p arg.
7735 * gui-x.h: change signature of button_item_to_widget_value.
7737 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
7738 button_item_to_widget_value arg.
7740 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
7742 * buffer.h (struct buffer): auto_save_modified should be long.
7744 2000-04-05 Andy Piper <andy@xemacs.org>
7746 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
7748 (button_query_geometry): give a little more room so that athena
7751 2000-04-05 Andy Piper <andy@xemacs.org>
7753 * faces.c (complex_vars_of_faces): The widget face should inherit
7754 the font of the gui-element face.
7756 2000-04-04 Andy Piper <andy@xemacs.org>
7758 * glyphs-x.c (x_button_update): new function. unconditionally
7759 update a button's state when the instance is dirty.
7760 (image_instantiator_format_create_glyphs_x): add x_button_update.
7761 (x_widget_instantiate): remove old resize cruft.
7763 2000-04-02 Andy Piper <andy@xemacs.org>
7765 * frame.c (change_frame_size_1): The introduction of gutters means
7766 that we need to allow 0 as a potential frame dimension.
7768 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
7770 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
7771 image glyph if allow_cursor.
7772 (add_hscroll_rune): Don't allow cursor to border glyph.
7773 (create_text_block): Ditto.
7775 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
7777 (redisplay_output_layout): Call ensure_face_cachel_complete for
7781 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
7783 * redisplay.c (add_glyph_rune): Adding text image as text runes.
7785 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
7788 * redisplay-tty.c (tty_output_display_block): Delete the routine
7789 for text image glyph
7790 * redisplay-x.c (x_output_display_block): ditto
7791 * redisplay-msw.c (mswindows_output_display_block): ditto
7793 2000-02-02 Mike Alexander <mta@arbortext.com>
7795 Note: Some of these were committed by accident as part of other
7798 * regex.c (regex_compile): Avoid compiler warnings.
7800 * ntproc.c (sys_spawnve): Avoid compiler warnings.
7802 * nt.h: Declare term_ntproc correctly.
7804 * nt.c: Remove incorrect declaration of get_home_directory which
7805 is declared correctly in lisp.h.
7807 * keymap.c (get_keyelt): Avoid compiler warnings.
7808 (raw_lookup_key_mapper): Avoid compiler warnings.
7810 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
7812 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
7814 * filemode.c (mode_string): Avoid compiler warnings.
7816 * file-coding.c (Fcoding_system_aliasee): Add return statement to
7819 * events-mod.h: Undef some things that winuser.h defines differently.
7821 * data.c (Faset): Avoid compiler warnings.
7823 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
7825 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7827 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
7828 Fall through to simple beep on error.
7829 Replace "extern" by real header file.
7831 * linuxplay.c: Use nativesound.h
7832 (play_sound_data): Return error code. Be less verbose on error.
7834 * sunplay.c: Use nativesound.h
7835 (play_sound_data): Return error code. Be less verbose on error.
7837 * ntplay.c: Use nativesound.h
7838 (play_sound_data): Return fake error code
7840 * sgiplay.c: Use nativesound.h
7841 (play_sound_data): Return error code
7843 * hpplay.c: Use nativesound.h, partially implement
7844 new error code. Break compilation until finished.
7845 (play_sound_data): error code.
7847 * nativesound.h (play_sound_file):
7848 (play_sound_data): Prototype in new header.
7850 2000-03-31 Andy Piper <andy@xemacs.org>
7852 * glyphs-widget.c: (button_query_geometry): new function. Adjust
7853 for toggle and radio buttons.
7854 (image_instantiator_buttons): use it.
7856 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
7858 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
7859 (x_update_horizontal_scrollbar_callback): Return if no mirror was
7860 found. Scrollbar event probably belonged to some old config.
7862 2000-03-31 Andy Piper <andy@xemacs.org>
7864 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
7866 (initialize_widget_image_instance): default layout to
7867 LAYOUT_HORIZONTAL rather than 0.
7868 (widget_instantiate): reverse the item list at the end rather than
7870 (layout_layout): re-code for the border text at the front of the
7871 item list rather than at the end.
7872 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
7873 provided by the user.
7874 (widget_query_geometry): comment.
7876 2000-03-30 Andy Piper <andy@xemacs.org>
7878 * glyphs-widget.c (image_instantiator_layout): allow standard
7879 widget keywords in layouts.
7881 * gutter.c (output_gutter): cope with nil gutter contents.
7883 * frame.c (Fset_frame_properties): add gutter docs.
7885 2000-03-29 Andy Piper <andy@xemacs.org>
7887 * toolbar-msw.c (TBSTYLE_FLAT): add.
7888 (mswindows_output_toolbar): minor fiddling.
7890 2000-03-29 Andy Piper <andy@xemacs.org>
7892 * gutter.c (output_gutter): force gutter size recalculation if
7893 what we are trying to display won't fit.
7894 (update_gutter_geometry): new function. A per-gutter version of
7895 update_frame_gutter_geometry.
7896 (update_frame_gutter_geometry): use it.
7897 (redraw_exposed_gutter): add extra debugging output.
7899 2000-03-28 Mike Alexander <mta@arbortext.com>
7901 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
7902 (pdump_file_unmap): Implement it on Windows
7903 (pdump_file_get): Save alocated handles for pdump_file_unmap
7905 2000-03-28 Andy Piper <andy@xemacs.org>
7907 * gui.c (get_gui_callback): treat Quit specially.
7909 2000-03-27 Andy Piper <andy@xemacs.org>
7911 * glyphs.c (image_instantiate): be careful to check in the same
7914 2000-03-27 Didier Verna <didier@xemacs.org>
7916 * config.h.in: define the proper SMART_INCLUDE macro.
7917 handle renaming of `foo_h_path' to `foo_h_file'.
7919 * database.c: ditto.
7923 * linuxplay.c: ditto.
7925 * terminfo.c: ditto.
7927 * tooltalk.h: ditto.
7929 2000-03-27 Andy Piper <andy@xemacs.org>
7931 * glyphs-msw.c (mswindows_update_widget): make sure the widget
7932 gets updated whenever the face might have changed.
7934 2000-03-26 Mike Alexander <mta@arbortext.com>
7936 * dumper.c (pdump_resource_free): Fix the comment.
7938 2000-03-21 Olivier Galibert <galibert@pobox.com>
7940 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
7942 2000-03-22 Mike Alexander <mta@arbortext.com>
7944 * dumper.c: Include Windows headers on Windows
7945 (pdump_resource_free): Add a body to the function
7946 (pdump_load): exe_name -> exe_path and add some comments.
7948 2000-03-25 Mike Alexander <mta@arbortext.com>
7950 * gui.c (copy_gui_item_tree): Return a value in all cases
7952 2000-03-21 Didier Verna <didier@xemacs.org>
7954 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
7956 (SMART_INCLUDE): new macro.
7957 (POSTGRES_INCLUDE): new macro to include postgresql headers from
7958 the proper location.
7960 * postgresql.c: use it.
7964 2000-03-24 Andy Piper <andy@xemacs.org>
7966 * gutter.c (redraw_exposed_gutters): must be "in display" when we
7969 2000-03-24 Andy Piper <andy@xemacs.org>
7971 * redisplay-output.c (compare_runes): use image_instance_changed
7972 to detect changes. Do not depend on glyphs_changed, only depend on
7974 (redisplay_output_layout): add debug messages.
7975 (compare_runes): ditto.
7977 * glyphs.h: declare new functions.
7978 (struct Lisp_Image_Instance): remove percent and associated
7981 * gui.h: declare new copying functions.
7983 * gui.c (copy_gui_item_tree): new function.
7984 (copy_gui_item): new function.
7985 (gui_item_id_hash): revert to standard hash.
7986 (gui_item_hash): ditto.
7987 (gui_item_hash_internal): deleted.
7988 (mark_gui_item): mark value.
7989 (gui_item_add_keyval_pair): add value.
7990 (gui_item_init): ditto.
7991 (gui_add_item_keywords_to_plist): ditto.
7992 (gui_item_equal): ditto.
7993 (syms_of_gui): add Q_value.
7995 * glyphs-x.c (x_progress_gauge_update): use pending items and
7996 value for setting the state.
7997 (x_update_widget): don't set items from pending here.
7999 * glyphs-widget.c (update_widget): update items here.
8000 (progress_gauge_set_property): use items for storing value. Put
8001 new value in pending items.
8003 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
8004 items for new value. Convert percent -> value.
8005 (mswindows_tab_control_update): don't update items here.
8007 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
8008 (update_subwindow): ditto.
8009 (image_instance_changed): new function. Compare hash values and
8010 past and present widget items.
8011 (image_instantiate): We more careful about where we instantiate
8013 (image_instantiate): add error checking.
8015 * gutter.c (syms_of_gutter): use -hook.
8017 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
8019 * console-tty.c (Fset_console_tty_input_coding_system): Use
8021 (Fset_console_tty_output_coding_system): Use Qterminal.
8022 (tty_init_console): Use Qkeyboard and Qterminal.
8024 2000-03-21 Ben Wing <ben@xemacs.org>
8026 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
8027 From Mike Alexander <mta@arbortext.com>.
8029 2000-03-21 Ben Wing <ben@xemacs.org>
8031 * event-msw.c (mswindows_need_event): Horrible kludge to fix
8032 process brokenness. Proper implementation to come.
8034 Rename call-process-internal to old-call-process-internal.
8035 New impl. in process.el.
8037 2000-03-21 Martin Buchholz <martin@xemacs.org>
8039 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
8041 2000-03-20 Andy Piper <andy@xemacs.org>
8043 * glyphs.c (full_list_hash): make hashes of the same elements in
8044 different orders return different values.
8046 2000-03-20 Martin Buchholz <martin@xemacs.org>
8048 * XEmacs 21.2.32 is released.
8050 2000-03-20 Martin Buchholz <martin@xemacs.org>
8052 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
8053 (DFC_MALLOC_USE_CONVERTED_DATA):
8054 Add aliasing-safe casts to allow use with char* or unsigned char*
8057 * eldap.c (Fldap_open):
8058 (Fldap_search_basic):
8061 Make C++-compilable.
8062 Make sure GCPRO'ed variables are initialized.
8063 Use temp variables to avoid repeated calls to Flength.
8065 2000-03-16 Martin Buchholz <martin@xemacs.org>
8068 Make sure PATH_MAX is always defined.
8069 Include limits.h for PATH_MAX.
8070 Deprecate use of MAXPATHLEN.
8072 2000-03-10 Martin Buchholz <martin@xemacs.org>
8074 * emacs.c: Add reinit_vars_of_fileio.
8075 * symsinit.h: Add reinit_vars_of_fileio.
8076 * fileio.c (reinit_vars_of_fileio): New.
8077 * fileio.c (Fmake_temp_name):
8078 Initialize temp_name random number from microseconds to make
8079 collisions even less likely. Initialize always at process startup
8080 time. (make-temp-name) used to return the same file name twice in
8082 Random stylistic fiddling.
8085 2000-03-20 Andy Piper <andy@xemacs.org>
8087 * glyphs.c (image_instantiate): allow text glyphs to be
8088 instantiated in the minibuffer window.
8090 2000-03-19 Andy Piper <andy@xemacs.org>
8092 * glyphs.c (image_instance_hash): be careful about which items we
8095 * glyphs-widget.c (tab_control_set_property): record into pending
8096 items rather than the actual items.
8098 * glyphs-x.c (x_update_widget): use pending items to update with.
8100 * glyphs-msw.c (mswindows_tab_control_update): use pending items
8103 * glyphs.c (mark_image_instance): mark pending items.
8105 * window.c (Fset_window_configuration): record the buffer.
8106 (Fselect_window): totally revert previous change which breaks many
8109 2000-03-18 Andy Piper <andy@xemacs.org>
8111 * glyphs-msw.c (mswindows_tab_control_update): force selected
8114 * glyphs.c (image_instantiate): don't allow the minibuffer as a
8115 window domain cache, otherwise we get inconsistencies at
8116 startup. There is something fishy at startup which can lead to the
8117 minibuffer being the selected window when the gutter content is
8120 * gui.c (parse_gui_item_tree_list): add probably unnecessary
8122 (parse_gui_item_tree_children): ditto.
8123 (parse_gui_item_tree_item): ditto.
8125 * glyphs.c (Fupdate_widget_instances): return something.
8127 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8129 * window.c (Fselect_window): Undo 2000-03-17 change.
8131 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
8133 * postgresql.c (Fpq_setenv): Remove this turkey when linking
8134 against v7.0 libraries. Insta-coredump city until the postgres
8137 2000-03-17 Andy Piper <andy@xemacs.org>
8139 * faces.c (complex_vars_of_faces): don't give the widget face an
8140 inherited background pixmap.
8142 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
8145 * event-stream.c (Fdispatch_non_command_events): return something.
8147 * gutter.c (output_gutter): use widget face.
8148 (clear_gutter): ditto.
8150 * NEWS: adjust again.
8152 * window.c (Fselect_window): make sure this runs to completion to
8153 avoid oddities with Fset_window_configuration.
8154 (Fcurrent_window_configuration): in general do not save the
8155 minibuffer as the selected window.
8157 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
8159 2000-03-16 Olivier Galibert <galibert@pobox.com>
8161 * emacs.c (Frunning_temacs_p): Revert previous patch.
8162 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
8164 2000-03-16 Andy Piper <andy@xemacs.org>
8166 * glyphs-x.c (x_tab_control_update): if no widget values then
8169 * NEWS: update for new features.
8171 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
8172 synthetic event to the native system.
8173 (reinit_vars_of_event_Xt): set force_event_pending to
8174 emacs_Xt_force_event_pending.
8176 * events.h (struct event_stream): add force_event_pending.
8178 * specifier.c (recompute_one_cached_specifier_in_window): add
8181 * redisplay.c (redisplay_frame): don't call
8182 update_frame_subwindows. Reset subwindow cachels when
8183 subwindows_changed, removing this was an optimization too far.
8185 * redisplay-output.c (compare_runes): reorganize so that we catch
8186 glyph changes when we want them. Set optimize_output when this
8188 (redisplay_output_layout): remove frame_really_changed, use
8189 optimize_output instead.
8191 * redisplay-msw.c (mswindows_output_display_block): reset
8192 optimize_output after outputting a glyph.
8193 * redisplay-x.c (x_output_display_block): ditto.
8194 * redisplay-tty.c (tty_output_display_block): ditto.
8196 * gutter.c: (specifier_vars_of_gutter): use new spec changed
8198 (gutter_specs_changed): do specific gutter positions.
8199 (top_gutter_specs_changed): new function. Only update the
8200 specified gutter specs.
8201 (bottom_gutter_specs_changed): ditto.
8202 (left_gutter_specs_changed): ditto.
8203 (right_gutter_specs_changed): ditto.
8205 * gui.c (gui_item_hash_internal): new function, does a real hash.
8206 (gui_item_id_hash): use it.
8207 (gui_item_hash): hash the eval'ed gui_item.
8209 * gui-x.c (popup_selection_callback): send an eval event to call
8210 Fupdate_widget_instances.
8212 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
8213 to call Fupdate_widget_instances.
8215 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
8216 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
8218 * glyphs.c: (update_frame_subwindows): deleted.
8219 (Fupdate_widget_instances): new function for updating the dirty
8220 state of widgets that might have changed.
8221 (syms_of_glyphs): add Qupdate_widget_instances.
8222 (full_list_hash): hash a list completely.
8223 (image_instance_hash): use it for items and properties.
8225 * frame-msw.c (mswindows_size_frame_internal): remove unused
8228 * faces.h (struct face_cachel): fix comment.
8230 * event-stream.c (Fdispatch_non_command_events): new
8231 function. Process non-command events, forcing an event cycle
8233 (syms_of_event_stream): declare.
8234 (event_stream_force_event_pending): new function. Force an event
8235 on the native event queue so that an event cycle will occur next
8239 (struct ntpipe_shove_stream):
8240 (mswindows_enqueue_dispatch_event):
8241 (mswindows_dequeue_dispatch_event):
8242 (mswindows_cancel_dispatch_event):
8243 (mswindows_pump_outstanding_events):
8244 (mswindows_drain_windows_queue):
8245 (mswindows_handle_paint):
8246 (mswindows_wnd_proc):
8247 (mswindows_key_to_emacs_keysym):
8248 (get_process_input_waitable):
8249 (emacs_mswindows_delete_stream_pair): re-indent file.
8250 (mswindows_need_event): do not process further fds if the windows
8251 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
8252 fixes the 100% cpu problem.
8253 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
8255 2000-03-15 Olivier Galibert <galibert@pobox.com>
8261 * emacs.c: Moved dump file searching to dumper.c.
8262 (Frunning_temacs_p): Fixed.
8264 * alloc.c: Moved everything pdump-related to dumper.c. Removed
8265 last_lrecord_type_index_assigned.
8267 2000-02-20 Olivier Galibert <galibert@pobox.com>
8269 * symsinit.h: Added reinit parameter to init_console_stream
8272 * lisp.h: Added file parameter to pdump_load declaration.
8274 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
8275 support. Added dump file searching.
8277 * config.h.in: Added EMACS_PROGNAME.
8279 * console-stream.c (init_console_stream): Fix reinitialisation
8280 when running from temacs.
8282 * alloc.c (pdump): Add id support.
8283 (pdump_load): Add file parameter and signature/id support.
8285 * Makefile.in.in: Add full pdump support.
8287 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
8289 * postgresql.c: Update documentation to reflect latest code
8291 (print_result): Show tuple counts in printed representation when
8293 (Fpq_put_nbytes): MULE-ize.
8294 (Fpq_get_line_async): Ditto.
8296 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8298 * postgresql.c (Fpq_lo_import): Fix return value.
8299 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
8301 2000-03-13 Ben Wing <ben@xemacs.org>
8303 * alloc.c (pdump_load):
8304 Fix compile warning under mswin.
8306 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
8308 * postgresql.c: Mule-ization, bug fixes.
8309 Use PG_CODING to encapsulate coding system name changes.
8310 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
8311 (pg-coding-system): Create.
8313 (Fpq_conn_defaults): Mule-ize.
8314 (Fpq_connectdb): Mule-ize & bug fix.
8315 (Fpq_connect_start): Mule-ize.
8316 (Fpq_set_client_encoding): Mule-ize.
8317 (Fpq_finish): Document `DEAD' connection status.
8319 (Fpq_pgconn): Mule-ize.
8320 (Fpq_exec): Mule-ize & bug fix.
8321 (Fpq_send_query): Ditto.
8322 (Fpq_get_result): Ditto.
8323 (Fpq_res_status): Mule-ize.
8324 (Fpq_result_error_message): Mule-ize.
8325 (Fpq_ntuples): fix comments.
8326 (Fpq_fname): Mule-ize.
8327 (Fpq_fnumber): Mule-ize.
8328 (Fpq_ftype): fix comments.
8329 (Fpq_get_value): Mule-ize.
8330 (Fpq_cmd_status): Ditto.
8331 (Fpq_cmd_tuples): Ditto.
8332 (Fpq_oid_value): Ditto.
8333 (Fpq_notifies): Ditto.
8334 (Fpq_lo_import): Ditto.
8335 (Fpq_lo_export): Ditto.
8336 (Fpq_get_line): Ditto.
8337 (Fpq_put_line): Mule-ize and bug fix.
8338 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
8340 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8342 * postgresql.c (vars_of_postgresql): Mule-ize.
8343 (Fpq_conn_defaults): Ditto.
8345 2000-03-12 Ben Wing <ben@xemacs.org>
8347 * alloc.c (Fmake_byte_code):
8348 * alloc.c (debug_string_purity_print):
8349 * alloc.c (pdump_backtrace):
8350 * alloc.c (pdump_get_indirect_count):
8351 * alloc.c (pdump_register_sub):
8352 * alloc.c (pdump_register_object):
8353 * alloc.c (pdump_register_struct):
8354 * alloc.c (pdump_dump_data):
8355 * alloc.c (pdump_reloc_one):
8359 * console-msw.c (GetConsoleHwnd):
8360 * console-msw.c (msw_hide_console):
8361 * console-msw.c (msw_show_console):
8362 * console-msw.c (msw_ensure_console_buffered):
8363 * console-msw.c (msw_output_console_string):
8364 * console-msw.c (console_type_create_mswindows):
8366 a) Added functions to manipulate the console window for use with
8369 b) Added support for writing text to the console, which is now
8370 used under Windows when xemacs is not being run non-interactively,
8371 to write text that would otherwise be destined for stdout because
8372 under these circumstances, text written to stdout tends to
8373 disappear and not be seen.
8377 * event-Xt.c (x_event_to_emacs_event):
8378 * event-Xt.c (describe_event_window):
8379 * events-mod.h (XEMACS_MOD_CONTROL):
8381 * events.c (Fmake_event):
8382 * events.c (character_to_event):
8383 * events.c (event_to_character):
8384 * events.c (format_event_object):
8385 * events.c (Fevent_modifiers):
8387 * events.h (struct key_data):
8388 * events.h (struct button_data):
8389 * events.h (struct misc_user_data):
8390 * frame-x.c (Fcde_start_drag_internal):
8391 * frame-x.c (Foffix_start_drag_internal):
8392 * gpmevent.c (Freceive_gpm_event):
8394 * keymap.c (bucky_sym_to_bucky_bit):
8395 * keymap.c (control_meta_superify):
8396 * keymap.c (make_key_description):
8397 * keymap.c (keymap_lookup_directly):
8398 * keymap.c (create_bucky_submap):
8399 * keymap.c (keymap_store):
8400 * keymap.c (define_key_check_and_coerce_keysym):
8401 * keymap.c (define_key_parser):
8402 * keymap.c (define_key_alternate_name):
8403 * keymap.c (Fdefine_key):
8404 * keymap.c (raw_lookup_key_mapper):
8405 * keymap.c (struct map_keymap_unsorted_closure):
8406 * keymap.c (map_keymap_unsorted_mapper):
8407 * keymap.c (map_keymap_sort_predicate):
8408 * keymap.c (map_keymap_sorted):
8409 * keymap.c (accessible_keymaps_mapper_1):
8410 * keymap.c (where_is_recursive_mapper):
8411 * keymap.c (describe_map_mapper):
8412 * keymap.c (describe_map_sort_predicate):
8413 * keymap.c (describe_map):
8414 * keymap.c (complex_vars_of_keymap):
8415 And a number of other files, the key modifier preprocessor
8416 constants that xemacs uses have names that conflict with constants
8417 defined under MS Windows for other purposes, so they were renamed
8418 to begin with the prefix XEMACS_. The variables that hold such
8419 modifiers were changed to consistently be of type int to fix
8420 various compile warnings.
8422 * console.c (complex_vars_of_console):
8425 * device-msw.c (mswindows_finish_init_device):
8426 * device-msw.c (msw_get_workspace_coords):
8427 * device-msw.c (mswindows_device_system_metrics):
8428 and various other files, added support for a new
8429 device property called offset-workspace which returns the position
8430 of the upper left corner of the workspace area and goes along with
8431 the existing size-workspace property.
8434 * dialog-msw.c (push_bufbyte_string_as_unicode):
8435 * dialog-msw.c (mswindows_popup_dialog_box):
8436 Added support for XEmacs-style accelerator specifications in
8437 button text. Note: I didn't add support for this under X Windows,
8438 and somebody needs to do this.
8441 * dialog.c (Fpopup_dialog_box):
8442 Documented the support for accelerators that was just mentioned.
8444 editfns.c (get_home_directory): Changed behavior under Windows
8445 when HOME not defined; former behavior was irretrievably broken.
8450 * minibuf.c (clear_echo_area_internal):
8451 * minibuf.c (echo_area_append):
8453 * print.c (std_handle_out_external):
8454 * print.c (std_handle_out_va):
8456 * print.c (write_string_to_stdio_stream):
8457 * print.c (output_string):
8458 * print.c (debug_print):
8459 * print.c (debug_backtrace):
8460 * print.c (debug_short_backtrace):
8461 Cleaned up the code that prints text to stdout so that this can be
8462 changed to output into a console window instead under MS Windows,
8466 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
8467 * eval.c (internal_catch):
8468 * eval.c (unwind_to_catch):
8469 * eval.c (throw_or_bomb_out):
8470 * eval.c (condition_case_1):
8471 * eval.c (signal_1):
8472 * eval.c (check_error_state_sanity):
8473 * eval.c (call_with_suspended_errors_1):
8474 * eval.c (call_with_suspended_errors):
8475 * eval.c (reinit_vars_of_eval):
8476 Added code to catch throw loops and check for a pesky bug that may
8480 * event-msw.c (key_needs_default_processing_p):
8481 * event-msw.c (mswindows_wnd_proc):
8482 * event-msw.c (mswindows_modifier_state):
8483 * event-msw.c (emacs_mswindows_quit_p):
8484 * event-msw.c (vars_of_event_mswindows):
8485 a) Added support for using the alt key to select menu items as is
8486 standard under MS Windows. This is controlled using the variable
8487 menu-accelerator-enabled, just like under X Windows. There is an
8488 option on the options menu to turn this support on. I really
8489 think that it should be on by default under Windows, but I'm not
8490 going to make this change yet.
8492 b) Added support for dynamic display size changes under Windows.
8495 * event-stream.c (maybe_echo_keys):
8496 * event-stream.c (Fnext_event):
8497 * event-stream.c (command_builder_find_leaf):
8498 * event-stream.c (lookup_command_event):
8499 * event-stream.c (execute_command_event):
8500 * event-stream.c (pre_command_hook):
8501 * event-stream.c (post_command_hook):
8502 * event-stream.c (syms_of_event_stream):
8503 * event-stream.c (vars_of_event_stream):
8504 * event-stream.c (complex_vars_of_event_stream):
8505 * events.h (struct command_builder):
8507 a) Tried to clean up a little bit the horribly written x-specific
8508 accelerator code that crept into this file. I moved this code
8509 into menubar-x.c where it belongs. I also needed to move the
8510 command builder structure into the file events.h because it is
8511 accessed directly by this accelerator code. What I didn't do, but
8512 which should be done at some point, is to properly abstract this
8513 code using device methods instead of the kludgy way that it
8514 currently hooks into the event code.
8516 b) Added the lisp variables this-command-properties and
8517 last-command- properties, which should be used to synchronize two
8518 adjacent commands in preference to playing games with the variable
8519 this-command, which is typically what happens.
8521 c) Added some slightly nasty code to hook into the lisp support
8522 for shifted- motion-key selection. This is actually necessary for
8523 somewhat complicated reasons, which are described in
8524 simple.el. (NB: I think the proper thing would be to have the code
8525 that calls the pre and post command hooks also call out to generic
8526 lisp functions in simple.el, where all built-in stuff could be
8527 added. I will think about this more.)
8529 * event-unixoid.c (poll_fds_for_input):
8530 * lread.c (readchar):
8531 * redisplay-tty.c (tty_clear_frame):
8532 * redisplay-x.c (x_get_gc):
8533 * signal.c (interrupt_signal):
8534 And a whole bunch of other files: fixed up places that printed
8535 directly to stderr to instead call the function stderr_out so that
8536 the changes I made under Windows work correctly.
8538 * filemode.c (mode_string):
8542 * frame-msw.c (mswindows_size_frame_internal):
8543 Fixed the computation of frame size and position to keep the frame
8544 within the workspace area, rather than within the physical
8545 dimensions of the screen, so that the frame doesn't overlap window
8546 manager decorations, such as the start menu and toolbar, typically
8547 at the bottom of the screen.
8549 * frame.c (vars_of_frame):
8550 Changed the default frame title format under MS Windows to consist
8551 of buffername-XEmacs, which is standard under MS Windows. I think
8552 it might be a good idea to change this everywhere because I think
8553 it is superior to the current frame title format, but this is the
8554 kind of change that is likely to cause some people to get annoyed,
8555 so I'm not making it.
8557 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
8559 * gui-msw.c (mswindows_handle_gui_wm_command):
8560 Fixed compile warnings.
8563 * gui-x.c (strdup_and_add_accel):
8564 * gui-x.c (button_item_to_widget_value):
8566 Added code to automatically put an accelerator onto the beginning
8567 of menu items that don't have one as is now the standard, and is
8568 described more later. Also fixed things so that the menu item
8569 name can be an evaluated expression, again a new standard.
8572 * gui.c (gui_item_add_keyval_pair):
8573 * gui.c (make_gui_item_from_keywords_internal):
8574 * gui.c (gui_add_item_keywords_to_plist):
8575 * gui.c (gui_item_accelerator):
8576 * gui.c (gui_name_accelerator):
8577 * gui.c (gui_item_included_p):
8578 * gui.c (gui_item_display_flush_left):
8579 * gui.c (gui_item_display_flush_right):
8580 * gui.c (parse_gui_item_tree_item):
8581 * gui.c (parse_gui_item_tree_children):
8582 * gui.c (parse_gui_item_tree_list):
8583 Mule-ized. Cleanup. GCPRO addition.
8585 * line-number.c (buffer_line_number):
8587 * lisp.h (EMACS_INT_MAX):
8588 Added the manifest constant EMACS_INT_MIN corresponding to the
8589 existing constant EMACS_INT_MAX. This is partially to fix compile
8590 warnings under Windows, and partly for cleanliness.
8593 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
8594 * menubar-msw.c (msw_translate_menu_or_dialog_item):
8595 * menubar-msw.c (displayable_menu_item):
8596 * menubar-msw.c (populate_menu_add_item):
8597 * menubar-msw.c (populate_or_checksum_helper):
8598 * menubar-msw.c (populate_menu):
8599 * menubar-msw.c (update_frame_menubar_maybe):
8600 * menubar-msw.c (prune_menubar):
8601 * menubar-msw.c (msw_char_is_accelerator):
8602 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
8603 * menubar-msw.c (mswindows_handle_wm_command):
8604 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
8605 * menubar-msw.c (mswindows_handle_wm_initmenu):
8606 * menubar-msw.c (mswindows_update_frame_menubars):
8607 * menubar-msw.c (mswindows_free_frame_menubars):
8608 * menubar-msw.c (mswindows_popup_menu):
8609 Fixed a bug in handling accelerators where an extra character
8610 would be displayed in the menu item. Also generalized the
8611 function displayable_menu_item because it is now used by the
8612 dialog box code as well. And finally, added code in the functions
8613 that create the menubar to extract a list of accelerators for the
8614 top level menubar, which is used in the event code to determine
8615 whether a particular alt-key combination should be used to invoke
8616 a menu item, or should be passed through to access the standard
8617 XEmacs keymap binding for this key combination.
8619 Much needed GCPROing.
8622 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8623 * menubar-x.c (menu_item_descriptor_to_widget_value):
8624 * menubar-x.c (restore_in_menu_callback):
8625 * menubar-x.c (x_popup_menu):
8626 * menubar-x.c (menu_move_up):
8627 * menubar-x.c (menu_move_down):
8628 * menubar-x.c (menu_move_left):
8629 * menubar-x.c (menu_move_right):
8630 * menubar-x.c (menu_select_item):
8631 * menubar-x.c (command_builder_operate_menu_accelerator):
8632 * menubar-x.c (menu_accelerator_junk_on_error):
8633 * menubar-x.c (command_builder_find_menu_accelerator):
8634 * menubar-x.c (Faccelerate_menu):
8636 Moved a whole bunch of code here that was previously in
8637 event-stream.c as described above. There is also code connected
8638 to the new standard of adding an accelerator to the beginning of
8639 menu items that don't have one as described above and below.
8642 * menubar.c (menu_parse_submenu_keywords):
8643 * menubar.c (Fmenu_find_real_submenu):
8644 * menubar.c (Fnormalize_menu_item_name):
8645 * menubar.c (syms_of_menubar):
8646 * menubar.c (vars_of_menubar):
8647 * menubar.c (complex_vars_of_menubar):
8649 a) Cleaned up a bunch of documentation and improved it.
8651 b) XEmacs now automatically adds an accelerator onto the beginning
8652 of any menu items that don't have one. I did this because there
8653 will inevitably be some menu items on the main menubar that don't
8654 have accelerators on them because the package that adds that
8655 particular menu item hasn't yet been fixed up to have accelerators
8656 in them and it looked rather strange to have some items with and
8657 some items without accelerators, especially since even in items
8658 without accelerators, you can, at least under windows, still
8659 access the item through an accelerator corresponding to the first
8660 character in the item's name. If people don't like this behavior,
8661 I can add a variable to turn it off optionally, but I'm not sure
8662 this is a good idea because we really do need to have accelerators
8663 on all of the menu items, and if a package doesn't like the
8664 accelerators being put on the first character, then it should put
8665 the accelerators where they belong.
8667 c) I made a behavior change, which is that the descriptor that
8668 specifies the text of the menu item, which formerly was just a
8669 string, can now also be an evaluated expression. This makes this
8670 descriptor parallel with all of the others, which could also be
8671 evaluated expressions. This also obviates the need for the
8672 keyword :label, which was previously listed in the documentation
8673 as unimplemented, and which was for the same purpose.
8678 * ntproc.c (new_child):
8679 * ntproc.c (sys_spawnve):
8680 * ntproc.c (find_child_console):
8681 * ntproc.c (sys_kill):
8682 Fixed compile warnings. By the way, this file should really go
8683 away entirely, and this will happen as soon as Kirill makes his
8684 final round of process cleanups, which affect the function
8688 * process-nt.c (struct nt_process_data):
8689 * process-nt.c (find_process_from_pid):
8690 * process-nt.c (send_signal_the_nt_way):
8691 * process-nt.c (enable_child_signals):
8692 * process-nt.c (find_child_console):
8693 * process-nt.c (send_signal_the_95_way):
8694 * process-nt.c (nt_finalize_process_data):
8695 * process-nt.c (ensure_console_window_exists):
8696 * process-nt.c (nt_create_process):
8697 * process-nt.c (nt_kill_child_process):
8698 * process-nt.c (nt_kill_process_by_pid):
8699 * process-nt.c (nt_open_network_stream):
8700 * process-nt.c (vars_of_process_nt):
8701 Copied over code from Emacs 20.5 to correctly send signals to sub-
8702 processes under Windows 95. Also added code to automatically
8703 create and hide console window when a sub-process is created under
8704 Windows 95, which obviates the need for the separate runemacs.exe
8705 executable, and finally implemented some variables that were
8706 implemented in Emacs 20.5, but previously not in XEmacs. These
8707 include mswindows- start-process-share-console and
8708 mswindows-start-process-inherit-error-mode. (Both of these only
8709 apply to Windows 95.)
8711 * regex.c (regex_compile): Fixed a compile warning.
8714 * select-msw.c (mswindows_own_selection):
8715 * select-msw.c (mswindows_get_foreign_selection):
8716 * select-msw.c (mswindows_disown_selection):
8717 * select-msw.c (console_type_create_select_mswindows):
8718 * select-msw.c (syms_of_select_mswindows):
8719 Cleaned up the file and implemented the device method
8720 selection_exists_p, which had accidentally been left out. Also
8721 removed four lisp functions that were remnants from before the
8722 time when the selection code was properly device abstracted.
8723 These functions are no longer needed because there are generic
8724 equivalents, and because they were added recently and don't exist
8725 in FSF Emacs, I don't think there's any problem with just deleting
8729 * sysdep.c (sys_subshell):
8730 Fixed a compile warning, although in this case there's probably
8731 something wrong with this code, and it ought to be looked into
8732 more thoroughly by somebody who understands it.
8735 * window.c (Fwindow_text_area_height):
8736 * window.c (Fwindow_width):
8737 * window.c (Fwindow_full_width):
8738 * window.c (Fwindow_pixel_width):
8739 * window.c (debug_print_window):
8740 * window.c (syms_of_window):
8741 Added functions window-text-area-height and window-full-width,
8742 which are functions for returning various width and height
8743 characteristics of a window. (One of these functions is necessary
8744 for making the file dialog box work correctly, and the other one
8745 was added for completeness.) Also added a table to the
8746 documentation for window-height which describes the entire scheme
8747 for accessing width and height characteristics of a window.
8749 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8751 * nt.c (fstat): Added a comment for another problem with
8752 non-encapsulated [f]stat(), reported by Adrian Aichner
8753 <aichner@ecf.teradyne.com>.
8755 2000-03-11 Andy Piper <andy@xemacs.org>
8757 * window.c (make_dummy_parent): initialize subwindow instance
8759 (Fset_window_configuration): zero extent_modiff.
8761 2000-03-10 Andy Piper <andy@xemacs.org>
8763 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
8764 more changes can be triggered.
8765 (Fredisplay_frame): ditto.
8766 (Fredraw_device): ditto.
8767 (Fredisplay_device): ditto.
8768 (redisplay_frame): make non-static.
8769 (redisplay_frame): call update_frame_gutter_geometry outside of
8772 * gutter.h: declare update_frame_gutter_geometry.
8774 * redisplay.h: declare redisplay_frame.
8776 * gutter.c (update_frame_gutter_geometry): move geometry changes
8777 in update_frame_gutters here. Geometry changes can only occur
8778 outside of redisplay.
8779 (update_frame_gutters): remove geometry change code.
8780 (Fredisplay_gutter_area): make sure that we are in display when we
8781 update and that we have flushed any size changes.
8783 2000-03-11 Andy Piper <andy@xemacs.org>
8785 * alloc.c (pdump_dump_data): remove i & count shadows.
8787 2000-02-27 Mike Alexander <mta@arbortext.com>
8789 * sysdep.h: Declare pdump_read_file
8791 * sysdep.c (pdump_read_file): New function
8793 * alloc.c (pdump_load): Call pdump_read_file to get the portable
8796 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
8798 * lrecord.h: add `lrecord_type_pgsetenv'.
8800 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
8802 * symsinit.h: declare (vars|syms)_of* functions.
8803 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
8805 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
8807 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
8809 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
8812 * emacs.c (main_1): Call postgres initialization code.
8814 * postgresql.h: New file. PostgreSQL RDBMS support.
8815 * postgresql.c: New file.
8817 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8819 * redisplay-output.c (redisplay_output_display_block): Disable
8822 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8824 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
8825 (Fcanna_henkan_next): Ditto.
8826 (Fcanna_bunsetu_henkou): Ditto.
8827 (Fcanna_henkan_kakutei): Ditto.
8828 (Fcanna_henkan_end): Ditto.
8829 (Fcanna_henkan_quit): Ditto.
8830 (Fcanna_henkan_next): Set retun value correctly.
8831 (c2mu): Use unsigned char instead of signed char.
8833 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8835 * emacs.c (main_1): Always call syms_of_gui.
8836 * inline.c: include gui.h
8838 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8840 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
8841 converted to Lisp_Object.
8842 (Qtop_bottom): New variable.
8843 (syms_of_redisplay): Initialize it.
8844 * redisplay.h (Vvisible_bell): Ditto.
8845 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
8846 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
8847 only flash top and bottom.
8849 2000-03-08 Andy Piper <andy@xemacs.org>
8851 * buffer.c (Frename_buffer): record new buffer name the right way.
8853 2000-03-08 Andy Piper <andy@xemacs.org>
8855 * glyphs.c (update_subwindow): increase hash depth so that widget
8856 items get picked up properly.
8858 * redisplay-output.c (compare_runes): increase hash depth so that
8859 widget items get picked up properly.
8861 2000-03-08 Andy Piper <andy@xemacs.org>
8863 * gutter.c (output_gutter): add some debug.
8865 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
8866 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
8867 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
8869 * redisplay-output.c (compare_runes): use display_hash to
8870 determine if glyphs really are not the same.
8872 * glyphs.c (update_subwindow): check display_hash to see if
8873 anything really needs to be updated. If not then do
8874 nothing. Record the display_hash after updating.
8875 (image_instance_equal): compare the image_instance face also.
8877 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
8879 * redisplay.h: Fix comment style.
8881 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
8883 * consle-msw.h (struct mswindows_frame):
8884 Added new member paint_pending to indicate whether a WM_PAINT
8885 magic event has been queued for this frame.
8887 * event-msw.c (mswindows_drain_windows_queue):
8888 Don't queue a WM_PAINT magic event if one is already queued.
8889 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
8891 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
8893 2000-03-07 Didier Verna <didier@xemacs.org>
8895 * dired.c: #include `regex.h' after `sysfile.h'.
8897 2000-03-06 Martin Buchholz <martin@xemacs.org>
8899 * sound.c (init_nas_sound): Fix compiler warning.
8901 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
8903 (MARK_STRUCT_AS_FREE):
8904 (MARK_STRUCT_AS_NOT_FREE):
8905 Make `gcc -fstrict-aliasing' work properly.
8907 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
8909 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
8910 (mswindows_delete_device): Call CoUnnitialize().
8912 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
8914 2000-02-25 <CraigL@DyCon.com>
8916 * process-nt.c: MinGW now has <shellapi.h>, but still needs
8919 * sysdep.c: This extern declaration for environ prevents MinGW
8920 from finding the variable in CRTDLL.DLL.
8922 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
8926 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
8928 (MMRESULT): Removed, now defined in cygwin's windows headers.
8930 (uid_t,gid_t,pid_t,ssize_t): ..
8931 (_timeb): Removed, MinGW defines both _timeb and timeb.
8932 (HAVE_H_ERRNO): Added.
8933 (HAVE_TZNAME): Added, configure is not detecting this.
8935 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
8937 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
8938 * syntax.c (syntax_match): Use it.
8940 * cmds.c: Import auto-fill-chars from FSF Emacs.
8941 (Vauto_fill_chars): New variables.
8942 (internal_self_insert): Check Vauto_fill_chars.
8944 Declare auto-fill-chars as a Lisp variable and initialize it.
8946 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8948 * fileio.c (Fmake_symbolic_link):
8950 Run handlers even if local machine doesn't have symlinks.
8952 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
8954 * event-msw.c (mswindows_drain_windows_queue):
8955 Don't generate paint magic events for non-XEmacs frames.
8957 2000-03-05 Andy Piper <andy@xemacs.org>
8959 * redisplay.c (redisplay_frame): generate_displayable_area and
8960 friends assumes that we are not in GC, we therefore have to make
8961 sure that this doesn't happen.
8963 * gutter.c (calculate_gutter_size): generate_displayable_area
8964 assumes that we are not in GC, we therefore have to make sure that
8965 this doesn't happen.
8967 2000-03-05 Martin Buchholz <martin@xemacs.org>
8969 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
8971 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
8973 * redisplay.c (regenerate_window): Make sure we set a sane value
8974 for end_pos even if we jump out of the loop.
8975 (regenerate_window): Answer Ben's question :-).
8976 (start_end_of_last_line): Add may_error argument.
8977 (start_of_last_line):
8978 (end_of_last_line): Pass may_error = 0.
8979 (end_of_last_line_may_error): New function.
8980 (pixel_to_glyph_translation): Use it, so we don't crash in
8983 2000-03-04 Andy Piper <andy@xemacs.org>
8985 * window.h (struct window): add gutter_extent_modiff.
8987 * window.c (allocate_window): zero out gutter_extent_modiff.
8989 * redisplay.h: declare sync_display_line_structs.
8991 * redisplay.c (add_glyph_rune): add a better comment.
8993 * redisplay-output.c (sync_display_line_structs): made non-static.
8994 (compare_runes): remove unneccesary glyph cachel access.
8996 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
8998 * gutter.c (output_gutter): don't output the gutter if extent
8999 changes only involve extents in buffers. use 4 sets of display
9001 (gutter_extent_signal_changed_region_maybe): new function. Mark
9002 extents in gutters as changed.
9003 (update_frame_gutters): use 4 sets of display lines.
9004 (reset_gutter_display_lines): ditto.
9005 (free_frame_gutters): ditto.
9006 (redraw_exposed_gutter): force output of gutters.
9008 * frame.h (struct frame): add 4 sets of gutter display lines.
9010 * extents.c: (extent_changed_for_redisplay): signal changes to
9011 extents in strings in the gutter as well as extents in buffers.
9013 2000-03-02 Andy Piper <andy@xemacs.org>
9015 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
9017 * frame.c (Fmake_frame): make sure the gutters get initialized
9018 after the frame is visible.
9019 (set_frame_selected_window): re-arrange compilation macros a
9021 (change_frame_size_1): mark gutters changed.
9023 * device.c (Fset_device_class): mark gutters changed.
9025 2000-03-01 Andy Piper <andy@xemacs.org>
9027 * window.c (window_top_frame_gutter_height): deleted.
9028 (window_bottom_frame_gutter_height): ditto.
9029 (window_left_frame_gutter_height): ditto.
9030 (window_right_frame_gutter_height): ditto.
9031 (window_top_gutter_height): don't use them.
9032 (window_bottom_gutter_height): ditto.
9033 (window_left_gutter_width): ditto.
9034 (window_right_gutter_width): ditto.
9035 (Fsplit_window): ditto.
9036 (Fwindow_pixel_edges): don't use border dimensions here.
9038 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
9039 (update_scrollbar_instance): ditto.
9041 * redisplay.c (generate_modeline): don't take gutters into account.
9042 (generate_modeline): ditto.
9043 (redisplay_frame): small gutter display optimization.
9045 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
9047 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
9048 gutters into account.
9050 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
9051 for window position and type.
9053 * gutter.c (get_gutter_coords): fix for frame gutters.
9054 (update_frame_gutters): update frame geometry if the gutters have
9056 (init_frame_gutters): record current gutter geometries.
9058 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
9060 (mswindows_widget_instantiate): ditto.
9062 * frame.h (struct frame): add current_gutter_bounds.
9064 * frame.c (change_frame_size_1): position window and minibuffer
9065 appropriately taking into account the frame gutters.
9067 * frame-x.c: (x_initialize_frame_size): take into account the
9070 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9072 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
9074 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
9076 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
9078 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9080 * file-coding.c (reset_decoding_stream): Clear previous
9081 detection state when autodetect.
9083 2000-02-29 Didier Verna <didier@xemacs.org>
9085 * extents.c (set_extent_glyph_1): don't require extents to be
9088 2000-02-27 Andy Piper <andy@xemacs.org>
9090 * gutter.c (Fset_default_gutter_position): don't default left and
9091 right gutter visibility to t.
9092 (Fset_default_gutter_position): run
9093 default-gutter-position-changed-hook.
9094 (syms_of_gutter): add default-gutter-position-changed-hook.
9096 2000-02-26 Andy Piper <andy@xemacs.org>
9098 * specifier.c (Fmake_specifier): add gutter references.
9100 * gutter.h (RAW_WINDOW_GUTTER): new macro.
9102 * lisp.h: declare Fvalid_plist_p.
9104 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
9106 (default_gutter_visible_p_changed_in_window): invalidate gutter as
9107 well as its visibility so that it gets reconstructed.
9108 (construct_window_gutter_spec): new function. Construct a string
9109 to be displayed in the gutter from a plist of strings. Take care
9110 to only use elements that are declared as visible.
9111 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
9113 (gutter_validate): allow plists of strings in the specifier.
9114 (gutter_specs_changed): construct the real_gutter from the gutter
9115 specs using construct_window_gutter_spec.
9116 (gutter_visible_validate): gutter-visible is a new specifier type.
9117 (Fgutter_visible_specifier_p): new function for the new specifier.
9118 (syms_of_gutter): declare gutter-visible and
9119 Fgutter_visible_specifier_p.
9120 (specifier_type_create_gutter): intitalize new gutter-visible
9122 (reinit_specifier_type_create_gutter): ditto.
9123 (specifier_vars_of_gutter): use new specifier type for gutter
9125 (init_frame_gutters): construct real_gutter correctly.
9126 (Fgutter_specifier_p): beef up documentation.
9127 (Fgutter_size_specifier_p): ditto.
9129 * winslots.h: add real_gutter slots.
9131 2000-02-25 Andy Piper <andy@xemacs.org>
9133 * device-msw.c: Be kind to older cygwin versions. From Raymond
9134 Toy <toy@rtp.ericsson.se>.
9136 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
9137 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
9139 2000-02-25 Martin Buchholz <martin@xemacs.org>
9141 * elhash.c (MARK_OBJ): Practice macro hygiene.
9143 2000-02-24 Martin Buchholz <martin@xemacs.org>
9145 * miscplay.c: s/__inline__/inline/g;
9146 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
9147 (get_device_compdc): INLINE ==> static inline
9148 * *.[ch]: Change INLINE to INLINE_HEADER globally.
9149 find -name '*.h' | \
9150 xargs global-replace \
9151 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
9153 2000-02-25 Andy Piper <andy@xemacs.org>
9155 * window.c (window_top_frame_gutter_height): new function.
9156 (window_top_window_gutter_height): ditto.
9157 (window_top_gutter_height): use them.
9158 (window_bottom_frame_gutter_height): new function.
9159 (window_bottom_window_gutter_height): ditto.
9160 (window_bottom_gutter_height): use them.
9161 (window_left_window_gutter_width): new function.
9162 (window_left_frame_gutter_width): ditto.
9163 (window_left_gutter_width): use them.
9164 (window_right_window_gutter_width): new function.
9165 (window_right_frame_gutter_width): ditto.
9166 (window_right_gutter_width): use them.
9167 (window_pixel_height): new function. calulate window pixel height
9168 with frame gutter involvement.
9169 (Fsplit_window): calculate new sizes taking frame gutters into
9171 (window_char_height_to_pixel_height): don't include frame gutters.
9172 (window_char_height): use window_pixel_height.
9173 (window_pixheight): rename from window_pixel_height.
9174 (change_window_height): use it.
9175 (window_pixel_height_to_char_height): don't include frame gutters.
9176 (window_char_width_to_pixel_width): ditto.
9178 2000-02-25 Andy Piper <andy@xemacs.org>
9180 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
9183 2000-02-24 Martin Buchholz <martin@xemacs.org>
9185 * alloc.c (staticpro):
9191 (compact_string_chars):
9193 Convert: if (foo) abort(); ==> assert (! foo);
9195 * eldap.c (Fldap_search_basic):
9199 Fix compiler warnings, and possible crashes if (random) return
9200 value were to be used.
9202 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9204 * device-msw.c: Workaround ResetDC failure.
9206 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
9209 * redisplay-msw.c (get_frame_dc): Added start_page_p.
9210 (mswindows_text_width): Do not start printer page.
9212 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
9214 * glyphs-msw.c: Added image methods to msprinter console and
9215 msprinter-specific image instantiation.
9217 2000-02-20 Mike Alexander <mta@arbortext.com>
9219 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
9220 to avoid crashes when selection-sets-clipboard is on
9221 (mswindows_own_selection): ditto
9223 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9226 * redisplay-msw.c (get_frame_dc):
9229 * device-msw.c (mswindows_init_device):
9230 (mswindows_delete_device):
9231 (msprinter_init_device):
9232 (msprinter_delete_device):
9233 * frame-msw.c (mswindows_init_frame_1):
9234 (mswindows_delete_frame):
9235 (msprinter_init_frame_3):
9236 (msprinter_delete_frame): Move compatible DC to device object from
9237 frame object, for both mswindows and msprinter. Only one at a time
9238 is needed, it is a real waste to have one per frame!
9240 2000-02-23 Andy Piper <andy@xemacs.org>
9242 * glyphs.c: add dynamic width and height elements.
9243 (image_instance_equal): ditto.
9245 * glyphs-widget.c (widget_query_geometry): calculate width and
9246 height dynamically if required.
9247 (initialize_widget_image_instance): initialize dynamic dimensions.
9248 (widget_instantiate): pick-up dynamic dimensions.
9250 * glyphs.h (struct Lisp_Image_Instance): add width and height for
9251 dynamic determination. Add appropriate macros.
9253 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
9255 (WINDOW_GUTTER_SIZE): ditto.
9256 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
9258 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
9260 (get_frame_dc): ditto.
9262 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
9265 2000-02-23 Martin Buchholz <martin@xemacs.org>
9267 * XEmacs 21.2.31 is released.
9269 2000-02-22 Ben Wing <ben@xemacs.org>
9271 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
9273 2000-02-22 Andy Piper <andy@xemacs.org>
9275 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
9277 2000-02-21 Mike Sperber <mike@xemacs.org>
9281 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
9284 2000-02-21 Mike Sperber <mike@xemacs.org>
9286 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
9288 2000-02-21 Martin Buchholz <martin@xemacs.org>
9290 * XEmacs 21.2.30 is released.
9292 2000-02-20 Martin Buchholz <martin@xemacs.org>
9294 Performance hacking.
9296 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
9297 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
9300 * console.c (DEFVAR_CONSOLE_LOCAL_1):
9301 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
9302 * symeval.h (DEFVAR_SYMVAL_FWD):
9303 * symbols.c (guts_of_unbound_marker):
9304 Make all c_readonly objects also lisp_readonly and marked for life.
9305 * lrecord.h (struct lrecord_implementation):
9306 Document flags better.
9307 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
9308 * lrecord.h (DECLARE_LRECORD):
9309 * lrecord.h (XSETRECORD):
9310 * lrecord.h (RECORDP):
9311 * lrecord.h (RECORD_TYPEP):
9312 * lrecord.h (RECORD_MARKER): New.
9313 * lrecord.h (error_check_*):
9314 * lrecord.h (CONCHECK_NONRECORD):
9315 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
9316 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
9317 * lrecord.h (set_lheader_implementation):
9318 * lrecord.h (enum lrecord_type): New.
9319 * symeval.h (SYMBOL_VALUE_MAGIC_P):
9320 * alloc.c (disksave_object_finalization_1):
9321 * alloc.c (mark_object):
9322 * alloc.c (lrecord_type_index):
9323 * alloc.c (tick_lcrecord_stats):
9324 * alloc.c (Fgarbage_collect):
9325 * alloc.c (init_alloc_once_early):
9326 * alloc.c (pdump_load):
9327 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
9328 * alloc.c (lrecord_type_index): Delete.
9329 Make lisp object type indexes be constant.
9330 Makes (byte-compile) 5% faster.
9331 Put all marker functions into their own array.
9332 Makes (garbage-collect) 5% faster.
9333 Optimize SYMBOL_VALUE_MAGIC_P.
9334 Makes (byte-compile) 2-3% faster.
9335 * config.h.in (gc_checking_assert): New.
9336 * alloc.c: Use gc_checking_assert().
9337 * .dbxrc: Make compatible with new object type implementation.
9338 * .gdbinit: Make compatible with new object type implementation.
9339 * alloc.c: Delete all symbols defined only for debugging, such as
9340 Lisp_Type_Vector and lrecord_charset.
9342 2000-02-21 Andy Piper <andy@xemacs.org>
9344 * gui-msw.c (Fmswindows_shell_execute): fix file location
9347 * buffer.c (Fkill_buffer): remove buffer from alist buffer
9348 unshowing so that set_window_buffer doesn't undo
9349 kill_buffer_hook's hard work.
9351 * glyphs-widget.c (tab_control_query_geometry): don't count the
9352 first item when calculating geometry.
9354 * glyphs.c (map_subwindow): remove redundant code.
9355 (update_frame_subwindows): be more circumspect about when to
9358 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
9359 when items haven't changed. Update faces if faces have changed as
9360 well as just the widget face.
9361 (x_tab_control_update): Update faces if faces have changed as well
9362 as just the widget face.
9364 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9366 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
9368 (build_syscolor_string): Use mswindows_color_to_string to try to
9370 (mswindows_device_system_metrics): Reverse the foreground and
9371 background colors so that they match the documentation.
9373 * objects-msw.c: (mswindows_X_color_map): tweak some values so
9374 they match the default Windows palette.
9375 (mswindows_color_to_string): New function.
9377 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
9379 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
9381 2000-02-18 Olivier Galibert <galibert@pobox.com>
9383 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
9384 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
9386 * symbols.c (init_symbols_once_early): Removed obsolete
9387 DATA_SEG_BITS related kludge.
9388 (defvar_magic): Ditto.
9390 * malloc.c: Removed obsolete DATA_SEG_BITS
9392 * mem-limits.h: Ditto.
9394 * Makefile.in.in: Removed obsolete HAVE_SHM
9397 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9399 * device-msw.c (mswindows_delete_device): Free DDE string
9402 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9404 * keymap.c (get_keyelt):
9405 * unexnt.c (unexec):
9406 * vm-limit.c (memory_warnings):
9407 * ntheap.c (recreate_heap):
9408 * ntheap.h (UNINIT_PTR):
9409 * select-msw.c (Fmswindows_get_clipboard):
9410 (Fmswindows_set_clipboard):
9411 * objects-msw.h (MSWINDOWS_BAD_HFONT):
9413 * menubar-msw.c (displayable_menu_item):
9415 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
9416 * sysdep.c (sys_subshell):
9417 * process-nt.c (nt_create_process):
9418 * nt.c (normalize_filename):
9419 (dostounix_filename):
9420 (unixtodos_filename):
9421 * ntproc.c (win32_executable_type):
9422 * ntplay.c (play_sound_data_1):
9424 * editfns.c (get_home_directory):
9425 * event-msw.c (struct winsock_stream):
9426 (mswindows_dde_callback):
9427 * device-msw.c (msprinter_init_device):
9428 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
9430 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
9431 mswindows_clear_toolbar were swapped!
9433 * objects-msw.c:(colormap_t):
9435 * emacs.c (struct standard_args): Fixed const jumble.
9437 * glyphs-widget.c (update_widget): Fixed comparison notation.
9439 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
9441 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
9442 __declspec(noreturn) syntax.
9444 2000-02-19 Martin Buchholz <martin@xemacs.org>
9446 * eldap.c (Fldap_open):
9447 (Fldap_search_basic):
9450 Use new coding system conversion macros.
9452 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9454 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
9456 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
9458 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
9459 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9461 * eldap.c (Qadd, Qreplace): New constant symbols
9462 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
9463 interruptions by XEmacs signals
9464 Remove unnecessary calls to slow_down_interrupts and
9466 (Fldap_search_basic): Renamed from Fldap_search_internal
9467 Added new optional parameter VERBOSE that triggers the
9468 display of progress messages
9469 Remove unnecessary calls to slow_down_interrupts and
9471 LDAP result code analysis rewritten
9472 (Fldap_add, Fldap_modify, Fldap_delete): New functions
9473 (syms_of_eldap): Define the new symbols and functions
9476 2000-02-17 Martin Buchholz <martin@xemacs.org>
9478 * realpath.c: Determine PATH_MAX maximally portably.
9480 * insdel.c (bytecount_to_charcount): Optimize.
9481 The function used to be optimized for entirely ASCII sequences.
9482 Now it is optimized for successive characters from the same
9483 charset. This also wins big for _mostly_ ASCII sequences.
9485 * fileio.c (Ffile_truename): convert return from realpath() using
9486 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
9487 - Rewrite GCPROing slightly.
9489 * sysdep.c (sys_open): Do filename conversion, like all other
9490 sys_* functions. Fixes bug:
9491 (let ((file-name-coding-system 'iso-8859-2))
9492 (write-region x y latin2-name))
9493 ==> writes filename using internal encoding.
9495 2000-02-18 Martin Buchholz <martin@xemacs.org>
9497 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
9498 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
9499 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
9500 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
9501 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
9502 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
9503 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
9504 (CONST_IF_NOT_DEBUG): Delete.
9505 * alloc.c (this_one_is_unmarkable): Delete.
9506 (mark_object): Don't check for this_one_is_unmarkable. Use the
9507 c_readonly flag instead.
9508 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
9510 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
9512 * event-msw.c (mswindows_drain_windows_queue):
9513 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
9514 away redundant repaint events.
9516 2000-02-17 Andy Piper <andy@xemacs.org>
9518 * redisplay.h: declare mark_redisplay_structs.
9520 * redisplay.c (redisplay_window):
9521 (redisplay_frame): don't check subwindows_state_changed.
9522 (mark_redisplay): mark gutters here.
9524 * glyphs.c: (instantiate_image_instantiator): always layout if we
9525 haven't done so already.
9526 (allocate_image_instance): don't mark as dirty.
9527 (update_subwindow): bind inhibit_quit.
9529 * gutter.c (mark_gutters): new function.
9531 * glyphs-x.c (x_update_widget): Always resize to get round a
9534 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
9535 breaking absolutely everything.
9537 * gutter.h: declare mark_gutters.
9539 2000-02-16 Martin Buchholz <martin@xemacs.org>
9541 * XEmacs 21.2.29 is released.
9543 2000-02-15 Olivier Galibert <galibert@pobox.com>
9545 * fns.c (size_bit_vector): Fix computation of the size.
9547 2000-02-15 Martin Buchholz <martin@xemacs.org>
9549 * *.[ch]: Change CONST to const globally.
9550 find -name '*.[ch]' | \
9551 xargs global-replace \
9552 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
9553 - Remove vestigial references to CONST_IS_LOSING
9555 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9557 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
9558 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
9559 events instead of dispatching them directly.
9560 (mswindows_handle_paint): New function to do repainting.
9561 (mswindows_wnd_proc):
9562 (emacs_mswindows_handle_magic_event): Call above function.
9564 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
9566 * objects-msw.c (mswindows_create_font_variant): Return the new
9568 (initialize_font_instance): Get font metrics from the underlined
9569 variant of the font to cope with the case where the underlined
9570 font has a bigger descent.
9572 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9574 * gui.c (gui_item_accelerator): Return the first underlined
9575 character in item name.
9577 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9579 * lisp.h: Added Qprinter.
9581 * general.c (syms_of_general): Initialized it.
9583 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
9585 (get_frame_compdc): Made inline.
9587 * console.h (struct console_methods): Added eject_page method.
9589 * frame.h: Added FRAME_DISPLAY_P and friends.
9590 Aligned backslahes in many macros in more readable fashion.
9591 Added page_number to struct frame, and an accessor macro
9594 * defice.h: Added DEVICE_DISPLAY_P and friends.
9596 * device.c (Fdevice_printer_p): Used these.
9598 * frame.c (allocate_frame_core): Initialize page number.
9599 (Fprint_job_page_number):
9600 (Fprint_job_eject_page): Implemented.
9602 * frame-msw.c (msprinter_eject_page): Added method.
9603 (msprinter_start_page): Added.
9605 * window.c (Fwindow_truncated_p): Fixed docstring.
9606 (Fwindow_last_line_visible_height): Implemented.
9608 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9610 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
9612 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
9614 * syntax.c (scan_words): Always advance at least one character.
9616 2000-02-13 Andy Piper <andy@xemacs.org>
9618 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
9619 to make sure the glyph is in the cachels.
9621 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
9622 global image instance flag.
9623 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
9624 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
9626 * glyphs.c (allocate_image_instance): set dirty bits correctly.
9627 (Fset_image_instance_property): mark layout as changed.
9628 (invalidate_glyph_geometry_maybe): mark layout as changed.
9629 (glyph_width): use new NEEDS_LAYOUT macro.
9630 (glyph_ascent): ditto.
9631 (glyph_descent): ditto.
9632 (glyph_height): ditto.
9633 (image_instance_layout): mark layout as clean after laying out.
9634 (update_subwindow): don't mark layout as clean here.
9636 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
9637 should no longer be needed.
9639 * glyphs-x.c (x_update_widget): sanitize asserts.
9640 (x_finalize_image_instance): sanitize assignment to widgets.
9642 * glyphs-widget.c (widget_instantiate): don't need to clear the
9645 2000-02-13 Martin Buchholz <martin@xemacs.org>
9647 * sysdep.c (getcwd): Use standard prototype.
9648 * sysdep.h (getcwd): Use standard prototype.
9650 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
9651 (sequence, start, end).
9652 Remove redundant type checking.
9653 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
9654 view of `caller-protects') to avoid a crash where the real fix was
9657 2000-02-12 Martin Buchholz <martin@xemacs.org>
9659 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
9661 * s/sol2.h: Remove feature macro initialization.
9663 * alloc.c (alloc_lcrecord): Add more type checking assertions.
9664 (vector_hash): New. Code from internal_hash.
9666 Fix up allocation subsystem comments.
9668 * config.h.in: Add __EXTENSIONS__ for Solaris.
9670 * systime.h (EMACS_GETTIMEOFDAY): New.
9671 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
9672 Remove Solaris-specific code.
9673 Use void* for the (ignored) second arg for gettimeofday().
9675 * elhash.c (hash_table_hash): Implement it, finally.
9676 * elhash.c: Use hashcode_t.
9678 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
9679 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
9681 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
9682 * fns.c (size_bit_vector):
9683 * alloc.c (size_vector):
9684 (make_vector_internal):
9685 (make_bit_vector_internal):
9686 (sweep_bit_vectors_1):
9687 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
9689 2000-02-10 Martin Buchholz <martin@xemacs.org>
9691 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
9692 Include strings.h to avoid warnings for bzero and strcasecmp.
9694 2000-02-10 Olivier Galibert <galibert@pobox.com>
9696 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
9697 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
9699 * fns.c (size_bit_vector): New. Declare bit vectors as a
9702 2000-02-10 Olivier Galibert <galibert@pobox.com>
9704 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
9705 use a value field instead.
9706 (symbol_value_forward_forward): Use value field.
9707 (DEFVAR_SYMVAL_FWD): Use value field.
9708 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
9709 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
9710 (DEFVAR_CONST_INT): Ditto.
9711 (DEFVAR_BOOL): Ditto.
9712 (DEFVAR_CONST_BOOL): Ditto.
9713 (DEFVAR_INT_MAGIC): Ditto.
9714 (DEFVAR_BOOL_MAGIC): Ditto.
9716 * symbols.c (guts_of_unbound_marker): Use value field.
9717 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
9718 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
9720 * lisp.h: Declare dumpopaque and noninteractive1.
9722 * alloc.c (dumpopaque): Added.
9723 (pdump_dump_opaquevec): Added.
9724 (pdump): Call pdump_dump_opaquevec to dump opaque data.
9725 (pdump_load): Reload opaque data. Sync noninteractive1 with
9728 2000-02-10 Andy Piper <andy@xemacs.org>
9730 * glyphs.c (image_instance_layout): if the size changes, mark it
9733 * redisplay-output.c (redisplay_output_layout): Update the
9735 (redisplay_output_subwindow): ditto.
9737 * glyphs.c (update_subwindow): make sure we reset flags for
9738 layouts as well as everything else.
9740 * glyphs-widget.c (layout_layout): don't need to set the instances
9743 2000-02-09 Martin Buchholz <martin@xemacs.org>
9745 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
9746 not HAVE_DLOPEN, which is a lower-level thing.
9748 * .cvsignore: Ignore gmon.out
9750 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
9752 * .cvsignore: Ignore portable dumper xemacs.dmp file
9754 2000-02-09 Andy Piper <andy@xemacs.org>
9756 * redisplay-output.c (redisplay_output_layout): be more clever
9757 about when we output based on the changed flags.
9759 * glyphs.h (struct image_instantiator_methods): add update_method.
9760 (struct Lisp_Image_Instance): add changed flags. Declare new
9761 macros for manipulating them.
9763 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
9764 (image_instance_parent_glyph): find an image_instance's parent
9765 glyph or image_instance.
9766 (image_instance_layout): mark the size as changed.
9767 (set_image_instance_dirty_p): new function. mark an image
9768 instance, plus all of its parents, as dirty.
9769 (Fset_image_instance_property): use it.
9770 (Fglyph_animated_timeout_handler): use it.
9771 (update_subwindow): call update_widget and device methods for
9772 update_subwindow. Mark all changed flags as clean.
9773 (Fresize_subwindow): mark size as changed.
9775 * glyphs-x.c (x_finalize_image_instance): try and detect gc
9777 (x_update_subwindow): only resize subwindows here.
9778 (x_update_widget): new function. Update all changed properties of
9780 (x_resize_subwindow): deleted.
9781 (x_widget_set_property): deleted.
9782 (x_progress_gauge_set_property): deleted.
9783 (x_progress_gauge_update): new function. Implement recorded
9785 (x_tab_control_update): ditto.
9786 (x_tab_control_set_property): deleted.
9787 (console_type_create_glyphs_x): declare new functions.
9788 (image_instantiator_format_create_glyphs_x): ditto.
9790 * glyphs-widget.c (widget_set_property): mark text changed.
9791 (update_widget): new function. Update properties of a widget.
9792 (widget_instantiate): for layouts make sure we set their
9793 children's parent correctly.
9794 (tab_control_set_property): new function. Record changes that will
9795 take place under redisplay's control.
9796 (progress_gauge_set_property): ditto.
9797 (image_instantiator_progress_guage): declare new functions.
9798 (image_instantiator_tab_control): ditto.
9800 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
9802 (mswindows_update_widget): new function. Update all properties on
9803 a widget that have changed.
9804 (mswindows_button_update): new function. Update a button's set
9806 (mswindows_tab_control_update): new function. Update the items in
9808 (mswindows_tab_control_set_property): deleted.
9809 (mswindows_progress_gauge_update): new function. Update the
9810 progress gauge's progress.
9811 (mswindows_widget_set_property): deleted. This is all done
9813 (mswindows_progress_gauge_set_property): ditto.
9814 (console_type_create_glyphs_mswindows): declare new methods.
9815 (image_instantiator_format_create_glyphs_mswindows): ditto.
9817 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
9818 (msprinter_set_frame_properties): ditto.
9820 * console.h (struct console_methods): Add update_widget_method.
9822 2000-02-09 Andy Piper <andy@xemacs.org>
9824 * gui-msw.c (Fmswindows_shell_execute): Make
9825 mswindows-shell-execute industrial strength.
9827 2000-02-08 Martin Buchholz <martin@xemacs.org>
9829 * lrecord.h: Make macro argument `props' match member function `plist'.
9833 * fns.c (Fobject_plist):
9836 Object property list frobbing cleanup.
9837 - Allow any lisp object (compared with `eq'), not just symbols, as
9838 keys in object plists.
9839 - Move symbol plist frobbing into symbols.c, where it belongs.
9840 - Move string plist frobbing into alloc.c, where it belongs.
9841 - Everything's an lrecord now, so no need to test for symbolp, etc.
9842 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
9844 * extents.c: Reorder code to remove declarations.
9846 * frame.h (store_in_alist): Remove useless declaration.
9848 2000-02-07 Martin Buchholz <martin@xemacs.org>
9850 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
9851 * config.h.in: Add HAVE_XCONVERTCASE.
9853 2000-02-07 Andy Piper <andy@xemacs.org>
9855 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
9856 it breaks many things.
9858 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
9860 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
9861 actually can start a common comment type.
9862 * src/syntax.h (SYNTAX_END_P): ditto for end.
9864 2000-02-07 Martin Buchholz <martin@xemacs.org>
9866 * XEmacs 21.2.28 is released.
9868 2000-02-06 Martin Buchholz <martin@xemacs.org>
9870 * event-Xt.c (x_keysym_to_character): New.
9871 (maybe_define_x_key_as_self_inserting_character): New.
9872 (x_has_keysym): New.
9873 Auto-define all keys on the keyboard as self-insert-key.
9875 2000-02-02 Martin Buchholz <martin@xemacs.org>
9877 * menubar.c (vars_of_menubar): A small code simplification.
9879 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
9886 Use consistent style for specifying X resources.
9888 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
9889 This makes (dontusethis-set-symbol-value-handler) actually usable.
9891 * lrecord.h (lrecord_decription_type):
9892 * alloc.c (pdump_register_sub):
9895 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
9896 Comply with XEmacs coding style.
9897 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
9898 args, and XD_LISP_OBJECT_ARRAY with 3 args.
9900 * keymap.c (Faccessible_keymaps):
9901 Make (accessible-keymaps map "\C-h") do the Right Thing.
9902 Make (accessible-keymaps map []) do the Right Thing.
9903 Make (accessible-keymaps map "") do the Right Thing.
9904 (check_keymap_definition_loop): New function.
9905 (keymap_store_internal): Keep luser from shooting self in foot,
9906 via (define-key ctl-x-4-map "p" global-map).
9907 Remove fullness slot from struct Lisp_Keymap, since hash tables
9909 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
9911 2000-01-30 Martin Buchholz <martin@xemacs.org>
9913 * redisplay.c (init_redisplay): Fix small memory leak.
9915 * elhash.c (pdump_reorganize_hash_table):
9916 Rename from reorganize_hash_table. Change prototype.
9917 Reuse the original memory for hentries. Save 100k.
9918 * alloc.c (PDUMP_READ): new macro.
9919 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
9920 * alloc.c: No need to #ifndef before #undef.
9922 * print.c: Allow debug_print() to print readably by modifying
9923 debug_print_readably. Use consistent variable names.
9925 * .dbxrc: Try to get things to work even if stopped in a function
9926 without source available by explicitly specifying source files.
9927 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9929 * unexnt.c (_start): Removed bogus code which caused loading heap
9930 from differrent executable file.
9931 Removed bogus assignment to _fmode, which caused inconsistencies.
9933 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9935 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
9936 Have spawnve encapsulation regard DONT_ENCAPSULATE.
9937 Do not preliminary `#define signal sigset'.
9939 * systime.h: Do not prototype environ on windows nt and cygwin,
9940 this conflicts with system header.
9942 * syssignal.h: Use correct define for WINDOWSNT
9944 * sysdep.h: Do not prototype environ on windows nt, this conflicts
9947 * sysdep.c (near start of file): Fixed commentary and rearranged
9948 ifdefs in readable order.
9949 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
9952 (end_of_data): Do not compile in if using PDUMP.
9954 * symsinit.h: Prototyped vars_of_nt().
9956 * ntproc.c (windows9x_p): Added, instead of os_subtype.
9957 (find_child_console): Use it.
9960 * ntheap.h: Do not extern os_subtype.
9962 * ntheap.c (cache_system_info): Do not cache unneeded:
9963 nt_major_version, nt_minor_version and os_subtype.
9964 (recreate_heap): Do not compile in when PDUMPing.
9966 * nt.c (geteuid and friends): Use the new varibale
9967 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
9968 (init_user_info): Removed the above mentioned hackery.
9969 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
9970 stat has been fixed in the C runtime.
9971 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
9973 * file-coding.c (struct file_coding_dump): Do not define
9974 ucs_to_mule_table in the struct if not MULE.
9975 (struct struct lrecord_description fcd_description_1): Do not dump
9978 * emacs.c (main_1): Call vars_of_nt().
9979 (right before Fdump_emacs_data): Don't need lastfile if using both
9980 portabe dumper and system malloc.
9982 * alloc.c (Fmemory_limit): Conditionalized out.
9983 (pdump): Use OPEN_BINARY for the portable dump file.
9984 (pdump_load): Ditto.
9986 2000-02-02 Mike Alexander <mta@arbortext.com>
9988 * nt.c (convert_time): Set tm_isdst before calling mktime and
9989 avoid calling it at all if the compiler supports 64 bit integers.
9990 Also initialize utc_base_ft before using it.
9992 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9994 * frame.c (change_frame_size_1): Take f->internal_border_width
9995 into consideration when calculating the width of the frame.
9997 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
9999 * window.c (frame_min_height):
10000 (frame_size_valid_p):
10001 (frame_pixsize_valid_p): Added.
10002 (check_frame_size): Generalized.
10004 * window.h: Prototyped the above.
10007 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
10008 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
10009 Deleted Vwin32_* and Vbinary_process_* unused variables.
10011 * device-msw.c (msprinter_init_device): Do not get printer font
10012 list; Added DEVMODE functions.
10014 * frame-msw.c: Added lots of printer code.
10016 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
10019 * console-msw.h: Added more msprinter device private slots.
10021 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10023 * event-msw.c (key_needs_default_processing_p): Added.
10024 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
10026 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10028 * glyphs.c (image_instance_layout): Mark image instance as clean
10030 (glyph_dirty_p): Removed redundant function.
10031 (invalidate_glyph_geometry_maybe): Added.
10032 (update_glyph_cachel_data): Call it.
10034 * glyphs.h: Prototyped it.
10036 * redisplay.c (add_glyph_rune): Call it.
10037 (redisplay_window): Reset glyphs cachels when frame faces have
10038 changed, thus forcing recomputation of built-in border glyphs.
10040 2000-01-30 Martin Buchholz <martin@xemacs.org>
10042 * Makefile.in.in: Make portable dumper and purify play well together.
10043 Add imperfect, but better than nothing, support for pdump.
10044 Remove xemacs.dmp when temacs is re-generated.
10045 Don't ignore errors when dumping xemacs.
10047 * symbols.c (maybe_call_magic_handler): Remove one magic number.
10049 2000-01-28 Andy Piper <andy@xemacs.org>
10051 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
10052 (setup_normal_frame): ditto.
10053 (setup_frame_without_minibuffer): ditto.
10054 (setup_minibuffer_frame): ditto.
10055 (delete_frame_internal): ditto.
10056 (Fmake_frame_invisible): ditto.
10057 (Ficonify_frame): ditto.
10059 * window.h: change Fset_window_buffer signature.
10061 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
10062 (Fset_window_buffer): allow recording of buffer if the window is
10063 the selected window.
10064 (window_loop): Use new Fset_window signature.
10066 2000-01-23 Daniel Pittman <daniel@danann.net>
10068 * config.h.in: Added template for `HAVE_ATHENA_3D'
10070 2000-01-29 Andy Piper <andy@xemacs.org>
10072 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
10074 * gutter.c (output_gutter): Don't output if the window isn't live.
10076 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10078 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
10079 of 01/12/00: Moved SetFocus back here where it belongs.
10081 2000-01-23 Andy Piper <andy@xemacs.org>
10083 * s/cygwin32.h: declare printer things.
10085 2000-01-26 Andy Piper <andy@xemacs.org>
10087 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
10090 2000-01-24 Andy Piper <andy@xemacs.org>
10092 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
10093 (mswindows_button_instantiate): Make sure glyph is a pixmap.
10095 * glyphs-widget.c (widget_instantiate): Avoid shadows.
10097 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
10099 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
10101 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
10102 (mswindows_output_display_block): Avoid local shadows.
10104 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
10105 (mswindows_enqueue_mouse_button_event): ditto.
10106 (mswindows_handle_gui_wm_command): remove declaration.
10108 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
10111 * console-msw.h: Avoid shadows.
10112 (mswindows_get_toolbar_button_text):
10113 (emacs_mswindows_create_stream_pair):
10114 (emacs_mswindows_delete_stream_pair):
10115 (mswindows_handle_toolbar_wm_command): declare.
10117 * device-msw.c (build_syscolor_string): Avoid shadows.
10119 2000-01-23 Andy Piper <andy@xemacs.org>
10121 * glyphs-widget.c (widget_instantiate): reverse the items for
10122 layouts so that children are in the expected order.
10124 2000-01-28 Martin Buchholz <martin@xemacs.org>
10126 * ralloc.c: safe_bcopy ==> memmove
10127 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
10128 * s/msdos.h: Remove BCOPY macros.
10129 * insdel.c (gap_right): Remove BCOPY conditional code.
10130 * insdel.c (gap_left): Remove BCOPY conditional code.
10131 XEmacs demands a working ANSI C compiler - hence memmove.
10133 * regex.c (regex_compile): Remove accidental use of trigraphs.
10135 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10137 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
10140 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10142 * event-msw.c (mswindows_drain_windows_queue): Added the
10144 (mswindows_need_event): Commented the call to
10145 mswindows_drain_windows_queue().
10146 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
10149 * console-msw.h: Moved a few function prototypes here from
10152 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
10153 parameter from unsigned short to unsigned long.
10154 (Fmswindows_shell_execute): Added return value.
10156 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10158 * sysdep.c (init_system_name):
10159 process-unix.c (unix_canonicalized_host_name):
10160 Don't call freeaddrinfo() if getaddrinfo() fails.
10162 * process-unix.c (unix_open_unix_network_stream):
10163 Moved the code to get a port # into address loop.
10165 2000-01-27 Martin Buchholz <martin@xemacs.org>
10167 * buffer.c (reinit_vars_of_buffer):
10168 The right place to initialize conversion_in_dynarr and
10169 conversion_out_dynarr.
10171 * alloc.c (pdump): Use the real open() till sys_open() is functional.
10173 * process-unix.c (unix_canonicalize_host_name): Muleize.
10174 (unix_open_network_stream): Muleize.
10176 * buffer.h: Fix up prototypes for ralloc.c functions.
10178 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
10179 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
10180 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
10181 instead of gethostbyname()
10182 * process-unix.c: In unix_canonicalize_host_name() and
10183 unix_open_network_stream(), add code to use getaddrinfo()
10184 instead of gethostbyname().
10186 2000-01-27 Daniel Pittman <daniel@danann.net>
10188 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
10189 libs when built with flat Athena.
10191 2000-01-27 Martin Buchholz <martin@xemacs.org>
10193 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
10194 Use coding standards for function prototypes.
10196 2000-01-25 Martin Buchholz <martin@xemacs.org>
10198 * dialog-msw.c (push_lisp_string_as_unicode):
10199 * doc.c (unparesseuxify_doc_string):
10200 * dired.c (Fuser_name_completion_1):
10201 * dired.c (Fuser_name_all_completions):
10202 * dired.c (free_user_cache):
10203 * dired.c (user_name_completion):
10204 * console-x.c (get_display_arg_connection):
10205 * minibuf.c (clear_echo_area_internal):
10206 * minibuf.c (echo_area_append):
10207 * eldap.c (Fldap_open):
10208 * eldap.c (Fldap_search_internal):
10209 * frame-x.c (x_set_frame_text_value):
10210 * frame-x.c (x_set_frame_properties):
10211 * frame-x.c (x_create_widgets):
10212 * redisplay-tty.c (term_get_fkeys_1):
10213 * objects-x.c (x_parse_nearest_color):
10214 * objects-x.c (x_valid_color_name_p):
10215 * objects-x.c (x_initialize_font_instance):
10216 * objects-x.c (x_list_fonts):
10217 * objects-x.c (x_find_charset_font):
10218 * tooltalk.c (Fadd_tooltalk_message_arg):
10219 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10220 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10221 * process-unix.c (unix_create_process):
10222 * ntproc.c (sys_spawnve):
10223 * sound.c (Fplay_sound_file):
10224 * sound.c (Fplay_sound):
10225 * buffer.c (init_initial_directory):
10226 * buffer.c (init_buffer):
10227 * editfns.c (init_editfns):
10228 * editfns.c (Ftemp_directory):
10229 * editfns.c (Fuser_full_name):
10230 * editfns.c (uncache_home_directory):
10231 * editfns.c (get_home_directory):
10232 * editfns.c (Fuser_home_directory):
10233 * editfns.c (Fformat_time_string):
10234 * editfns.c (Fcurrent_time_string):
10235 * gui-x.c (button_item_to_widget_value):
10236 * database.c (Fopen_database):
10237 * event-Xt.c (x_to_emacs_keysym):
10238 * event-Xt.c (x_event_to_emacs_event):
10239 * event-Xt.c (describe_event_window):
10240 * event-msw.c (mswindows_wnd_proc):
10241 * glyphs-eimage.c (jpeg_instantiate):
10242 * glyphs-eimage.c (gif_instantiate):
10243 * glyphs-eimage.c (png_instantiate):
10244 * glyphs-eimage.c (tiff_instantiate):
10245 * glyphs-x.c (xbm_instantiate_1):
10246 * glyphs-x.c (x_xbm_instantiate):
10247 * glyphs-x.c (x_xface_instantiate):
10248 * glyphs-x.c (autodetect_instantiate):
10249 * glyphs-x.c (cursor_font_instantiate):
10250 * glyphs-x.c (x_widget_instantiate):
10251 * glyphs-x.c (x_widget_set_property):
10252 * glyphs-x.c (x_widget_property):
10253 * glyphs-x.c (BUILD_GLYPH_INST):
10254 * print.c (write_string_to_stdio_stream):
10255 * print.c (output_string):
10256 * print.c (Falternate_debugging_output):
10257 * print.c (Fexternal_debugging_output):
10258 * glyphs-msw.c (extract_xpm_color_names):
10259 * glyphs-msw.c (mswindows_xpm_instantiate):
10260 * glyphs-msw.c (bmp_instantiate):
10261 * glyphs-msw.c (resource_name_to_resource):
10262 * glyphs-msw.c (mswindows_resource_instantiate):
10263 * glyphs-msw.c (xbm_instantiate_1):
10264 * glyphs-msw.c (mswindows_xbm_instantiate):
10265 * glyphs-msw.c (mswindows_xface_instantiate):
10266 * glyphs-msw.c (mswindows_widget_instantiate):
10267 * glyphs-msw.c (add_tree_item):
10268 * glyphs-msw.c (add_tab_item):
10269 * glyphs-msw.c (mswindows_combo_box_instantiate):
10270 * glyphs-msw.c (mswindows_widget_property):
10271 * glyphs-msw.c (mswindows_combo_box_property):
10272 * glyphs-msw.c (mswindows_widget_set_property):
10273 * console.c (stuff_buffered_input):
10274 * objects-msw.c (mswindows_initialize_color_instance):
10275 * objects-msw.c (mswindows_valid_color_name_p):
10276 * objects-msw.c (mswindows_list_fonts):
10277 * objects-msw.c (mswindows_font_instance_truename):
10278 * bytecode.c (optimize_compiled_function):
10279 * select-x.c (symbol_to_x_atom):
10280 * select-x.c (x_atom_to_symbol):
10281 * select-x.c (hack_motif_clipboard_selection):
10282 * select-x.c (selection_data_to_lisp_data):
10283 * select-x.c (lisp_data_to_selection_data):
10284 * select-x.c (Fx_get_cutbuffer_internal):
10285 * select-x.c (Fx_store_cutbuffer_internal):
10286 * buffer.h (TO_EXTERNAL_FORMAT): New function.
10287 * buffer.h (TO_INTERNAL_FORMAT): New function.
10288 * emacs.c (make_arg_list_1):
10289 * emacs.c (make_argc_argv):
10290 * emacs.c (main_1):
10291 * emacs.c (Fdump_emacs):
10292 * emacs.c (split_string_by_emchar_1):
10297 * device-x.c (x_init_device):
10298 * device-x.c (Fx_valid_keysym_name_p):
10299 * device-x.c (Fx_get_font_path):
10300 * device-x.c (Fx_set_font_path):
10301 * glyphs.c (bitmap_to_lisp_data):
10302 * glyphs.c (pixmap_to_lisp_data):
10303 * alloc.c (make_ext_string): Use coding system arguments. Update
10305 * alloc.c (build_string):
10306 * callproc.c (child_setup):
10307 * callproc.c (init_callproc):
10308 * fileio.c (lisp_strerror):
10309 * fileio.c (directory_file_name):
10310 * fileio.c (Fexpand_file_name):
10311 * fileio.c (Ffile_truename):
10312 * fileio.c (Fsysnetunam):
10313 * fileio.c (Fdo_auto_save):
10314 * sysdep.c (sys_readdir):
10315 * tests.c: New file. Allow adding C tests.
10316 Replace GET_* macros with a more comprehensible and flexible
10317 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
10319 Any coding system can be used to do format conversion.
10320 Eliminate enum external_data_format.
10321 Eliminate convert_to_external_format.
10322 Eliminate convert_to_internal_format.
10323 Make sure file-name, keyboard, terminal, and ctext are always
10324 defined as coding systems or aliases. Make
10325 file-name-coding-system, terminal-coding-system, and
10326 keyboard-coding-system magical variables that are equivalent to
10327 defining the corresponding coding system aliases.
10329 * file-coding.c (Fcoding_system_canonical_name_p): New function.
10330 * file-coding.c (Fcoding_system_alias_p): New function.
10331 * file-coding.c (Fcoding_system_aliasee): New function.
10332 * file-coding.c (append_suffix_to_symbol): New function.
10333 * file-coding.c (dangling_coding_system_alias_p): New function.
10334 * file-coding.c (Ffind_coding_system):
10335 * file-coding.c (Fcopy_coding_system):
10336 * file-coding.c (encode_coding_no_conversion):
10337 * file-coding.c (syms_of_file_coding):
10338 * file-coding.c (vars_of_file_coding):
10339 Rewrite coding system alias code.
10340 Allow nested aliases, like symbolic links.
10341 Allow redefinition of coding system aliases.
10342 Prevent existence of dangling coding system aliases.
10344 * dired.c (Fuser_name_completion_1):
10345 * dired.c (Fuser_name_all_completions):
10346 A crash would happen if user did QUIT in the middle of building
10347 user_name_cache. Remove redundant code in mainline and unwind_protect.
10350 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
10352 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
10353 an unsigned char *. Update all callers.
10355 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10357 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
10359 2000-01-25 Martin Buchholz <martin@xemacs.org>
10361 * elhash.c (hentry_description): Use more portable definition.
10362 (resize_hash_table): Initialize new hentries using
10363 xnew_array_and_zero, thereby simplifying the code.
10365 * mule-charset.c (make_charset): Make sure entire object is
10366 initialized, to avoid Purify warnings.
10368 * alloc.c (resize_string): Fix unlikely crash with big strings.
10370 2000-01-24 Martin Buchholz <martin@xemacs.org>
10372 * realpath.c (xrealpath):
10373 Don't call getwd().
10375 2000-01-25 Martin Buchholz <martin@xemacs.org>
10377 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
10379 1999-12-28 Max Matveev <max@melbourne.sgi.com>
10381 * unexelfsgi.c (unexec): Change the way we decide which segment
10382 should be extended.
10384 Assumption that .bss section should be outside the PT_LOADable
10385 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
10386 it's present) is inside the 'data' segment. This would fail the
10387 test which was used to find a segment to grow and cover new
10388 heap. Instead of this assumption, I created another one - on IRIX
10389 the segment to grow should start below .bss and it's address
10390 should extent above the end of .bss. Once this segment is
10391 identified, it's grown to accommodate the new heap and new
10392 zero-length .bss section is added at the end of .data2.
10394 2000-01-25 Martin Buchholz <martin@xemacs.org>
10396 * eval.c (Feval): Wrong number of arguments should use original
10397 function, not the indirect_function version of it.
10399 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10401 * glyphs-x.c (x_button_instantiate): Don't add image if
10402 it is not a pixmap.
10403 (x_locate_pixmap_file): Call Fexpand_file_name when file name
10406 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10408 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
10410 (DEFVAR_INT_MAGIC): Ditto.
10411 (DEFVAR_BOOL_MAGIC): Ditto.
10412 * glyphs.h: Reindent backslash.
10414 2000-01-24 Martin Buchholz <martin@xemacs.org>
10416 * glyphs-widget.c (layout_query_geometry):
10417 (layout_layout): Use correct types for gheight, gwidth.
10419 2000-01-24 Martin Buchholz <martin@xemacs.org>
10421 * EmacsManager.c (QueryGeometry): Purified.
10423 2000-01-23 Martin Buchholz <martin@xemacs.org>
10425 * alloc.c (make_float): Make sure entire object is initialized, to
10426 avoid Purify warnings.
10427 (pdump_register_sub): Remove useless assignment.
10428 (pdump): Use xmalloc, not malloc.
10429 (pdump_load): Use xmalloc, not malloc.
10431 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10438 * sysdep.c: Removed redundant #include <windows.h>
10440 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10442 * frame.c (delete_frame_internal): Do not delete device when its
10443 implementation so declares.
10444 (delete_frame_internal): Set device selected frame to nil when
10445 last frame goes away.
10447 * device-msw.c (msprinter_device_system_metrics): Implemented.
10448 (mswindows_device_system_metrics): Added 'device-dpi property.
10450 * device.c: (Fdevice_printer_p): Added.
10451 Added 'offset-workspace device metric.
10453 * console.h (device_metrics): Declared DM_offset_workspace.
10455 2000-01-23 Martin Buchholz <martin@xemacs.org>
10457 * fileio.c (Ffile_truename): Remove pointless and confusing
10458 initialization of elen.
10460 * glyphs-widget.c: Compiler warning fixes.
10462 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
10464 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
10465 instead of a Lisp_Object as argument to make it consistent with
10466 the other LIVE_P macros.
10467 (CHECK_LIVE_PROCESS): New macro.
10469 * process.c: Declare Qprocess_live_p.
10470 (Fprocess_live_p): New function.
10471 (create_process): Use PROCESS_LIVE_P.
10472 (read_process_output): Ditto.
10473 (set_process_filter): Ditto.
10474 (Fdelete_process): Ditto.
10475 (kill_buffer_processes): Ditto
10476 (process_send_signal): Use CHECK_LIVE_PROCESS.
10477 (Fprocess_input_coding_system): Check whether process is still
10478 alive (fix PR#1061).
10479 (Fprocess_output_coding_system): Ditto.
10480 (Fprocess_coding_system): Ditto.
10481 (Fset_process_input_coding_system): Ditto.
10482 (Fset_process_output_coding_system): Ditto.
10484 2000-01-23 Andy Piper <andy@xemacs.org>
10486 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
10489 * glyphs.c (mark_image_instance): take into account changed
10490 image_instance format.
10491 (image_instance_equal): ditto.
10492 (image_instance_hash): ditto.
10494 * glyphs-widget.c (widget_instantiate): Incorporate layout
10495 instantiation here. Delay layout of the layout until later.
10496 (layout_instantiate): deleted.
10497 (layout_query_geometry): new function. get the geometry of a
10499 (layout_layout): layout a layout dynamically.
10500 (image_instantiator_widget): New function - splitting up
10501 image_instantiator_format_create_glyphs_widget for netwinder
10503 (image_instantiator_buttons):
10504 (image_instantiator_edit_fields):
10505 (image_instantiator_combo_box):
10506 (image_instantiator_scrollbar):
10507 (image_instantiator_progress_guage):
10508 (image_instantiator_tree_view):
10509 (image_instantiator_tab_control):
10510 (image_instantiator_labels):
10511 (image_instantiator_layout): ditto.
10512 (image_instantiator_format_create_glyphs_widget): Call preceding
10515 2000-01-22 Martin Buchholz <martin@xemacs.org>
10517 * process.c (Fset_process_coding_system):
10518 * device-x.c (Fx_keysym_hash_table):
10521 * lstream.c (Lstream_write): Return documented value, not 0.
10523 * fileio.c (directory_file_name):
10524 (Fsubstitute_in_file_name):
10525 (Fsubstitute_insert_file_contents_internal):
10526 (Fwrite_region_internal):
10531 Remove vestigial APOLLO-conditional code.
10533 2000-01-21 Martin Buchholz <martin@xemacs.org>
10535 * getpagesize.h: Add guard macros.
10536 * libsst.h: Add guard macros.
10537 * libst.h: Add guard macros.
10538 * line-number.h: Add guard macros.
10539 * ndir.h: Add guard macros.
10540 * sysfloat.h: Add guard macros.
10541 * sysfile.h: Add guard macros.
10542 * sysproc.h: Add guard macros.
10543 * syswait.h: Add guard macros.
10544 * xintrinsic.h: Add guard macros.
10545 * xintrinsicp.h: Add guard macros.
10546 * xmmanager.h: Add guard macros.
10547 * xmmanagerp.h: Add guard macros.
10548 * xmprimitive.h: Add guard macros.
10549 * xmu.h: Add guard macros.
10550 * gpmevent.h: Add copyright statement. Add guard macros.
10551 * miscplay.h: Add guard macros.
10552 * *.h: Use consistent C-standards-approved guard macro names.
10554 * opaque.c (make_opaque): Switch parameter order.
10555 * opaque.h (make_opaque): Switch parameter order.
10556 Update all callers.
10557 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
10559 * config.h.in (type_checking_assert): Added.
10560 (bufpos_checking_assert): Added.
10562 2000-01-21 Martin Buchholz <martin@xemacs.org>
10564 * alloc.c: Harmless pdump changes.
10566 - spell alignment correctly.
10567 * sysdep.c: Use countof()
10569 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10571 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
10572 initially_selected_for_input() console method, default to 0.
10573 (semi_canonicalize_console_connection): Try to delegate to
10574 canonicalize_console_connection if no such console method.
10575 (canonicalize_console_connection): Vice versa.
10576 (print_console): Do not print nil connection.
10578 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
10579 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
10580 (XDEVIMPF_FRAMELESS_OK): Added.
10581 (CONSOLE_INHERITS_METHOD): Added.
10583 * console-msw.c (mswindows_canonicalize_console_connection):
10585 (mswindows_canonicalize_device_connection): Added.
10587 * console-msw.h (struct msprinter_device): Added this struct and
10589 (mswindows_device): Made fontlist a lisp object.
10591 * device.c (semi_canonicalize_device_connection): Try to delegate
10592 to canonicalize_device_connection if no such console method.
10593 (canonicalize_device_connection): Vice versa.
10594 (print_device): Do not print nil connection.
10596 * device-msw.c (mswindows_init_device): Call InitCommonControls
10598 (mswindows_delete_device): Removed fontlist deallocation.
10599 (mswindows_mark_device): Added.
10601 * events.c (event_equal): Added abort() at unreached code.
10602 (event_hash): Ditto.
10604 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
10605 fallback tags of Windows devices.
10607 * general.c (syms_of_general): Initialized Qmsprinter.
10609 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
10610 of fallback tags of Windows devices.
10612 * lisp.h: Declared Qmsprinter.
10614 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
10616 (mswindows_list_fonts): Ditto.
10617 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
10618 that it can be used by both mswindows and msprinter devices.
10619 (initialize_font_instance): Added.
10620 (mswindows_initialize_font_instance): Use it.
10621 (msprinter_initialize_font_instance): Added.
10623 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
10624 and implementation flags check.
10625 (redisplay_without_hooks): Changed the call to the above.
10626 (Fredraw_device): Ditto.
10627 (Fredisplay_device): Ditto.
10629 * redisplay-msw.c (get_frame_dc): Implemented.
10630 (get_frame_compdc): Implemented.
10631 (many functions): Use the two functions above to get device
10632 contexts, ether for a window or a printer.
10634 2000-01-21 Olivier Galibert <galibert@pobox.com>
10636 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
10637 initialization here.
10638 (init_symbols_once_early): Call it.
10639 * emacs.c (main_1): Call it.
10640 * symsinit.h: Declare it.
10642 2000-01-19 Olivier Galibert <galibert@pobox.com>
10644 * alloc.c: Use a lrecord_header * in the backtrace instead of a
10646 (pdump_backtrace): Ditto.
10647 (pdump_register_object): Ditto. Cleanup use of the pointers.
10648 (pdump_get_entry): Abort if trying to register a null pointer.
10649 (pdump_dump_data): Cleanup types when relocating.
10650 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
10651 (pdump_dump_rtables): Remove bad casts.
10652 (pdump_load): Cleanup relocation w.r.t union type. Use a
10653 Lisp_Object instead of a EMACS_INT for the hashtable
10656 2000-01-20 Martin Buchholz <martin@xemacs.org>
10658 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
10660 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
10662 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
10664 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
10666 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10668 * faces.h (FACE_STRIKETHRU_P): Added.
10670 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
10673 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
10674 (mswindows_set_dc_font): New function, aware of font variants,
10675 separated from mswindows_update_dc.
10677 * objects-msw.h (struct mswindows_font_instance_data): Added
10680 * objects-msw.c (mswindows_finalize_font_instance): Delete all
10681 cached fonts and the data structure.
10682 (mswindows_initialize_font_instance): Added creation of font data
10684 (mswindows_print_font_instance): Print at least something.
10685 (mswindows_create_font_variant): Implemented.
10686 (mswindows_get_hfont): Implemented.
10688 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
10690 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
10691 prototyping problem with msvc.
10693 * emacs.c (main_1): added syms_of_gui_mswindows() call
10695 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
10696 syms_of_gui_mswindows() function
10698 * symsinit.h: added the prototype for syms_of_gui_mswindows()
10700 2000-01-18 Martin Buchholz <martin@xemacs.org>
10702 * XEmacs 21.2.27 is released.
10704 2000-01-18 Martin Buchholz <martin@xemacs.org>
10706 * glyphs-eimage.c (struct tiff_error_struct):
10708 (tiff_warning_func):
10709 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
10714 * unexec.c: Remove vestigial Lucid C code.
10718 * libsst.c: Ansify.
10719 Remove declarations of errno and strerror().
10721 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
10723 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
10725 2000-01-16 Martin Buchholz <martin@xemacs.org>
10727 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
10730 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10735 Change enum eol_type to eol_type_t.
10737 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10739 * gui.c (get_gui_callback): Check cons before accessing car.
10741 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10743 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
10744 (XSETSPECIFIER_TYPE): Ditto.
10746 2000-01-17 Didier Verna <didier@xemacs.org>
10748 * redisplay.c (generate_fstring_runes): compute string size in
10749 characters, not bytes.
10751 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10753 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
10755 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
10757 * print.c (print_error_message): Call print_prepare().
10759 2000-01-14 Martin Buchholz <martin@xemacs.org>
10761 * .dbxrc: Renamed from dbxrc.
10763 * events.c (event_to_character):
10764 Use `assert (foo)' instead of `if (!foo) abort()'
10766 * .gdbinit (xtype): Add documentation.
10767 * .gdbinit (check-temacs): New function.
10768 * .gdbinit (check-xemacs): New function.
10769 * dbxrc (check-xemacs): New function.
10770 * dbxrc (check-xemacs): New function.
10772 2000-01-14 Andy Piper <andy@xemacs.org>
10774 * glyphs-widget.c (widget_query_geometry): Make sure that we
10775 calculate default dimensions correctly.
10777 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10779 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
10781 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
10782 pdump_wire'd variable.
10784 * emacs.c: (main_1): Conditionalized calls to
10785 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
10787 2000-01-13 Martin Buchholz <martin@xemacs.org>
10789 * window.c (Fset_window_configuration):
10790 * sysdep.c (_start):
10791 * input-method-motif.c (res):
10792 * event-Xt.c (Xt_process_to_emacs_event):
10793 Simple compiler warning fixes.
10795 * bytecode.c (funcall_compiled_function): Use the original
10796 function symbol on the backtrace list in preference to the
10797 compiled_function object in error messages.
10799 2000-01-13 Andy Piper <andy@xemacs.org>
10801 * glyphs-x.c (update_widget_face): Make sure we update the widget
10802 background as well as foreground.
10804 2000-01-13 Andy Piper <andy@xemacs.org>
10806 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
10807 fields to subwindow.
10808 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
10809 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
10810 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10811 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
10813 * glyphs-widget.c (check_valid_tab_orientation): new function.
10814 (initialize_widget_image_instance): zero orientation and
10816 (widget_instantiate): pick up orientation.
10817 (tab_control_query_geometry): return appropriate values for
10820 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
10821 appropriate creation flags for left, right and bottom tabs.
10823 * s/cygwin32.h: add tab definitions.
10825 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10827 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
10828 frame upon hiding a subwindow.
10829 (mswindows_button_instantiate): Changed the push button style to
10831 (mswindows_button_instantiate): Removed button BS_NOTIFY
10833 (mswindows_button_instantiate): Removed redundant check for
10834 a disabled gui item.
10835 (mswindows_button_instantiate): Made use of WS_TABSTOP
10836 consistent: "operable" controls (edit, button, tree, scroll) have
10837 this style, "display-only" ones (static, progress gauge) do
10838 not. This style is currently ignored by XEmacs though. Also,
10839 removed the WS_EX_CONTROLPARENT style - it is not for children,
10840 it is for their parents!
10841 (mswindows_edit_field_instantiate): Ditto.
10842 (mswindows_progress_gauge_instantiate): Ditto.
10843 (mswindows_tree_view_instantiate): Ditto.
10844 (mswindows_tab_control_instantiate): Ditto.
10845 (mswindows_scrollbar_instantiate): Ditto.
10846 (mswindows_combo_box_instantiate): Ditto.
10847 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
10848 style to the "clip" window.
10849 (mswindows_button_instantiate): Removed compilation warning by
10850 equally typing terms of the ?: operator.
10852 2000-01-12 Didier Verna <didier@xemacs.org>
10854 * redisplay.c (generate_fstring_runes): new parameter holding the
10855 last modeline-format extent.
10856 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
10857 extent, fill the glyph block with it.
10858 (generate_fstring_runes): handle these parameters.
10859 (generate_formatted_string_db): ditto.
10861 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
10862 glyphs'extents in the modeline.
10864 1999-01-11 Mike Woolley <mike@bulsara.com>
10866 * ntheap.c: Reduced the reserved heap space from 1Gb down to
10867 256Mb, as a workaround for the non-starting problem many people
10870 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
10872 * console-tty.c (Fset_console_tty_output_coding_system):
10873 Force redrawing tty frame.
10875 2000-01-10 Didier Verna <didier@xemacs.org>
10877 * redisplay.c (generate_fstring_runes): fix size computation bug.
10879 2000-01-09 William M. Perry <wmperry@aventail.com>
10881 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
10883 2000-01-09 Andy Piper <andy@xemacs.org>
10885 * glyphs-msw.c: index -> i to avoid shadows.
10886 (xbm_create_bitmap_from_data): make static.
10887 (check_valid_string_or_int): deleted.
10888 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
10890 * glyphs-x.c (x_update_subwindow): remove unused args.
10892 * glyphs.c (glyph_image_instance): return the thing. Don't set the
10893 back pointer - this is done in allocate_image_instance.
10894 (query_string_font): return Qnil to make the compiler happy.
10895 (unmap_subwindow): set to ~0 to make the compiler happy.
10896 (glyph_query_geometry): comment out until used.
10897 (glyph_layout): ditto.
10899 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
10901 * insdel.c (signal_after_change): Remove extraneous unbind_to().