m17n/m17n-lib.git
19 years ago(mchar_define_charset, mconv_define_coding): Adjust
handa [Thu, 24 Jun 2004 02:42:32 +0000 (02:42 +0000)]
(mchar_define_charset, mconv_define_coding): Adjust
prototypes.

19 years ago(count_utf_8_chars, count_utf_16_chars)
handa [Thu, 24 Jun 2004 02:41:50 +0000 (02:41 +0000)]
(count_utf_8_chars, count_utf_16_chars)
(mtext__from_data, mtext_from_data): Add `const' to an arg.

19 years ago(mtext__from_data): Ajust prototype.
handa [Thu, 24 Jun 2004 02:41:02 +0000 (02:41 +0000)]
(mtext__from_data): Ajust prototype.

19 years ago*** empty log message ***
handa [Thu, 24 Jun 2004 02:39:58 +0000 (02:39 +0000)]
*** empty log message ***

19 years ago(libmimx_ispell_la_LDFLAGS)
handa [Thu, 24 Jun 2004 02:39:53 +0000 (02:39 +0000)]
(libmimx_ispell_la_LDFLAGS)
(libmimx_anthy_la_LDFLAGS): Add -module.

19 years ago*** empty log message ***
handa [Wed, 23 Jun 2004 05:43:38 +0000 (05:43 +0000)]
*** empty log message ***

19 years ago(medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
handa [Wed, 23 Jun 2004 05:43:27 +0000 (05:43 +0000)]
(medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
change.

19 years ago*** empty log message ***
handa [Wed, 23 Jun 2004 05:42:48 +0000 (05:42 +0000)]
*** empty log message ***

19 years ago(redraw_cursor): Refer to cursor.logical_width instead
handa [Wed, 23 Jun 2004 05:42:26 +0000 (05:42 +0000)]
(redraw_cursor): Refer to cursor.logical_width instead
of cursor.this.width.

19 years ago(compose_glyph_string): Always get glyph codes by
handa [Wed, 23 Jun 2004 05:41:37 +0000 (05:41 +0000)]
(compose_glyph_string): Always get glyph codes by
mface__for_char.
(mdraw_glyph_info): Set info->glyph_code and info->logical_width.
(mdraw_glyph_list): New function.

19 years ago(mfont__flt_run): Be sure to call
handa [Wed, 23 Jun 2004 05:40:15 +0000 (05:40 +0000)]
(mfont__flt_run): Be sure to call
rfont->driver->encode_char.

19 years ago(ft_find_metric): Don't call FT_Get_Char_Index.
handa [Wed, 23 Jun 2004 05:39:41 +0000 (05:39 +0000)]
(ft_find_metric): Don't call FT_Get_Char_Index.
(ft_encode_char): Delete arg C.
(ft_render): Don't call FT_Get_Char_Index.

19 years ago(mfont__encodable_p): Delete it.
handa [Wed, 23 Jun 2004 05:38:32 +0000 (05:38 +0000)]
(mfont__encodable_p): Delete it.
(mfont__encode_char): Be sure to call rfont->driver->encode_char.

19 years ago(struct MFontDriver): Delete arg C of encode_char.
handa [Wed, 23 Jun 2004 05:37:53 +0000 (05:37 +0000)]
(struct MFontDriver): Delete arg C of encode_char.
(mfont__encodable_p): Delete extern.

19 years ago(xfont_encode_char): Delete arg C.
handa [Wed, 23 Jun 2004 05:36:58 +0000 (05:36 +0000)]
(xfont_encode_char): Delete arg C.
(xft_find_metric): Don't cal FT_Get_Char_Index.
(xft_render): Likewise.

19 years ago(MDrawGlyphInfo): New members glyph_code and
handa [Wed, 23 Jun 2004 05:35:18 +0000 (05:35 +0000)]
(MDrawGlyphInfo): New members glyph_code and
logical_width.
(mdraw_glyph_list): Extern it.

19 years ago(libm17n_X_la_LDFLAGS): Don't include ${X_LD_FLAGS}.
handa [Wed, 23 Jun 2004 05:32:25 +0000 (05:32 +0000)]
(libm17n_X_la_LDFLAGS): Don't include ${X_LD_FLAGS}.

19 years ago*** empty log message ***
handa [Tue, 22 Jun 2004 07:46:30 +0000 (07:46 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Tue, 22 Jun 2004 06:37:09 +0000 (06:37 +0000)]
*** empty log message ***

19 years ago(mfontset_lookup): Extern it.
handa [Tue, 22 Jun 2004 05:56:33 +0000 (05:56 +0000)]
(mfontset_lookup): Extern it.

19 years ago*** empty log message ***
handa [Tue, 22 Jun 2004 05:56:26 +0000 (05:56 +0000)]
*** empty log message ***

19 years ago(m17n_init_win): Delete unnecessary printing.
handa [Tue, 22 Jun 2004 05:56:05 +0000 (05:56 +0000)]
(m17n_init_win): Delete unnecessary printing.

19 years ago(realize_fontset_elements)
handa [Tue, 22 Jun 2004 05:55:26 +0000 (05:55 +0000)]
(realize_fontset_elements)
(free_realized_fontset_elements, update_fontset_elements): New
functions.
(mfont__realize_fontset): Call realize_fontset_elements.
(mfont__free_realized_fontset): Call free_realized_fontset_elements.
(mfont__lookup_fontset): If a fontset was modified, update
the realized fontset.
(mfontset_modify_entry): Increment fontset->tick.
(mfontset_lookup): New function.

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 11:02:14 +0000 (11:02 +0000)]
*** empty log message ***

19 years ago(mfont__ft_parse_name): Cast the arg to FcNameParse.
handa [Mon, 21 Jun 2004 11:02:08 +0000 (11:02 +0000)]
(mfont__ft_parse_name): Cast the arg to FcNameParse.

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 06:53:21 +0000 (06:53 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 05:01:01 +0000 (05:01 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 04:56:03 +0000 (04:56 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 01:47:44 +0000 (01:47 +0000)]
*** empty log message ***

19 years ago(medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
handa [Mon, 21 Jun 2004 01:47:32 +0000 (01:47 +0000)]
(medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
-lXt.

19 years ago(mtext_dup, mtext_cat, mtext_ncat, mtext_cpy)
handa [Mon, 21 Jun 2004 01:27:56 +0000 (01:27 +0000)]
(mtext_dup, mtext_cat, mtext_ncat, mtext_cpy)
(mtext_ncpy, mtext_duplicate): Pay attention to the case that the
length of source text 0.

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 00:44:25 +0000 (00:44 +0000)]
*** empty log message ***

19 years ago(INC_POSITION): Use CHAR_UNITS_BY_HEAD_UTF16.
handa [Mon, 21 Jun 2004 00:44:10 +0000 (00:44 +0000)]
(INC_POSITION): Use CHAR_UNITS_BY_HEAD_UTF16.
(compare): Pay attention to format other than utf-8.
(copy): Delete this function.
(count_by_utf_8, count_by_utf_16, insert): New functions.
(count_utf_16_chars): Fix handling of a surrogate pair.
(find_char_forward, find_char_backward): Likewise.
(mtext__from_data): Delete unnecessary check.  Fix number of
allocated bytes.
(mtext_from_data): Don't count items.
(mtext_ref_char): Optimize the code.
(mtext_set_char): Pay attention to format other than utf-8.
(mtext_cat_char): Likewise.
(mtext_dup): Don't call copy, instead do allocation here.
(mtext_cat): Call insert instead of copy.
(mtext_ncat): Likewise.
(mtext_cpy): Delete character at first and call insert instead of
copy.
(mtext_ncpy): Likewise.
(mtext_copy): Likewise.
(mtext_duplicate): Call insert instead of copy.
(mtext_del): Pay attention to format other than utf-8.
(mtext_ins): Simply call insert.
(mtext_ins_char): Pay attention to format other than utf-8.
(mtext_tok): Call insert instead of copy.
(mtext_text): Call UNIT_BYTES.

19 years ago(mtext__adjust_plist_for_change): New function.
handa [Mon, 21 Jun 2004 00:26:32 +0000 (00:26 +0000)]
(mtext__adjust_plist_for_change): New function.

19 years ago(USHORT_SIZE, UINT_SIZE, UNIT_BYTES): New macros.
handa [Mon, 21 Jun 2004 00:25:40 +0000 (00:25 +0000)]
(USHORT_SIZE, UINT_SIZE, UNIT_BYTES): New macros.
(CHAR_UNITS_UTF16, CHAR_UNITS): Simplified.
(CHAR_UNITS_AT): Fix typo.
(CHAR_UNITS_BY_HEAD): Fix typo.
(STRING_CHAR_AND_UNITS): Fix typo.

19 years ago(MTEXT_READ_ONLY_P): New macro.
handa [Mon, 21 Jun 2004 00:21:07 +0000 (00:21 +0000)]
(MTEXT_READ_ONLY_P): New macro.

19 years ago(mtext__replace): Delete the extern.
handa [Mon, 21 Jun 2004 00:20:07 +0000 (00:20 +0000)]
(mtext__replace): Delete the extern.
(mtext__adjust_foramt): Adjust prototype.

19 years ago(mplist_deserialize): Adjust the format of MT to utf-8
handa [Mon, 21 Jun 2004 00:19:01 +0000 (00:19 +0000)]
(mplist_deserialize): Adjust the format of MT to utf-8
if possible.  Otherwise make a copy of mmt.

19 years ago(mconv_decode, mconv_gets): Adjust the format of MT to
handa [Mon, 21 Jun 2004 00:16:10 +0000 (00:16 +0000)]
(mconv_decode, mconv_gets): Adjust the format of MT to
utf-8.

19 years ago*** empty log message ***
handa [Thu, 17 Jun 2004 23:42:06 +0000 (23:42 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 17 Jun 2004 00:28:12 +0000 (00:28 +0000)]
*** empty log message ***

19 years ago(main): Don't set control.as_image to 1.
handa [Thu, 17 Jun 2004 00:28:04 +0000 (00:28 +0000)]
(main): Don't set control.as_image to 1.

19 years ago*** empty log message ***
handa [Wed, 16 Jun 2004 13:17:16 +0000 (13:17 +0000)]
*** empty log message ***

19 years ago(libm17n_gd_la_LIBADD): Delete it.
handa [Wed, 16 Jun 2004 13:16:56 +0000 (13:16 +0000)]
(libm17n_gd_la_LIBADD): Delete it.
(libm17n_X_la_LIBADD): Delete it.
(libm17n_gd_la_LDFLAGS): Don't include @GD_LD_FLAGS@.

19 years ago(INC_POSITION): Handle format other than utf8 and utf16.
handa [Wed, 16 Jun 2004 13:15:37 +0000 (13:15 +0000)]
(INC_POSITION): Handle format other than utf8 and utf16.
(DEC_POSITION): Likewise.
(compare): Fix case that mt1->format is MTEXT_FORMAT_UTF_8.

19 years ago(main): Fix typo of error message.
handa [Wed, 16 Jun 2004 13:13:43 +0000 (13:13 +0000)]
(main): Fix typo of error message.

19 years ago*** empty log message ***
handa [Wed, 16 Jun 2004 00:14:50 +0000 (00:14 +0000)]
*** empty log message ***

19 years ago(face_freeserif): New variable.
handa [Wed, 16 Jun 2004 00:14:46 +0000 (00:14 +0000)]
(face_freeserif): New variable.
(face_table): Add an entry for freeserif.
(main): Initialized and free face_freeserif.

19 years ago(device_open): Add parens in `if' condition.
handa [Wed, 16 Jun 2004 00:11:15 +0000 (00:11 +0000)]
(device_open): Add parens in `if' condition.

19 years ago*** empty log message ***
handa [Tue, 15 Jun 2004 23:19:35 +0000 (23:19 +0000)]
*** empty log message ***

19 years ago(INC_POSITION): Handle format other than utf8 and utf16.
handa [Tue, 15 Jun 2004 23:19:05 +0000 (23:19 +0000)]
(INC_POSITION): Handle format other than utf8 and utf16.
(DEC_POSITION): Likewise.

19 years ago*** empty log message ***
handa [Tue, 15 Jun 2004 13:02:10 +0000 (13:02 +0000)]
*** empty log message ***

19 years ago(mfont__lookup_fontset): Fix selection of font groups
handa [Tue, 15 Jun 2004 13:02:05 +0000 (13:02 +0000)]
(mfont__lookup_fontset): Fix selection of font groups
by language.

19 years ago*** empty log message ***
handa [Tue, 15 Jun 2004 12:21:49 +0000 (12:21 +0000)]
*** empty log message ***

19 years ago(compose_glyph_string): If langauge is specified, call
handa [Tue, 15 Jun 2004 12:21:27 +0000 (12:21 +0000)]
(compose_glyph_string): If langauge is specified, call
mface__for_chars even if a text is all latin.  Fix condition for
setting non_ascii_found.

19 years ago(main): Make family name to lowercase.
handa [Tue, 15 Jun 2004 11:54:19 +0000 (11:54 +0000)]
(main): Make family name to lowercase.

19 years ago(help_exit): Print info about those arguemnts.
handa [Tue, 15 Jun 2004 11:12:20 +0000 (11:12 +0000)]
(help_exit): Print info about those arguemnts.

19 years ago*** empty log message ***
handa [Tue, 15 Jun 2004 11:12:19 +0000 (11:12 +0000)]
*** empty log message ***

19 years agoAdd command line arguments --family and --language.
handa [Tue, 15 Jun 2004 11:07:30 +0000 (11:07 +0000)]
Add command line arguments --family and --language.

19 years ago(xft_find_metric): Fix setting of g->lbrearing.
handa [Tue, 15 Jun 2004 09:07:11 +0000 (09:07 +0000)]
(xft_find_metric): Fix setting of g->lbrearing.

19 years ago*** empty log message ***
nisikimi [Tue, 15 Jun 2004 08:24:36 +0000 (08:24 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Tue, 15 Jun 2004 08:22:03 +0000 (08:22 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Tue, 15 Jun 2004 07:47:28 +0000 (07:47 +0000)]
*** empty log message ***

19 years agoFix typo in Japanese docstring of mdump.
ntakahas [Tue, 15 Jun 2004 06:31:35 +0000 (06:31 +0000)]
Fix typo in Japanese docstring of mdump.

19 years ago*** empty log message ***
handa [Tue, 15 Jun 2004 05:13:29 +0000 (05:13 +0000)]
*** empty log message ***

19 years ago(minput_event_to_key): Cancel previous change.
handa [Tue, 15 Jun 2004 04:41:29 +0000 (04:41 +0000)]
(minput_event_to_key): Cancel previous change.

19 years ago(minput_char_to_key): Delete extern.
handa [Tue, 15 Jun 2004 04:41:09 +0000 (04:41 +0000)]
(minput_char_to_key): Delete extern.

19 years ago*** empty log message ***
handa [Tue, 15 Jun 2004 00:35:26 +0000 (00:35 +0000)]
*** empty log message ***

19 years ago(null_device_open): Set several members of frame.
handa [Tue, 15 Jun 2004 00:35:20 +0000 (00:35 +0000)]
(null_device_open): Set several members of frame.

19 years ago(minput_event_to_key): Delete extern.
handa [Mon, 14 Jun 2004 11:00:02 +0000 (11:00 +0000)]
(minput_event_to_key): Delete extern.

19 years ago*** empty log message ***
handa [Mon, 14 Jun 2004 05:53:55 +0000 (05:53 +0000)]
*** empty log message ***

19 years ago(MSymbol): Defined as "struct MSymbolStruct *".
handa [Mon, 14 Jun 2004 05:51:23 +0000 (05:51 +0000)]
(MSymbol): Defined as "struct MSymbolStruct *".

19 years ago(struct MSymbolStruct): Renamed from MSymbol.
handa [Mon, 14 Jun 2004 05:51:11 +0000 (05:51 +0000)]
(struct MSymbolStruct): Renamed from MSymbol.

19 years ago(AM_CPPFLAGS): Refer to @M17NDIR@.
handa [Mon, 14 Jun 2004 05:23:46 +0000 (05:23 +0000)]
(AM_CPPFLAGS): Refer to @M17NDIR@.

19 years agoCheck the program m17n-db.
handa [Mon, 14 Jun 2004 05:23:06 +0000 (05:23 +0000)]
Check the program m17n-db.

20 years ago*** empty log message ***
handa [Tue, 8 Jun 2004 00:17:18 +0000 (00:17 +0000)]
*** empty log message ***

20 years ago(mchar_put_prop): Don't increment the ref-count of
handa [Tue, 8 Jun 2004 00:17:03 +0000 (00:17 +0000)]
(mchar_put_prop): Don't increment the ref-count of
record->table.

20 years ago*** empty log message ***
handa [Fri, 4 Jun 2004 11:44:32 +0000 (11:44 +0000)]
*** empty log message ***

20 years ago(compare_coding_name): New function.
handa [Fri, 4 Jun 2004 11:44:25 +0000 (11:44 +0000)]
(compare_coding_name): New function.
(list_coding): Sort the list of codings by their names.

20 years ago(mdebug__register_object): New function.
handa [Fri, 4 Jun 2004 11:43:51 +0000 (11:43 +0000)]
(mdebug__register_object): New function.
(mdebug__unregister_object): Likewise.

20 years ago(mdebug__register_object, mdebug__unregister_object):
handa [Fri, 4 Jun 2004 11:43:18 +0000 (11:43 +0000)]
(mdebug__register_object, mdebug__unregister_object):
Extern them.
(M17N_OBJECT_REGISTER, M17N_OBJECT_UNREGISTER): Call them
respectively.

20 years ago(find_coding): Get a real name from an element of
handa [Fri, 4 Jun 2004 11:41:57 +0000 (11:41 +0000)]
(find_coding): Get a real name from an element of
coding_definition_list.
(mconv__register_charset_coding): Set the real name at the top of
param.
(mcoding__load_from_database): Likewise.
(mconv_list_codings): Adjusted for the above change.

20 years ago(mcharset__load_from_database): Don't call
handa [Fri, 4 Jun 2004 11:41:40 +0000 (11:41 +0000)]
(mcharset__load_from_database): Don't call
mconv__register_charset_coding here.

20 years ago*** empty log message ***
handa [Thu, 3 Jun 2004 12:34:06 +0000 (12:34 +0000)]
*** empty log message ***

20 years ago(InputMethodInfo): New type.
handa [Thu, 3 Jun 2004 12:34:00 +0000 (12:34 +0000)]
(InputMethodInfo): New type.
(input_method_table): Type changed to `InputMethodInfo *'.
(select_input_method): Adjusted for the change of
input_method_table.
(show_cursor): Open an input method here if necessary.
(compare_input_method): Adjusted for the change of
input_method_table.
(setup_input_methods): Likewise.  Don't open input methods here
except for XIM.
(main): Adjusted for the change of input_method_table.

20 years ago*** empty log message ***
handa [Thu, 3 Jun 2004 12:11:03 +0000 (12:11 +0000)]
*** empty log message ***

20 years ago(find_coding): Find by canonicalized name. Don't have
handa [Thu, 3 Jun 2004 12:10:51 +0000 (12:10 +0000)]
(find_coding): Find by canonicalized name.  Don't have
to modify the element of coding_definition_list by
mplist__from_plist.
(mconv__define_coding_from_charset): Delete it.
(mconv__register_charset_coding): Canonicalize sym.
(mcoding__load_from_database): Register plist modified by
mplist__from_plist.

20 years ago(mconv__define_coding_from_charset): Don't extern it.
handa [Thu, 3 Jun 2004 12:08:16 +0000 (12:08 +0000)]
(mconv__define_coding_from_charset): Don't extern it.

20 years ago(ft_open): Fix setting of rfont->descent.
handa [Thu, 3 Jun 2004 12:07:49 +0000 (12:07 +0000)]
(ft_open): Fix setting of rfont->descent.

20 years ago*** empty log message ***
nisikimi [Thu, 3 Jun 2004 00:54:22 +0000 (00:54 +0000)]
*** empty log message ***

20 years ago(main): Close `in' and `out'.
handa [Thu, 3 Jun 2004 00:49:05 +0000 (00:49 +0000)]
(main): Close `in' and `out'.

20 years ago*** empty log message ***
handa [Thu, 3 Jun 2004 00:48:32 +0000 (00:48 +0000)]
*** empty log message ***

20 years agoFix Greek line.
handa [Thu, 3 Jun 2004 00:48:19 +0000 (00:48 +0000)]
Fix Greek line.

20 years ago*** empty log message ***
nisikimi [Thu, 3 Jun 2004 00:44:33 +0000 (00:44 +0000)]
*** empty log message ***

20 years agoRun freetype-config with --libs instead of
handa [Thu, 3 Jun 2004 00:00:43 +0000 (00:00 +0000)]
Run freetype-config with --libs instead of
--libtool.

20 years ago*** empty log message ***
handa [Wed, 2 Jun 2004 11:42:22 +0000 (11:42 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Wed, 2 Jun 2004 07:23:03 +0000 (07:23 +0000)]
*** empty log message ***

20 years ago* font.c (enum xlfd_field_idx): Moved from m17n-X.c.
handa [Wed, 2 Jun 2004 07:22:41 +0000 (07:22 +0000)]
* font.c (enum xlfd_field_idx): Moved from m17n-X.c.
(xlfd_parse_name): Merge split_font_name and xfont_parse_name.
(xlfd_unparse_name): Renamed from xfont_build_name.
(mfont__init): Initialized Mfontconfig.
(mfont__free_realized): Unconditionally unref rfont->info.
(mfont__select): Free `this' if it's not best.
(mfont__open): Don't check frame->realized_font_list.
(mfont__parse_name_into_font): New function.
(Mfontconfig): New variable.
(mfont_from_name): Call mfont_parse_name.
(mfont_name): Call mfont_unparse_name.
(mdebug_dump_font): Likewise.

* m17n-X.c (xfont_driver): Don't include xfont_parse_name and
xfont_build_name.
(enum xlfd_field_idx): Moved to font.c.
(split_font_name, build_font_name): Likewise.
(build_font_list): Call mfont__parse_name_info_font.
(xfont_open): Call mfont__unparse_name.  Free name.
(xfont_parse_name, xfont_build_name): Moved to font.c
(xft_select): Prototype deleted.
(device_open): Check HAVE_FREETYPE on using mfont__ft_driver.
Call mfont_pase_name.

20 years ago(struct MFontDriver): Delete members parse_name and
handa [Wed, 2 Jun 2004 07:18:43 +0000 (07:18 +0000)]
(struct MFontDriver): Delete members parse_name and
build_name.
(mfont__ft_parse_name, mfont__ft_unparse_name): Extern them.
(mfont__parse_name_into_font): Extern it.

20 years agoInclude "symbol.h".
handa [Wed, 2 Jun 2004 07:17:35 +0000 (07:17 +0000)]
Include "symbol.h".
(close_ft): Unconditionally free filename and charmap_list of
ft_into.
(ft_open): Duplicate base->filename.  Increment ref-count of
ft_info->charmap_list.  Free ft_info->charmap_list and
ft_info->filename on error.
(mfont__ft_parse_name, mfont__ft_unparse_name): New functions.