+2007-05-21 Kenichi Handa <handa@m17n.org>
+
+ * syntax.c (skip_syntaxes): Synch with the trunk.
+
+2007-05-14 Kenichi Handa <handa@m17n.org>
+
+ * character.c (Funibyte_string): New function.
+ (syms_of_character): Defsubr it.
+
+2007-05-01 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c [USE_FONT_BACKEND]:
+ (x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc):
+ (x_set_glyph_string_clipping, x_set_glyph_string_clipping_exactly):
+ (x_draw_glyph_string, x_draw_glyph_string_foreground):
+ (x_draw_composite_glyph_string_foreground, x_new_fontset2):
+ (x_free_frame_resources): Sync with xterm.c.
+
+2007-04-29 Andreas Schwab <schwab@suse.de>
+
+ * lread.c (read1): Use CHAR_TABLE_STANDARD_SLOTS to validate
+ char-table size.
+
+2007-04-26 Kenichi Handa <handa@m17n.org>
+
+ * font.c (check_otf_features): Define it regardless of
+ HAVE_LIBOTF.
+
+2007-04-25 Kenichi Handa <handa@m17n.org>
+
+ * ftfont.c (ftfont_driver): Delete font_otf_gsub and
+ font_otf_gpos, add font_drive_otf.
+
+ * fontset.c (fontset_find_font): Pay attention to font size
+ specified for a font.
+ (reorder_font_vector): Check contents of font_def.
+
+ * font.c (struct otf_list): Delete it.
+ (otf_list): Make it a lisp variable..
+ (otf_open): Use lispy otf_list.
+ (generate_otf_features): Renamed from parse_gsub_gpos_spec.
+ (check_otf_features): New function.
+ (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): New
+ functinos.
+ (font_drive_otf): New function merging font_otf_gsub and
+ font_otf_gpos.
+ (font_open_for_lface): New arg spec. Change argument order.
+ (font_load_for_face): Adjusted for the change of
+ font_open_for_lface.
+ (Ffont_drive_otf): New function merging Ffont_otf_gsub and
+ Ffont_otf_gpos.
+ (syms_of_font): Staticpro otf_list. Delete defsubr of
+ Sfont_otf_gsub and Sfont_otf_gpos. Defsubr Sfont_drive_otf.
+
+ * xfaces.c (set_font_frame_param): Adjusted for the change of
+ font_open_for_lface.
+
+ * font.h (font_open_for_lface): Adjust prototype.
+ (struct font_driver): Delete members otf_gsub and otf_gpos, add
+ member otf_drive.
+ (font_otf_gsub, font_otf_gpos): Delete externs.
+ (font_drive_otf): Extern it.
+
+2007-04-24 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_at): If the window W is not on a window system,
+ return Qnil.
+
+ * coding.c (produce_chars): Don't call insert_from_gap if no
+ characters to produce.
+ (encode_coding): Likewise.
+
+2007-04-17 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (free_realized_fontsets): Avoid unnecessary call of
+ Fclear_face_cache.
+
+ * xfaces.c (face_for_font): Check also face->font==font->font.font.
+
+2007-04-16 Miles Bader <miles@gnu.org>
+
+ * emacs.c (main): Change default value of `enable_font_backend' to 1.
+ Parse "--disable-font-backend" option.
+ (standard_args): Add "--disable-font-backend" option.
+
+2007-04-13 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_find_font): New function.
+ (fontset_font): Use fontset_find_font.
+ (make_fontset_for_ascii_face): Don't set face ID in rfont_def.
+ Register the specified font for all Latin characters.
+ (new_fontset_from_font): Register the specified font for all Latin
+ characters.
+ (dump_fontset): For a realized fontset, include the base fontset
+ name in the returned vector.
+
+2007-04-11 Kenichi Handa <handa@m17n.org>
+
+ * character.h (CHAR_STRING): Cast C to unsigned on calling
+ char_string.
+
+ * character.c (char_string): Type of arg C changed to unsigned.
+ Signal an error if C is an invalid character code.
+
+ * editfns.c (general_insert_function): Use CHARACTERP, not INTEGERP.
+ (Fchar_to_string): Likewise.
+
+2007-03-23 Kenichi Handa <handa@m17n.org>
+
+ * character.h (MIN_MULTIBYTE_LEADING_CODE)
+ (MAX_MULTIBYTE_LEADING_CODE): New macros.
+
+ * regex.c (analyse_first): Fix for multibyte characters in "case
+ charset:" and "case categoryspec:".
+
+2007-03-04 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.in (LIBES): Move standard libraries to the end.
+
+2007-02-27 Kenichi Handa <handa@m17n.org>
+
+ * process.c: Cancel the change done by sync with HEAD.
+
+2007-02-23 Kenichi Handa <handa@m17n.org>
+
+ * alloc.c (Fgarbage_collect): If nextb->text->inhibit_shrinking is
+ nonzero, don't shrink the buffer nextb.
+
+ * buffer.h (struct buffer_text): New member inhibit_shrinking.
+
+ * coding.c (coding_alloc_by_making_gap): New arg offset.
+ (alloc_destination): Call coding_alloc_by_making_gap with the arg
+ offset.
+ (decode_coding_iso_2022): Update coding->safe_charsets.
+ (decode_coding_gap): Temporarily set
+ current_buffer->text->inhibit_shrinking to 1.
+
+2007-02-20 Kenichi Handa <handa@m17n.org>
+
+ * xterm.c (x_draw_composite_glyph_string_foreground): Fix
+ indexing into elements of s->cmp and s->char2b.
+
+2007-02-16 Juanma Barranquero <lekktu@gmail.com>
+
+ * regex.c (RE_STRING_CHAR_AND_LENGTH) [! emacs]: Add missing arg `len'.
+
+2007-02-16 Kenichi Handa <handa@m17n.org>
+
+ * regex.c (GET_CHAR_BEFORE_2, GET_CHAR_AFTER): Check the variable
+ target_multibyte instead of multibyte.
+ (re_match_2_internal): Call bcmp_translate with target_multibyte.
+ (bcmp_translate): Change the argument name from multibyte to
+ target_multibyte.
+
+2007-02-15 Kenichi Handa <handa@m17n.org>
+
+ These changes are to compile a regexp into a pattern that can be
+ used both for multibyte and unibyte targets.
+
+ * Makefile.in (search.o): Depend on charset.h.
+
+ * character.c (multibyte_char_to_unibyte_safe): New function.
+
+ * search.c: Include "charset.h".
+ (compile_pattern_1): Delete argument multibyte. Don't set
+ cp->buf.target_multibyte here. Set cp->buf.charset_unibyte.
+ (compile_pattern): Don't compare cp->buf.target_multibyte.
+ Compare cp->buf.charset_unibyte.
+ (compile_pattern): Set cp->buf.target_multibyte.
+
+ * lisp.h (multibyte_char_to_unibyte_safe): Extern it.
+
+ * regex.h (struct re_pattern_buffer): New member charset_unibyte.
+
+ * regex.c (RE_STRING_CHAR, RE_STRING_CHAR_AND_LENGTH): New arg
+ multibyte. Callers changed.
+ (RE_CHAR_TO_MULTIBYTE, RE_CHAR_TO_UNIBYTE): New macros.
+ (MAKE_CHAR_MULTIBYTE, MAKE_CHAR_UNIBYTE): Deleted. Callers
+ changed to use RE_CHAR_TO_MULTIBYTE and RE_CHAR_TO_UNIBYTE
+ respectively.
+ (SETUP_ASCII_RANGE, SETUP_UNIBYTE_RANGE): New macros.
+ (SETUP_MULTIBYTE_RANGE): Generate a more compact range_table.
+ (regex_compile): Make the compiled pattern usable both for
+ multibyte and unibyte targets.
+ (analyse_first): Make the fastmap usable both for multibyte and
+ unibyte targets.
+ (TRANSLATE_VIA_MULTIBYTE): Deleted.
+ (re_match_2_internal): Pay attention to the case that the
+ multibyteness of bufp and target may be different.
+
+2007-02-14 Kenichi Handa <handa@m17n.org>
+
+ * xdisp.c (x_produce_glyphs): When a font is not found, make the
+ empty box occupy at least one column width.
+
+2007-01-30 Miles Bader <miles@gnu.org>
+
+ * Makefile.in: Remove redundant HAVE_XFT clause.
+
+2006-12-20 Kenichi Handa <handa@m17n.org>
+
+ * xrdb.c (x_load_resources): Setup the default fontSet X reource.
+
+2006-12-15 Kenichi Handa <handa@m17n.org>
+
+ * regex.c (regex_compile): Synch with HEAD.
+
+2006-12-12 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (Finternal_char_font): Fix previous change.
+
+2006-12-07 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (Finternal_char_font): Fix for the case of POSITION
+ being nil.
+
+2006-12-06 Kenichi Handa <handa@m17n.org>
+
+ * xftfont.c (xftfont_open): Call FcConfigSubstitute.
+
+2006-12-05 Kenichi Handa <handa@m17n.org>
+
+ * xftfont.c (xftfont_open): Don't enable antialias explicitly.
+
+2006-11-30 Kenichi Handa <handa@m17n.org>
+
+ * search.c (simple_search): Fix previous change.
+
+2006-11-29 Kenichi Handa <handa@m17n.org>
+
+ * xftfont.c (ftfont_font_format): Extern declaration.
+
+ * frame.c (x_set_font): Fix the second arg to fs_query_fontset.
+
+ * xfont.c (xfont_driver): Initialize ftfont_driver.type by 0.
+ (xfont_list): Don't directly use Lisp_Object as an operand of &&.
+
+ * ftfont.c (ftfont_driver): Initialize ftfont_driver.type by 0.
+ (ftfont_font_format): Fix previous change.
+
+ * font.h (Ffont_xlfd_name): EXFUN it.
+
+ * font.c (font_parse_xlfd): Fix the array size of `f'.
+ (register_font_driver): Use EQ to compare driver->type.
+
+ * xfns.c (xic_create_xfontset2) [USE_FONT_BACKEND]: New function.
+ (create_frame_xic) [USE_FONT_BACKEND]: Call xic_create_xfontset2.
+ (xic_set_xfontset) [USE_FONT_BACKEND]: Likewise.
+
+2006-11-27 Kenichi Handa <handa@m17n.org>
+
+ * ftfont.c (ftfont_pattern_entity): Check if FC_FONTFORMAT is
+ defined.
+ (ftfont_list_generic_family, ftfont_list, ftfont_font_format):
+ Likewise.
+
+2006-11-24 Kenichi Handa <handa@m17n.org>
+
+ * xfont.c (xfont_open): Set font->format.
+
+ * xftfont.c (xftfont_open): Set font->format.
+
+ * ftfont.c (ftfont_pattern_entity): Add fontformat in a pattern.
+ (ftfont_list): Include FC_FONTFORMAT in FcObject.
+ (ftfont_open): Set font->format.
+ (ftfont_font_format): New function.
+
+ * font.h (struct font): New memeber format.
+
+ * font.c (Qopentype): New variable.
+ (syms_of_font): Defsym it.
+ (Fquery_font): Change the format of the last element of the return
+ value.
+
+2006-11-22 Kenichi Handa <handa@m17n.org>
+
+ * search.c (simple_search): Fix sync with HEAD.
+
+2006-11-17 Kenichi Handa <handa@m17n.org>
+
+ * xfns.c (xic_create_xfontset): Try the default fontset name as a
+ last resort.
+
+2006-11-08 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (detect_coding_charset): Fix detection of multi-byte
+ charset.
+
+2006-11-07 Bob Halley <halley@play-bow.org> (tiny change)
+
+ * ccl.c (ccl_driver): If DST is NULL, set ccl->produced to 0.
+
+2006-10-31 Kenichi Handa <handa@m17n.org>
+
+ * xdisp.c (get_next_display_element): Set it->face_id for the
+ first component of a composition.
+ (x_produce_glyphs): Check if the font is changed or not for
+ composition.
+
+2006-10-31 Kenichi Handa <handa@m17n.org>
+
+ (get_next_display_element): Set it->face_id for the
+ first component of a composition.
+ (x_produce_glyphs): Check if the font is changed or not for
+ composition.
+
+2006-10-30 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (Qlatin): New variable.
+ (syms_of_fontset): Define it as a lisp symbol.
+ (Fset_fontset_font): If TARGET is `latin', use FONT_SPEC for
+ ASCII.
+
+2006-10-27 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_unparse_fcname): Pay attention to the case that
+ some of font property is a null string.
+
+2006-10-26 Kenichi Handa <handa@m17n.org>
+
+ * term.c: Include "composite.h".
+ (encode_terminal_code): Output all components of composition.
+ Check the size of encode_terminal_src.
+ (produce_glyphs): For compostion, call produce_composite_glyph.
+ (append_composite_glyph, produce_composite_glyph): New functions.
+
+ * xdisp.c (x_produce_glyphs): In handling composition, if a font
+ is not found, get font_info from the current ascii face.
+
+2006-10-23 Kenichi Handa <handa@m17n.org>
+
+ * fileio.c (Finsert_file_contents): On replacing, temporarily bind
+ buffer-file-name to Qnil before calling insert_from_buffer.
+
+ * font.c (font_unparse_fcname): Pay attention to the case that
+ foundry is a null string.
+
+2006-10-17 Kenichi Handa <handa@m17n.org>
+
+ * ftfont.c (ftfont_list): Allow registry "unicode-sip".
+
+ * font.c (Qunicode_sip): New variable.
+ (syms_of_font): Declare it as a Lisp symbol.
+
+ * font.h (Qunicode_sip): Extern it.
+
+2006-10-16 Kenichi Handa <handa@m17n.org>
+
+ * composite.c (get_composition_id): Pay attention to TAB
+ component.
+
+ * xterm.c (x_draw_composite_glyph_string_foreground): Don't draw
+ TAB. Adjusted for the change of s->char2b which always points to
+ the first elememnt of allocated memory.
+
+ * xftfont.c (xftfont_text_extents): Fix calculation of descent
+ value.
+
+ * xdisp.c (handle_composition_prop): Set it->c to the first
+ non-TAB component.
+ (fill_composite_glyph_string): Argument changed.
+ (BUILD_COMPOSITE_GLYPH_STRING): Adjusted for the above change.
+ (x_produce_glyphs): Fix handling of left/right padding.
+
+2006-10-04 Kenichi Handa <handa@m17n.org>
+
+ * regex.c (analyse_first): Cancel the change for synching with
+ HEAD.
+
+2006-08-28 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (detect_coding_system): Fix for handling off
+ inhibit_iso_escape_detection. Fix for the case that no coding
+ system is defined for a specific coding category.
+
+2006-08-21 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_matching_entity): Dolete unused local var.
+
+ * xftfont.c (xftfont_open): Call XftDefaultSubstitute before
+ opening a font.
+
+ * fileio.c (Finsert_file_contents): On recovering a file, assume
+ Unix-like eol.
+ (choose_write_coding_system): On auto-saving a file, force
+ Unix-like eol.
+
+ * coding.c (setup_coding_system): Fix setting of
+ coding->common_flags based on eol_type.
+ (coding_inherit_eol_type): If PARENT is not nil, be sure to
+ inherit from it.
+
2006-08-04 Kenichi Handa <handa@m17n.org>
* alloc.c (NSTATICS): Increased to 0x600.