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

17 years agoReturn -2 when surrounding text is unavailable.
ntakahas [Wed, 30 Aug 2006 10:55:20 +0000 (10:55 +0000)]
Return -2 when surrounding text is unavailable.

17 years ago(reset_ic): Fix previous change.
handa [Thu, 17 Aug 2006 12:22:58 +0000 (12:22 +0000)]
(reset_ic): Fix previous change.

17 years ago(reset_ic): Fix previous change.
handa [Thu, 17 Aug 2006 12:12:53 +0000 (12:12 +0000)]
(reset_ic): Fix previous change.

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

17 years ago(reset_ic): Use shift_state to setup the current state.
handa [Thu, 17 Aug 2006 12:09:04 +0000 (12:09 +0000)]
(reset_ic): Use shift_state to setup the current state.

17 years ago(mdatabase__check): Add comment.
handa [Tue, 15 Aug 2006 00:06:42 +0000 (00:06 +0000)]
(mdatabase__check): Add comment.

17 years ago*** empty log message ***
handa [Wed, 2 Aug 2006 11:54:56 +0000 (11:54 +0000)]
*** empty log message ***

17 years ago(common_ldflags, common_ldflags_gui): Use ${top_builddir}.
handa [Wed, 2 Aug 2006 11:54:45 +0000 (11:54 +0000)]
(common_ldflags, common_ldflags_gui): Use ${top_builddir}.

17 years ago(libm17n_la_LIBADD, libm17n_gui_la_LIBADD)
handa [Wed, 2 Aug 2006 11:53:44 +0000 (11:53 +0000)]
(libm17n_la_LIBADD, libm17n_gui_la_LIBADD)
(libm17n_X_la_LIBADD, libm17n_gd_la_LIBADD, linkcore_LDADD)
(linkshell_LDADD, linkgui_LDADD): Use ${top_builddir}.

17 years ago(mdebug_dump_plist): Fix the 2nd arg to dump_plist_element.
handa [Wed, 2 Aug 2006 11:51:46 +0000 (11:51 +0000)]
(mdebug_dump_plist): Fix the 2nd arg to dump_plist_element.

17 years ago(mdebug_dump_mtext): If not fullp, dump just text.
handa [Wed, 2 Aug 2006 11:08:10 +0000 (11:08 +0000)]
(mdebug_dump_mtext): If not fullp, dump just text.

17 years ago(ft_encapsulate): Add code for debugging.
handa [Wed, 2 Aug 2006 11:07:22 +0000 (11:07 +0000)]
(ft_encapsulate): Add code for debugging.
(mfont__ft_drive_otf): Be sure to encode character before getting
metrics.

17 years ago*** empty log message ***
handa [Fri, 21 Jul 2006 11:39:35 +0000 (11:39 +0000)]
*** empty log message ***

17 years ago(mdraw_text_extents): Fix previous typo.
handa [Fri, 21 Jul 2006 11:39:31 +0000 (11:39 +0000)]
(mdraw_text_extents): Fix previous typo.

17 years ago*** empty log message ***
handa [Wed, 19 Jul 2006 12:55:31 +0000 (12:55 +0000)]
*** empty log message ***

17 years ago(gstring_width): New arg lbearing.
handa [Wed, 19 Jul 2006 12:55:28 +0000 (12:55 +0000)]
(gstring_width): New arg lbearing.
(render_glyph_string): Adjusted for the change of gstring_width.
(mdraw_text_extents): Fix lbearing of ink and line metrics.

17 years ago*** empty log message ***
ntakahas [Wed, 19 Jul 2006 07:27:13 +0000 (07:27 +0000)]
*** empty log message ***

17 years agoAdd final sukun to Arabic.
ntakahas [Wed, 19 Jul 2006 07:26:00 +0000 (07:26 +0000)]
Add final sukun to Arabic.

17 years ago*** empty log message ***
handa [Wed, 19 Jul 2006 06:39:30 +0000 (06:39 +0000)]
*** empty log message ***

17 years agoCancel previous change.
handa [Wed, 19 Jul 2006 06:39:19 +0000 (06:39 +0000)]
Cancel previous change.

17 years ago*** empty log message ***
handa [Wed, 19 Jul 2006 06:13:25 +0000 (06:13 +0000)]
*** empty log message ***

17 years agoUse pkg-config if available for checking libotf.
handa [Wed, 19 Jul 2006 06:13:19 +0000 (06:13 +0000)]
Use pkg-config if available for checking libotf.
Include the result of `libotf-config --cflags` in CPPFLAGS.

17 years ago*** empty log message ***
handa [Wed, 19 Jul 2006 02:43:48 +0000 (02:43 +0000)]
*** empty log message ***

17 years ago(CPPFLAGS): Include the result of `libotf-config
handa [Wed, 19 Jul 2006 02:43:40 +0000 (02:43 +0000)]
(CPPFLAGS): Include the result of `libotf-config
--cflags`.

17 years ago(Mlanguage): Extern it.
handa [Wed, 19 Jul 2006 02:42:18 +0000 (02:42 +0000)]
(Mlanguage): Extern it.

17 years ago(Mlanguage): Extern deleted.
handa [Wed, 19 Jul 2006 02:42:00 +0000 (02:42 +0000)]
(Mlanguage): Extern deleted.

17 years ago* mtext.c (mtext__init): Initialize Mlanguage.
handa [Wed, 19 Jul 2006 02:41:17 +0000 (02:41 +0000)]
* mtext.c (mtext__init): Initialize Mlanguage.
(Mlanguage): Declaration moved from locale.c

* locale.c (mlocale__init): Don't initialize Mlanguage here.
(Mlanguage): Declaration moved to mtext.c.

17 years ago(mlocale__init): Don't initialize Mlanguage here.
handa [Wed, 19 Jul 2006 02:40:21 +0000 (02:40 +0000)]
(mlocale__init): Don't initialize Mlanguage here.
(Mlanguage): Don't declare it here.