+2007-08-15 Kenichi Handa <handa@m17n.org>
+
+ * charset.c (mcharset__load_from_database): Set mdebug_flag
+ instead of mdebug_mask.
+
+ * coding.c (mcoding__load_from_database): Set mdebug_flag instead
+ of mdebug_mask.
+
+ * database.c (load_database): Set mdebug_flag instead of
+ mdebug_mask.
+ (mdatabase__load_for_keys): Likewise.
+
+ * draw.c: Include "internal-flt.h".
+ (dump_combining_code): Don't subtract 128 from combining code
+ off_x/y.
+
+ * 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.
+
+ * font-ft.c: Include "internal-flt.h".
+ Set mdebug_flag instead of mdebug_mask.
+ (mfont__ft_drive_otf): Fix arg to OTF_check_features.
+
+ * input.c: Set mdebug_flag instead of mdebug_mask.
+ (shift_state): New MDEBUG_FLAG macro.
+ (preedit_commit): Likewise.
+ (filter): Likewise.
+
+ * 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.
+
+ * internal.h (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.
+
+ * m17n-X.c (xfont_open): Set mdebug_flag instead of mdebug_mask.
+ (xfont_list): Likewise.
+
+ * m17n-core.c (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.
+
+ * m17n-gui.c (m17n_init_win): Set mdebug_flag instead of mdebug_mask.
+ (m17n_fini_win): Likewise.
+
+ * m17n-misc.h (enum MErrorCode): Add MERROR_FLT.
+
+ * m17n.c (m17n_init): Set mdebug_flag instead of mdebug_mask.
+ (m17n_fini): Likewise.
+
+ * symbol.c (msymbol__free_table): Adjusted for the change of
+ mdebug__flags.
+
+ * Makefile.am (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.
+
+ * m17n-flt.h: New file.
+
+ * m17n-flt.c: New file created by modifying font-flt.c.
+
2007-07-13 Kenichi Handa <handa@m17n.org>
* Version 1.4.0 released.