X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=5f0fbe1820d904e479ef54c2764558363ae4197a;hb=5242293f6b459122faec6ec47da391bf1cf89dbd;hp=23cf3768eb3359f8da8f5d7d7d58cb536bfe2b0c;hpb=529eabb783565eb45a29e6e0ebcd732c68c4c25a;p=m17n%2Fm17n-lib.git diff --git a/src/ChangeLog b/src/ChangeLog index 23cf376..5f0fbe1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,192 @@ +2005-05-19 Kenichi Handa + + * input-gui.c (minput__win_init): Don't change the value of + minput_driver. + +2005-05-16 Kenichi Handa + + * m17n-core.c (m17n_object): Be sure to initialize all members. + + * font-ft.c (fc_decode_prop): Fix args to msymbol. + +2005-05-09 Kenichi Handa + + * m17n-X.c (mwin__close_device): Fix arg to M17N_OBJECT_UNREF. + +2005-04-27 Kenichi Handa + + * language.c (mlang__init): Add "an" (Aragonese). + + * word-thai.c: Add support for libthai. + (mtext__word_thai_init): Initialize wordseg library conditionaly. + (mtext__word_thai_fini): Finalize wordseg library conditionaly. + + * mtext.c: Include "word-thai.h" conditionaly. + (mtext__init): Call mtext__word_thai_init conditionaly. + (mtext__fini): Call mtext__word_thai_fini conditionaly. + + * Makefile.am (libm17n_core_la_LIBADD): Add THAI_WORDSEG_LD_FLAGS, + not WORDCUT_LD_FLAGS. + +2005-04-19 Kenichi Handa + + * word-thai.c (wordseg_propertize): Always unref the attached + property. + (thai_wordseg): Don't unref the property. + +2005-04-18 Kenichi Handa + + * word-thai.c: Include stdlib.h. + (wordseg_propertize): Add dummy function for the case that wordcut + library doesn't exist. + (wordseg_propertize): Fix for old wordcut library. + +2005-04-16 Kenichi Handa + + * word-thai.c: Include . + +2005-04-15 Kenichi Handa + + * draw.c: 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. + + * word-thai.c: New file. + + * word-thai.h: New file. + + * mtext.c: 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. + + * mtext.h (wordseg_func_table): Extern it. + (mtext__word_segment): Extern it. + + * m17n.c (m17n_init): Fix typo (== -> =). + + * Makefile.am (libm17n_core_la_SOURCES): Include word-thai.[ch]. + (libm17n_core_la_LIBADD): Add @WORDCUT_LD_FLAGS@. + + * textprop.h (MTEXTPROP_START, MTEXTPROP_END, MTEXTPROP_KEY) + (MTEXTPROP_VAL): New macros. + + * input.c (DLOPEN_SHLIB_EXT): Don't define it. + +2005-04-07 Kenichi Handa + + * database.c (load_chartable): Fix pursing of symbol name. + +2005-03-24 Kenichi Handa + + * m17n.c (m17n_init): Fix typo (== -> =). + +2005-03-11 Kenichi Handa + + * m17n-gui.c (m17n_init_win): Set merror_code to MERROR_NONE at first. + + * m17n.c (m17n_init): Set merror_code to MERROR_NONE at first. + + * m17n-core.c (m17n_init_core): Set merror_code to MERROR_NONE at + first. + +2005-03-09 handa + + * m17n-gui.c (m17n_init_win): Set merror_code to MERROR_NONE before + calling m17n_init (). + + * m17n.c (m17n_init): Set merror_code to MERROR_NONE before + calling m17n_init_core (). + +2005-02-28 Kenichi Handa + + * font-flt.c (mfont__flt_run): Add resulting code sequence in + debug info. + +2005-02-17 Kenichi Handa + + * input.c: Include , , and "database.h". + (M_description, M_command, M_variable): New variables. + (load_im_info_keys): New variables. + (load_im_info, check_command_keyseq, get_description_advance) + (parse_command_list, get_command_list, parse_variable_list) + (get_variable_list, input_method_hook): New functions. + (command_list, variable_list): New variables. + (minput__init): Put input_method_hook to Minput_method. + Initialize M_description, M_command, M_variable, Mdetail_text, + load_im_info_keys, command_list, variable_list. + (minput__fini): Unref command_list, variable_list, load_im_info_keys. + (Mdetail_text): New variable. + (minput_get_description, minput_get_commands) + (minput_assign_command_keys, minput_get_variables) + (minput_set_variable): New functions. + + * m17n.h (Mdetail_text, minput_get_description, minput_get_commands) + (minput_assign_command_keys, minput_get_variables) + (minput_set_variable): Extern them. + + * plist.c (UNGETC): Just decrement st->p. + (read_mtext_element): New arg skip. + (read_integer_element): Likewise. + (read_symbol_element): Likewise. + (read_element): New arg KEYS. + (mplist__from_plist): Don't increment ref-count of NULL object. + (mplist__from_file): New arg KEYS. + (mplist_put): Don't increment ref-count of NULL object. + (mplist_add): Likewise. + (mplist_push): Likewise. + (mplist_set): Likewise. Call M17N_OBJECT_UNREF unconditionally. + + * plist.h (mplist__from_file): Prototype adjusted. + + * database.c (mdatabase__dir_list): Renamed from mdb_dir_list. + (get_database_stream): New function. + (load_database): Use get_database_stream. + (M_database_hook): New variable + (mdatabase__init): Initialize M_database_hook. + (mdatabase__load_for_keys): New function. + (mdatabase_find, mdatabase_list, mdatabase_define): Check hook + function. + (mdatabase_define): Free mdb->extra_info if necessary. + + * database.h (mdatabase__dir_list, M_database_hook) + (mdatabase__load_for_keys): Extern them. + (MDatabaseHookFunc): New type. + + * internal.h (M17N_OBJECT_UNREF): When freed, set OBJECT to NULL. + +2004-12-27 Kenichi Handa + + * Version 1.2.0 released. + +2004-12-27 Kenichi Handa + + * input.c (minput_filter): Don't reset ic->xxx_changed. + + * mtext.c (mtext_from_data): Fix documentation. + +2004-12-25 Kenichi Handa + + * m17n-core.h (M17NLIB_MINOR_VERSION): Update to 2. + (M17NLIB_VERSION_NAME): Update to "1.2.". + +2004-12-24 Kenichi Handa + + * input.c (reset_ic): Set key_unhandled to 0. + 2004-12-21 Kenichi Handa * m17n-gui.h (mfont_from_spec): Delete extern. @@ -13,6 +202,8 @@ (Minput_reset): New variable. (minput_filter): Always set ic->xxx_changed to 0. (minput_reset_ic): New function. + (integer_value): Fix typo ('>' -> '<') and calculation of length + of preedit text. * m17n-core.c (merror_code): Change type to `int'.