m17n/m17n-lib.git
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 ***

17 years agoAdd INSTALL, depcomp, install-sh, and missing.
handa [Thu, 14 Dec 2006 01:35:48 +0000 (01:35 +0000)]
Add INSTALL, depcomp, install-sh, and missing.

17 years ago*** empty log message ***
ntakahas [Thu, 7 Dec 2006 12:17:02 +0000 (12:17 +0000)]
*** empty log message ***

17 years agoUpdate FSF postal address.
ntakahas [Thu, 7 Dec 2006 12:12:38 +0000 (12:12 +0000)]
Update FSF postal address.

17 years ago*** empty log message *** REL-1-3-4
handa [Wed, 6 Dec 2006 06:04:08 +0000 (06:04 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 6 Dec 2006 06:04:03 +0000 (06:04 +0000)]
*** empty log message ***

17 years ago(PROGRAM_VERSION): Changed to 1.3.4.
handa [Wed, 6 Dec 2006 06:03:16 +0000 (06:03 +0000)]
(PROGRAM_VERSION): Changed to 1.3.4.

17 years ago(VERSION): Changed to 1.3.4.
handa [Wed, 6 Dec 2006 06:02:48 +0000 (06:02 +0000)]
(VERSION): Changed to 1.3.4.

17 years ago*** empty log message ***
handa [Wed, 6 Dec 2006 06:00:00 +0000 (06:00 +0000)]
*** empty log message ***

17 years ago(minput_get_title_icon): Fix docstring.
handa [Tue, 5 Dec 2006 01:27:08 +0000 (01:27 +0000)]
(minput_get_title_icon): Fix docstring.

17 years agoNew file.
handa [Thu, 30 Nov 2006 05:08:45 +0000 (05:08 +0000)]
New file.

17 years ago*** empty log message ***
handa [Thu, 16 Nov 2006 12:07:10 +0000 (12:07 +0000)]
*** empty log message ***

17 years ago(parse_action_list): Allow (undo 0).
handa [Thu, 16 Nov 2006 12:07:00 +0000 (12:07 +0000)]
(parse_action_list): Allow (undo 0).
(adjust_markers): New function.
(preedit_insert, preedit_delete): Call adjust_markers.
(preedit_replace): New function.
(update_candidate): Call preedit_replace instead of preedit_insert
and preedit_delete.
(filter): When ic_info->commit_key_head is nonzero, shift input
event keys even if there's no committed text.

17 years ago(MInputContextInfo): New member commit_key_head.
handa [Fri, 10 Nov 2006 12:05:07 +0000 (12:05 +0000)]
(MInputContextInfo): New member commit_key_head.

17 years ago*** empty log message ***
handa [Fri, 10 Nov 2006 12:05:04 +0000 (12:05 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Fri, 10 Nov 2006 12:04:23 +0000 (12:04 +0000)]
*** empty log message ***

17 years ago(preedit_commit): Update ic_info->commit_key_head.
handa [Fri, 10 Nov 2006 12:04:17 +0000 (12:04 +0000)]
(preedit_commit): Update ic_info->commit_key_head.
(take_action_list): Reset ic_info->commit_key_head on Mundo.
(filter): When committed, shift keys by ic_info->commit_key_head.

17 years ago(preedit_delete): Fix typo.
handa [Mon, 30 Oct 2006 00:47:44 +0000 (00:47 +0000)]
(preedit_delete): Fix typo.
(take_action_list): Print more debugging information.  Allow
variable in arg of 'select' and `pushback'.

17 years ago*** empty log message ***
handa [Mon, 30 Oct 2006 00:46:15 +0000 (00:46 +0000)]
*** empty log message ***

17 years ago(get_preceding_char): Fix previous change.
handa [Fri, 27 Oct 2006 12:47:13 +0000 (12:47 +0000)]
(get_preceding_char): Fix previous change.

17 years ago*** empty log message ***
handa [Fri, 27 Oct 2006 12:23:39 +0000 (12:23 +0000)]
*** empty log message ***

17 years ago(surrounding_text_handler): Be sure to set surround text
handa [Fri, 27 Oct 2006 12:23:30 +0000 (12:23 +0000)]
(surrounding_text_handler): Be sure to set surround text
even if LEN is zero.

17 years ago*** empty log message ***
handa [Fri, 27 Oct 2006 12:15:26 +0000 (12:15 +0000)]
*** empty log message ***

17 years ago(get_preceding_char): If POS is zero, always call
handa [Fri, 27 Oct 2006 12:15:11 +0000 (12:15 +0000)]
(get_preceding_char): If POS is zero, always call
get_surrounding_text.

17 years ago*** empty log message ***
handa [Fri, 27 Oct 2006 12:12:23 +0000 (12:12 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Fri, 27 Oct 2006 01:29:22 +0000 (01:29 +0000)]
*** empty log message ***

17 years ago(marker_code): New arg surrounding. Callers changed.
handa [Fri, 27 Oct 2006 01:29:19 +0000 (01:29 +0000)]
(marker_code): New arg surrounding.  Callers changed.
(surrounding_pos): Check if name[0] == '@'.
(integer_value): Fix for the change semantics of `@-N' and `@+N'.

17 years ago*** empty log message ***
handa [Thu, 19 Oct 2006 01:29:03 +0000 (01:29 +0000)]
*** empty log message ***

17 years ago(load_variables): Fix setting of `global'.
handa [Thu, 19 Oct 2006 01:28:54 +0000 (01:28 +0000)]
(load_variables): Fix setting of `global'.

17 years ago*** empty log message ***
handa [Wed, 18 Oct 2006 12:28:29 +0000 (12:28 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 18 Oct 2006 12:28:25 +0000 (12:28 +0000)]
*** empty log message ***

17 years ago(delete_surrounding_text): Be sure to set members
handa [Wed, 18 Oct 2006 12:25:59 +0000 (12:25 +0000)]
(delete_surrounding_text): Be sure to set members
preceding_text and following_text to NULL.
(shift_state): Save variable values in ic_info->vars_saved.
(preedit_commit): Don't print debug information here.  Don't
change ic_info->keys here.
(get_candidate_list): Don't ref plist.
(take_action_list): Don't unref return value of
get_candidate_list.  For undo, reset ic->produced and recover
ic_info->vars.  Be sure to set ic->candidate_list to NULL after
unref it.
(init_ic_info): Set ic_info->vars_saved.
(fini_ic_info): Unref ic_info->vars_saved.
(re_init_ic): Be sure to set ic->candidate_list to NULL after
unref it.
(filter): Be sure to set members preceding_text and following_text
to NULL.  Print debug information about produced text.  Delete
processed keys from ic_info->keys.

17 years ago(MInputContextInfo): New member vars_saved.
handa [Wed, 18 Oct 2006 12:20:35 +0000 (12:20 +0000)]
(MInputContextInfo): New member vars_saved.

17 years ago*** empty log message ***
handa [Mon, 16 Oct 2006 13:01:35 +0000 (13:01 +0000)]
*** empty log message ***

17 years ago(create_menu_button): Set XtNinternational to True.
handa [Mon, 16 Oct 2006 13:01:31 +0000 (13:01 +0000)]
(create_menu_button): Set XtNinternational to True.

17 years ago*** empty log message ***
handa [Mon, 16 Oct 2006 12:44:11 +0000 (12:44 +0000)]
*** empty log message ***

17 years ago(mdatabase__update): Fix the way to get db_info.
handa [Mon, 16 Oct 2006 12:43:48 +0000 (12:43 +0000)]
(mdatabase__update): Fix the way to get db_info.

17 years ago(draw_background): Be sure to set *to_x.
handa [Mon, 16 Oct 2006 00:37:43 +0000 (00:37 +0000)]
(draw_background): Be sure to set *to_x.
(render_glyph_string): If from == to, just return.

17 years ago*** empty log message ***
handa [Mon, 2 Oct 2006 12:33:08 +0000 (12:33 +0000)]
*** empty log message ***

17 years ago(struct MFont): New member `multiple_sizes'. Bit-size of
handa [Mon, 2 Oct 2006 12:32:49 +0000 (12:32 +0000)]
(struct MFont): New member `multiple_sizes'.  Bit-size of
`size' changed to 24.

17 years ago(xlfd_unparse_name): Adjusted for the change of
handa [Mon, 2 Oct 2006 12:32:03 +0000 (12:32 +0000)]
(xlfd_unparse_name): Adjusted for the change of
MFont->size.
(font_score): Likewise.
(mfont__set_spec_from_face): Set spec->multiple_sizes to 0.

17 years ago(MFontX, _MFontX): Deleted.
handa [Mon, 2 Oct 2006 12:31:20 +0000 (12:31 +0000)]
(MFontX, _MFontX): Deleted.
(SET_SIZE, HAVE_SIZE): Deleted.
(free_display_info): Adjusted for the change of
disp_info->font_list format.
(xfont_registry_list): Likewise.
(xfont_open): Likewise.
(xfont_list): Likewise.
(xfont_encode_char): Ignore size to find a realized font.
(MRealizedFontXft): Change the order of members to make it
compatible with MRealizedFontFT.

17 years ago*** empty log message ***
handa [Wed, 27 Sep 2006 06:12:52 +0000 (06:12 +0000)]
*** empty log message ***

17 years ago(mfont_match_p, mfont_open, mfont_encapsulate)
handa [Wed, 27 Sep 2006 06:10:44 +0000 (06:10 +0000)]
(mfont_match_p, mfont_open, mfont_encapsulate)
(mfont_close): Add comments.

17 years ago(mtext_line_break): Add comment.
handa [Wed, 27 Sep 2006 06:09:48 +0000 (06:09 +0000)]
(mtext_line_break): Add comment.

17 years ago*** empty log message ***
handa [Tue, 26 Sep 2006 13:13:02 +0000 (13:13 +0000)]
*** empty log message ***

17 years ago(minput_get_description): Handle description about
handa [Tue, 26 Sep 2006 13:12:58 +0000 (13:12 +0000)]
(minput_get_description): Handle description about
inclusion-only input methods.

17 years ago*** empty log message ***
handa [Fri, 22 Sep 2006 04:36:04 +0000 (04:36 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 21 Sep 2006 11:09:47 +0000 (11:09 +0000)]
*** empty log message ***

17 years ago(M_gettext): New variable.
handa [Thu, 21 Sep 2006 11:09:40 +0000 (11:09 +0000)]
(M_gettext): New variable.
(fully_initialize): Initialize M_gettext.
(check_description): New function.
(load_commands): Call check_description.
(config_all_commands): Be sure to unref pl.
(load_variables): Call check_description.
(config_all_variables): Be sure to unref pl.
(load_im_info): Call check_description.

17 years agoInclude <libintl.h> and define _.
handa [Thu, 21 Sep 2006 11:06:06 +0000 (11:06 +0000)]
Include <libintl.h> and define _.

17 years ago(m17n_init_core) [ENABLE_NLS]: Call bindtextdoman
handa [Thu, 21 Sep 2006 11:05:20 +0000 (11:05 +0000)]
(m17n_init_core) [ENABLE_NLS]: Call bindtextdoman
and bind_textdomain_codeset.

17 years ago(AM_CPPFLAGS): Add -DGETTEXTDIR=...
handa [Thu, 21 Sep 2006 11:04:45 +0000 (11:04 +0000)]
(AM_CPPFLAGS): Add -DGETTEXTDIR=...

17 years ago*** empty log message ***
handa [Thu, 21 Sep 2006 11:04:16 +0000 (11:04 +0000)]
*** empty log message ***

17 years agoNew directory
handa [Thu, 21 Sep 2006 11:04:05 +0000 (11:04 +0000)]
New directory

17 years agoNew directory
handa [Thu, 21 Sep 2006 11:03:05 +0000 (11:03 +0000)]
New directory

17 years ago*** empty log message ***
handa [Thu, 21 Sep 2006 11:00:47 +0000 (11:00 +0000)]
*** empty log message ***

17 years agoNew file.
handa [Thu, 21 Sep 2006 11:00:35 +0000 (11:00 +0000)]
New file.

17 years agoDon't delete mkinstalldirs. Change order of
handa [Thu, 21 Sep 2006 11:00:09 +0000 (11:00 +0000)]
Don't delete mkinstalldirs.  Change order of
calling auto tools.

17 years ago*** empty log message ***
handa [Thu, 21 Sep 2006 10:58:45 +0000 (10:58 +0000)]
*** empty log message ***

17 years ago(SUBDIRS): Add intl.
handa [Thu, 21 Sep 2006 10:58:39 +0000 (10:58 +0000)]
(SUBDIRS): Add intl.
(SUBDIRS): Add po.
(ACLOCAL_AMFLAGS): New variable.
(EXTRA_DIST): Add config.rpath, mkinstalldirs, m4/ChangeLog.

17 years ago(AC_CONFIG_FILES): Add intl/Makefile.
handa [Thu, 21 Sep 2006 10:58:09 +0000 (10:58 +0000)]
(AC_CONFIG_FILES): Add intl/Makefile.
(AC_CONFIG_FILES): Add po/Makefile.in.
Add AM_GNU_GETTEXT.
(GETTEXTDIR): New variable.  AC_SUBST it.

17 years ago*** empty log message ***
handa [Fri, 15 Sep 2006 06:14:23 +0000 (06:14 +0000)]
*** empty log message ***

17 years ago(reload_im_info): Update custom and global info.
handa [Fri, 15 Sep 2006 06:14:18 +0000 (06:14 +0000)]
(reload_im_info): Update custom and global info.
(init_ic_info): Fix previous change.

17 years ago(delete_surrounding_text): Fix incorrect commit.
handa [Fri, 15 Sep 2006 01:34:33 +0000 (01:34 +0000)]
(delete_surrounding_text): Fix incorrect commit.

17 years ago*** empty log message ***
handa [Thu, 14 Sep 2006 08:15:52 +0000 (08:15 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
nisikimi [Thu, 14 Sep 2006 04:55:55 +0000 (04:55 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 14 Sep 2006 04:23:35 +0000 (04:23 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
nisikimi [Thu, 14 Sep 2006 03:50:50 +0000 (03:50 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 14 Sep 2006 00:56:52 +0000 (00:56 +0000)]
*** empty log message ***

17 years agoInclude <libgen.h>.
handa [Thu, 14 Sep 2006 00:56:44 +0000 (00:56 +0000)]
Include <libgen.h>.
(mdatabase__lock): Make a directory if necessary.

17 years ago(resolve_command): Adjusted for the format change of
handa [Thu, 14 Sep 2006 00:55:48 +0000 (00:55 +0000)]
(resolve_command): Adjusted for the format change of
configured_cmds member.
(load_commands, load_variables): Fix for errornous data handling.
(config_command, config_variable): New function.
(config_all_commands, config_all_variables): Renamed from
config_commands and config_variables.  Utilize the above function.
(check_variable_value): Argument changed.  Callers changed.
(load_im_info): Call config_all_commands and config_all_variables.
(init_ic_info): Adjusted for the format change of configured_vars
member.
(minput__init): Initialize Mcustomized, Mconfigured, and
Minherited.
(Mcustomized, Mconfigured, Minherited): New variables.
(minput_get_command): Be sure to return NULL if an input method
use no local command.
(minput_get_variable): Be sure to return NULL if an input method
use no local variable.
(minput_config_command, minput_config_variable)
(minput_save_config): Adjusted for the format change of
configured_cmds and configured_vars members.

17 years ago(write_element): Delete superfluous ':'.
handa [Thu, 14 Sep 2006 00:47:16 +0000 (00:47 +0000)]
(write_element): Delete superfluous ':'.

17 years ago(Minherited, Mcustomized, Mconfigured): Extern them.
handa [Wed, 13 Sep 2006 12:03:36 +0000 (12:03 +0000)]
(Minherited, Mcustomized, Mconfigured): Extern them.
(minput_config_file): Extern it.

17 years ago(Minherited): Declaration moved to input.c.
handa [Wed, 13 Sep 2006 11:50:49 +0000 (11:50 +0000)]
(Minherited): Declaration moved to input.c.
(mdraw__init): Don't initialize Minherited here.

17 years ago(mdatabase__unlock): Be sure to unlink uniq file.
handa [Wed, 13 Sep 2006 11:50:01 +0000 (11:50 +0000)]
(mdatabase__unlock): Be sure to unlink uniq file.

17 years ago(register_database): Be sure to initialize db_info->absolute_filename.
handa [Thu, 7 Sep 2006 10:16:42 +0000 (10:16 +0000)]
(register_database): Be sure to initialize db_info->absolute_filename.

17 years ago*** empty log message ***
handa [Thu, 7 Sep 2006 07:59:58 +0000 (07:59 +0000)]
*** empty log message ***

17 years ago(mtext_serialize): Call mplist__serialize with the
handa [Thu, 7 Sep 2006 07:59:49 +0000 (07:59 +0000)]
(mtext_serialize): Call mplist__serialize with the
arg pretty 0.

17 years ago(mplist__serialize): Prototype adjusted.
handa [Thu, 7 Sep 2006 07:59:18 +0000 (07:59 +0000)]
(mplist__serialize): Prototype adjusted.
(mplist__assq): Extern it.

17 years agoInclude <ctype.h>
handa [Thu, 7 Sep 2006 07:58:47 +0000 (07:58 +0000)]
Include <ctype.h>
(PUTC, PUTS): New macros.
(write_symbol): New function.
(write_element): New arg indent.
(dump_string, dump_plist_element): Delete them.
(mplist__from_string): New arg pretty.
(mplist__assq): New function.
(mdebug_dump_plist): Use write_element.

17 years ago(mtext_cat_char): Allocate more memory.
handa [Thu, 7 Sep 2006 07:56:47 +0000 (07:56 +0000)]
(mtext_cat_char): Allocate more memory.
(mdebug_dump_mtext): Don't escal a newline character.

17 years ago(minput_get_command, minput_get_variable)
handa [Thu, 7 Sep 2006 07:55:40 +0000 (07:55 +0000)]
(minput_get_command, minput_get_variable)
(minput_config_command, minput_config_variable)
(minput_save_config): Extern them.

17 years agoInclude <string.h>.
handa [Thu, 7 Sep 2006 07:54:30 +0000 (07:54 +0000)]
Include <string.h>.
(m17n_init_core): If the env. var. MDEBUG_OUTPUT_FILE is "stdout",
use the stream stdout instead of a file of that name.

17 years ago(mwin__parse_event): Fix handling of Shift and Control
handa [Thu, 7 Sep 2006 07:53:11 +0000 (07:53 +0000)]
(mwin__parse_event): Fix handling of Shift and Control
modifiers.

17 years ago(MFAILP, MDEBUG_PRINT0): New macros.
handa [Thu, 7 Sep 2006 07:52:22 +0000 (07:52 +0000)]
(MFAILP, MDEBUG_PRINT0): New macros.
(MDEBUG_PRINT, MDEBUG_PRINT1, MDEBUG_PRINT2, MDEBUG_PRINT3)
(MDEBUG_PRINT4, MDEBUG_PRINT5): Use MDEBUG_PRINT0.
(MDEBUG_DUMP): Flush the stream.

17 years ago(struct _MInputMethodInfo): Delete member im. New
handa [Thu, 7 Sep 2006 07:51:04 +0000 (07:51 +0000)]
(struct _MInputMethodInfo): Delete member im.  New
members mdb, language, name, extra, cmds, configured_cmds,
bc_cmds, vars, configured_vars, bc_vars, description, and tick.
(MInputContextInfo): New member tick.

17 years agoBig change to improve user-side input method
handa [Thu, 7 Sep 2006 07:49:47 +0000 (07:49 +0000)]
Big change to improve user-side input method
customization.  Here, list just public API changes.
(minput_get_commands, minput_get_variables)
(minput_assign_command_keys, minput_set_variable): Label them
obsolete.
(minput_get_command, minput_get_variable)
(minput_config_command, minput_config_variable): New functions.

17 years ago*** empty log message ***
handa [Thu, 7 Sep 2006 07:42:22 +0000 (07:42 +0000)]
*** empty log message ***

17 years agoInclude <time.h>.
handa [Thu, 7 Sep 2006 07:40:05 +0000 (07:40 +0000)]
Include <time.h>.
(MDB_DIR_LEN): Don't include the terminating '\0' in the length.
(GEN_PATH): Args changed.  Callers changed.
(struct MDatabaseInfo): Moved to database.h.
(struct MDatabase, mdb_list): Deleted.
(mdatabase__list): New var.
(get_database_filename): Deleted.  Callers changed to use
get_database_file.
(find_file, get_database_file): New files.
(get_dir_info): Initialize new members of MDatabaseInfo.
(find_database): Arg chagnded.  Callers changed.
(free_db_info, register_database, register_databases_in_files):
New functions.
(update_database_list): Deleted.
(mdatabase__init): Initialize mdatabase__list instead of mdb_list.
(mdatabase__fini): Finalize mdatabase__list instead of mdb_list.
(mdatabase__update): New function.
(mdatabase__check): Return value changed.
(mdatabase__file, mdatabase__lock, mdatabase__save)
(mdatabase__unlock): New functions.

17 years ago*** empty log message ***
ntakahas [Wed, 30 Aug 2006 11:08:22 +0000 (11:08 +0000)]
*** empty log message ***