m17n/m17n-lib.git
20 years ago*** empty log message ***
handa [Wed, 23 Jun 2004 05:42:48 +0000 (05:42 +0000)]
*** empty log message ***

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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}.

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

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

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

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

20 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.

20 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.

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

20 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.

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

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

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

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

20 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.

20 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.

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

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

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

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

20 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.

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

20 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@.

20 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.

20 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.

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

20 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.

20 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.

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

20 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.

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

20 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.

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

20 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.

20 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.

20 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.

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

20 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.

20 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.

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

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

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

20 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.

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

20 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.

20 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.

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

20 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.

20 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.

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

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

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

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

20 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.

20 years ago(xfont_driver): Don't include xfont_parse_name and
handa [Wed, 2 Jun 2004 07:14:01 +0000 (07:14 +0000)]
(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(free_frame): Unref frame->font_driver_list.
handa [Wed, 2 Jun 2004 06:44:33 +0000 (06:44 +0000)]
(free_frame): Unref frame->font_driver_list.
(m17n_fini_win): Add check HAVE_FREETYPE in using null_interface.
(mframe): Likewise.

20 years ago(mfont_parse_name, mfont_unparse_name, Mfontconfig):
handa [Wed, 2 Jun 2004 06:43:23 +0000 (06:43 +0000)]
(mfont_parse_name, mfont_unparse_name, Mfontconfig):
Extern them.

20 years ago(linkgui_LDADD): Add libm17n-X.la and libm17n-gd.la.
handa [Wed, 2 Jun 2004 06:15:46 +0000 (06:15 +0000)]
(linkgui_LDADD): Add libm17n-X.la and libm17n-gd.la.

20 years ago*** empty log message ***
handa [Tue, 1 Jun 2004 01:21:16 +0000 (01:21 +0000)]
*** empty log message ***

20 years ago(mfontset_modify_entry): Pay attention to the case
handa [Tue, 1 Jun 2004 01:21:10 +0000 (01:21 +0000)]
(mfontset_modify_entry): Pay attention to the case
that fontset->font_spec_list is NULL.

20 years ago*** empty log message ***
handa [Mon, 31 May 2004 23:08:08 +0000 (23:08 +0000)]
*** empty log message ***