m17n/m17n-lib.git
19 years ago(MRealizedFont): New member max_advance.
handa [Wed, 24 Aug 2005 05:28:19 +0000 (05:28 +0000)]
(MRealizedFont): New member max_advance.

19 years ago(xlfd_unparse_name): Handle the case of font->size < 0.
handa [Wed, 24 Aug 2005 05:26:22 +0000 (05:26 +0000)]
(xlfd_unparse_name): Handle the case of font->size < 0.
(mfont__init): Don't initialize Mascent, Mdescent.
(Mascent, Mdescent): Delete these variables.
(mfont_get_prop): Fix previous change.  Check Mfont_ascent and
Mfont_descent instead of Mascent and Mdescent.
(mfont_put_prop): Allow negative size.
(mfont_find): Handle the case of spec->size < 0.  Fix previous
change.
(mfont_list): Handle the case of spec->size < 0.
(mfont_check): Likewise.

19 years ago(STRDUP_LOWER): Ignore the tailing spaces.
handa [Wed, 24 Aug 2005 05:23:53 +0000 (05:23 +0000)]
(STRDUP_LOWER): Ignore the tailing spaces.
(fc_get_pattern): Handle the case of font->size < 0.
(ft_open): Set ascent, descent, and max_advance members of rfont.
(ft_find_metric): Improve rounding.
(mfont__ft_parse_name): If FC_PIXEL_SIZE is not available, set
FC_SIZE.

19 years ago(mface__realize): Handle the case of font->size < 0.
handa [Wed, 24 Aug 2005 05:21:46 +0000 (05:21 +0000)]
(mface__realize): Handle the case of font->size < 0.

19 years ago*** empty log message ***
handa [Mon, 22 Aug 2005 05:05:39 +0000 (05:05 +0000)]
*** empty log message ***

19 years ago(mconv_buffer_converter): Prototype adjusted.
handa [Mon, 22 Aug 2005 05:05:33 +0000 (05:05 +0000)]
(mconv_buffer_converter): Prototype adjusted.
(mconv_decode_buffer, mconv_rebind_buffer): Likewise.

19 years ago(MConverterStatus): Change the member buf to union.
handa [Mon, 22 Aug 2005 05:05:26 +0000 (05:05 +0000)]
(MConverterStatus): Change the member buf to union.
(mconv_buffer_converter): Add const to the arg buf.
(mconv_decode_buffer, mconv_rebind_buffer): Likewise.
(mconv_decode): Adjusted for the change of MConverterStatus.
(mconv_encode_range): Likewise.

19 years ago*** empty log message ***
handa [Mon, 22 Aug 2005 01:16:10 +0000 (01:16 +0000)]
*** empty log message ***

19 years agoDon't include config.h.
handa [Mon, 22 Aug 2005 01:15:55 +0000 (01:15 +0000)]
Don't include config.h.

19 years agoLikewise.
handa [Mon, 22 Aug 2005 01:14:22 +0000 (01:14 +0000)]
Likewise.

19 years ago(AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
handa [Mon, 22 Aug 2005 01:13:30 +0000 (01:13 +0000)]
(AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.

19 years ago(CONFIG_FLAGS): Setup this variable and AC_SUBST it.
handa [Mon, 22 Aug 2005 01:12:57 +0000 (01:12 +0000)]
(CONFIG_FLAGS): Setup this variable and AC_SUBST it.

19 years ago*** empty log message ***
handa [Sat, 20 Aug 2005 02:40:20 +0000 (02:40 +0000)]
*** empty log message ***

19 years ago(mfont_from_name): Prototype adjusted.
handa [Sat, 20 Aug 2005 02:40:17 +0000 (02:40 +0000)]
(mfont_from_name): Prototype adjusted.
(Mspacing, Mascent, Mdescent, Mmax_advance): Extern them.

19 years ago(xfont_open): Set members ascent, descent, and
handa [Sat, 20 Aug 2005 02:39:17 +0000 (02:39 +0000)]
(xfont_open): Set members ascent, descent, and
max_advance of rfont.
(xft_open): Likewise.

19 years ago(ft_open): Set members ascent, descent, and max_advance
handa [Sat, 20 Aug 2005 02:38:48 +0000 (02:38 +0000)]
(ft_open): Set members ascent, descent, and max_advance
of rfont.
(mfont__ft_parse_name): Add const to the arg name.

19 years ago(xlfd_parse_name): Add const to the arg name. Call
handa [Sat, 20 Aug 2005 02:37:49 +0000 (02:37 +0000)]
(xlfd_parse_name): Add const to the arg name.  Call
mfont__set_property instead of mfont_set_spec.  Set font->spacing.
(xlfd_unparse_name): Handle spacing.
(mfont__init): Initialize new variables.
(mfont__id): Handle spacing.
(mfont__merge): Likewise.
(mfont__set_spec): This function deleted.
(mfont__parse_name_into_font): Add const to the arg name.  Fix the
condition of calling mfont__ft_parse_name.
(Mspacing, Mascent, Mdescent, Mmax_advance): New variables.
(mfont_get_prop): Handle properties spacing, ascent, descent,
and max-advance.
(mfont_find): Return a realized font.
(mfont_from_name): Add const to the arg name.

19 years ago(enum MFontProperty): New member MFONT_SPACING.
handa [Sat, 20 Aug 2005 02:05:59 +0000 (02:05 +0000)]
(enum MFontProperty): New member MFONT_SPACING.
(enum MFontSpacing): New enum.
(MFont): New members spacing and max_advance.
(mfont__ft_parse_name): Prototype adjusted.
(mfont__set_spec): Extern deleted.
(mfont__parse_name_into_font): Prototype adjusted.

19 years ago(mfont_parse_name): Add const to the arg name.
handa [Fri, 19 Aug 2005 02:27:03 +0000 (02:27 +0000)]
(mfont_parse_name): Add const to the arg name.

19 years ago(mfont_parse_name): Prototype adjusted.
handa [Fri, 19 Aug 2005 02:26:55 +0000 (02:26 +0000)]
(mfont_parse_name): Prototype adjusted.

19 years ago(mfont_list): If FONT is null, use a temporary font.
handa [Fri, 19 Aug 2005 02:06:24 +0000 (02:06 +0000)]
(mfont_list): If FONT is null, use a temporary font.

19 years ago/*=*/ between @addtogroup and @{ removed
nisikimi [Thu, 18 Aug 2005 06:08:32 +0000 (06:08 +0000)]
/*=*/ between @addtogroup and @{ removed

19 years ago*** empty log message ***
handa [Thu, 18 Aug 2005 05:00:36 +0000 (05:00 +0000)]
*** empty log message ***

19 years agoSurround code by #ifdef and #endif to escape from
handa [Thu, 18 Aug 2005 05:00:28 +0000 (05:00 +0000)]
Surround code by #ifdef and #endif to escape from
doxygen.

19 years ago*** empty log message ***
handa [Thu, 18 Aug 2005 04:50:28 +0000 (04:50 +0000)]
*** empty log message ***

19 years ago(font_score): Make it static.
handa [Thu, 18 Aug 2005 04:50:19 +0000 (04:50 +0000)]
(font_score): Make it static.

19 years ago*** empty log message ***
handa [Thu, 18 Aug 2005 01:27:28 +0000 (01:27 +0000)]
*** empty log message ***

19 years ago(M17NLIB_MINOR_VERSION): Changed to 3.
handa [Thu, 18 Aug 2005 01:24:37 +0000 (01:24 +0000)]
(M17NLIB_MINOR_VERSION): Changed to 3.
(M17NLIB_VERSION_NAME): Changed to "1.3.0".

19 years agoVersion changed to 1.3.0.
handa [Thu, 18 Aug 2005 01:23:36 +0000 (01:23 +0000)]
Version changed to 1.3.0.

19 years ago(main): Adjusted for the change of symbol's language
handa [Thu, 18 Aug 2005 01:20:55 +0000 (01:20 +0000)]
(main): Adjusted for the change of symbol's language
property (now in lowercase).

19 years ago(main): Handle --fontset arg.
handa [Thu, 18 Aug 2005 01:19:15 +0000 (01:19 +0000)]
(main): Handle --fontset arg.

19 years ago*** empty log message ***
handa [Thu, 18 Aug 2005 01:18:12 +0000 (01:18 +0000)]
*** empty log message ***

19 years agoMostly re-written.
handa [Thu, 18 Aug 2005 01:18:07 +0000 (01:18 +0000)]
Mostly re-written.

19 years ago(FontLayoutCmdOTF): This type deleted.
handa [Thu, 18 Aug 2005 01:13:27 +0000 (01:13 +0000)]
(FontLayoutCmdOTF): This type deleted.
(FontLayoutCmd): Type of the member otf changed..
(load_otf_command): Adjusted for the format change of otf command.
(load_command): Likewise.
(free_flt_command): Unref cmd->body.otf.
(run_otf): Ajusted for the type change of otf_cmd.
(run_command): Ajusted for the type change of otf_cmd.  On
debugging, print ctx->combining_code.
(mfont__flt_run): Initialize ctx's members code_offset,
combining_code, and left_padding to 0.

19 years ago(struct MRealizedFace): New member font.
handa [Thu, 18 Aug 2005 01:08:36 +0000 (01:08 +0000)]
(struct MRealizedFace): New member font.
(mface__realize): Prototype adjusted.

19 years ago(find_realized_face): New arg font.
handa [Thu, 18 Aug 2005 01:07:54 +0000 (01:07 +0000)]
(find_realized_face): New arg font.
(find_realized_face): Adjusted for the change of MFont.
(mface__init): Call M17N_OBJECT_ADD_ARRAY.
(mface__fini): Don't call mdebug__report_object.
(mface__realize): New arg font.
(mface__for_chars): Adjusted for the change of mfont__encode_char.
Optimize the latin case.
(mface__free_realized): Free rface->font.
(mface__update_frame_face): Adjusted for the change of mface__realize.
(mface_equal): New function.

19 years ago(Mcommon): New variable.
handa [Thu, 18 Aug 2005 01:03:57 +0000 (01:03 +0000)]
(Mcommon): New variable.
(visual_order): Args to mfont__encode_char changed.
(compose_glyph_string): Handle Mfont text property.
(layout_glyphs): Adjusted for the change of MFont.
(mdraw__init): Initialize Mcommon.
(mdraw_glyph_info): Adjusted for the change of MRealizedFont.

19 years ago(enum MFontType): Members completely changed.
handa [Thu, 18 Aug 2005 01:01:31 +0000 (01:01 +0000)]
(enum MFontType): Members completely changed.
(enum MFontProperty): Move MFONT_SIZE to the tail.
(enum MFontSource): New enum.
(struct MFont): New members type, source, sizes, file, capability,
and encoding.
(struct MRealizedFont): Type of member font changed. Members
score, status, and encoding deleted.
(MFontScore): New type.
(MFontList): Member changed.
(struct MFontDriver): New member has_char.  Types of members
changed.
(Miso8859_1, Miso10646_1, Municode_bmp, Municode_full)
(Mapple_roman): Extern them.
(OTF_Tag): Typedefed if not HAVE_OTF.
(enum MFontOpenTypeTable): New enum.
(MFontCapability): New type.
(mfont__ft_drive_otf): Prototype adjusted.
(mfont__score): Extern deleted.
(mfont__merge): Extern it.
(mfont__has_char): Extern it.
(mfont__encode_char): Prototype adjusted.
(mfont__open): Extern it.
(mfont__set_spec): Prototype adjusted.
(mfont__get_capability): Extern it.

19 years agoInclude "fontset.h".
handa [Wed, 17 Aug 2005 13:00:30 +0000 (13:00 +0000)]
Include "fontset.h".
(M_font_capability, M_font_list, M_font_list_len): New variables.
(font_score_priority): Change order of initial elements.
(font_score_shift_bits): Fix array size.
(common_weight): Add "thin", "semibold", and "heavy".
(common_stretch): Add "ultracondensed", "extracondensed",
"extraexpanded", and "utltraexpand".
(font_weight_regular, font_weight_normal, font_weight_medium): New
variables.
(gen_font_name): This function deleted.
(find_encoding): Set font->encoding.
(OTF_tag): New function.
(otf_script_list): New variable.
(load_otf_script_list): New function.
(find_script_from_otf_tag): New function.
(xlfd_parse_name): Set font->type and font->source.
(mfont__free_realized): Free chains rfonts.
(font_score): Renamed from mfont__score.
(Miso8859_1, Miso10646_1, Municode_bmp, Municode_full)
(Mapple_roman): New variables.
(mfont__init): Initilize new variables.  Initalize
default_encoding.encoding_name and
default_encoding.encoding_charset to Municode_full and
mcharset__unicode.  Use SAFE* macros for allocating filepath
buffer.
(mfont__fini): Free otf_script_list.
(mfont__id): New function.
(mfont__match_p): Check also capability member of MFont.
(mfont__merge): New funciton.
(mfont__set_spec_from_face): Set type and source members.
(mfont__set_spec_from_plist): Set capability and type members.
(mfont__select): Argument changed.
(mfont__available): New function.
(compare_font_score): New function.
(mfont__list): New function.
(mfont__open): Return a realized font.
(mfont__resize): Adjusted for the change of MFont.
(mfont__has_char): New function.
(mfont__encode_char): Argument changed.
(mfont__set_spec): Argument changed.
(free_font_capability): New function.
(mfont__get_capability): New function.
(MFontfile): New variable.
(mfont_get_prop): Adjusted for the change of MFont.
(mfont_put_prop): Likewise.
(mfont_set_selection_priority): Fix the way of setting
font_score_priority[].
(mfont_find): Use mfont__list instead of mfont__select.
(mfont_resize_ratio): Adjusted for the change of MFont.
(mfont_list): Use mfont__list.
(mfont_check): New function.

19 years ago(mfont__realize_fontset): Prototype adjusted.
handa [Wed, 17 Aug 2005 12:43:37 +0000 (12:43 +0000)]
(mfont__realize_fontset): Prototype adjusted.
(mfont__lookup_fontset): Likewise.

19 years ago(struct MFontset): Delete member font_spec_list.
handa [Wed, 17 Aug 2005 12:42:54 +0000 (12:42 +0000)]
(struct MFontset): Delete member font_spec_list.
(struct MRealizedFontset): Type of member spec changed.  New
member request.
(load_font_group): Arg spec_list deleted.
(load_fontset_contents): Adjusted for the change of fontset_def.
(free_fontset): Fix the way of freeing fontset elements.
(realize_fontset_elements): Argument changed.
(get_per_script): New function.
(free_realized_fontset_elements): Fix the way of feeing rfontset
elements.
(update_fontset_elements): Fix args to realize_fontset_elements.
(mfont__realize_fontset): New arg spec.
(try_font_list): New function.
(try_font_group): New arg request.  Use try_font_list.
(mfont__lookup_fontset): New arg ignore_fallback.  Fix arg to
try_font_group.
(mfontset): Adjusted for the change of MFontset.
(mfontset_copy): Likewise.  Don't share plists.
(mfontset_modify_entry): Adjusted for the change of MFontset.
(mfontset_lookup): Call get_per_script.
(mdebug_dump_fontset): Print also the address of fonts.

19 years ago(shift_state): Don't reset ic_info->vars.
handa [Wed, 17 Aug 2005 12:17:21 +0000 (12:17 +0000)]
(shift_state): Don't reset ic_info->vars.
(take_action_list): Call MDEBUG_PRINT fore calling
take_action_list.

19 years ago(MFontDriver): Don't typedef it here.
handa [Wed, 17 Aug 2005 12:15:36 +0000 (12:15 +0000)]
(MFontDriver): Don't typedef it here.

19 years agoInclude <fontconfig/fcfreetype.h> if HAVE_XFT2.
handa [Wed, 17 Aug 2005 12:13:55 +0000 (12:13 +0000)]
Include <fontconfig/fcfreetype.h> if HAVE_XFT2.
(MXFont): This type deleted.
(MFontX): New type.
(struct _MFontX): New struct.
(SET_SIZE, HAVE_SIZE): Adjusted for the change of arg FONTX.
(MDisplayInfo): Member base_font_list deleted.
(DEFAULT_FONT): Definition changed.
(FALLBACK_FONT): This maclr deleted.
(free_display_info): Adjusted for the change of MDisplayInfo.
(free_device): Argument to mfont__free_realized changed.
(xfont_driver): Adjusted for the change of MFontDriver.
(xfont_registry_list): Use MFontX instead of MXFont.
(MRealizedFontX): Renamed from MXFontInfo.
(xfont_select): Return the font found first.
(close_xfont): Change MXFontInfo to MRealizedFontX.
(xfont_open): Return the realized font.
(xfont_find_metric): Get xfont from rfont->fontp.
(xfont_has_char): New function.
(xfont_encode_char): Adjusted for the argument change.
(xfont_render): Get xfont from rfont->fontp.
(xfont_list): Adjusted for the argument change.
(MRealizedFontXft): Renamed from MXftFontInfo.
(xft_driver): Ajusted for the change of MFontDriver.
(close_xft): Change MXtfFontInfo to MRealizedFontXft
(xft_open_font): Argument changed.
(xft_open): Argument changed.  Return the realized font.
(xft_find_metric): Get xft_font from rfont->fontp.
(xft_has_char, xft_encode_char): New functions.
(xft_render): Change MXftFontInfo to MRealizedFontXft.  Open a
font if not yet opened.
(device_open): Don't set frame->font.

19 years ago(gd_font_driver): Adjusted for the change of
handa [Wed, 17 Aug 2005 11:46:36 +0000 (11:46 +0000)]
(gd_font_driver): Adjusted for the change of
MFontDriver.
(gd_font_open): New function.
(gd_render): Don't use the local variable ft_info.
(device_init): Adjusted for the change of gd_font_driver.

19 years ago(mtext__prop_init): Initialize text_property_table.
handa [Wed, 17 Aug 2005 11:43:59 +0000 (11:43 +0000)]
(mtext__prop_init): Initialize text_property_table.
Call M17N_OBJECT_ADD_ARRAY.
(mtext__prop_fini): Don't call mdebug__report_object.

19 years ago(mplist__init): Initialize plist_table.
handa [Wed, 17 Aug 2005 11:43:07 +0000 (11:43 +0000)]
(mplist__init): Initialize plist_table.
(mplist__init): Call M17N_OBJECT_ADD_ARRAY.
(mplist__fini): Don't call mdebug__report_object.

19 years ago(mtext__init): Call M17N_OBJECT_ADD_ARRAY.
handa [Wed, 17 Aug 2005 11:41:51 +0000 (11:41 +0000)]
(mtext__init): Call M17N_OBJECT_ADD_ARRAY.
(mtext__fini): Don't call mdebug__report_object.
(MTEXT_FORMAT_UTF_16): Correct type.
(mtext_data): New function.
(mtext_text): Fix calculation of limit and args to
find_char_backward.

19 years agoInclude "plist.h".
handa [Wed, 17 Aug 2005 11:39:22 +0000 (11:39 +0000)]
Include "plist.h".
(M_script_lang_list): New variable.
(mlang__init): Read languages and their information from m17n
database.
(mlanguage__list): New function.
(Miso639_1, Miso639_2): New variables.

19 years ago(mlanguage__list): Extern it.
handa [Wed, 17 Aug 2005 11:37:43 +0000 (11:37 +0000)]
(mlanguage__list): Extern it.

19 years ago(get_database_stream): Use SAFE_* macros for
handa [Wed, 17 Aug 2005 11:36:42 +0000 (11:36 +0000)]
(get_database_stream): Use SAFE_* macros for
allocating and freeing path.
(mdatabase__init): Likewise.

19 years ago(mchartable__init): Initalize chartable_table.count.
handa [Wed, 17 Aug 2005 11:35:33 +0000 (11:35 +0000)]
(mchartable__init): Initalize chartable_table.count.
(mchartable__fini): Use N17n_OBJECT_ADD_ARRAY instead of
mdebug__report_object.

19 years ago(msymbol__fini): Don't free symbols here.
handa [Wed, 17 Aug 2005 11:35:11 +0000 (11:35 +0000)]
(msymbol__fini): Don't free symbols here.
(msymbol__free_table): New function.
(msymbol_is_managing_key): New function.

19 years ago* symbol.h (msymbol__free_table): Extern it.
handa [Wed, 17 Aug 2005 11:33:23 +0000 (11:33 +0000)]
* symbol.h (msymbol__free_table): Extern it.
(msymbol__list): Extern it.

* m17n-core.c: Include "symbol.h".
(report_header_printed): This variable deleted.
(object_array_root): New variable.
(report_object_array): New function.
(mdebug__report_object): This function deleted.
(mdebug__add_object_array): New function.
(m17n_init_core): Call mchartable_init () before mtext_init ().
(m17n_fini_core): Call report_object_array (if necessary) and
msymbol__free_atable at the end.

19 years ago(MFATAL, USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE):
handa [Wed, 17 Aug 2005 11:32:45 +0000 (11:32 +0000)]
(MFATAL, USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE):
New macros.
(M17N_OBJECT_UNREF): Change "if ... else ..." structure.
(struct _M17NObjectArray): New member name and next.
(mdebug__add_object_array): Extern it.
(M17N_OBJECT_ADD_ARRAY): New macro.
(mdebug__report_object): Don't extern it.

19 years ago(enum MErrorCode): New element MERROR_FONT_X.
handa [Wed, 17 Aug 2005 11:28:46 +0000 (11:28 +0000)]
(enum MErrorCode): New element MERROR_FONT_X.

19 years ago(free_frame): Don't free frame->font.
handa [Wed, 17 Aug 2005 11:28:02 +0000 (11:28 +0000)]
(free_frame): Don't free frame->font.
(null_device_fini): Fix code for freeing
null_device.realized_font_list.
(m17n_fini_win): Free interface.
(mframe): Cast the return value of dlsym.  Set frame->font here.
(mframe_get_prop): Check frame->rface->rfont before accessing the
member font.

19 years ago(Mfontfile): Extern it.
handa [Wed, 17 Aug 2005 11:24:07 +0000 (11:24 +0000)]
(Mfontfile): Extern it.
(mfont_check): Extern it.
(mface_equal): Extern it.

19 years agoInclude "symbol.h".
handa [Wed, 17 Aug 2005 11:22:48 +0000 (11:22 +0000)]
Include "symbol.h".
(report_header_printed): This variable deleted.
(object_array_root): New variable.
(report_object_array): New function.
(mdebug__report_object): This function deleted.
(mdebug__add_object_array): New function.
(m17n_init_core): Call mchartable_init () before mtext_init ().
(m17n_fini_core): Call report_object_array (if necessary) and
msymbol__free_atable at the end.

19 years ago(msymbol_is_managing_key): Extern it.
handa [Wed, 17 Aug 2005 11:18:48 +0000 (11:18 +0000)]
(msymbol_is_managing_key): Extern it.
(mtext_data): Extern it.
(MTEXT_FORMAT_UTF_16): Correct type.

19 years ago(Miso639_1, Miso639_2): Extern them.a
handa [Thu, 26 May 2005 08:15:53 +0000 (08:15 +0000)]
(Miso639_1, Miso639_2): Extern them.a

19 years ago(msymbol__list): New function.
handa [Thu, 26 May 2005 08:14:46 +0000 (08:14 +0000)]
(msymbol__list): New function.

19 years agoFix spelling of "Khmer" in Khmer.
ntakahas [Wed, 25 May 2005 12:36:56 +0000 (12:36 +0000)]
Fix spelling of "Khmer" in Khmer.

19 years ago(main): Explicitly set minput_driver.
handa [Thu, 19 May 2005 05:45:07 +0000 (05:45 +0000)]
(main): Explicitly set minput_driver.

19 years ago*** empty log message ***
handa [Thu, 19 May 2005 05:44:58 +0000 (05:44 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 19 May 2005 05:35:07 +0000 (05:35 +0000)]
*** empty log message ***

19 years ago(minput__win_init): Don't change the value of
handa [Thu, 19 May 2005 05:35:02 +0000 (05:35 +0000)]
(minput__win_init): Don't change the value of
minput_driver.

19 years ago*** empty log message ***
handa [Mon, 16 May 2005 13:02:36 +0000 (13:02 +0000)]
*** empty log message ***

19 years ago(m17n_object): Be sure to initialize all members.
handa [Mon, 16 May 2005 13:02:10 +0000 (13:02 +0000)]
(m17n_object): Be sure to initialize all members.

19 years agoModified comment strings.
ntakahas [Fri, 13 May 2005 05:17:24 +0000 (05:17 +0000)]
Modified comment strings.

19 years ago*** empty log message ***
handa [Thu, 12 May 2005 05:17:59 +0000 (05:17 +0000)]
*** empty log message ***

19 years agoDefine HAVE_X11_XAW_COMMAND explicitly.
handa [Thu, 12 May 2005 05:17:53 +0000 (05:17 +0000)]
Define HAVE_X11_XAW_COMMAND explicitly.

19 years ago*** empty log message ***
handa [Mon, 9 May 2005 12:47:06 +0000 (12:47 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 28 Apr 2005 02:03:53 +0000 (02:03 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 28 Apr 2005 02:03:50 +0000 (02:03 +0000)]
*** empty log message ***

19 years agoCheck HAVE_X11_XAW_COMMAND_H, and if it not defined,
handa [Thu, 28 Apr 2005 02:03:14 +0000 (02:03 +0000)]
Check HAVE_X11_XAW_COMMAND_H, and if it not defined,
add dummy code.

19 years ago(X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.
handa [Thu, 28 Apr 2005 02:02:05 +0000 (02:02 +0000)]
(X_LD_FLAGS): Include @XAW_LD_FLAGS@, not -lXaw.

19 years ago*** empty log message ***
handa [Wed, 27 Apr 2005 08:40:05 +0000 (08:40 +0000)]
*** empty log message ***

19 years ago(mlang__init): Add "an" (Aragonese).
handa [Wed, 27 Apr 2005 08:40:01 +0000 (08:40 +0000)]
(mlang__init): Add "an" (Aragonese).

19 years ago*** empty log message ***
handa [Wed, 27 Apr 2005 08:39:19 +0000 (08:39 +0000)]
*** empty log message ***

19 years agoAdd support for libthai.
handa [Wed, 27 Apr 2005 08:39:16 +0000 (08:39 +0000)]
Add support for libthai.
(mtext__word_thai_init): Initialize wordseg library conditionaly.
(mtext__word_thai_fini): Finalize wordseg library conditionaly.

19 years agoInclude "word-thai.h" conditionaly.
handa [Wed, 27 Apr 2005 08:38:02 +0000 (08:38 +0000)]
Include "word-thai.h" conditionaly.
(mtext__init): Call mtext__word_thai_init conditionaly.
(mtext__fini): Call mtext__word_thai_fini conditionaly.

19 years ago(libm17n_core_la_LIBADD): Add THAI_WORDSEG_LD_FLAGS,
handa [Wed, 27 Apr 2005 08:37:01 +0000 (08:37 +0000)]
(libm17n_core_la_LIBADD): Add THAI_WORDSEG_LD_FLAGS,
not WORDCUT_LD_FLAGS.

19 years ago*** empty log message ***
handa [Tue, 19 Apr 2005 13:15:08 +0000 (13:15 +0000)]
*** empty log message ***

19 years ago(wordseg_propertize): Always unref the attached
handa [Tue, 19 Apr 2005 13:15:03 +0000 (13:15 +0000)]
(wordseg_propertize): Always unref the attached
property.
(thai_wordseg): Don't unref the property.

19 years ago*** empty log message ***
handa [Mon, 18 Apr 2005 12:59:58 +0000 (12:59 +0000)]
*** empty log message ***

19 years agoInclude stdlib.h.
handa [Mon, 18 Apr 2005 12:59:54 +0000 (12:59 +0000)]
Include stdlib.h.
(wordseg_propertize): Add dummy function for the case that wordcut
library doesn't exist.
(wordseg_propertize): Fix for old wordcut library.

19 years ago*** empty log message ***
handa [Mon, 18 Apr 2005 06:22:27 +0000 (06:22 +0000)]
*** empty log message ***

19 years agoInclude stdlib.h.
handa [Mon, 18 Apr 2005 06:22:23 +0000 (06:22 +0000)]
Include stdlib.h.
(wordseg_propertize): Add dummy function for the case that wordcut
library doesn't exist.

19 years ago*** empty log message ***
handa [Sat, 16 Apr 2005 00:03:39 +0000 (00:03 +0000)]
*** empty log message ***

19 years agoInclude <stdio.h>.
handa [Sat, 16 Apr 2005 00:03:32 +0000 (00:03 +0000)]
Include <stdio.h>.

19 years ago*** empty log message ***
handa [Fri, 15 Apr 2005 11:28:48 +0000 (11:28 +0000)]
*** empty log message ***

19 years agoInclude dlfcn.h.
handa [Fri, 15 Apr 2005 11:28:44 +0000 (11:28 +0000)]
Include dlfcn.h.
(Mword): New variable.
(show_cursor): Check Mlanguage text property of the cursor
position only.
(delete_char): Pay attention to the change of line beginning
position because of filling.
(insert_chars): Likewise.
(word_constituent_p, forward_word, backward_word): New functions.
(KeyProc): Assign XK_b and XK_f for back/foreward word.
(line_break): Delete extern.
(LineBreakProc): Use mdraw_default_line_break.
(FilterProc): New function.
(main): Handle --filter arg.  Initialize Mword.

19 years ago*** empty log message ***
handa [Fri, 15 Apr 2005 08:17:13 +0000 (08:17 +0000)]
*** empty log message ***

19 years ago(main): Set control.line_break to
handa [Fri, 15 Apr 2005 08:16:24 +0000 (08:16 +0000)]
(main): Set control.line_break to
mdraw_default_line_break.

19 years ago(m17n_edit_SOURCES): Don't include linebreak.c.
handa [Fri, 15 Apr 2005 08:15:24 +0000 (08:15 +0000)]
(m17n_edit_SOURCES): Don't include linebreak.c.
(m17n_dump_SOURCES): Likewise.
(m17n_edit_LDADD): Don't include @WORDCUT_LD_FLAGS@.
(m17n_dump_LDADD): Likewise.

19 years agoInclude mtext.h.
handa [Fri, 15 Apr 2005 08:13:48 +0000 (08:13 +0000)]
Include mtext.h.
(linebreak_table, M_break_at_space, M_break_at_word)
(M_break_at_any, M_kinsoku_bol, M_kinsoku_eol): New variables.
(compose_glyph_string): Check POS before getting Mface text
property.
(truncate_gstring): Give correct TO arg to line_break function.
(GET_LB_TYPE): New macro.
(find_break_backward, find_break_forward): New functions.
(mdraw__init): Initialize the above new variables.
(mdraw__fini): Free linebreak_table.
(mdraw_default_line_break): Use find_break_backward and
find_break_forward.

19 years ago*** empty log message ***
handa [Fri, 15 Apr 2005 08:11:14 +0000 (08:11 +0000)]
*** empty log message ***

19 years agoNew file.
handa [Fri, 15 Apr 2005 08:11:03 +0000 (08:11 +0000)]
New file.

19 years agoInclude word-thai.h.
handa [Fri, 15 Apr 2005 08:10:30 +0000 (08:10 +0000)]
Include word-thai.h.
(wordseg_func_table): New variable.
(mtext__init): Initialize wordseg_func_table and call
mtext__word_thai_init.
(mtext__fini): Call mtext__word_thai_fini, free
wordseg_func_table.
(MTextWordsegFunc): New type.
(mtext__word_segment): New function.