m17n/m17n-lib.git
17 years ago(mflt_coverage): Extern it.
handa [Tue, 4 Sep 2007 14:21:45 +0000 (14:21 +0000)]
(mflt_coverage): Extern it.

17 years ago*** empty log message ***
handa [Mon, 3 Sep 2007 00:35:56 +0000 (00:35 +0000)]
*** empty log message ***

17 years ago(MTABLE_CALLOC_SAFE, MSTRUCT_CALLOC_SAFE): New macros.
handa [Mon, 3 Sep 2007 00:35:52 +0000 (00:35 +0000)]
(MTABLE_CALLOC_SAFE, MSTRUCT_CALLOC_SAFE): New macros.

17 years ago(mdatabase__props): New function.
handa [Mon, 3 Sep 2007 00:35:36 +0000 (00:35 +0000)]
(mdatabase__props): New function.

17 years ago* database.h (mdatabase__props): Extern it.
handa [Mon, 3 Sep 2007 00:35:05 +0000 (00:35 +0000)]
* database.h (mdatabase__props): Extern it.

* m17n-flt.c: Include "database.h".
(struct _MFLT): New struct.
(list_flt): New function.
(load_flt): Don't update flt_list.
(get_font_layout_table): Use flt_list.
(m17n_init_flt): Don't initialize flt_list.
(m17n_fini_flt): Adjusted for the change of flt_list.
(mflt_find): New function.
(mflt_run): Fix debug printing.

17 years ago(struct _MFLTGlyphString): Delete user_data, add
handa [Mon, 3 Sep 2007 00:34:45 +0000 (00:34 +0000)]
(struct _MFLTGlyphString): Delete user_data, add
script and langsys.
(struct _MFLTFont): Add suitable_p.
(mflt_find): Extern it.

17 years agoInclude "database.h".
handa [Mon, 3 Sep 2007 00:33:30 +0000 (00:33 +0000)]
Include "database.h".
(struct _MFLT): New struct.
(list_flt): New function.
(load_flt): Don't update flt_list.
(get_font_layout_table): Use flt_list.
(m17n_init_flt): Don't initialize flt_list.
(m17n_fini_flt): Adjusted for the change of flt_list.
(mflt_find): New function.
(mflt_run): Fix debug printing.

17 years ago*** empty log message ***
handa [Thu, 23 Aug 2007 07:35:32 +0000 (07:35 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 23 Aug 2007 04:38:38 +0000 (04:38 +0000)]
*** empty log message ***

17 years ago(mfont__flt_run): Don't calculate a glyph metric if
handa [Thu, 23 Aug 2007 04:38:34 +0000 (04:38 +0000)]
(mfont__flt_run): Don't calculate a glyph metric if
the glyph is already handled by OTF.

17 years ago(run_otf): Remove #ifdef HAVE_OTF and #endi.
handa [Thu, 23 Aug 2007 02:28:35 +0000 (02:28 +0000)]
(run_otf): Remove #ifdef HAVE_OTF and #endi.
(run_stages): Print separator in encoded string as "|".

17 years ago*** empty log message ***
handa [Tue, 21 Aug 2007 07:17:37 +0000 (07:17 +0000)]
*** empty log message ***

17 years ago(ft_check_capability): Check cap->script_tag at first.
handa [Tue, 21 Aug 2007 07:17:33 +0000 (07:17 +0000)]
(ft_check_capability): Check cap->script_tag at first.

17 years ago*** empty log message ***
handa [Mon, 20 Aug 2007 14:02:06 +0000 (14:02 +0000)]
*** empty log message ***

17 years ago(mfont__flt_run): Get glyph metrics before printing
handa [Mon, 20 Aug 2007 14:02:02 +0000 (14:02 +0000)]
(mfont__flt_run): Get glyph metrics before printing
debug information.

17 years ago*** empty log message ***
handa [Fri, 17 Aug 2007 13:03:37 +0000 (13:03 +0000)]
*** empty log message ***

17 years ago(struct _MFLTGlyphString): Member pointer renamed to
handa [Fri, 17 Aug 2007 13:02:53 +0000 (13:02 +0000)]
(struct _MFLTGlyphString): Member pointer renamed to
user_data.
(MFLTOtfSpec): Renamed from MFLT_OTF_Spec.
(MFLTFont): Prototype of the member drive_otf adjusted.

17 years ago(run_stages): Fix handling of padding.
handa [Fri, 17 Aug 2007 07:32:10 +0000 (07:32 +0000)]
(run_stages): Fix handling of padding.

17 years ago(get_glyph_metric): New function.
handa [Fri, 17 Aug 2007 07:31:49 +0000 (07:31 +0000)]
(get_glyph_metric): New function.
(DEVICE_DELTA): Return 26.6 fixed point value.
(adjust_anchor): Likewise.
(mfont__ft_drive_otf): Use get_glyph_metric.

17 years ago(mfont__flt_run): Pay attention to padding on
handa [Fri, 17 Aug 2007 07:30:27 +0000 (07:30 +0000)]
(mfont__flt_run): Pay attention to padding on
printing debug info.

17 years ago*** empty log message ***
handa [Thu, 16 Aug 2007 12:08:18 +0000 (12:08 +0000)]
*** empty log message ***

17 years ago(run_stages): Fix typo.
handa [Thu, 16 Aug 2007 12:08:13 +0000 (12:08 +0000)]
(run_stages): Fix typo.

17 years ago*** empty log message ***
handa [Thu, 16 Aug 2007 06:00:05 +0000 (06:00 +0000)]
*** empty log message ***

17 years ago(adjust_anchor): Argument changed. Calculte based on
handa [Thu, 16 Aug 2007 06:00:02 +0000 (06:00 +0000)]
(adjust_anchor): Argument changed.  Calculte based on
26.6 fixed point.
(mfont__ft_drive_otf): Don't call OTF_check_features for GPOS.
Adjusted for the argument change of adjust_anchor.  Calculte based
on 26.6 fixed point.

17 years ago(mfont__ft_drive_otf): Don't call OTF_check_features
handa [Thu, 16 Aug 2007 05:20:09 +0000 (05:20 +0000)]
(mfont__ft_drive_otf): Don't call OTF_check_features
for GPOS.

17 years ago* m17n-flt.pc.in (prefix): New file.
handa [Wed, 15 Aug 2007 12:37:34 +0000 (12:37 +0000)]
* m17n-flt.pc.in (prefix): New file.

17 years ago*** empty log message ***
handa [Wed, 15 Aug 2007 12:37:24 +0000 (12:37 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 15 Aug 2007 11:45:44 +0000 (11:45 +0000)]
*** empty log message ***

17 years ago(mcharset__load_from_database): Set mdebug_flag
handa [Wed, 15 Aug 2007 11:45:39 +0000 (11:45 +0000)]
(mcharset__load_from_database): Set mdebug_flag
instead of mdebug_mask.

17 years ago(mcoding__load_from_database): Set mdebug_flag instead
handa [Wed, 15 Aug 2007 11:45:21 +0000 (11:45 +0000)]
(mcoding__load_from_database): Set mdebug_flag instead
of mdebug_mask.

17 years ago(load_database): Set mdebug_flag instead of
handa [Wed, 15 Aug 2007 11:45:05 +0000 (11:45 +0000)]
(load_database): Set mdebug_flag instead of
mdebug_mask.
(mdatabase__load_for_keys): Likewise.

17 years agoInclude "internal-flt.h".
handa [Wed, 15 Aug 2007 11:44:38 +0000 (11:44 +0000)]
Include "internal-flt.h".
(dump_combining_code): Don't subtract 128 from combining code
off_x/y.

17 years ago* font-flt.c: Include "internal-flt.h". Set mdebug_flag instead
handa [Wed, 15 Aug 2007 11:42:58 +0000 (11:42 +0000)]
* font-flt.c: Include "internal-flt.h".  Set mdebug_flag instead
of mdebug_mask.
(run_rule): Print debug info only when MDEBUG_FLAG is greater than
2.
(run_cond): Likewise.
(run_otf): Likewise.
(run_command): Likewise.
(mfont__flt_run): Change format of debug info.

* m17n-flt.c: New file created by modifying font-flt.c.

17 years agoInclude "internal-flt.h".
handa [Wed, 15 Aug 2007 11:40:59 +0000 (11:40 +0000)]
Include "internal-flt.h".
Set mdebug_flag instead of mdebug_mask.
(mfont__ft_drive_otf): Fix arg to OTF_check_features.

17 years agoSet mdebug_flag instead of mdebug_mask.
handa [Wed, 15 Aug 2007 11:40:14 +0000 (11:40 +0000)]
Set mdebug_flag instead of mdebug_mask.
(shift_state): New MDEBUG_FLAG macro.
(preedit_commit): Likewise.
(filter): Likewise.

17 years ago* internal-flt.h: New file.
handa [Wed, 15 Aug 2007 11:39:32 +0000 (11:39 +0000)]
* internal-flt.h: New file.

* internal-gui.h (MAKE_COMBINING_CODE, COMBINING_CODE_OFF_Y)
(COMBINING_CODE_OFF_X, COMBINING_CODE_BASE_X)
(COMBINING_CODE_BASE_Y, COMBINING_CODE_ADD_X)
(COMBINING_CODE_ADD_Y, MAKE_COMBINING_CODE_BY_CLASS)
(COMBINING_BY_CLASS_P, COMBINING_CODE_CLASS)
(MAKE_PRECOMPUTED_COMBINDING_CODE, COMBINING_PRECOMPUTED_P): Move
these macros to internal-flt.h.

17 years ago(MAKE_COMBINING_CODE, COMBINING_CODE_OFF_Y)
handa [Wed, 15 Aug 2007 11:39:19 +0000 (11:39 +0000)]
(MAKE_COMBINING_CODE, COMBINING_CODE_OFF_Y)
(COMBINING_CODE_OFF_X, COMBINING_CODE_BASE_X)
(COMBINING_CODE_BASE_Y, COMBINING_CODE_ADD_X)
(COMBINING_CODE_ADD_Y, MAKE_COMBINING_CODE_BY_CLASS)
(COMBINING_BY_CLASS_P, COMBINING_CODE_CLASS)
(MAKE_PRECOMPUTED_COMBINDING_CODE, COMBINING_PRECOMPUTED_P): Move
these macros to internal-flt.h.

17 years ago(M17N_OBJECT_ADD_ARRAY): Adjusted for the change of
handa [Wed, 15 Aug 2007 11:38:10 +0000 (11:38 +0000)]
(M17N_OBJECT_ADD_ARRAY): Adjusted for the change of
mdebug__flags.
(M17N_OBJECT_REGISTER, M17N_OBJECT_UNREGISTER): Likewise.
(enum MDebugMaskBit): Delete this enum.
(enum MDebugFlag): New enum.
(mdebug__flag): Don't extern it.
(mdebug__flags): Extern it.
(MDEBUG_FLAG): New macro.
(MDEBUG_PRINT0): Use the macro MDEBUG_FLAG.
(MDEBUG_DUMP, MDEBUG_PUSH_TIME, MDEBUG_POP_TIME)
(MDEBUG_PRINT_TIME): Likewise.

17 years ago(xfont_open): Set mdebug_flag instead of mdebug_mask.
handa [Wed, 15 Aug 2007 11:35:50 +0000 (11:35 +0000)]
(xfont_open): Set mdebug_flag instead of mdebug_mask.
(xfont_list): Likewise.

17 years ago(mdebug__flag): Delete this variable.
handa [Wed, 15 Aug 2007 11:35:21 +0000 (11:35 +0000)]
(mdebug__flag): Delete this variable.
(mdebug__flags): New variable.
(SET_DEBUG_FLAG): Make it a function.
(m17n_init_core): Set mdebug_flag instead of mdebug_mask.
(m17n_fini_core): Likewise.

17 years ago(m17n_init_win): Set mdebug_flag instead of mdebug_mask.
handa [Wed, 15 Aug 2007 11:33:56 +0000 (11:33 +0000)]
(m17n_init_win): Set mdebug_flag instead of mdebug_mask.
(m17n_fini_win): Likewise.

17 years ago(enum MErrorCode): Add MERROR_FLT.
handa [Wed, 15 Aug 2007 11:33:30 +0000 (11:33 +0000)]
(enum MErrorCode): Add MERROR_FLT.

17 years ago(m17n_init): Set mdebug_flag instead of mdebug_mask.
handa [Wed, 15 Aug 2007 11:32:25 +0000 (11:32 +0000)]
(m17n_init): Set mdebug_flag instead of mdebug_mask.
(m17n_fini): Likewise.

17 years ago(msymbol__free_table): Adjusted for the change of
handa [Wed, 15 Aug 2007 11:31:39 +0000 (11:31 +0000)]
(msymbol__free_table): Adjusted for the change of
mdebug__flags.

17 years ago(BASICBUILDS): Add libm17n-flt.la.
handa [Wed, 15 Aug 2007 11:31:01 +0000 (11:31 +0000)]
(BASICBUILDS): Add libm17n-flt.la.
(BASICHEADERS): Add m17n-flt.h.
(FLT_SOURCES): New variable.
(libm17n_flt_la_SOURCES, libm17n_flt_la_LIBADD)
(libm17n_flt_la_LDFLAGS): Likewise.

17 years ago*** empty log message ***
handa [Wed, 15 Aug 2007 11:29:41 +0000 (11:29 +0000)]
*** empty log message ***

17 years ago(AC_CONFIG_FILES): Add m17n-flt.pc.
handa [Wed, 15 Aug 2007 11:29:31 +0000 (11:29 +0000)]
(AC_CONFIG_FILES): Add m17n-flt.pc.

17 years ago(EXTRA_DIST): Add m17n-flt.pc.in.
handa [Wed, 15 Aug 2007 11:29:06 +0000 (11:29 +0000)]
(EXTRA_DIST): Add m17n-flt.pc.in.
(BASICDATA): Add m17n-flt.pc.

17 years agoNew file.
handa [Wed, 15 Aug 2007 11:15:19 +0000 (11:15 +0000)]
New file.

17 years agoNew file created by modifying font-flt.c.
handa [Wed, 15 Aug 2007 11:14:21 +0000 (11:14 +0000)]
New file created by modifying font-flt.c.

17 years agoThis commit was manufactured by cvs2svn to create branch 'FLT'.
tomo [Fri, 13 Jul 2007 00:48:56 +0000 (00:48 +0000)]
This commit was manufactured by cvs2svn to create branch 'FLT'.

17 years ago*** empty log message *** FLT-base REL-1-4-0 before-FLT-merge
handa [Fri, 13 Jul 2007 00:48:52 +0000 (00:48 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 12 Jul 2007 04:50:52 +0000 (04:50 +0000)]
*** empty log message ***

17 years agoFix doxygen @ref commands.
handa [Thu, 12 Jul 2007 04:50:48 +0000 (04:50 +0000)]
Fix doxygen @ref commands.

17 years ago*** empty log message ***
handa [Tue, 10 Jul 2007 01:35:14 +0000 (01:35 +0000)]
*** empty log message ***

17 years ago(M17NFunc): Fix typo of Doxygen directive.
handa [Tue, 10 Jul 2007 01:35:08 +0000 (01:35 +0000)]
(M17NFunc): Fix typo of Doxygen directive.

17 years ago*** empty log message ***
handa [Mon, 9 Jul 2007 01:53:10 +0000 (01:53 +0000)]
*** empty log message ***

17 years ago* m17n-core.h (M17N_BEGIN_HEADER, M17N_END_HEADER): New macros.
handa [Mon, 9 Jul 2007 01:53:04 +0000 (01:53 +0000)]
* m17n-core.h (M17N_BEGIN_HEADER, M17N_END_HEADER): New macros.

17 years agoInclude m17n-core.h if not yet done. Use macros
handa [Mon, 9 Jul 2007 01:52:40 +0000 (01:52 +0000)]
Include m17n-core.h if not yet done.  Use macros
M17N_BEGIN_HEADER and M17N_END_HEADER.

17 years agoInclude m17n-core.h if not yet done. Use
handa [Mon, 9 Jul 2007 01:51:48 +0000 (01:51 +0000)]
Include m17n-core.h if not yet done.  Use
macros M17N_BEGIN_HEADER and M17N_END_HEADER.

17 years ago*** empty log message ***
handa [Wed, 13 Jun 2007 08:06:59 +0000 (08:06 +0000)]
*** empty log message ***

17 years ago(load_command): Prepend "^" in the regular expression.
handa [Wed, 13 Jun 2007 08:06:55 +0000 (08:06 +0000)]
(load_command): Prepend "^" in the regular expression.

17 years ago*** empty log message ***
handa [Mon, 11 Jun 2007 08:47:18 +0000 (08:47 +0000)]
*** empty log message ***

17 years ago(mlanguage_name_list): Fix previous change.
handa [Mon, 11 Jun 2007 08:47:15 +0000 (08:47 +0000)]
(mlanguage_name_list): Fix previous change.

17 years ago*** empty log message ***
handa [Mon, 11 Jun 2007 08:20:39 +0000 (08:20 +0000)]
*** empty log message ***

17 years ago(mcoding__load_from_database): Add aliases in
handa [Mon, 11 Jun 2007 08:00:11 +0000 (08:00 +0000)]
(mcoding__load_from_database): Add aliases in
coding_definition_list.

17 years ago*** empty log message ***
handa [Sun, 10 Jun 2007 12:27:00 +0000 (12:27 +0000)]
*** empty log message ***

17 years ago(mlanguage_name_list): Fix previous change.
handa [Sun, 10 Jun 2007 12:26:51 +0000 (12:26 +0000)]
(mlanguage_name_list): Fix previous change.

17 years ago*** empty log message ***
handa [Fri, 8 Jun 2007 08:14:13 +0000 (08:14 +0000)]
*** empty log message ***

17 years ago(update_candidate): Copy candidate_list earlier.
handa [Fri, 8 Jun 2007 08:13:56 +0000 (08:13 +0000)]
(update_candidate): Copy candidate_list earlier.
(re_init_ic): Provide pseudo initialize state if none.

17 years ago*** empty log message ***
handa [Tue, 5 Jun 2007 11:01:42 +0000 (11:01 +0000)]
*** empty log message ***

17 years ago(preedit_insert): Print debug information.
handa [Tue, 5 Jun 2007 11:01:36 +0000 (11:01 +0000)]
(preedit_insert): Print debug information.

17 years ago*** empty log message ***
handa [Tue, 5 Jun 2007 00:54:42 +0000 (00:54 +0000)]
*** empty log message ***

17 years ago(expand_wildcard_database): New function.
handa [Tue, 5 Jun 2007 00:54:24 +0000 (00:54 +0000)]
(expand_wildcard_database): New function.
(mdatabase_list): Fix handling of wildcard database.

17 years ago(load_lang_name): New function.
handa [Tue, 5 Jun 2007 00:53:48 +0000 (00:53 +0000)]
(load_lang_name): New function.
(mlang__fini): Cancel the last two changes.
(mlanguage_name_list): New arg script and territories.  Use
load_lang_name.

17 years ago(mlangauge_name_list): Adjusted.
handa [Tue, 5 Jun 2007 00:52:35 +0000 (00:52 +0000)]
(mlangauge_name_list): Adjusted.

17 years ago(open_im): Check if the input method has at least one
handa [Mon, 4 Jun 2007 07:05:17 +0000 (07:05 +0000)]
(open_im): Check if the input method has at least one
state.

17 years ago*** empty log message ***
handa [Fri, 1 Jun 2007 12:42:46 +0000 (12:42 +0000)]
*** empty log message ***

17 years ago(shift_state): Change the format of debug print.
handa [Fri, 1 Jun 2007 12:42:42 +0000 (12:42 +0000)]
(shift_state): Change the format of debug print.
(preedit_commit): New arg need_prefix.  Caller changed.
(update_candidate): Copy candidate_list.
(take_action_list): Likewise.
(handle_key): Change the format of debug print.

17 years ago*** empty log message ***
handa [Fri, 1 Jun 2007 08:04:46 +0000 (08:04 +0000)]
*** empty log message ***

17 years ago(load_flt): Ignore unknown directives.
handa [Fri, 1 Jun 2007 08:03:31 +0000 (08:03 +0000)]
(load_flt): Ignore unknown directives.

17 years ago*** empty log message ***
handa [Fri, 25 May 2007 12:57:44 +0000 (12:57 +0000)]
*** empty log message ***

17 years ago(mdebug__unregister_object): Small optimization.
handa [Fri, 25 May 2007 12:57:39 +0000 (12:57 +0000)]
(mdebug__unregister_object): Small optimization.

17 years ago(find_file): Merged into get_database_file.
handa [Fri, 25 May 2007 12:57:07 +0000 (12:57 +0000)]
(find_file): Merged into get_database_file.
(get_database_file): New arg result.  Caller changed.
(mdatabase__check): Fix the logic.

17 years ago*** empty log message ***
handa [Thu, 24 May 2007 13:03:43 +0000 (13:03 +0000)]
*** empty log message ***

17 years ago(HAVE_ANTHY): Use PKG_CHECK_MODULES to check it.
handa [Thu, 24 May 2007 13:03:37 +0000 (13:03 +0000)]
(HAVE_ANTHY): Use PKG_CHECK_MODULES to check it.

17 years ago*** empty log message ***
handa [Thu, 24 May 2007 12:13:04 +0000 (12:13 +0000)]
*** empty log message ***

17 years ago(find_database): If unprocessed wildcard database is
handa [Thu, 24 May 2007 12:12:57 +0000 (12:12 +0000)]
(find_database): If unprocessed wildcard database is
found, register database filed and recursively call find_database.
(free_db_info): Unref db_info->properties.
(register_database): New arg properties.  Delete code for
initializing mdatabase__list.
(register_databases_in_files): Argument changed.  Caller changed.
(mdatabase__update): Don't list files by glob here.
(mdatabase_list): If unprocessed wildcard database is found,
register database filed and recursively call mdatabase_list.

17 years ago(enum MDatabaseStatus): New enum
handa [Thu, 24 May 2007 07:49:34 +0000 (07:49 +0000)]
(enum MDatabaseStatus): New enum
MDB_STATUS_AUTO_WILDCARD.

17 years ago(load_branch): Fix previous change.
handa [Thu, 24 May 2007 07:05:46 +0000 (07:05 +0000)]
(load_branch): Fix previous change.
(update_global_info): If the global database is not found, return -1.

17 years ago*** empty log message ***
handa [Wed, 23 May 2007 01:28:13 +0000 (01:28 +0000)]
*** empty log message ***

17 years ago(Mversion): New variable.
handa [Wed, 23 May 2007 01:28:04 +0000 (01:28 +0000)]
(Mversion): New variable.
(mdatabase__init): Initialize it.
(register_database): New arg properties.  Caller changed.
(register_databases_in_files): Don't check version here.
(mdatabase__update): Likewise.

17 years ago(MDatabaseInfo): New member properties.
handa [Wed, 23 May 2007 01:26:34 +0000 (01:26 +0000)]
(MDatabaseInfo): New member properties.

17 years ago*** empty log message ***
handa [Mon, 21 May 2007 01:42:52 +0000 (01:42 +0000)]
*** empty log message ***

17 years agoInclude <ctype.h>
handa [Mon, 21 May 2007 01:42:48 +0000 (01:42 +0000)]
Include <ctype.h>
(mlanguage__info): Use strncasecmp (not memcmp).
(mlanguage_name): Downcase language name for backward
compatibility.

17 years ago*** empty log message ***
handa [Mon, 21 May 2007 01:41:34 +0000 (01:41 +0000)]
*** empty log message ***

17 years ago(show_cursor): Use msymbol_name (not mlangauge_name).
handa [Mon, 21 May 2007 01:41:29 +0000 (01:41 +0000)]
(show_cursor): Use msymbol_name (not mlangauge_name).

17 years ago(filter): Don't check Mlanguage property of
handa [Mon, 21 May 2007 01:36:57 +0000 (01:36 +0000)]
(filter): Don't check Mlanguage property of
ic->im->langauge.

17 years ago*** empty log message ***
handa [Fri, 18 May 2007 12:16:36 +0000 (12:16 +0000)]
*** empty log message ***

17 years ago(config_command): Set NAME before using it.
handa [Fri, 18 May 2007 12:16:31 +0000 (12:16 +0000)]
(config_command): Set NAME before using it.
(load_branch): Try to resolve a map name by variables.