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

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

20 years agoInclude <dlfcn.h> only when HAVE_DLFCN_H is defined.
handa [Mon, 31 May 2004 11:28:12 +0000 (11:28 +0000)]
Include <dlfcn.h> only when HAVE_DLFCN_H is defined.

20 years ago(mfont__select): Print score the a font for debugging.
handa [Mon, 31 May 2004 11:27:27 +0000 (11:27 +0000)]
(mfont__select): Print score the a font for debugging.

20 years ago(AM_CPPFLAGS): Cancel previous change.
handa [Mon, 31 May 2004 11:26:39 +0000 (11:26 +0000)]
(AM_CPPFLAGS): Cancel previous change.

20 years ago(libm17n_la_LIBADD): Delete -ldl.
handa [Mon, 31 May 2004 11:26:00 +0000 (11:26 +0000)]
(libm17n_la_LIBADD): Delete -ldl.
(AM_CPPFLAGS): Cancel previous change.

20 years agoCheck the availability of dlopen. Append
handa [Mon, 31 May 2004 11:24:49 +0000 (11:24 +0000)]
Check the availability of dlopen.  Append
$X_CFLAGS to CPPFLAGS.

20 years ago(AM_CPPFLAGS): New variable.
handa [Mon, 31 May 2004 08:06:00 +0000 (08:06 +0000)]
(AM_CPPFLAGS): New variable.

20 years ago(AM_CPPFLAGS): Add @X_CFLAGS@.
handa [Mon, 31 May 2004 07:53:51 +0000 (07:53 +0000)]
(AM_CPPFLAGS): Add @X_CFLAGS@.

20 years ago(reset_coding_sjis): Check kanji and kana instead of
handa [Mon, 31 May 2004 07:50:51 +0000 (07:50 +0000)]
(reset_coding_sjis): Check kanji and kana instead of
kanji_sym and kana_sym.

20 years ago*** empty log message ***
handa [Fri, 28 May 2004 12:08:17 +0000 (12:08 +0000)]
*** empty log message ***

20 years ago(VINFO): New variable.
handa [Fri, 28 May 2004 12:07:51 +0000 (12:07 +0000)]
(VINFO): New variable.
(libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
${VINFO}.

20 years ago(VINFO): New variable.
handa [Fri, 28 May 2004 12:07:14 +0000 (12:07 +0000)]
(VINFO): New variable.
(libm17n_core_la_LDFLAGS, libm17n_la_LDFLAGS)
(libm17n_gd_la_LDFLAGS): Include ${VINFO}.

20 years agoNew variable API_VERSION.
handa [Fri, 28 May 2004 12:06:21 +0000 (12:06 +0000)]
New variable API_VERSION.

20 years ago*** empty log message ***
handa [Fri, 28 May 2004 08:09:08 +0000 (08:09 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Fri, 28 May 2004 04:24:28 +0000 (04:24 +0000)]
*** empty log message ***

20 years agoAccept "GUI" flag and adjusted for the new
handa [Thu, 27 May 2004 23:42:08 +0000 (23:42 +0000)]
Accept "GUI" flag and adjusted for the new
configuration.

20 years ago*** empty log message ***
handa [Thu, 27 May 2004 23:02:11 +0000 (23:02 +0000)]
*** empty log message ***

20 years ago(PROGRAM_VERSION): Renamed from VERSION.
handa [Thu, 27 May 2004 23:01:47 +0000 (23:01 +0000)]
(PROGRAM_VERSION): Renamed from VERSION.
(main): Use PROGRAM_VERSION.

20 years ago*** empty log message ***
handa [Thu, 27 May 2004 11:47:21 +0000 (11:47 +0000)]
*** empty log message ***

20 years agoIf Xft is not available, set XFT2_LD_FLAGS to null.
handa [Thu, 27 May 2004 11:47:17 +0000 (11:47 +0000)]
If Xft is not available, set XFT2_LD_FLAGS to null.
Likewise for xml2.

20 years ago*** empty log message ***
handa [Thu, 27 May 2004 11:32:23 +0000 (11:32 +0000)]
*** empty log message ***

20 years ago(main): Make face_input_status copy of face_default.
handa [Thu, 27 May 2004 11:32:19 +0000 (11:32 +0000)]
(main): Make face_input_status copy of face_default.

20 years agoInclude config.h. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
handa [Thu, 27 May 2004 11:08:56 +0000 (11:08 +0000)]
Include config.h.  If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
function main that just print an error message.

20 years ago*** empty log message ***
handa [Thu, 27 May 2004 11:04:50 +0000 (11:04 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Thu, 27 May 2004 10:58:41 +0000 (10:58 +0000)]
*** empty log message ***

20 years agoNew file.
handa [Thu, 27 May 2004 10:57:20 +0000 (10:57 +0000)]
New file.

20 years agoCheck fontconfig even if Xft is available. Check
handa [Thu, 27 May 2004 10:56:55 +0000 (10:56 +0000)]
Check fontconfig even if Xft is available.  Check
gd library.

20 years ago*** empty log message ***
handa [Thu, 27 May 2004 09:21:14 +0000 (09:21 +0000)]
*** empty log message ***

20 years agoClean old files at first.
handa [Thu, 27 May 2004 09:20:44 +0000 (09:20 +0000)]
Clean old files at first.

20 years ago(MDeviceType): New enum.
handa [Thu, 27 May 2004 09:20:23 +0000 (09:20 +0000)]
(MDeviceType): New enum.
(MWDefice): Delete it.
(struct MFrame): Change type of device to void *.  New members
device_type, driver, font_driver_list.
(M_CHECK_WRITABLE, M_CHECK_READABLE): New macros.
(MDeviceDriver): New type.
(Mx, Mgd, Mfreetype): Extern them.
(mwin__XXX): Delete all of them.

20 years ago(Mdevice, Mdisplay, Mscreen, Mdrawable, Mdepth)
handa [Thu, 27 May 2004 09:19:46 +0000 (09:19 +0000)]
(Mdevice, Mdisplay, Mscreen, Mdrawable, Mdepth)
(Mwidget, Mcolormap, Mx): Extern them.

20 years ago*** empty log message ***
handa [Thu, 27 May 2004 09:18:00 +0000 (09:18 +0000)]
*** empty log message ***

20 years ago(m17n_init): Increament shell_initialized.
handa [Thu, 27 May 2004 09:16:47 +0000 (09:16 +0000)]
(m17n_init): Increament shell_initialized.
(m17n_fini): Decremented shell_initialized.

20 years ago(enum MErrorCode): New element MERROR_GD.
handa [Thu, 27 May 2004 09:16:18 +0000 (09:16 +0000)]
(enum MErrorCode): New element MERROR_GD.

20 years agoInclude <dlfcn.h> and "config.h".
handa [Thu, 27 May 2004 09:15:37 +0000 (09:15 +0000)]
Include <dlfcn.h> and "config.h".
(free_frame): Call frame->driver->close instead of
mwin__close_device.
(DLOPEN_SHLIB_EXT): New macro.
(MDeviceLibraryInterface): New type.
(device_library_list): New variable.
(register_device_library): New function.
(null_device): New variable.
(null_device_close, null_device_get_prop)
(null_device_realize_face, null_device_free_realized_face): New
function.
(null_driver): New variable.
(null_device_init, null_device_fini, null_device_open): New
functions.
(null_interface): New variable.
(Mfreetype, Mdevice): Declare them.
(m17n_init_win): Increment win_initialized.  Initialize Mx, Mgd,
Mfreetype, Mdevice, Mdisplay, Mscreen, Mdrawable, Mdevice, and
Mwin__Close_Device.  Register drivers for Mx and Mgd.
(m17n_fini_win): Decremented win_initialized.  Call "fini"
function of all opened devices.  Don't call mwin__fini.
(Mdisplay, Mscreen, Mdrawable, Mdepth, Mwidget, Mcolormap):
Declare them here.
(mframe): Handle Mdevice key of PLIST.
(mframe_get_prop): Call frame->device->get_prop instead of
mwin__device_get_prop.

20 years ago(M17NLIB_MAJOR_VERSION, M17NLIB_MINOR_VERSION)
handa [Thu, 27 May 2004 09:08:26 +0000 (09:08 +0000)]
(M17NLIB_MAJOR_VERSION, M17NLIB_MINOR_VERSION)
(M17NLIB_PATCH_LEVEL, M17NLIB_VERSION_NAME): Updated to 1.1.0.

20 years ago(m17n_init_core): Increate core_initialized.
handa [Thu, 27 May 2004 09:07:41 +0000 (09:07 +0000)]
(m17n_init_core): Increate core_initialized.
(m17n_fini_core): Decremented core_initialized.

20 years ago(Mdisplay, Mscreen, Mdrawable, Mdepth, Mwidget)
handa [Thu, 27 May 2004 09:07:02 +0000 (09:07 +0000)]
(Mdisplay, Mscreen, Mdrawable, Mdepth, Mwidget)
(Mcolormap): Don't extern them here.

20 years ago(FRAME_DEVICE): New macro.
handa [Thu, 27 May 2004 09:06:17 +0000 (09:06 +0000)]
(FRAME_DEVICE): New macro.
(FRAME_DISPLAY, FRAME_SCREEN, FRAME_CMAP): Use FRAME_DEVICE.
(free_display_info): Use MPLIST_DO.
(free_device): Free rface->info.
(xft_close): Delete it.
(device_init): Renamed from mwin__init.
(device_fini): Renamed from mwin__fini.
(device_open): Renamed from mwin__open_device.
(x_driver): New variable.
(MXFontInfo): Delete member frame, add member display.
(Mdisplay, Mscreen, Mdrawable, Mdepth, Mwidget, Mcolormap, Mxim):
Don't declare them here.