]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog.22
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-15
[gnu-emacs] / src / ChangeLog.22
index 32171d9363f9b6e22f79c635b827063c025acd03..a3dd57a6df92f7e21eeb6b1d6bfdc276df54d0df 100644 (file)
@@ -1,3 +1,213 @@
+2004-05-29  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <storm@cua.dk>
+
+       * 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  <handa@m17n.org>
+
+       * fileio.c (WRITE_BUF_SIZE): This macro deleted.
+       (e_write): Fix previous change.
+
+2004-04-28  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * coding.c (detect_coding): Delete unused variables.
+       (detect_coding_system): Likewise.
+
+2004-04-18  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       Sync all files to HEAD.
+
+2004-04-14  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * editfns.c: Sync to HEAD.
+       (check_translation): New function.
+       (Ftranslate_region_internal): Handle M:N mapping.
+
+2004-04-06  Kenichi Handa  <handa@m17n.org>
+
+       * xfaces.c (xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE].
+
+2004-03-30  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * 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  <handa@m17n.org>
+
+       * xfaces.c (Fface_font): New optional arg CHARACTER.
+
 2004-02-17  Kenichi Handa  <handa@m17n.org>
 
        * charset.h (CHARSET_OFFSET): New macro.
 
        * syntax.c (skip_chars, skip_syntaxes): Fix type errors.
 
-2003-01-07  Kenichi Handa  <handa@etl.go.jp>
+2003-01-07  Kenichi Handa  <handa@m17n.org>
 
        * xterm.c (x_new_font): Optimize for the case that the font is
        already set for the frame.
        adjusted.
        (CODING_ANNOTATE_CHARSET_MASK): New macro.
 
-2003-01-06  Kenichi Handa  <handa@etl.go.jp>
+2003-01-06  Kenichi Handa  <handa@m17n.org>
 
        * insdel.c (insert_from_gap): Fix argument to offset_intervals.
 
 
        * editfns.c (Finsert_byte): Return a proper value.
 
-2002-10-14  Kenichi Handa  <handa@etl.go.jp>
+2002-10-14  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (decode_coding): Fix args to translate_chars.  Pay
        attention to Vstandard_translation_table_for_decode.
        characters.
        (boyer_moore): Rename the last argument to char_high_bits.
 
-2002-09-27  Kenichi Handa  <handa@etl.go.jp>
+2002-09-27  Kenichi Handa  <handa@m17n.org>
 
        * xdisp.c (display_string): Fix for the case of zero width glyph.
 
        * xterm.c (x_new_fontset): If FONTSETNAME specifies the default
        fontset, return Qt.
 
-2002-09-19  Kenichi Handa  <handa@etl.go.jp>
+2002-09-19  Kenichi Handa  <handa@m17n.org>
 
        * regex.c (re_search_2): Fix previous change.
 
-2002-09-18  Kenichi Handa  <handa@etl.go.jp>
+2002-09-18  Kenichi Handa  <handa@m17n.org>
 
        * syntax.c (skip_syntaxes): Fix previous change.
 
-2002-09-13  Kenichi Handa  <handa@etl.go.jp>
+2002-09-13  Kenichi Handa  <handa@m17n.org>
 
        * syntax.c (skip_chars): Fix previous change.
        (skip_syntaxes): Fix previous change.
 
        * charset.h (charset_ordered_list_tick): Declare extern.
 
-2002-09-03  Kenichi Handa  <handa@etl.go.jp>
+2002-09-03  Kenichi Handa  <handa@m17n.org>
 
        The following changes (and some of 2002-08-20 changes of mine) are
        for handling syntax, category, and case conversion for unibyte
        (Fbackward_prefix_chars): Likewise.
        (scan_sexps_forward): Likewise.
 
-2002-08-23  Kenichi Handa  <handa@etl.go.jp>
+2002-08-23  Kenichi Handa  <handa@m17n.org>
 
        * xfaces.c (QCfontset): New variable.
        (LFACE_FONTSET): New macro.
 
        * fns.c (base64_encode_1): Handle eight-bit chars correctly.
 
-2002-08-21  Kenichi Handa  <handa@etl.go.jp>
+2002-08-21  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (coding_set_destination): Fix coding->destination for
        the case converting a region.
 
        * fns.c (base64_decode_1): Insert eight-bit chars correctly.
 
-2002-08-20  Kenichi Handa  <handa@etl.go.jp>
+2002-08-20  Kenichi Handa  <handa@m17n.org>
 
        * xdisp.c (get_next_display_element): Don't display unibyte 8-bit
        characters by octal form.
 
        * search.c (Freplace_match): Fix for the unibyte case.
 
-2002-08-19  Kenichi Handa  <handa@etl.go.jp>
+2002-08-19  Kenichi Handa  <handa@m17n.org>
 
        * lread.c (safe_to_load_p): Fix the logic.
 
        * emacs.c (main): In the case of --unibyte, instead of aborting on
        finding non-empty buffer, make it unibyte.
 
-2002-08-18  Kenichi Handa  <handa@etl.go.jp>
+2002-08-18  Kenichi Handa  <handa@m17n.org>
 
        * xterm.c (x_new_fontset): Call `create-fontset-from-ascii-font'
        to create a fontset.
 
        * xfns.c [HAVE_STDLIB_H]: Fix last change.
 
-2002-08-15  Kenichi Handa  <handa@etl.go.jp>
+2002-08-15  Kenichi Handa  <handa@m17n.org>
 
        * fontset.c (fontset_add): Make the type `int'.
        (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined.
        * lisp.h (nonascii_insert_offset, Vnonascii_translation_table):
        Extern deleted.
 
-2002-08-08  Kenichi Handa  <handa@etl.go.jp>
+2002-08-08  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (Fdefine_coding_system_internal): Fix category setting
        for a coding system of type iso-2022.
 
-2002-08-02  Kenichi Handa  <handa@etl.go.jp>
+2002-08-02  Kenichi Handa  <handa@m17n.org>
 
        * fontset.h (FS_LOAD_FONT): Call fs_load_font with the arg CHARSET
        -1.
 
-2002-08-01  Kenichi Handa  <handa@etl.go.jp>
+2002-08-01  Kenichi Handa  <handa@m17n.org>
 
        * syntax.c (Vnext_word_boundary_function_table): New variable.
        (syms_of_syntax): Declare it as a Lisp variable.
        (TIOCSIGSEND): Don't test IRIX6.
        (bcopy, bzero, bcmp): Define conditionally.
 
-2002-07-31  Kenichi Handa  <handa@etl.go.jp>
+2002-07-31  Kenichi Handa  <handa@m17n.org>
 
        * buffer.c (Qas, Qmake, Qto): New variables.
        (Fset_buffer_multibyte): New optional arg METHOD.  Caller changed.
        * ccl.c: Remove `emacs' conditional.  Include hash table stuff
        from trunk.
 
-2002-07-26  Kenichi Handa  <handa@etl.go.jp>
+2002-07-26  Kenichi Handa  <handa@m17n.org>
 
        The following changes are to allow specifying multiple font
        patterns for a character range (specified by script or charset).
        fontsets, create a new one.
        (x_get_font_repertory): New function.
 
-2002-07-25  Kenichi Handa  <handa@etl.go.jp>
+2002-07-25  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (Ffind_coding_systems_region_internal): Detect an
        ASCII only string correctly.
        * lread.c (Fload): Don't load with Qload_force_doc_strings t if
        version is 0.
 
-2002-07-24  Kenichi Handa  <handa@etl.go.jp>
+2002-07-24  Kenichi Handa  <handa@m17n.org>
 
        * lread.c: Include "coding.h".
        (Qget_emacs_mule_file_char, Qload_force_doc_strings,
        (syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char
        and Qload_force_doc_strings.
 
-2002-07-23  Kenichi Handa  <handa@etl.go.jp>
+2002-07-23  Kenichi Handa  <handa@m17n.org>
 
        * xdisp.c (face_before_or_after_it_pos): Call
        FETCH_MULTIBYTE_CHAR with byte postion, not char position.
 
-2002-07-22  Kenichi Handa  <handa@etl.go.jp>
+2002-07-22  Kenichi Handa  <handa@m17n.org>
 
        * character.h (TRAILING_CODE_P): New macro.
        (MAYBE_UNIFY_CHAR): Adjusted for the change of Funify_charset.
        (safe_to_load_p): If safe, return the magic number version byte.
        (Fload): Maybe use load-with-code-conversion.
 
-2002-06-12  Kenichi Handa  <handa@etl.go.jp>
+2002-06-12  Kenichi Handa  <handa@m17n.org>
 
        * category.c (Fmodify_category_entry): Don't modify the contents
        of category_set for characters out of the range.  Avoid
 
        * Makefile.in (chartab.o): Depend on charset.h
 
-2002-06-03  Kenichi Handa  <handa@etl.go.jp>
+2002-06-03  Kenichi Handa  <handa@m17n.org>
 
        * character.c (syms_of_character): Set the default value of
        Vprintable_chars to Qnil.
 
        * Makefile.in (lisp, shortlisp): Change indian.elc to indian.el.
 
-2002-05-31  Kenichi Handa  <handa@etl.go.jp>
+2002-05-31  Kenichi Handa  <handa@m17n.org>
 
        * charset.c (load_charset_map): Handle the case that from < to
        correctly.
        (encode_coding_big5): Likewise.
        (encode_coding_charset): Likewise.
 
-2002-05-30  Kenichi Handa  <handa@etl.go.jp>
+2002-05-30  Kenichi Handa  <handa@m17n.org>
 
        * Makefile.in (lisp): Change chinese.elc to chinese.el.  They are
        not bytecompiled now.
        (encode_coding_iso_2022): Change the 1st arg to
        ENCODE_ISO_CHARACTER to a variable.
 
-2002-05-29  Kenichi Handa  <handa@etl.go.jp>
+2002-05-29  Kenichi Handa  <handa@m17n.org>
 
        * charset.h (enum define_charset_arg_index): New enums
        charset_arg_min_code and charset_arg_max_code.
        * 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  <handa@etl.go.jp>
+2002-05-23  Kenichi Handa  <handa@m17n.org>
 
        * 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  <handa@etl.go.jp>
+2002-05-22  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (decode_coding_charset): Adjusted for the change of
        Fdefine_coding_system_internal.
 
        * charset.c (Fmake_char): Fix previous change.
 
-2002-05-21  Kenichi Handa  <handa@etl.go.jp>
+2002-05-21  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars.
        (emacs_mule_char): New arg src.  Delete arg `composition'.  Caller
        (Fmake_char): If CODE1 is nil, use the minimum code of the
        charset.
 
-2002-05-20  Kenichi Handa  <handa@etl.go.jp>
+2002-05-20  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (encode_coding_iso_2022): If coding requires safe
        encoding, produce a character specified by
 
        * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics.
 
-2002-05-16  Kenichi Handa  <handa@etl.go.jp>
+2002-05-16  Kenichi Handa  <handa@m17n.org>
 
        * character.c (string_escape_byte8): Make multibyte string with
        correct size.
 
        * charset.c (Fmake_char): Delete unnecessary code.
 
-2002-05-14  Kenichi Handa  <handa@etl.go.jp>
+2002-05-14  Kenichi Handa  <handa@m17n.org>
 
        * xfns.c (x_encode_text): Allocate coding.destination here, and
        call encode_coding_object with dst_object Qnil.
        (Fdefine_coding_system_alias): Use names, not symbols, in
        coding-system-alist.
 
-2002-05-13  Kenichi Handa  <handa@etl.go.jp>
+2002-05-13  Kenichi Handa  <handa@m17n.org>
 
        * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead
        of calling free_realized_face.
        -1.
        (Fdecode_char): Fix typo.
 
-2002-05-10  Kenichi Handa  <handa@etl.go.jp>
+2002-05-10  Kenichi Handa  <handa@m17n.org>
 
        * charset.h (struct charset): New member `code_space_mask'.
 
        (Fset_terminal_coding_system_internal)
        (Fset_safe_terminal_coding_system_internal): Fix arg declarations.
 
-2002-05-08  Kenichi Handa  <handa@etl.go.jp>
+2002-05-08  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (decode_coding_charset, encode_coding_charset): Handle
        multiple charsets correctly.
 
-2002-05-07  Kenichi Handa  <handa@etl.go.jp>
+2002-05-07  Kenichi Handa  <handa@m17n.org>
 
        * search.c (boyer_moore): Fix handling of mulitbyte character
        translation.
        * xdisp.c (display_mode_element): When the variable `elt' is
        changed, update `this' and `lisp_string'.
 
-2002-05-07  Kenichi Handa  <handa@etl.go.jp>
+2002-05-07  Kenichi Handa  <handa@m17n.org>
 
        * buffer.c (Fset_buffer_multibyte): Fix 8-bit char handling.
 
        * xfaces.c (try_font_list): Give higher priority to fontset's
        family than face's family.
 
-2002-04-18  Kenichi Handa  <handa@etl.go.jp>
+2002-04-18  Kenichi Handa  <handa@m17n.org>
 
        * callproc.c (Fcall_process): Be sure to give the current buffer
        to decode_coding_c_string.
        * 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  <handa@etl.go.jp>
+2002-04-09  Kenichi Handa  <handa@m17n.org>
 
        * 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  <handa@etl.go.jp>
+2002-03-11  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (produce_chars): Set the variable `multibytep' correctly.
        (decode_coding_gap): Set coding->dst_multibyte correctly.
 
-2002-03-07  Kenichi Handa  <handa@etl.go.jp>
+2002-03-07  Kenichi Handa  <handa@m17n.org>
 
        * coding.c (encode_coding_utf_8): Initialize produced_chars to 0.
        (decode_coding_utf_16): Fix converting high and low bytes to
 
        * insdel.c (insert_from_gap): Call record_insert.
 
-2002-03-04  Kenichi Handa  <handa@etl.go.jp>
+2002-03-04  Kenichi Handa  <handa@m17n.org>
 
        * casefiddle.c (casify_region): Fix multibyte case.
 
 
        * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number.
 
-2002-03-01  Kenichi Handa  <handa@etl.go.jp>
+2002-03-01  Kenichi Handa  <handa@m17n.org>
 
        The following changes are for using Unicode as an internal
        character model, and use UTF-8 format for buffer/string
     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