m17n/m17n-lib.git
19 years ago(read_file): Decode by Mcoding_utf_8_full, not
handa [Thu, 9 Dec 2004 11:47:48 +0000 (11:47 +0000)]
(read_file): Decode by Mcoding_utf_8_full, not
Mcoding_utf_8.

19 years ago*** empty log message ***
handa [Thu, 9 Dec 2004 11:38:13 +0000 (11:38 +0000)]
*** empty log message ***

19 years ago(common_ldflags): Include libm17n-core.la.
handa [Thu, 9 Dec 2004 11:38:08 +0000 (11:38 +0000)]
(common_ldflags): Include libm17n-core.la.
(common_ldflags_gui): Include ${common_ldflags}

19 years agoFix doxygen command.
handa [Wed, 8 Dec 2004 06:32:21 +0000 (06:32 +0000)]
Fix doxygen command.

20 years ago*** empty log message ***
handa [Fri, 3 Dec 2004 11:24:29 +0000 (11:24 +0000)]
*** empty log message ***

20 years ago(AnthyContext): New member ic.
handa [Fri, 3 Dec 2004 11:22:13 +0000 (11:22 +0000)]
(AnthyContext): New member ic.
(new_context): When something goes wrong, return NULL without
creating a context.
(get_context): New function.
(init): Pay attention to the case of multiple calls.
(fini): Likewise.
(convert, change, resize, commit): Use get_context.

20 years ago*** empty log message ***
nisikimi [Fri, 3 Dec 2004 08:40:37 +0000 (08:40 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Fri, 3 Dec 2004 08:31:49 +0000 (08:31 +0000)]
*** empty log message ***

20 years agoFix typo in comments.
ntakahas [Fri, 3 Dec 2004 08:07:12 +0000 (08:07 +0000)]
Fix typo in comments.

20 years ago*** empty log message ***
handa [Fri, 3 Dec 2004 00:22:51 +0000 (00:22 +0000)]
*** empty log message ***

20 years ago(m17n__core_initialized, m17n__shell_initialized,
handa [Fri, 3 Dec 2004 00:19:44 +0000 (00:19 +0000)]
(m17n__core_initialized, m17n__shell_initialized,
m17n__gui_initialized): New externs.

20 years ago(m17n_init_win): Adjust the prototype.
handa [Fri, 3 Dec 2004 00:19:28 +0000 (00:19 +0000)]
(m17n_init_win): Adjust the prototype.

20 years ago(win_initialized): Delete this variable.
handa [Fri, 3 Dec 2004 00:18:49 +0000 (00:18 +0000)]
(win_initialized): Delete this variable.
(m17n_init_win, m17n_fini_win): Check m17n__gui_initialized
instead of gui_initialized.

20 years ago(shell_initialized): Delete this variable.
handa [Fri, 3 Dec 2004 00:18:28 +0000 (00:18 +0000)]
(shell_initialized): Delete this variable.
(m17n_init, m17n_fini): Check m17n__shell_initialized instead of
shell_initialized.

20 years ago(core_initialized): Delete this variable.
handa [Fri, 3 Dec 2004 00:18:09 +0000 (00:18 +0000)]
(core_initialized): Delete this variable.
(m17n__core_initialized, m17n__shell_initialized,
m17n__gui_initialized): New variables.
(m17n_init_core, m17n_fini_core): Check m17n__core_initialized
instead of core_initialized.
(m17n_status): New function.

20 years ago(enum M17NStatus): New enum.
handa [Fri, 3 Dec 2004 00:17:08 +0000 (00:17 +0000)]
(enum M17NStatus): New enum.
(m17n_status): Extern it.

20 years ago(face_available): New variable.
handa [Fri, 3 Dec 2004 00:09:34 +0000 (00:09 +0000)]
(face_available): New variable.
(init): Check if GUI APIs are available or not.  If not, set
face_available to 0.
(fini): Free a face only if face_available is not zero.
(ispell_word): Put face property only if available.

20 years agoFix typo in comments.
ntakahas [Thu, 2 Dec 2004 08:29:05 +0000 (08:29 +0000)]
Fix typo in comments.

20 years agoFix typo in comments.
ntakahas [Thu, 2 Dec 2004 08:13:25 +0000 (08:13 +0000)]
Fix typo in comments.

20 years ago*** empty log message ***
handa [Fri, 19 Nov 2004 11:22:38 +0000 (11:22 +0000)]
*** empty log message ***

20 years ago(load_input_method): Don't unref `maps' it it's not created.
handa [Fri, 19 Nov 2004 11:22:20 +0000 (11:22 +0000)]
(load_input_method): Don't unref `maps' it it's not created.

20 years ago*** empty log message ***
handa [Fri, 19 Nov 2004 02:41:27 +0000 (02:41 +0000)]
*** empty log message ***

20 years ago(reset_ic): Check if ic_info->state is NULL.
handa [Fri, 19 Nov 2004 02:41:22 +0000 (02:41 +0000)]
(reset_ic): Check if ic_info->state is NULL.
(filter): If ic_info->state is NULL, return 0.

20 years ago*** empty log message ***
handa [Mon, 15 Nov 2004 12:00:44 +0000 (12:00 +0000)]
*** empty log message ***

20 years ago(find_candidates_group): If INDEX is -1, find the last
handa [Mon, 15 Nov 2004 12:00:21 +0000 (12:00 +0000)]
(find_candidates_group): If INDEX is -1, find the last
candidate group.
(take_action_list): If the previous of the first candidate is
requested, select the last candidate.

20 years ago*** empty log message ***
handa [Sun, 7 Nov 2004 23:08:52 +0000 (23:08 +0000)]
*** empty log message ***

20 years ago(device_open): Try at most 32 fonts to find a
handa [Sun, 7 Nov 2004 23:08:44 +0000 (23:08 +0000)]
(device_open): Try at most 32 fonts to find a
non-autoscaled font.

20 years ago*** empty log message ***
handa [Fri, 5 Nov 2004 02:05:05 +0000 (02:05 +0000)]
*** empty log message ***

20 years ago(commont_style): Include dummy elements "slanted" and
handa [Fri, 5 Nov 2004 02:05:00 +0000 (02:05 +0000)]
(commont_style): Include dummy elements "slanted" and
"rslanted" to prefer "o" to "r" if "i" is requested.

20 years ago(ft_to_prop): Fix "oblique" entry.
handa [Fri, 5 Nov 2004 02:03:58 +0000 (02:03 +0000)]
(ft_to_prop): Fix "oblique" entry.

20 years agoAdd Armenian.
ntakahas [Mon, 1 Nov 2004 12:57:38 +0000 (12:57 +0000)]
Add Armenian.

20 years ago*** empty log message ***
handa [Fri, 29 Oct 2004 11:07:41 +0000 (11:07 +0000)]
*** empty log message ***

20 years ago(MXFont): New members smallest and larger.
handa [Fri, 29 Oct 2004 11:07:35 +0000 (11:07 +0000)]
(MXFont): New members smallest and larger.
(xfont_registry_list): Fix previous change.
(xfont_select): Likewise.

20 years ago(xlfd_parse_name): If avgwidth is 0, set the size to 0.
handa [Fri, 29 Oct 2004 07:42:01 +0000 (07:42 +0000)]
(xlfd_parse_name): If avgwidth is 0, set the size to 0.

20 years ago(MXFont): Change type of the member `sizes' to int.
handa [Fri, 29 Oct 2004 07:41:07 +0000 (07:41 +0000)]
(MXFont): Change type of the member `sizes' to int.
(SET_SIZE, HAVE_SIZE): Adjusted for the above change.
(xfont_registry_list): Likewise.
(xfont_select): Likewise.

20 years ago*** empty log message ***
handa [Fri, 29 Oct 2004 07:12:05 +0000 (07:12 +0000)]
*** empty log message ***

20 years ago(main): Fix handling of "-s" arg.
handa [Fri, 29 Oct 2004 07:12:01 +0000 (07:12 +0000)]
(main): Fix handling of "-s" arg.

20 years ago*** empty log message ***
handa [Thu, 28 Oct 2004 11:47:39 +0000 (11:47 +0000)]
*** empty log message ***

20 years ago(xfont_registry_list): Include '-' before PIXEL_SIZE in
handa [Thu, 28 Oct 2004 11:47:27 +0000 (11:47 +0000)]
(xfont_registry_list): Include '-' before PIXEL_SIZE in
font name comparison.
(xfont_select): Fix logic for selecting a larger size font.

20 years ago*** empty log message ***
handa [Mon, 25 Oct 2004 11:26:04 +0000 (11:26 +0000)]
*** empty log message ***

20 years ago(take_action_list): Initialize `ret' to 0 for "=", "<",
handa [Mon, 25 Oct 2004 11:25:58 +0000 (11:25 +0000)]
(take_action_list): Initialize `ret' to 0 for "=", "<",
">" actions.

20 years ago*** empty log message ***
handa [Fri, 22 Oct 2004 05:43:05 +0000 (05:43 +0000)]
*** empty log message ***

20 years ago(update_candidate): Renamed from udpate_candidate.
handa [Fri, 22 Oct 2004 05:43:00 +0000 (05:43 +0000)]
(update_candidate): Renamed from udpate_candidate.
(take_action_list): Show more debugging info on arithmetic commands.

20 years ago(device_open): Fix previous change.
handa [Fri, 22 Oct 2004 05:42:09 +0000 (05:42 +0000)]
(device_open): Fix previous change.

20 years ago(compose_glyph_string): Don't get face property at the
handa [Fri, 22 Oct 2004 05:41:38 +0000 (05:41 +0000)]
(compose_glyph_string): Don't get face property at the
end of M-text.

20 years ago*** empty log message ***
handa [Thu, 21 Oct 2004 06:35:09 +0000 (06:35 +0000)]
*** empty log message ***

20 years ago(compose_glyph_string): Fix for the case of category
handa [Thu, 21 Oct 2004 06:35:03 +0000 (06:35 +0000)]
(compose_glyph_string): Fix for the case of category
being Mnil.

20 years ago*** empty log message ***
handa [Tue, 19 Oct 2004 01:53:42 +0000 (01:53 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Thu, 14 Oct 2004 01:26:52 +0000 (01:26 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Thu, 14 Oct 2004 01:09:53 +0000 (01:09 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Thu, 14 Oct 2004 00:54:23 +0000 (00:54 +0000)]
*** empty log message ***

20 years ago(device_open): Accept Mxft as the value of key Mfont.
handa [Thu, 14 Oct 2004 00:54:14 +0000 (00:54 +0000)]
(device_open): Accept Mxft as the value of key Mfont.

20 years ago*** empty log message ***
handa [Thu, 14 Oct 2004 00:45:15 +0000 (00:45 +0000)]
*** empty log message ***

20 years ago(M17N_EXT_LIBS): New variable to accumulate
handa [Thu, 14 Oct 2004 00:26:36 +0000 (00:26 +0000)]
(M17N_EXT_LIBS): New variable to accumulate
available external libraries.

20 years ago(device_open): Be sure to register at least one font
handa [Wed, 13 Oct 2004 11:14:14 +0000 (11:14 +0000)]
(device_open): Be sure to register at least one font
driver.

20 years ago*** empty log message ***
handa [Wed, 13 Oct 2004 08:01:53 +0000 (08:01 +0000)]
*** empty log message ***

20 years agoFix previous change.
handa [Wed, 13 Oct 2004 06:29:56 +0000 (06:29 +0000)]
Fix previous change.

20 years ago*** empty log message ***
handa [Wed, 13 Oct 2004 06:21:47 +0000 (06:21 +0000)]
*** empty log message ***

20 years agoInclude <freetype/ftbdf.h> conditionally. Check
handa [Wed, 13 Oct 2004 06:21:43 +0000 (06:21 +0000)]
Include <freetype/ftbdf.h> conditionally.  Check
HAVE_FTBDF_H before calling FT_Get_BDF_Property.

20 years agoCheck if <freetype/ftbdf.h> is available or not.
handa [Wed, 13 Oct 2004 06:20:33 +0000 (06:20 +0000)]
Check if <freetype/ftbdf.h> is available or not.

20 years ago*** empty log message ***
handa [Tue, 12 Oct 2004 13:05:20 +0000 (13:05 +0000)]
*** empty log message ***

20 years ago(FaceProc): Call hide_cursor () at first.
handa [Tue, 12 Oct 2004 13:05:11 +0000 (13:05 +0000)]
(FaceProc): Call hide_cursor () at first.

20 years ago*** empty log message ***
handa [Tue, 12 Oct 2004 12:24:26 +0000 (12:24 +0000)]
*** empty log message ***

20 years ago(alloc_gstring): Fix previous change.
handa [Tue, 12 Oct 2004 12:24:21 +0000 (12:24 +0000)]
(alloc_gstring): Fix previous change.

20 years ago*** empty log message ***
handa [Tue, 12 Oct 2004 12:19:24 +0000 (12:19 +0000)]
*** empty log message ***

20 years ago(ft_list_generic): Fix for the case of not
handa [Tue, 12 Oct 2004 12:19:15 +0000 (12:19 +0000)]
(ft_list_generic): Fix for the case of not
HAVE_FONTCONFIG.

20 years ago(mwin__parse_event): Fix for non-ASCII keys.
handa [Tue, 12 Oct 2004 12:17:49 +0000 (12:17 +0000)]
(mwin__parse_event): Fix for non-ASCII keys.

20 years ago(mfont_list): If no font is found, return NULL.
handa [Tue, 12 Oct 2004 12:17:07 +0000 (12:17 +0000)]
(mfont_list): If no font is found, return NULL.
(load_font_encoding_table): Put entries of nil registry first.
(find_encoding): Adjust for the above change.

20 years ago(KeyProc): Cast buf to `unsigned char *'.
handa [Tue, 12 Oct 2004 12:16:06 +0000 (12:16 +0000)]
(KeyProc): Cast buf to `unsigned char *'.

20 years ago*** empty log message ***
handa [Tue, 12 Oct 2004 00:23:49 +0000 (00:23 +0000)]
*** empty log message ***

20 years agoUse pkg-config (if available) for Xft.
handa [Tue, 12 Oct 2004 00:23:43 +0000 (00:23 +0000)]
Use pkg-config (if available) for Xft.

20 years ago(mfont_list): If no font is found, return NULL.
handa [Tue, 12 Oct 2004 00:23:10 +0000 (00:23 +0000)]
(mfont_list): If no font is found, return NULL.

20 years ago(xfont_list): Fix previous change.
handa [Mon, 11 Oct 2004 02:17:47 +0000 (02:17 +0000)]
(xfont_list): Fix previous change.

20 years ago(ft_list): Fix previous change.
handa [Mon, 11 Oct 2004 02:17:21 +0000 (02:17 +0000)]
(ft_list): Fix previous change.

20 years ago*** empty log message ***
handa [Mon, 11 Oct 2004 01:02:02 +0000 (01:02 +0000)]
*** empty log message ***

20 years ago(mfont_list): Adjust prototype.
handa [Mon, 11 Oct 2004 01:01:38 +0000 (01:01 +0000)]
(mfont_list): Adjust prototype.

20 years ago(xfont_list): New arg maxnum.
handa [Mon, 11 Oct 2004 01:00:59 +0000 (01:00 +0000)]
(xfont_list): New arg maxnum.

20 years ago(glyph_category): New enum.
handa [Mon, 11 Oct 2004 01:00:24 +0000 (01:00 +0000)]
(glyph_category): New enum.
(MGlyph): Change type of <category> to enum glyph_category.

20 years ago(struct MFontDriver): Change prototype of <list>.
handa [Mon, 11 Oct 2004 01:00:11 +0000 (01:00 +0000)]
(struct MFontDriver): Change prototype of <list>.

20 years ago(fc_generic_family_list): Delete it.
handa [Mon, 11 Oct 2004 00:59:13 +0000 (00:59 +0000)]
(fc_generic_family_list): Delete it.
(Mserif, Msans_serif, Mmonospace): Delete them.
(M_generic_family_info): New variable.
(enum GenericFamilyType): New enum.
(struct GenericFamilyInfo): New struct.
(generic_family_table): New variable.
(set_font_info): New arg style. Don't check 0xA0..0xBF to decide
iso8859-1.
(add_font_info): Get style here.
(ft_list_family): Don't initialize fc_config here.  Don't list
generic families.
(ft_list_generic): New function.
(ft_select): Pay attention to generic familes here.
(ft_open): Fix calculation of ascent and descent.
(ft_list): Pay attention to generic families.
(mfont__ft_init): Initialize M_generic_family_info,
generic_family_table, and fc_config..
(mfont__ft_fini): Finalize generic_family_table.

20 years ago(mface__realize): Adjust prototype.
handa [Mon, 11 Oct 2004 00:59:04 +0000 (00:59 +0000)]
(mface__realize): Adjust prototype.

20 years ago(mface__realize): Delete args langauge and charset.
handa [Mon, 11 Oct 2004 00:58:57 +0000 (00:58 +0000)]
(mface__realize): Delete args langauge and charset.
(mface__for_chars): Fix for the case that glyphs have different
rfaces.
(mface__update_frame_face): Adjust for mface__realize change.

20 years ago(compose_glyph_string): Use more constant font for
handa [Mon, 11 Oct 2004 00:58:40 +0000 (00:58 +0000)]
(compose_glyph_string): Use more constant font for
glyphs.  Adjust for the member change in MGlyph.
(layout_glyph_string): Adjust for the member change in MGlyph.
(alloc_gstring): Intilize scracth_glyph to avoid
compose_glyph_string on it.
(get_gstring): Don't call compose_glyph_string on scracth_glyph.
(mdraw_coordinates_position): Fix previous change.

20 years agoNew file.
handa [Mon, 11 Oct 2004 00:58:03 +0000 (00:58 +0000)]
New file.

20 years agoInclude m17n-core.pc, m17n-shell.pc, and
handa [Mon, 11 Oct 2004 00:57:26 +0000 (00:57 +0000)]
Include m17n-core.pc, m17n-shell.pc, and
m17n-gui.pc in AC_CONFIG_FILES.

20 years ago(EXTRA_DIST, pkgconfigdir, pkgconfig_DATA): New
handa [Mon, 11 Oct 2004 00:57:10 +0000 (00:57 +0000)]
(EXTRA_DIST, pkgconfigdir, pkgconfig_DATA): New
variables.

20 years ago*** empty log message ***
handa [Mon, 11 Oct 2004 00:56:31 +0000 (00:56 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Tue, 5 Oct 2004 07:46:41 +0000 (07:46 +0000)]
*** empty log message ***

20 years ago(add_font_info): Add instead of push the element.
handa [Mon, 4 Oct 2004 06:36:11 +0000 (06:36 +0000)]
(add_font_info): Add instead of push the element.
(ft_list_family): For generic fonts, try all
substituted. families.

20 years ago*** empty log message ***
handa [Mon, 4 Oct 2004 06:36:02 +0000 (06:36 +0000)]
*** empty log message ***

20 years ago(UPDATE_CLUSTER_RANGE): New macro.
handa [Mon, 4 Oct 2004 00:37:44 +0000 (00:37 +0000)]
(UPDATE_CLUSTER_RANGE): New macro.
(run_rule): Don't update cluster range here.
(run_command): Update cluster range on appending a glyph.
(run_otf): Update cluster range for glyphs generated by OTF.

20 years ago*** empty log message ***
handa [Mon, 4 Oct 2004 00:37:34 +0000 (00:37 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Sat, 2 Oct 2004 02:55:13 +0000 (02:55 +0000)]
*** empty log message ***

20 years ago(device_open): Handle Mfont key in PLIST.
handa [Sat, 2 Oct 2004 02:55:09 +0000 (02:55 +0000)]
(device_open): Handle Mfont key in PLIST.

20 years ago*** empty log message ***
handa [Sat, 2 Oct 2004 02:36:08 +0000 (02:36 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Thu, 30 Sep 2004 13:12:06 +0000 (13:12 +0000)]
*** empty log message ***

20 years ago(ft_select): Ignore family on calling mfont__score.
handa [Thu, 30 Sep 2004 13:11:55 +0000 (13:11 +0000)]
(ft_select): Ignore family on calling mfont__score.

20 years ago*** empty log message ***
handa [Thu, 30 Sep 2004 02:21:31 +0000 (02:21 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Thu, 30 Sep 2004 01:55:41 +0000 (01:55 +0000)]
*** empty log message ***

20 years ago(ft_list): Fix typo (== -> !=).
handa [Thu, 30 Sep 2004 01:55:37 +0000 (01:55 +0000)]
(ft_list): Fix typo (== -> !=).