X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/c88a4992958ae9e968d53b47e36aa8c98f037c89..327719ee8a3fcdb36ed6acaf6d8cb5fbdf0bd801:/src/ChangeLog.22 diff --git a/src/ChangeLog.22 b/src/ChangeLog.22 index 32171d9363..a3dd57a6df 100644 --- a/src/ChangeLog.22 +++ b/src/ChangeLog.22 @@ -1,3 +1,213 @@ +2004-05-29 Kenichi Handa + + * xdisp.c (BUILD_GLYPH_STRINGS): Check if s is NULL. + (x_produce_glyphs): Fix setting of members of cmp in case + cmp->glyph_len is zero, + + * fontset.c (Fset_fontset_font): Docstring fixed. + (Ffontset_info): Make it backward compatible. New arg ALL. + +2004-05-11 Kim F. Storm + + * process.c (read_process_output): Grow decoding_buf when needed; + this could cause a crash in allocate_string and compact_small_strings. + +2004-04-29 Kenichi Handa + + * fileio.c (WRITE_BUF_SIZE): This macro deleted. + (e_write): Fix previous change. + +2004-04-28 Kenichi Handa + + * coding.c (setup_coding_system): Set coding->common_flags + correctly for raw-text. + (consume_chars): On encoding unibyte text by raw-text, don't check + multibyte form. + (encode_coding): On encoding by raw-text, never use translation + tables. + + * fileio.c (e_write): Short cut for the case of no encoding. + +2004-04-20 Kenichi Handa + + * coding.c (detect_coding): Delete unused variables. + (detect_coding_system): Likewise. + +2004-04-18 Kenichi Handa + + * coding.c (encode_coding_utf_8): Fix handling of raw-byte char. + (consume_chars): Fix handling of 8-bit bytes in unibyte source. + +2004-04-14 Kenichi Handa + + Sync all files to HEAD. + +2004-04-14 Kenichi Handa + + * coding.c (Ffind_coding_systems_region_internal): Include + raw-text and no-conversion in the result. + + * fontset.h: Sync to HEAD. + + * fontset.c: Sync to HEAD. + +2004-04-14 Kenichi Handa + + * fontset.c (find_font_encoding): Return `ascii' for unknown + encoding. + (load_font_get_repertory): Delete unnecessary check of ENCODING of + FONT_DEF. + (font_def_arg, add_arg, from_arg, to_arg): New args. + (set_fontset_font): Argument changed. + (Fset_fontset_font): Fix for the case that TARGET is a script + name and charset name. + (new_fontset_from_font_name): Fix argument to Fnew_fontset. + +2004-04-13 Kenichi Handa + + * fontset.c (fontset_font): Renamed from fontset_face. Return + value changed. + (face_suitable_for_char_p): Adjusted for the change of + fontset_font. + (face_for_char): Likewise. + (make_fontset_for_ascii_face): Fix setting of the fontset element + for ASCII. + (Finternal_char_font): Use fontset_font instead of FACE_FOR_CHAR + to get a font name. + (Ffontset_info): Adjusted for the change of fontset_font. + + * composite.c: Sync to HEAD. + + * search.c: Sync to HEAD. + + * coding.c: Sync to HEAD. + (emacs_mule_char): Check invalid code more regidly. + + * coding.h: Sync to HEAD. + + * charset.c: Sync to HEAD. + + * charset.h: Sync to HEAD. + + * character.h (LEADING_CODE_LATIN_1_MIN) + (LEADING_CODE_LATIN_1_MAX): Delete these macros. + +2004-04-08 Kenichi Handa + + * category.h: Sync to HEAD. + + * category.c: Sync to HEAD. + + * syntax.h: Sync to HEAD. + + * syntax.c: Sync to HEAD. + + * regex.h: Sync to HEAD. + + * regex.c: Sync to HEAD. + +2004-04-07 Kenichi Handa + + * editfns.c: Sync to HEAD. + (check_translation): New function. + (Ftranslate_region_internal): Handle M:N mapping. + +2004-04-06 Kenichi Handa + + * xfaces.c (xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE]. + +2004-03-30 Kenichi Handa + + * coding.c (DECODE_DESIGNATION): Set chars_96 to -1 instead of + goto invalid_code. + (decode_coding_iso_2022): Fix handling of invalid designation. + + * fileio.c (Finsert_file_contents): Be sure to call unbind_to + after calling code_conversion_save. + +2004-03-11 Kenichi Handa + + * xdisp.c (handle_auto_composed_prop): Fix Lisp_Object/int mixup. + + * print.c (print_prune_string_charset): Fix Lisp_Object/int mixup. + + * fontset.c: Include "intervals.h". + (fontset_face): Fix comparing of Lisp_Objects. + (free_face_fontset): Fix Lisp_Object/int mixup. + (new_fontset_from_font_name): Likewise. + + * editfns.c (Ftranslate_region_internal): Fix Lisp_Object/int mixup. + + * coding.c: Add many prototypes for static functions. + (get_translation_table): Allow max_lookup to be NULL. + (decode_coding): Call get_translation_table with max_lookup NULL. + (Ffind_coding_systems_region_internal): Likewise. + (Funencodable_char_position, Fcheck_coding_systems_region): + Likewise. + +2004-03-11 Kenichi Handa + + * coding.c (get_translation_table): Declare it as Lisp_Object. + (LOOKUP_TRANSLATION_TABLE): New macro. + (produce_chars): Use LOOKUP_TRANSLATION_TABLE instead of + CHAR_TABLE_REF. + (consume_chars): Likewise. + +2004-03-11 Kenichi Handa + + * coding.c (MAX_ANNOTATION_LENGTH): Adjusted for the change of + annotation data format. + (ADD_ANNOTATION_DATA, ADD_COMPOSITION_DATA, ADD_CHARSET_DATA): + Change arguments FROM and TO to single argument NCHARS. Caller + changed. + (decode_coding_utf_8): Pay attention to coding->charbuf_used. + (decode_coding_utf_16, decode_coding_emacs_mule) + (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) + (decode_coding_ccl, decode_coding_charset): Likewise. + (get_translation): New function. + (produce_chars): New arguments translation_table and last_block. + Translate characters here. Return number of carryover chars. + Caller changed. + (produce_composition): New argument pos. Caller changed. + Adjusted for the change of annotation data format. + (produce_charset, produce_annotation): Likewise. + (decode_coding, encode_coding): Don't call translate_chars. + (consume_chars): New arg translation_table. Caller changed. + (translate_chars): Deleted. + (syms_of_coding): Make translation-table's number of extra slots + 2. + +2004-03-09 Kenichi Handa + + * search.c (simple_search): Fix setting this_pos_byte in backward + search. + + * coding.c (detect_coding_emacs_mule): Fix counting of encoded + byte sequence. + (detect_coding_ccl): Fix setting of the variable valids. + +2004-03-04 Kenichi Handa + + * xterm.c (x_list_fonts): Fix the detection of an auto-scaled font. + + * coding.c (decode_coding_utf_16): Fix handling of surrogate pair. + + * editfns.c (Ftranslate_region_internal): Renamed from + Ftranslate_region. Accept a char-table in TABLE. + (syms_of_editfns): Defsubr Stranslate_region_internal. + + * xfaces.c (set_lface_from_font_name): If a font is specified for + a frame, generate a fontset from the font. + (build_scalable_font_name): If the scalable font is requested for + a specific size, don't change that size. + (try_font_list): Try a scalable font also in the case that a + pattern string is specified, + + +2004-03-03 Kenichi Handa + + * xfaces.c (Fface_font): New optional arg CHARACTER. + 2004-02-17 Kenichi Handa * charset.h (CHARSET_OFFSET): New macro. @@ -965,7 +1175,7 @@ * syntax.c (skip_chars, skip_syntaxes): Fix type errors. -2003-01-07 Kenichi Handa +2003-01-07 Kenichi Handa * xterm.c (x_new_font): Optimize for the case that the font is already set for the frame. @@ -1017,7 +1227,7 @@ adjusted. (CODING_ANNOTATE_CHARSET_MASK): New macro. -2003-01-06 Kenichi Handa +2003-01-06 Kenichi Handa * insdel.c (insert_from_gap): Fix argument to offset_intervals. @@ -1151,7 +1361,7 @@ * editfns.c (Finsert_byte): Return a proper value. -2002-10-14 Kenichi Handa +2002-10-14 Kenichi Handa * coding.c (decode_coding): Fix args to translate_chars. Pay attention to Vstandard_translation_table_for_decode. @@ -1250,7 +1460,7 @@ characters. (boyer_moore): Rename the last argument to char_high_bits. -2002-09-27 Kenichi Handa +2002-09-27 Kenichi Handa * xdisp.c (display_string): Fix for the case of zero width glyph. @@ -1264,15 +1474,15 @@ * xterm.c (x_new_fontset): If FONTSETNAME specifies the default fontset, return Qt. -2002-09-19 Kenichi Handa +2002-09-19 Kenichi Handa * regex.c (re_search_2): Fix previous change. -2002-09-18 Kenichi Handa +2002-09-18 Kenichi Handa * syntax.c (skip_syntaxes): Fix previous change. -2002-09-13 Kenichi Handa +2002-09-13 Kenichi Handa * syntax.c (skip_chars): Fix previous change. (skip_syntaxes): Fix previous change. @@ -1304,7 +1514,7 @@ * charset.h (charset_ordered_list_tick): Declare extern. -2002-09-03 Kenichi Handa +2002-09-03 Kenichi Handa The following changes (and some of 2002-08-20 changes of mine) are for handling syntax, category, and case conversion for unibyte @@ -1412,7 +1622,7 @@ (Fbackward_prefix_chars): Likewise. (scan_sexps_forward): Likewise. -2002-08-23 Kenichi Handa +2002-08-23 Kenichi Handa * xfaces.c (QCfontset): New variable. (LFACE_FONTSET): New macro. @@ -1431,7 +1641,7 @@ * fns.c (base64_encode_1): Handle eight-bit chars correctly. -2002-08-21 Kenichi Handa +2002-08-21 Kenichi Handa * coding.c (coding_set_destination): Fix coding->destination for the case converting a region. @@ -1445,7 +1655,7 @@ * fns.c (base64_decode_1): Insert eight-bit chars correctly. -2002-08-20 Kenichi Handa +2002-08-20 Kenichi Handa * xdisp.c (get_next_display_element): Don't display unibyte 8-bit characters by octal form. @@ -1478,7 +1688,7 @@ * search.c (Freplace_match): Fix for the unibyte case. -2002-08-19 Kenichi Handa +2002-08-19 Kenichi Handa * lread.c (safe_to_load_p): Fix the logic. @@ -1493,7 +1703,7 @@ * emacs.c (main): In the case of --unibyte, instead of aborting on finding non-empty buffer, make it unibyte. -2002-08-18 Kenichi Handa +2002-08-18 Kenichi Handa * xterm.c (x_new_fontset): Call `create-fontset-from-ascii-font' to create a fontset. @@ -1504,7 +1714,7 @@ * xfns.c [HAVE_STDLIB_H]: Fix last change. -2002-08-15 Kenichi Handa +2002-08-15 Kenichi Handa * fontset.c (fontset_add): Make the type `int'. (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined. @@ -1529,17 +1739,17 @@ * lisp.h (nonascii_insert_offset, Vnonascii_translation_table): Extern deleted. -2002-08-08 Kenichi Handa +2002-08-08 Kenichi Handa * coding.c (Fdefine_coding_system_internal): Fix category setting for a coding system of type iso-2022. -2002-08-02 Kenichi Handa +2002-08-02 Kenichi Handa * fontset.h (FS_LOAD_FONT): Call fs_load_font with the arg CHARSET -1. -2002-08-01 Kenichi Handa +2002-08-01 Kenichi Handa * syntax.c (Vnext_word_boundary_function_table): New variable. (syms_of_syntax): Declare it as a Lisp variable. @@ -1568,7 +1778,7 @@ (TIOCSIGSEND): Don't test IRIX6. (bcopy, bzero, bcmp): Define conditionally. -2002-07-31 Kenichi Handa +2002-07-31 Kenichi Handa * buffer.c (Qas, Qmake, Qto): New variables. (Fset_buffer_multibyte): New optional arg METHOD. Caller changed. @@ -1647,7 +1857,7 @@ * ccl.c: Remove `emacs' conditional. Include hash table stuff from trunk. -2002-07-26 Kenichi Handa +2002-07-26 Kenichi Handa The following changes are to allow specifying multiple font patterns for a character range (specified by script or charset). @@ -1759,7 +1969,7 @@ fontsets, create a new one. (x_get_font_repertory): New function. -2002-07-25 Kenichi Handa +2002-07-25 Kenichi Handa * coding.c (Ffind_coding_systems_region_internal): Detect an ASCII only string correctly. @@ -1767,7 +1977,7 @@ * lread.c (Fload): Don't load with Qload_force_doc_strings t if version is 0. -2002-07-24 Kenichi Handa +2002-07-24 Kenichi Handa * lread.c: Include "coding.h". (Qget_emacs_mule_file_char, Qload_force_doc_strings, @@ -1801,12 +2011,12 @@ (syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char and Qload_force_doc_strings. -2002-07-23 Kenichi Handa +2002-07-23 Kenichi Handa * xdisp.c (face_before_or_after_it_pos): Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. -2002-07-22 Kenichi Handa +2002-07-22 Kenichi Handa * character.h (TRAILING_CODE_P): New macro. (MAYBE_UNIFY_CHAR): Adjusted for the change of Funify_charset. @@ -1943,7 +2153,7 @@ (safe_to_load_p): If safe, return the magic number version byte. (Fload): Maybe use load-with-code-conversion. -2002-06-12 Kenichi Handa +2002-06-12 Kenichi Handa * category.c (Fmodify_category_entry): Don't modify the contents of category_set for characters out of the range. Avoid @@ -2007,7 +2217,7 @@ * Makefile.in (chartab.o): Depend on charset.h -2002-06-03 Kenichi Handa +2002-06-03 Kenichi Handa * character.c (syms_of_character): Set the default value of Vprintable_chars to Qnil. @@ -2016,7 +2226,7 @@ * Makefile.in (lisp, shortlisp): Change indian.elc to indian.el. -2002-05-31 Kenichi Handa +2002-05-31 Kenichi Handa * charset.c (load_charset_map): Handle the case that from < to correctly. @@ -2028,7 +2238,7 @@ (encode_coding_big5): Likewise. (encode_coding_charset): Likewise. -2002-05-30 Kenichi Handa +2002-05-30 Kenichi Handa * Makefile.in (lisp): Change chinese.elc to chinese.el. They are not bytecompiled now. @@ -2053,7 +2263,7 @@ (encode_coding_iso_2022): Change the 1st arg to ENCODE_ISO_CHARACTER to a variable. -2002-05-29 Kenichi Handa +2002-05-29 Kenichi Handa * charset.h (enum define_charset_arg_index): New enums charset_arg_min_code and charset_arg_max_code. @@ -2121,13 +2331,13 @@ * coding.c (Fdefine_coding_system_internal): Fix previous change. (decode_coding_charset): Workaround for the bug of GCC 2.96. -2002-05-23 Kenichi Handa +2002-05-23 Kenichi Handa * Makefile.in (lisp): Change cyrillic.elc to cyrillic.el, vietnamese.elc to vietnamese.el. They are not bytecompiled now. (shortlisp): Likewise. -2002-05-22 Kenichi Handa +2002-05-22 Kenichi Handa * coding.c (decode_coding_charset): Adjusted for the change of Fdefine_coding_system_internal. @@ -2137,7 +2347,7 @@ * charset.c (Fmake_char): Fix previous change. -2002-05-21 Kenichi Handa +2002-05-21 Kenichi Handa * coding.c (ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars. (emacs_mule_char): New arg src. Delete arg `composition'. Caller @@ -2162,7 +2372,7 @@ (Fmake_char): If CODE1 is nil, use the minimum code of the charset. -2002-05-20 Kenichi Handa +2002-05-20 Kenichi Handa * coding.c (encode_coding_iso_2022): If coding requires safe encoding, produce a character specified by @@ -2208,14 +2418,14 @@ * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics. -2002-05-16 Kenichi Handa +2002-05-16 Kenichi Handa * character.c (string_escape_byte8): Make multibyte string with correct size. * charset.c (Fmake_char): Delete unnecessary code. -2002-05-14 Kenichi Handa +2002-05-14 Kenichi Handa * xfns.c (x_encode_text): Allocate coding.destination here, and call encode_coding_object with dst_object Qnil. @@ -2249,7 +2459,7 @@ (Fdefine_coding_system_alias): Use names, not symbols, in coding-system-alist. -2002-05-13 Kenichi Handa +2002-05-13 Kenichi Handa * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead of calling free_realized_face. @@ -2262,7 +2472,7 @@ -1. (Fdecode_char): Fix typo. -2002-05-10 Kenichi Handa +2002-05-10 Kenichi Handa * charset.h (struct charset): New member `code_space_mask'. @@ -2291,12 +2501,12 @@ (Fset_terminal_coding_system_internal) (Fset_safe_terminal_coding_system_internal): Fix arg declarations. -2002-05-08 Kenichi Handa +2002-05-08 Kenichi Handa * coding.c (decode_coding_charset, encode_coding_charset): Handle multiple charsets correctly. -2002-05-07 Kenichi Handa +2002-05-07 Kenichi Handa * search.c (boyer_moore): Fix handling of mulitbyte character translation. @@ -2304,7 +2514,7 @@ * xdisp.c (display_mode_element): When the variable `elt' is changed, update `this' and `lisp_string'. -2002-05-07 Kenichi Handa +2002-05-07 Kenichi Handa * buffer.c (Fset_buffer_multibyte): Fix 8-bit char handling. @@ -2341,7 +2551,7 @@ * xfaces.c (try_font_list): Give higher priority to fontset's family than face's family. -2002-04-18 Kenichi Handa +2002-04-18 Kenichi Handa * callproc.c (Fcall_process): Be sure to give the current buffer to decode_coding_c_string. @@ -2349,19 +2559,19 @@ * xfaces.c (try_font_list): Give a family specified in a fontset higher priority than a family specified in a face. -2002-04-09 Kenichi Handa +2002-04-09 Kenichi Handa * fileio.c (Finsert_file_contents): Fix calculation of `inserted'. Fix arguments to insert_from_buffer. * xdisp.c (display_mode_element): Fix calculation of `bytepos'. -2002-03-11 Kenichi Handa +2002-03-11 Kenichi Handa * coding.c (produce_chars): Set the variable `multibytep' correctly. (decode_coding_gap): Set coding->dst_multibyte correctly. -2002-03-07 Kenichi Handa +2002-03-07 Kenichi Handa * coding.c (encode_coding_utf_8): Initialize produced_chars to 0. (decode_coding_utf_16): Fix converting high and low bytes to @@ -2375,7 +2585,7 @@ * insdel.c (insert_from_gap): Call record_insert. -2002-03-04 Kenichi Handa +2002-03-04 Kenichi Handa * casefiddle.c (casify_region): Fix multibyte case. @@ -2400,7 +2610,7 @@ * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number. -2002-03-01 Kenichi Handa +2002-03-01 Kenichi Handa The following changes are for using Unicode as an internal character model, and use UTF-8 format for buffer/string @@ -2688,3 +2898,5 @@ Copyright (C) 2002 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved. + +;;; arch-tag: 1bff38bd-2030-46ae-9d18-f15e6006b665