X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=6b4b7ab261d99a26d890f9cc7ae6f218feb930ad;hb=4be0b3a557679d8b63d70848d50f12af87f3f551;hp=ee69e4e29e239f85055d85160745e42b16927244;hpb=fa3ff7e5f289798cb0e0a153fabf418395689317;p=m17n%2Fm17n-lib.git diff --git a/src/ChangeLog b/src/ChangeLog index ee69e4e..6b4b7ab 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,182 @@ +2005-12-05 Kenichi Handa + + * face.c (mface__realize): Set rfont->layouter to Mnil. + (mface__for_chars): Fix handling of layouter. + + * character.h (mchar__define_prop): Extern it. + + * database.c (update_database_list): Call mchar__define_prop if + necessary. + + * character.c (mchar__init): Don't call mchar_define_property. + Instead just initialize property keys. + (mchar__fini): Free char_prop_list only if it's not NULL. + (mchar__define_prop): New function. + (mchar_define_property): Call mchar__define_prop. + + * m17n-core.c (m17n_fini_core): Call mtext__prop_fini at after + mplist__fini. + +2005-12-02 Kenichi Handa + + * language.c (mlang__init): Handle extra chars. + + * m17n-gui.h (mfont_check): Adjust prototype. + + * m17n-X.c (xfont_driver): Specify xfont_check_capability. + (xfont_check_capability): New function. + (xft_driver): Specify xft_check_capability. + (xft_check_capability): New function. + + * font-ft.c (M0_3): Delete it. + (M0): New variable. + (ft_get_charmaps): Refer to M0. + (fc_parse_pattern): Fix previous change. + (ft_list_language): Check also extra chars. + (ft_check_otf): Define it even if HAVE_OTF is undef. + (ft_check_lang): Check the result of FcLangSetHasLang against + FcLangDifferentLang. Check also extra chars. + (ft_list_capability): Delete ifdef HAVE_OTF. + (ft_select): Likewise. + (ft_open): Improve debug information. + (ft_check_capability): New function. + (mfont__ft_driver): Specify ft_check_capability. + (mfont__ft_init): Initialize M0. + + * fontset.c (get_font_from_group): New function. + (mfontset__get_font): New function. + + * fontset.h (mfontset__get_font): Extern it. + + * font.c (OTF_tag): Define it if HAVE_OTF is undef. + (mfont__fini): Delete ifdef HAVE_OTF. + (free_font_capability): Likewise. + (mfont__get_capability): Likewise. + (mfont__check_capability): New function. + (mfont_check): Change the order of arguments. Use + mfontset__get_font. + + * font.h (struct MFontDriver): New member check_capability. + (MFontCapability): Delete ifdef HAVE_OTF. + (mfont__check_capability): Extern it. + + * face.c (mface__realize): Fix handling of FONT arg. + (mface__for_chars): Fix handling of explicitly specified font. + +2005-11-25 Kenichi Handa + + * font-flt.c (run_command): Print debug info for + left/rigth_padding + + * draw.c (layout_glyphs): Fix handling of left/right_padding. + + * face.c (mface__for_chars): Check rfont before accessing the + members. + +2005-11-21 Kenichi Handa + + * Makefile.am (lib_LTLIBRARIES): Define it conditionaly on + WITH_GUI. + + * fontset.c (fontset_table): New variable. + (free_fontset): Call M17N_OBJECT_UNREGISTER. + (mfont__fontset_init): Add fontset_table as an object array. + (mfont__realize_fontset): Ref FONTSET. + (mfont__free_realized_fontset): Unref REALIZED->fontset. + (mfontset): Call M17N_OBJECT_REGISTER. + (mfontset_copy): Likewise. + + * input.c (handle_key): For debugging, print information about + alias key. + (filter): Add an alias for Meta and Alt modifiers. + (Mcond, Mplus, Mminus, Mstar, Mslush, Mand, Mor, Mnot): New + variables. + (minput__init): Initialize them. + (parse_expression): New function. + (resolve_expression): New function. + (parse_action_list): Handle expressions by parse_expression. + (take_action_list): Handle expressions by resolve_expression. + (parse_nested_list_value): Fix previous change. + (resolve_command): Fix handling of the return value of + get_nested_list. + +2005-11-18 Kenichi Handa + + * font-ft.c (ft_check_otf, otf_script_list): Define only when + HAVE_OTF is defined. + (ft_list_capability): Call ft_check_otf only when HAVE_OTF is + defined. + (ft_select): Likewise. + + * font.c (mfont_list): Fix for the case that FONT is NULL. + (OTF_tag): Delete it. + (load_otf_script_list): Define only when HAVE_OTF is defined. + (mfont__fini): Unref otf_script_list only when HAVE_OTF is + defined. + + * draw.c (truncate_gstring): Be sure to truncate at + glapheme-cluster boundary. + +2005-11-11 Kenichi Handa + + * input.c (delete_surrounding_text): Clear cache if necessary. + +2005-11-09 Kenichi Handa + + * draw.c (compose_glyph_string): Update prev->rface->rfont if the + glyph prev is also supported by the current flt. + +2005-11-08 Kenichi Handa + + * m17n-X.c (xft_render): Cancel previous change. + +2005-11-07 Kenichi Handa + + * input.c: Include . + (get_surrounding_text, delete_surrounding_text) + (get_preceding_char, get_following_char): New functions. + (integer_value): New arg surrounding. If it is nonzero, try to + get a surrounding character. Callers changed. + (take_action_list): Check `value' before setting an element. + (destroy_ic): Unref ic_info->preceding_text and + ic_info->following_text. + (minput__init): Initialize Minput_get_surrounding_text and + Minput_delete_surrounding_text. + (Minput_get_surrounding_text, Minput_delete_surrounding_text): New + variables. + (filter): Unref ic_info->preceding_text and + ic_info->following_text. + + * m17n.h (Minput_get_surrounding_text, Minput_delete_surrounding_text): + Extern them. + + * input.h (MInputContextInfo): New members preceding_text and + following_text. + +2005-11-04 Kenichi Handa + + * input.c (parse_nested_list_value): Fix handling of the global + definition. + (get_nested_list): Get global definitions by load_partial_im_info. + (preedit_commit): Set ic->candidates_changed to bitwise or of enum + MInputCandidatesChanged. + (take_action_list): Likewise. + (reset_ic): Likewise. + (create_ic): Don't pay special attention to + Mcandidates_group_size. + (load_partial_im_info): Call mdatabase_find with correct 4th arg. + (minput_set_variable): Get a definition of varible by + mplist_find_by_value, not mplist_get. + + * m17n.h (enum MInputCandidatesChanged): New enum. + +2005-11-01 Kenichi Handa + + * m17n-X.c (xft_render): Check xft_draw's drawable before changing + it. + (mwin__destroy_window): If xft_draw's drawable is win, change it + to device->drawable before destroying win. + 2005-10-31 Kenichi Handa * input.c (load_im_info): Fix adding of state.