m17n/m17n-lib.git
17 years ago*** empty log message ***
handa [Wed, 16 May 2007 01:59:40 +0000 (01:59 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 16 May 2007 01:40:40 +0000 (01:40 +0000)]
*** empty log message ***

17 years ago(free_plist): Cancel the last change.
handa [Wed, 16 May 2007 01:40:25 +0000 (01:40 +0000)]
(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.

17 years ago(MPLIST_SET_NESTED_P): Return 1 iff plist->control.flag
handa [Wed, 16 May 2007 01:33:25 +0000 (01:33 +0000)]
(MPLIST_SET_NESTED_P): Return 1 iff plist->control.flag
is set as nested.

17 years ago(mlang__fini): Unref each element of langname_list.
handa [Wed, 16 May 2007 01:32:39 +0000 (01:32 +0000)]
(mlang__fini): Unref each element of langname_list.

17 years ago*** empty log message ***
handa [Mon, 14 May 2007 11:41:42 +0000 (11:41 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Mon, 14 May 2007 11:39:35 +0000 (11:39 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Mon, 14 May 2007 11:39:23 +0000 (11:39 +0000)]
*** empty log message ***

17 years agoInclude <string.h> and <locale.h>.
handa [Mon, 14 May 2007 11:38:21 +0000 (11:38 +0000)]
Include <string.h> and <locale.h>.
(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.

17 years ago(mlanguage_name_list): Extern it.
handa [Mon, 14 May 2007 11:35:40 +0000 (11:35 +0000)]
(mlanguage_name_list): Extern it.

17 years ago(make_locale): Fix setting of members of locale.
handa [Mon, 14 May 2007 11:17:29 +0000 (11:17 +0000)]
(make_locale): Fix setting of members of locale.

17 years ago(free_plist): Unref also nested plist.
handa [Mon, 14 May 2007 11:16:52 +0000 (11:16 +0000)]
(free_plist): Unref also nested plist.

17 years ago*** empty log message ***
handa [Fri, 11 May 2007 07:08:02 +0000 (07:08 +0000)]
*** empty log message ***

17 years ago(mconv_reset_converter): Set internal->used to 0.
handa [Fri, 11 May 2007 07:07:57 +0000 (07:07 +0000)]
(mconv_reset_converter): Set internal->used to 0.

17 years ago*** empty log message ***
handa [Tue, 8 May 2007 07:48:04 +0000 (07:48 +0000)]
*** empty log message ***

17 years ago(check_description): Force copying the translated text.
handa [Tue, 8 May 2007 07:47:47 +0000 (07:47 +0000)]
(check_description): Force copying the translated text.

17 years ago*** empty log message ***
handa [Wed, 2 May 2007 01:35:21 +0000 (01:35 +0000)]
*** empty log message ***

17 years ago(minput_save_config): Unref unnecessary plist. Use
handa [Wed, 2 May 2007 01:35:17 +0000 (01:35 +0000)]
(minput_save_config): Unref unnecessary plist.  Use
free_im_list to free im_config_list.

17 years ago*** empty log message ***
handa [Mon, 23 Apr 2007 12:57:48 +0000 (12:57 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Fri, 20 Apr 2007 12:23:29 +0000 (12:23 +0000)]
*** empty log message ***

17 years ago(config_command): Fix previous change again.
handa [Fri, 20 Apr 2007 12:23:23 +0000 (12:23 +0000)]
(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.

17 years ago*** empty log message ***
handa [Fri, 20 Apr 2007 11:34:16 +0000 (11:34 +0000)]
*** empty log message ***

17 years agoFix typo.
ntakahas [Thu, 19 Apr 2007 12:42:02 +0000 (12:42 +0000)]
Fix typo.

17 years ago*** empty log message ***
handa [Thu, 19 Apr 2007 12:37:37 +0000 (12:37 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
nisikimi [Wed, 18 Apr 2007 06:21:14 +0000 (06:21 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 18 Apr 2007 04:11:22 +0000 (04:11 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 18 Apr 2007 02:45:30 +0000 (02:45 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 18 Apr 2007 01:29:55 +0000 (01:29 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 5 Apr 2007 12:20:00 +0000 (12:20 +0000)]
*** empty log message ***

17 years ago(config_command): Fix previous change.
handa [Thu, 5 Apr 2007 12:19:55 +0000 (12:19 +0000)]
(config_command): Fix previous change.
(config_variable): Likewise.

17 years ago*** empty log message ***
handa [Thu, 5 Apr 2007 06:25:05 +0000 (06:25 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 5 Apr 2007 04:58:11 +0000 (04:58 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 4 Apr 2007 12:53:50 +0000 (12:53 +0000)]
*** empty log message ***

17 years ago(minput_get_command, minput_config_command): Fix example
handa [Wed, 4 Apr 2007 12:53:46 +0000 (12:53 +0000)]
(minput_get_command, minput_config_command): Fix example
codes.

17 years ago*** empty log message ***
nisikimi [Tue, 3 Apr 2007 00:45:19 +0000 (00:45 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
ntakahas [Mon, 2 Apr 2007 10:31:31 +0000 (10:31 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
ntakahas [Mon, 2 Apr 2007 10:29:54 +0000 (10:29 +0000)]
*** empty log message ***

17 years ago(mplist_put_func): Fix previous change.
handa [Thu, 29 Mar 2007 12:10:41 +0000 (12:10 +0000)]
(mplist_put_func): Fix previous change.

17 years ago*** empty log message ***
handa [Thu, 29 Mar 2007 12:04:11 +0000 (12:04 +0000)]
*** empty log message ***

17 years agoFix previous changes.
handa [Thu, 29 Mar 2007 12:03:35 +0000 (12:03 +0000)]
Fix previous changes.

17 years ago(setup_input_methods): Use mplist_put_func.
handa [Thu, 29 Mar 2007 11:42:30 +0000 (11:42 +0000)]
(setup_input_methods): Use mplist_put_func.

17 years ago*** empty log message ***
handa [Thu, 29 Mar 2007 11:32:46 +0000 (11:32 +0000)]
*** empty log message ***

17 years ago(enum MFaceProperty): Delete MFACE_HOOK_FUNC.
handa [Thu, 29 Mar 2007 11:32:42 +0000 (11:32 +0000)]
(enum MFaceProperty): Delete MFACE_HOOK_FUNC.
(struct MFace): New member hook.

17 years ago(serialize_face): Adjusted for the change of MFace.
handa [Thu, 29 Mar 2007 11:32:03 +0000 (11:32 +0000)]
(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.

17 years ago(win_callback): Use mplsit_get_func.
handa [Thu, 29 Mar 2007 11:29:30 +0000 (11:29 +0000)]
(win_callback): Use mplsit_get_func.
(minput__win_init): Use mplsit_put_func.

17 years ago(take_action_list): Use mplist_get_func.
handa [Thu, 29 Mar 2007 11:28:57 +0000 (11:28 +0000)]
(take_action_list): Use mplist_get_func.
(init_ic_info): Likewise.
(fini_ic_info): Likewise.
(minput_callback): Likewise.
(minput__init): Use mplist_put_func.

17 years ago(mlang__init): Use msymbol_put_func.
handa [Thu, 29 Mar 2007 11:28:00 +0000 (11:28 +0000)]
(mlang__init): Use msymbol_put_func.

17 years ago(M17NFunc): New function type.
handa [Thu, 29 Mar 2007 11:27:41 +0000 (11:27 +0000)]
(M17NFunc): New function type.
(M17N_FUNC): New macro.
(msymbol_put_func, msymbol_get_func): Extern them.
(mplist_put_func, mplist_get_func): Extern them.

17 years ago(mface_get_hook, mface_put_hook): Extern them.
handa [Thu, 29 Mar 2007 11:26:41 +0000 (11:26 +0000)]
(mface_get_hook, mface_put_hook): Extern them.

17 years ago(mframe): Add a proper casting.
handa [Thu, 29 Mar 2007 11:26:14 +0000 (11:26 +0000)]
(mframe): Add a proper casting.

17 years ago(struct MPlist): Make the member val a union.
handa [Thu, 29 Mar 2007 11:25:32 +0000 (11:25 +0000)]
(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.

17 years ago(mplist_put_func, mplist_get_func): New functions.
handa [Thu, 29 Mar 2007 11:24:42 +0000 (11:24 +0000)]
(mplist_put_func, mplist_get_func): New functions.

17 years ago(msymbol__fini): Use MPLIST_VAL.
handa [Thu, 29 Mar 2007 11:23:59 +0000 (11:23 +0000)]
(msymbol__fini): Use MPLIST_VAL.
(msymbol_put_func, msymbol_get_func): New functions.

17 years ago(mtext_serialize): Use msymbol_get_func.
handa [Thu, 29 Mar 2007 11:23:18 +0000 (11:23 +0000)]
(mtext_serialize): Use msymbol_get_func.
(mtext_deserialize): Likewise.

17 years ago*** empty log message ***
handa [Wed, 28 Mar 2007 08:10:14 +0000 (08:10 +0000)]
*** empty log message ***

17 years ago(get_candidate_list): Avoid unnecessary unref.
handa [Wed, 28 Mar 2007 08:10:10 +0000 (08:10 +0000)]
(get_candidate_list): Avoid unnecessary unref.

17 years ago*** empty log message ***
handa [Fri, 23 Mar 2007 02:42:10 +0000 (02:42 +0000)]
*** empty log message ***

17 years ago(mdatabase__update): Unref plist at the tail.
handa [Fri, 23 Mar 2007 02:42:06 +0000 (02:42 +0000)]
(mdatabase__update): Unref plist at the tail.

17 years ago*** empty log message ***
handa [Wed, 21 Mar 2007 00:47:21 +0000 (00:47 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 21 Mar 2007 00:45:57 +0000 (00:45 +0000)]
*** empty log message ***

17 years ago(Mpop): New variable.
handa [Wed, 21 Mar 2007 00:44:36 +0000 (00:44 +0000)]
(Mpop): New variable.
(fully_initialize): Initialize Mpop.
(parse_action_list): Handle Mpop.
(update_custom_info): Fix for the case "name == Mnil && extra !=
Mnil".
(reload_im_info): Fix for the case that no title is specified.
(config_command): Fix for the case that configuration is
cancelled.
(check_variable_value): Fix return value.
(take_action_list): Handle Mpop.
(handle_key): Don't shift to initial state if there's branch
actions.
(minput_config_command): If keyseqlist is an empty list, cancel
the customization.
(minput_config_variable) If value is an empty list, cancel the
customization.
(minput_save_config): Handle cancellation of config and customize
correctly.

17 years ago*** empty log message ***
handa [Fri, 16 Mar 2007 12:54:19 +0000 (12:54 +0000)]
*** empty log message ***

17 years ago(minput_config_variable): Check custom->vars (not
handa [Thu, 15 Mar 2007 05:58:38 +0000 (05:58 +0000)]
(minput_config_variable): Check custom->vars (not
custom->cmds).

17 years ago*** empty log message ***
handa [Thu, 15 Mar 2007 05:58:31 +0000 (05:58 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 1 Mar 2007 11:54:41 +0000 (11:54 +0000)]
*** empty log message ***

17 years ago(reload_im_info): Setup cmds, vars, and title of
handa [Thu, 1 Mar 2007 11:54:37 +0000 (11:54 +0000)]
(reload_im_info): Setup cmds, vars, and title of
im_info.
(check_variable_value): Fix the return value.

17 years ago(mdatabase__check): If necessary, update database and
handa [Thu, 1 Mar 2007 11:53:54 +0000 (11:53 +0000)]
(mdatabase__check): If necessary, update database and
find a new file.

17 years ago*** empty log message ***
handa [Wed, 28 Feb 2007 07:28:44 +0000 (07:28 +0000)]
*** empty log message ***

17 years ago(get_dir_info): Set dir_info->status to
handa [Wed, 28 Feb 2007 07:28:32 +0000 (07:28 +0000)]
(get_dir_info): Set dir_info->status to
MDB_STATUS_OUTDATED.
(check_version): New function.
(register_database): Don't call find_database.
(register_databases_in_files): Don't register a database of
invalid version.
(mdatabase__update): Likewise.  Avoid unnecessary scanning.

17 years ago(enum MDatabaseStatus): New membes MDB_STATUS_UPDATED
handa [Wed, 28 Feb 2007 07:24:56 +0000 (07:24 +0000)]
(enum MDatabaseStatus): New membes MDB_STATUS_UPDATED
and MDB_STATUS_OUTDATED.

17 years ago(struct MFont): Types of members type, source, and
handa [Wed, 28 Feb 2007 07:24:24 +0000 (07:24 +0000)]
(struct MFont): Types of members type, source, and
spacing changed to unsigned.

17 years ago(struct): Types of members category and type
handa [Wed, 28 Feb 2007 07:23:54 +0000 (07:23 +0000)]
(struct): Types of members category and type
changed to unsigned.

17 years ago(struct MText): Types of members format and coverage
handa [Wed, 28 Feb 2007 07:23:26 +0000 (07:23 +0000)]
(struct MText): Types of members format and coverage
  changed to unsigned.

17 years ago(M17NLIB_PATCH_LEVEL): Changed to 5.
handa [Wed, 28 Feb 2007 07:22:50 +0000 (07:22 +0000)]
(M17NLIB_PATCH_LEVEL): Changed to 5.
(M17NLIB_VERSION_NAME): Changed to "1.3.5".

17 years ago*** empty log message ***
handa [Wed, 28 Feb 2007 07:22:21 +0000 (07:22 +0000)]
*** empty log message ***

17 years agoVersion changed to 1.3.5.
handa [Wed, 28 Feb 2007 07:21:15 +0000 (07:21 +0000)]
Version changed to 1.3.5.

17 years ago*** empty log message ***
handa [Fri, 23 Feb 2007 12:33:43 +0000 (12:33 +0000)]
*** empty log message ***

17 years ago(Mpop): New variable.
handa [Fri, 23 Feb 2007 12:33:29 +0000 (12:33 +0000)]
(Mpop): New variable.
(fully_initialize): Initialize Mpop.
(parse_action_list): Handle Mpop.
(take_action_list): Likewise.
(handle_key): When a key is unhandled, shift to the initial state
only if the current state has no branch action.

17 years ago*** empty log message ***
handa [Mon, 12 Feb 2007 14:27:08 +0000 (14:27 +0000)]
*** empty log message ***

17 years ago(get_preceding_char): Unref mt if necessary.
handa [Mon, 12 Feb 2007 14:25:54 +0000 (14:25 +0000)]
(get_preceding_char): Unref mt if necessary.
(get_following_char): Likewise.
(parse_action_list): Fix handling of `insert' action as
candidates.
(get_candidate_list): Fix for handling (("CANDIDATE1" ...)).
(take_action_list): Check invalid candidate list.

17 years ago*** empty log message ***
handa [Wed, 7 Feb 2007 02:43:39 +0000 (02:43 +0000)]
*** empty log message ***

17 years ago (integer_value): Check also ic->produced for @-N.
handa [Wed, 7 Feb 2007 02:43:30 +0000 (02:43 +0000)]
 (integer_value): Check also ic->produced for @-N.
(get_preceding_char): Cancel previous change.

17 years ago*** empty log message ***
handa [Tue, 6 Feb 2007 06:08:29 +0000 (06:08 +0000)]
*** empty log message ***

17 years ago(get_preceding_char): Fix previous change.
handa [Tue, 6 Feb 2007 06:07:57 +0000 (06:07 +0000)]
(get_preceding_char): Fix previous change.

17 years ago*** empty log message ***
handa [Fri, 26 Jan 2007 05:24:27 +0000 (05:24 +0000)]
*** empty log message ***

17 years ago(mdatabase__update): Check mdatabase__dir_list from
handa [Fri, 26 Jan 2007 05:24:23 +0000 (05:24 +0000)]
(mdatabase__update): Check mdatabase__dir_list from
the tail.

17 years ago(STRDUP_LOWER): Don't ignore the tailing spaces.
handa [Fri, 26 Jan 2007 05:23:53 +0000 (05:23 +0000)]
(STRDUP_LOWER): Don't ignore the tailing spaces.

17 years ago*** empty log message ***
handa [Fri, 19 Jan 2007 05:03:14 +0000 (05:03 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Fri, 12 Jan 2007 11:36:54 +0000 (11:36 +0000)]
*** empty log message ***

17 years ago(handle_key): Handle a branch action of the initial
handa [Fri, 12 Jan 2007 11:36:50 +0000 (11:36 +0000)]
(handle_key): Handle a branch action of the initial
state correctly.

17 years ago*** empty log message ***
handa [Wed, 10 Jan 2007 05:15:01 +0000 (05:15 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Tue, 26 Dec 2006 11:58:27 +0000 (11:58 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Tue, 26 Dec 2006 11:45:12 +0000 (11:45 +0000)]
*** empty log message ***

17 years ago(minput_callback): Extern it.
handa [Tue, 26 Dec 2006 11:45:00 +0000 (11:45 +0000)]
(minput_callback): Extern it.

17 years ago(minput__callback): Delte extern.
handa [Tue, 26 Dec 2006 11:44:32 +0000 (11:44 +0000)]
(minput__callback): Delte extern.

17 years ago(get_surrounding_text): Adjusted for the change of
handa [Tue, 26 Dec 2006 11:43:47 +0000 (11:43 +0000)]
(get_surrounding_text): Adjusted for the change of
minput__callback to minput_callback.
(delete_surrounding_text): Likewise.
(minput_create_ic): Likewise.
(minput_destroy_ic): Likewise.
(minput_filter): Likewise.
(minput_set_spot): Likewise.
(minput_toggle): Likewise.
(minput_reset_ic): Likewise.

17 years ago(win_callback): Adjusted for the change of
handa [Tue, 26 Dec 2006 11:41:39 +0000 (11:41 +0000)]
(win_callback): Adjusted for the change of
minput__callback to minput_callback.

17 years ago*** empty log message ***
handa [Fri, 15 Dec 2006 11:36:36 +0000 (11:36 +0000)]
*** empty log message ***

17 years ago(ft_add_font): Fix typo.
handa [Fri, 15 Dec 2006 00:26:40 +0000 (00:26 +0000)]
(ft_add_font): Fix typo.

17 years ago*** empty log message ***
handa [Thu, 14 Dec 2006 01:35:58 +0000 (01:35 +0000)]
*** empty log message ***