X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=736aac4b2a6d4c1cc20064fc668c08053271f8dd;hb=1efb9743d0f36547560447cf4cf6ba9efb005fbb;hp=801dde97cda2fa3559bafaad285fd7523de74cdd;hpb=91ace05a0e2b422103dcb30e8419ec43c7da811b;p=m17n%2Fm17n-lib.git diff --git a/src/ChangeLog b/src/ChangeLog index 801dde9..736aac4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,136 @@ +2007-05-18 Kenichi Handa + + * input.c (config_command): Set NAME before using it. + +2007-05-17 Kenichi Handa + + * language.c (mlang__fini): Fix previous change. + +2007-05-16 Kenichi Handa + + * plist.c (free_plist): Cancel the last change. + (write_element): Check if PLIST is nested. + (mplist__from_plist): Label a plist as nested if appropriate. + (mplist__from_alist): Label a plist as nested. + (mplist__conc): Check the value of PL before referring it. Label + a plist as nested if appropriate. + (mplist_copy): Label a plist as nested if appropriate. + (mplist_put_func): Return Mnil if KEY is a managing key. + (mplist_push): Label a plist as nested if appropriate. + + * plist.h (MPLIST_SET_NESTED_P): Return 1 iff plist->control.flag + is set as nested. + + * language.c (mlang__fini): Unref each element of langname_list. + +2007-05-14 Kenichi Handa + + * language.c: Include and . + (langname_list): New variable. + (load_lang_script_list): Exclude invalid list elements. + (mlang__init): Initialize langname_list. + (mlang__fini): Unref langname_list. + (mlanguage__info): Adjusted for the change of English + name (symbol->M-text). + (mlanguage_name): Label it as obsolete. + (mlanguage_name_list): New function. + + * m17n.h (mlanguage_name_list): Extern it. + + * locale.c (make_locale): Fix setting of members of locale. + + * plist.c (free_plist): Unref also nested plist. + +2007-05-11 Kenichi Handa + + * coding.c (mconv_reset_converter): Set internal->used to 0. + +2007-05-08 Kenichi Handa + + * input.c (check_description): Force copying the translated text. + +2007-05-02 Kenichi Handa + + * input.c (minput_save_config): Unref unnecessary plist. Use + free_im_list to free im_config_list. + +2007-04-20 Kenichi Handa + + * input.c (config_command): Fix previous change again. + (config_variable): Likewise. + (minput_config_command): Fix for the case of setting back to + default. + (minput_config_variable): Likewise. + (minput_save_config): Include nil as documentation of customized + command/variable. + +2007-04-05 Kenichi Handa + + * input.c (config_command): Fix previous change. + (config_variable): Likewise. + + * plist.c (mplist_get_func): Fix for backward compatiblity. + +2007-04-04 Kenichi Handa + + * input.c (minput_get_command, minput_config_command): Fix example + codes. + +2007-03-29 Kenichi Handa + + These changes are to avoid unsafe casting of a function pointer. + + * face.h (enum MFaceProperty): Delete MFACE_HOOK_FUNC. + (struct MFace): New member hook. + + * face.c (serialize_face): Adjusted for the change of MFace. + (deserialize_face): Likewise. + (mface__init): Likewise. Use msymbol_put_func. + (mface__realize): Adjusted for the change of MFace. Avoid + compiler warning. + (mface_get_prop): Adjusted for the change of MFace. + (mface_put_prop): Likewise. + (mface_get_hook): New function. + (mface_put_hook): New function. + (mface_update): Adjusted for the change of MFace. + + * input-gui.c (win_callback): Use mplsit_get_func. + (minput__win_init): Use mplsit_put_func. + + * input.c (take_action_list): Use mplist_get_func. + (init_ic_info): Likewise. + (fini_ic_info): Likewise. + (minput_callback): Likewise. + (minput__init): Use mplist_put_func. + + * language.c (mlang__init): Use msymbol_put_func. + + * m17n-core.h (M17NFunc): New function type. + (M17N_FUNC): New macro. + (msymbol_put_func, msymbol_get_func): Extern them. + (mplist_put_func, mplist_get_func): Extern them. + + * m17n-gui.h (mface_get_hook, mface_put_hook): Extern them. + + * m17n-gui.c (mframe): Add a proper casting. + + * plist.h (struct MPlist): Make the member val a union. + (MPLIST_VAL): Adjusted for the above change. + (MPLIST_FUNC): New macro. + (MPLIST_VAL_FUNC_P, MPLIST_SET_VAL_FUNC_P): New macros. + + * plist.c (mplist_put_func, mplist_get_func): New functions. + + * symbol.c (msymbol__fini): Use MPLIST_VAL. + (msymbol_put_func, msymbol_get_func): New functions. + + * textprop.c (mtext_serialize): Use msymbol_get_func. + (mtext_deserialize): Likewise. + +2007-03-28 Kenichi Handa + + * input.c (get_candidate_list): Avoid unnecessary unref. + 2007-03-23 Kenichi Handa * database.c (mdatabase__update): Unref plist at the tail. @@ -64,7 +197,6 @@ (handle_key): When a key is unhandled, shift to the initial state only if the current state has no branch action. ->>>>>>> 1.284 2007-02-12 Kenichi Handa * input.c (get_preceding_char): Unref mt if necessary.