m17n/m17n-lib.git
17 years agoUpdate comments.
ntakahas [Wed, 5 Jul 2006 11:47:12 +0000 (11:47 +0000)]
Update comments.

17 years ago*** empty log message ***
handa [Wed, 5 Jul 2006 07:28:36 +0000 (07:28 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 5 Jul 2006 07:22:01 +0000 (07:22 +0000)]
*** empty log message ***

17 years ago(PATH_MAX): Define it if not yet defined.
handa [Wed, 5 Jul 2006 07:21:45 +0000 (07:21 +0000)]
(PATH_MAX): Define it if not yet defined.
(PATH_SEPARATOR, USE_GEN_PATH, GEN_PATH, GEN_PATH_FROM_MT): New
macros.
(get_database_filename): Use GEN_PATH.
(get_dir_info): Don't include the last '/' in directory name.
(register_database): New function.
(update_database_list): Use register_database.  Search all
directories in mdatabase__dir_list for wildcard databases.
(mdatabase__init): Check "~/.m17n.d".

17 years ago*** empty log message ***
handa [Mon, 3 Jul 2006 12:43:50 +0000 (12:43 +0000)]
*** empty log message ***

17 years ago(win_callback): If is ic->candidate_show zero, don't
handa [Mon, 3 Jul 2006 12:43:47 +0000 (12:43 +0000)]
(win_callback): If is ic->candidate_show zero, don't
push reverse property.

17 years ago(dump_plist_element): Fix previous change.
handa [Mon, 3 Jul 2006 12:42:54 +0000 (12:42 +0000)]
(dump_plist_element): Fix previous change.

17 years ago*** empty log message ***
handa [Wed, 28 Jun 2006 11:22:11 +0000 (11:22 +0000)]
*** empty log message ***

17 years ago(xlfd_unparse_name): Suppress the heading '-' if not
handa [Wed, 28 Jun 2006 11:22:06 +0000 (11:22 +0000)]
(xlfd_unparse_name): Suppress the heading '-' if not
necessary.

17 years ago(MbidiNSM): New variable.
handa [Wed, 28 Jun 2006 11:20:57 +0000 (11:20 +0000)]
(MbidiNSM): New variable.
(visual_order) [! HAVE_FRIBIDI]: Clear levels at first.  Pay
attention to bidi type NSM.
(mdraw__init): Initialize MbibiNSM.

17 years ago*** empty log message ***
handa [Wed, 28 Jun 2006 11:20:51 +0000 (11:20 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 28 Jun 2006 07:22:19 +0000 (07:22 +0000)]
*** empty log message ***

17 years ago(mscript__char_list): Fix finding a char-list element.
handa [Wed, 28 Jun 2006 07:22:15 +0000 (07:22 +0000)]
(mscript__char_list): Fix finding a char-list element.

17 years ago*** empty log message ***
handa [Wed, 28 Jun 2006 07:03:35 +0000 (07:03 +0000)]
*** empty log message ***

17 years ago(dump_string): Return number of printed characters.
handa [Wed, 28 Jun 2006 07:03:30 +0000 (07:03 +0000)]
(dump_string): Return number of printed characters.
(dump_plist_element): Print elements more compactly.

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

17 years ago(BUILD_LIBS): Don't increment it conditionally.
handa [Fri, 23 Jun 2006 12:52:54 +0000 (12:52 +0000)]
(BUILD_LIBS): Don't increment it conditionally.

17 years ago(BUILD_LIBS): Don't increment it conditionally.
handa [Fri, 23 Jun 2006 12:51:45 +0000 (12:51 +0000)]
(BUILD_LIBS): Don't increment it conditionally.
(include_HEADERS): Likewise.

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

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

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

17 years ago*** empty log message ***
ntakahas [Fri, 23 Jun 2006 08:17:59 +0000 (08:17 +0000)]
*** empty log message ***

17 years agoUpdate documentation.
ntakahas [Fri, 23 Jun 2006 08:17:31 +0000 (08:17 +0000)]
Update documentation.

17 years ago(mlanguage_code): On failure, return Mnil, not NULL.
handa [Fri, 23 Jun 2006 07:25:00 +0000 (07:25 +0000)]
(mlanguage_code): On failure, return Mnil, not NULL.

17 years ago*** empty log message ***
handa [Fri, 23 Jun 2006 02:47:18 +0000 (02:47 +0000)]
*** empty log message ***

17 years ago(show_cursor): Call mlanguage_name to get English name
handa [Fri, 23 Jun 2006 02:44:55 +0000 (02:44 +0000)]
(show_cursor): Call mlanguage_name to get English name
of language.
(compare_input_method): Likewise.
(main): Likewise.

17 years ago(struct MFontFT): Delete member lang.
handa [Fri, 23 Jun 2006 02:43:51 +0000 (02:43 +0000)]
(struct MFontFT): Delete member lang.
(free_ft_info): Don't unref member lang.  Destroy members langset
and charset.
(fc_parse_pattern): Last argument changed to MFontFT *.  Callers
changed.  Set members langset and charset.
(fc_init_font_list, fc_list_pattern, fc_build_charset): New
functions.
(ft_init_font_list, ft_has_char_list_p, ft_list_char_list): New
functions.
(ft_list_family) [HAVE_FONTCONFIG]: Include FC_CHARSET on objset.
(ft_list_family) [! HAVE_FONTCONFIG]: Call ft_init_font_list.
(ft_list_language) [HAVE_FONTCONFIG]: Check representative
characters at first.  If it fails, try listing by language names.
(ft_list_language) [! HAVE_FONTCONFIG]: Call ft_list_char_list.
(ft_check_language): Renamed from ft_check_lang.  Adjusted for the
change of MFontCapability.
(ft_list_capability): Likewise.  Try listing by languages, then by
scripts.  Check OTF at last.
(ft_check_script): New function.
(ft_select): Adjusted for the check of MFontCapability.
(ft_list_family_names): New function.
(ft_check_capability): If cap->script is not Mnil, call
ft_check_script.
(mfont__ft_driver): Initialize with ft_list_family_names.

17 years ago(struct MFontDriver): New member list_fmaily_names.
handa [Fri, 23 Jun 2006 02:32:36 +0000 (02:32 +0000)]
(struct MFontDriver): New member list_fmaily_names.
(struct): Change member "MSymbol *lang" to "MSymbol language".

17 years agoInclude "language.h".
handa [Fri, 23 Jun 2006 02:31:55 +0000 (02:31 +0000)]
Include "language.h".
(Motf): New variable.
(otf_script_list, load_otf_script_list): Delete it.
(find_script_from_otf_tag): Delete it.
(merge_capability): New function.
(mfont__init): Init Motf.
(mfont__fini): Don't unref otf_script_list.
(free_font_capability): Check cap->script_tag to determine if
OTF-related capability is set.
(mfont__get_capability): Call mscript__from_otf_tag.  Adjusted for
the change of type MFontCapability.
(mfont_put_prop): Call merge_capability for Mlanguage, Mscript,
and Motf properties.
(mfont_list): Call merge_capability for LANGUAGE arg.
(mfont_list_family_names): New function.

17 years agoTypo in comments fixed.
handa [Fri, 23 Jun 2006 02:26:12 +0000 (02:26 +0000)]
Typo in comments fixed.

17 years ago(mlanguage__list): Delete it.
handa [Fri, 23 Jun 2006 02:25:25 +0000 (02:25 +0000)]
(mlanguage__list): Delete it.
(mscript__char_list, mscript__otf_tag, mscript__from_otf_tag): New
functions.

17 years agoInclude "mtext.h".
handa [Fri, 23 Jun 2006 02:24:13 +0000 (02:24 +0000)]
Include "mtext.h".
(M_script_lang_list): Delete it.
(language_list, script_list): New variables.
(load_lang_script_list, init_language_list, init_script_list): New
functions.
(mlang__init): Don't load language database here.
(mlang__fini): Unref language_list and script_list if not NULL.
(mlanguage__list): Delete it.
(mlanguage__info, mscript__info, mscript__char_list)
(mscript__otf_tag, mscript__from_otf_tag): New functions.
(mlanguage_list, mlanguage_code, mlanguage_name, mlanguage_text)
(mscript_list, mscript_language_list): New functions.

17 years ago(mfont_list_family_names): Extern it.
handa [Fri, 23 Jun 2006 02:20:02 +0000 (02:20 +0000)]
(mfont_list_family_names): Extern it.

17 years ago(mlanguage_list, mlanguage_code, mlanguage_name)
handa [Fri, 23 Jun 2006 02:19:36 +0000 (02:19 +0000)]
(mlanguage_list, mlanguage_code, mlanguage_name)
(mlanguage_text, mscript_list, mscript_language_list): Extern
them.

17 years ago*** empty log message ***
handa [Fri, 23 Jun 2006 02:18:17 +0000 (02:18 +0000)]
*** empty log message ***

17 years agoAdd "--with-fontconfig" arg.
handa [Fri, 23 Jun 2006 02:17:56 +0000 (02:17 +0000)]
Add "--with-fontconfig" arg.

17 years ago(xfont_driver): Initialize with
handa [Wed, 21 Jun 2006 12:42:20 +0000 (12:42 +0000)]
(xfont_driver): Initialize with
xfont_list_family_names.
(xfont_list_family_names): New function.
(xft_driver): Initialize with NULL for list_family_names member.
(device_init): Set list_family_names member of xft_driver to that
of mfont__ft_driver.

18 years ago*** empty log message ***
handa [Tue, 6 Jun 2006 07:09:10 +0000 (07:09 +0000)]
*** empty log message ***

18 years ago(mfont__lookup_fontset): Don't set *num to 1 if it is 0.
handa [Tue, 6 Jun 2006 07:08:57 +0000 (07:08 +0000)]
(mfont__lookup_fontset): Don't set *num to 1 if it is 0.

18 years ago*** empty log message ***
handa [Mon, 29 May 2006 11:49:42 +0000 (11:49 +0000)]
*** empty log message ***

18 years agoFor for --libtool.
handa [Mon, 29 May 2006 11:49:26 +0000 (11:49 +0000)]
For for --libtool.

18 years ago*** empty log message ***
ntakahas [Mon, 24 Apr 2006 12:06:54 +0000 (12:06 +0000)]
*** empty log message ***

18 years agoInsert libthai reference site.
ntakahas [Mon, 24 Apr 2006 12:06:08 +0000 (12:06 +0000)]
Insert libthai reference site.

18 years ago*** empty log message ***
handa [Fri, 24 Mar 2006 12:58:08 +0000 (12:58 +0000)]
*** empty log message ***

18 years ago(ft_open): Improve debug message.
handa [Fri, 24 Mar 2006 12:58:05 +0000 (12:58 +0000)]
(ft_open): Improve debug message.

18 years ago(mfontset__get_font): Fix for the case that no font in
handa [Fri, 24 Mar 2006 12:57:42 +0000 (12:57 +0000)]
(mfontset__get_font): Fix for the case that no font in
per_script list is available.

18 years ago*** empty log message *** REL-1-3-3
handa [Wed, 22 Feb 2006 01:31:03 +0000 (01:31 +0000)]
*** empty log message ***

18 years agoFix some typo in documention.
handa [Wed, 22 Feb 2006 01:30:29 +0000 (01:30 +0000)]
Fix some typo in documention.

18 years ago*** empty log message ***
handa [Wed, 22 Feb 2006 01:25:43 +0000 (01:25 +0000)]
*** empty log message ***

18 years ago(M17NLIB_PATCH_LEVEL): Updated to 3.
handa [Wed, 22 Feb 2006 01:25:12 +0000 (01:25 +0000)]
(M17NLIB_PATCH_LEVEL): Updated to 3.
(M17NLIB_VERSION_NAME): Updated to "1.3.3".

18 years agoFix some typos in documentation.
handa [Wed, 22 Feb 2006 01:24:37 +0000 (01:24 +0000)]
Fix some typos in documentation.

18 years agoFix several typos in documentation.
handa [Wed, 22 Feb 2006 01:23:18 +0000 (01:23 +0000)]
Fix several typos in documentation.

18 years agoVersion changed to 1.3.1.
handa [Wed, 22 Feb 2006 01:22:50 +0000 (01:22 +0000)]
Version changed to 1.3.1.
(HAVE_DLOPEN): Fix typo in a message.

18 years ago(EXTRA_DIST): Add bootstrap.sh. REL-1-3-2
handa [Mon, 6 Feb 2006 03:52:13 +0000 (03:52 +0000)]
(EXTRA_DIST): Add bootstrap.sh.

18 years ago*** empty log message ***
handa [Mon, 6 Feb 2006 03:51:40 +0000 (03:51 +0000)]
*** empty log message ***

18 years agoUpdate copyright.
handa [Mon, 6 Feb 2006 03:48:13 +0000 (03:48 +0000)]
Update copyright.

18 years ago*** empty log message ***
handa [Mon, 6 Feb 2006 03:48:00 +0000 (03:48 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
handa [Fri, 3 Feb 2006 12:08:24 +0000 (12:08 +0000)]
*** empty log message ***

18 years ago(xlfd_parse_name): Fix handling of the name "nil".
handa [Fri, 3 Feb 2006 12:08:19 +0000 (12:08 +0000)]
(xlfd_parse_name): Fix handling of the name "nil".

18 years ago(M17NLIB_PATCH_LEVEL): Updated to 2.
handa [Fri, 3 Feb 2006 12:04:01 +0000 (12:04 +0000)]
(M17NLIB_PATCH_LEVEL): Updated to 2.
(M17NLIB_VERSION_NAME): Updated to "1.3.2".

18 years agoVersion changed to 1.3.1.
handa [Fri, 3 Feb 2006 12:03:23 +0000 (12:03 +0000)]
Version changed to 1.3.1.

18 years ago*** empty log message ***
handa [Fri, 3 Feb 2006 12:02:48 +0000 (12:02 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
handa [Fri, 3 Feb 2006 06:14:15 +0000 (06:14 +0000)]
*** empty log message ***

18 years ago(layout_glyphs): Fix handling left_padding of
handa [Fri, 3 Feb 2006 06:14:10 +0000 (06:14 +0000)]
(layout_glyphs): Fix handling left_padding of
composition's base.

18 years agoDescribe the supported color names.
handa [Fri, 3 Feb 2006 06:12:29 +0000 (06:12 +0000)]
Describe the supported color names.

18 years ago*** empty log message ***
handa [Fri, 3 Feb 2006 06:05:02 +0000 (06:05 +0000)]
*** empty log message ***

18 years ago(read_rgb_txt): Support HTML 4.0 color names.
handa [Fri, 3 Feb 2006 06:04:54 +0000 (06:04 +0000)]
(read_rgb_txt): Support HTML 4.0 color names.

18 years ago*** empty log message ***
handa [Thu, 2 Feb 2006 08:06:53 +0000 (08:06 +0000)]
*** empty log message ***

18 years ago(include_HEADERS): Add m17n-gui.h and m17n-X.h only
handa [Thu, 2 Feb 2006 08:06:47 +0000 (08:06 +0000)]
(include_HEADERS): Add m17n-gui.h and m17n-X.h only
if WITH_GUI is true.

18 years ago*** empty log message ***
handa [Wed, 25 Jan 2006 01:18:59 +0000 (01:18 +0000)]
*** empty log message ***

18 years ago(resolve_expression): If the value of PLIST is a plist,
handa [Wed, 25 Jan 2006 01:18:20 +0000 (01:18 +0000)]
(resolve_expression): If the value of PLIST is a plist,
but the first element is not symbol, return 0.

18 years agoFix greek.
handa [Thu, 19 Jan 2006 00:36:03 +0000 (00:36 +0000)]
Fix greek.

18 years ago*** empty log message ***
handa [Tue, 17 Jan 2006 07:42:08 +0000 (07:42 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
handa [Tue, 17 Jan 2006 07:15:23 +0000 (07:15 +0000)]
*** empty log message ***

18 years ago(main): Use gdImageCreateTrueColor and
handa [Tue, 17 Jan 2006 07:15:01 +0000 (07:15 +0000)]
(main): Use gdImageCreateTrueColor and
gdImageAlphaBlending only if HAVE_GD is 2 or the greater.

18 years ago(gd_render): Use gdImageColorResolveAlpha only if
handa [Tue, 17 Jan 2006 07:13:57 +0000 (07:13 +0000)]
(gd_render): Use gdImageColorResolveAlpha only if
HAVE_GD is 2 or the greater.

18 years agoIf GD library is available, define HAVE_GD as 1 or
handa [Tue, 17 Jan 2006 07:12:55 +0000 (07:12 +0000)]
If GD library is available, define HAVE_GD as 1 or
2 in CONFIG_FLAGS.

18 years agoRestore for REL-1-3-1. REL-1-3-1
handa [Tue, 17 Jan 2006 06:37:22 +0000 (06:37 +0000)]
Restore for REL-1-3-1.

18 years ago*** empty log message ***
handa [Tue, 17 Jan 2006 04:06:19 +0000 (04:06 +0000)]
*** empty log message ***

18 years ago(main): Use gdImageAlphaBlending only if HAVE_GD > 1.
handa [Tue, 17 Jan 2006 04:06:15 +0000 (04:06 +0000)]
(main): Use gdImageAlphaBlending only if HAVE_GD > 1.

18 years ago*** empty log message ***
handa [Tue, 17 Jan 2006 02:57:29 +0000 (02:57 +0000)]
*** empty log message ***

18 years ago(gd_render): If gdAlphaTransparent is not defined,
handa [Tue, 17 Jan 2006 02:57:23 +0000 (02:57 +0000)]
(gd_render): If gdAlphaTransparent is not defined,
define it as 127.

18 years ago*** empty log message ***
handa [Tue, 17 Jan 2006 02:50:34 +0000 (02:50 +0000)]
*** empty log message ***

18 years ago(main): Use gdImageCreateTrueColor only if HAVE_GD > 1.
handa [Tue, 17 Jan 2006 02:50:19 +0000 (02:50 +0000)]
(main): Use gdImageCreateTrueColor only if HAVE_GD > 1.

18 years ago*** empty log message ***
handa [Mon, 16 Jan 2006 07:17:33 +0000 (07:17 +0000)]
*** empty log message ***

18 years ago(help_exit): Describe -fg, -bg, -r args.
handa [Mon, 16 Jan 2006 06:52:00 +0000 (06:52 +0000)]
(help_exit): Describe -fg, -bg, -r args.
(main): Handle -fg, -bg args.  Use gdImageCreateTrueColor instead
of gdImageCreate.

18 years ago(gd_render): Use gdImageColorResolveAlpha instead of
handa [Mon, 16 Jan 2006 06:45:15 +0000 (06:45 +0000)]
(gd_render): Use gdImageColorResolveAlpha instead of
simulating anti-aliasing.

18 years agoVersion changed to 1.3.1.
handa [Mon, 16 Jan 2006 02:18:55 +0000 (02:18 +0000)]
Version changed to 1.3.1.

18 years ago*** empty log message ***
handa [Mon, 16 Jan 2006 02:18:09 +0000 (02:18 +0000)]
*** empty log message ***

18 years agoCopyright updated.
handa [Mon, 16 Jan 2006 02:14:32 +0000 (02:14 +0000)]
Copyright updated.

18 years ago(M17NLIB_PATCH_LEVEL): Updated to 1.
handa [Mon, 16 Jan 2006 02:14:16 +0000 (02:14 +0000)]
(M17NLIB_PATCH_LEVEL): Updated to 1.
(M17NLIB_VERSION_NAME): Updated to "1.3.1".

18 years ago(get_surrounding_text): Always pop ic->plist.
handa [Thu, 12 Jan 2006 02:33:30 +0000 (02:33 +0000)]
(get_surrounding_text): Always pop ic->plist.
(reset_ic): Don't reset ic->plist.

18 years ago*** empty log message ***
handa [Thu, 12 Jan 2006 02:33:25 +0000 (02:33 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
handa [Tue, 10 Jan 2006 00:54:20 +0000 (00:54 +0000)]
*** empty log message ***

18 years ago(preedit_commit): For debugging, print only commiting
handa [Tue, 10 Jan 2006 00:54:11 +0000 (00:54 +0000)]
(preedit_commit): For debugging, print only commiting
charactes.  Don't set ic->candidate_show to 0.
(handle_key): Don't run branch-actions just by shifting to the
current state.
(reset_ic): Reset state_key_head and key_head of ic_info to 0.
Reset vars and plist.

18 years ago*** empty log message ***
handa [Sat, 7 Jan 2006 02:18:05 +0000 (02:18 +0000)]
*** empty log message ***

18 years ago(load_branch): Confirm that maps is not NULL.
handa [Sat, 7 Jan 2006 02:17:58 +0000 (02:17 +0000)]
(load_branch): Confirm that maps is not NULL.

18 years ago*** empty log message ***
handa [Thu, 5 Jan 2006 12:50:12 +0000 (12:50 +0000)]
*** empty log message ***

18 years agoAdjusted for the latest HELLO.utf8.
handa [Thu, 5 Jan 2006 12:50:07 +0000 (12:50 +0000)]
Adjusted for the latest HELLO.utf8.

18 years ago*** empty log message ***
handa [Thu, 5 Jan 2006 12:39:21 +0000 (12:39 +0000)]
*** empty log message ***