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

18 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.

19 years ago(wordseg_func_table): New variable.
handa [Fri, 15 Apr 2005 08:08:43 +0000 (08:08 +0000)]
(wordseg_func_table): New variable.
(mtext__word_segment): Extern it.

19 years ago(m17n_init): Fix typo (== -> =).
handa [Fri, 15 Apr 2005 08:08:12 +0000 (08:08 +0000)]
(m17n_init): Fix typo (== -> =).

19 years ago(libm17n_core_la_SOURCES): Include word-thai.[ch].
handa [Fri, 15 Apr 2005 08:07:35 +0000 (08:07 +0000)]
(libm17n_core_la_SOURCES): Include word-thai.[ch].
(libm17n_core_la_LIBADD): Add @WORDCUT_LD_FLAGS@.

19 years agoCheck the version of wordcut library and
handa [Fri, 15 Apr 2005 08:06:44 +0000 (08:06 +0000)]
Check the version of wordcut library and
HAVE_WORDCUT or HAVE_WORDCUT_OLD.
(DLOPEN_SHLIB_EXT): Define it.

19 years ago(MTEXTPROP_START, MTEXTPROP_END, MTEXTPROP_KEY)
handa [Fri, 15 Apr 2005 08:04:04 +0000 (08:04 +0000)]
(MTEXTPROP_START, MTEXTPROP_END, MTEXTPROP_KEY)
(MTEXTPROP_VAL): New macros.

19 years ago(DLOPEN_SHLIB_EXT): Don't define it.
handa [Fri, 15 Apr 2005 08:03:29 +0000 (08:03 +0000)]
(DLOPEN_SHLIB_EXT): Don't define it.

19 years ago(load_chartable): Fix previous change.
handa [Thu, 7 Apr 2005 11:42:05 +0000 (11:42 +0000)]
(load_chartable): Fix previous change.

19 years ago(load_chartable): Fix pursing of symbol name.
handa [Thu, 7 Apr 2005 11:36:17 +0000 (11:36 +0000)]
(load_chartable): Fix pursing of symbol name.

19 years agoFix typo in a comment.
ntakahas [Mon, 28 Mar 2005 11:12:58 +0000 (11:12 +0000)]
Fix typo in a comment.

19 years ago*** empty log message ***
nisikimi [Mon, 14 Mar 2005 08:31:49 +0000 (08:31 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Mon, 14 Mar 2005 07:32:32 +0000 (07:32 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Fri, 11 Mar 2005 12:32:46 +0000 (12:32 +0000)]
*** empty log message ***

19 years ago(m17n_init_core): Set merror_code to MERROR_NONE at
handa [Fri, 11 Mar 2005 12:32:43 +0000 (12:32 +0000)]
(m17n_init_core): Set merror_code to MERROR_NONE at
first.

19 years ago(m17n_init): Set merror_code to MERROR_NONE at first.
handa [Fri, 11 Mar 2005 12:32:35 +0000 (12:32 +0000)]
(m17n_init): Set merror_code to MERROR_NONE at first.

19 years ago(m17n_init_win): Set merror_code to MERROR_NONE at first.
handa [Fri, 11 Mar 2005 12:32:27 +0000 (12:32 +0000)]
(m17n_init_win): Set merror_code to MERROR_NONE at first.

19 years ago*** empty log message ***
nisikimi [Thu, 10 Mar 2005 06:15:07 +0000 (06:15 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Thu, 10 Mar 2005 05:36:16 +0000 (05:36 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Wed, 9 Mar 2005 05:38:32 +0000 (05:38 +0000)]
*** empty log message ***

19 years ago(m17n_init): Set merror_code to MERROR_NONE before
handa [Wed, 9 Mar 2005 05:38:07 +0000 (05:38 +0000)]
(m17n_init): Set merror_code to MERROR_NONE before
calling m17n_init_core ().

19 years agoFix Telugu line.
handa [Wed, 9 Mar 2005 04:41:33 +0000 (04:41 +0000)]
Fix Telugu line.

19 years ago*** empty log message ***
handa [Wed, 9 Mar 2005 04:41:22 +0000 (04:41 +0000)]
*** empty log message ***

19 years agoHello in Telugu changed. (Suraj Kurapati)
ntakahas [Wed, 9 Mar 2005 02:51:01 +0000 (02:51 +0000)]
Hello in Telugu changed.  (Suraj Kurapati)

19 years agoHello in Telugu changed. (Suraj Kurapati)
ntakahas [Wed, 9 Mar 2005 02:50:11 +0000 (02:50 +0000)]
Hello in Telugu changed. (Suraj Kurapati)

19 years ago*** empty log message ***
nisikimi [Tue, 8 Mar 2005 08:23:14 +0000 (08:23 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Tue, 8 Mar 2005 06:26:19 +0000 (06:26 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Tue, 8 Mar 2005 06:18:45 +0000 (06:18 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Tue, 8 Mar 2005 04:11:30 +0000 (04:11 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Tue, 8 Mar 2005 03:58:25 +0000 (03:58 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Tue, 8 Mar 2005 00:49:30 +0000 (00:49 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Tue, 8 Mar 2005 00:04:36 +0000 (00:04 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Mon, 7 Mar 2005 23:57:42 +0000 (23:57 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Mon, 7 Mar 2005 07:57:14 +0000 (07:57 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Mon, 7 Mar 2005 05:01:38 +0000 (05:01 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Mon, 7 Mar 2005 03:24:36 +0000 (03:24 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Fri, 4 Mar 2005 07:11:23 +0000 (07:11 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Fri, 4 Mar 2005 05:45:25 +0000 (05:45 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Fri, 4 Mar 2005 05:02:48 +0000 (05:02 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Thu, 3 Mar 2005 00:10:54 +0000 (00:10 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Thu, 3 Mar 2005 00:03:39 +0000 (00:03 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Wed, 2 Mar 2005 23:55:18 +0000 (23:55 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Wed, 2 Mar 2005 23:38:25 +0000 (23:38 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Wed, 2 Mar 2005 23:27:27 +0000 (23:27 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Tue, 1 Mar 2005 07:59:26 +0000 (07:59 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 28 Feb 2005 12:38:34 +0000 (12:38 +0000)]
*** empty log message ***

19 years ago(mfont__flt_run): Add resulting code sequence in
handa [Mon, 28 Feb 2005 12:37:56 +0000 (12:37 +0000)]
(mfont__flt_run): Add resulting code sequence in
debug info.

19 years ago*** empty log message ***
nisikimi [Mon, 28 Feb 2005 04:11:24 +0000 (04:11 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Thu, 24 Feb 2005 07:05:01 +0000 (07:05 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Thu, 24 Feb 2005 04:25:17 +0000 (04:25 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Wed, 23 Feb 2005 12:32:56 +0000 (12:32 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
ntakahas [Mon, 21 Feb 2005 11:31:05 +0000 (11:31 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 17 Feb 2005 08:13:51 +0000 (08:13 +0000)]
*** empty log message ***

19 years agoInclude <sys/types.h>, <dirent.h>, and "database.h".
handa [Thu, 17 Feb 2005 08:13:43 +0000 (08:13 +0000)]
Include <sys/types.h>, <dirent.h>, 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.

19 years ago(Mdetail_text, minput_get_description, minput_get_commands)
handa [Thu, 17 Feb 2005 07:56:23 +0000 (07:56 +0000)]
(Mdetail_text, minput_get_description, minput_get_commands)
(minput_assign_command_keys, minput_get_variables)
(minput_set_variable): Extern them.

19 years ago(UNGETC): Just decrement st->p.
handa [Thu, 17 Feb 2005 07:55:20 +0000 (07:55 +0000)]
(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.

19 years ago(mplist__from_file): Prototype adjusted.
handa [Thu, 17 Feb 2005 07:51:20 +0000 (07:51 +0000)]
(mplist__from_file): Prototype adjusted.

19 years ago(mdatabase__dir_list): Renamed from mdb_dir_list.
handa [Thu, 17 Feb 2005 07:50:55 +0000 (07:50 +0000)]
(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.

19 years ago(mdatabase__dir_list, M_database_hook)
handa [Thu, 17 Feb 2005 07:46:24 +0000 (07:46 +0000)]
(mdatabase__dir_list, M_database_hook)
(mdatabase__load_for_keys): Extern them.
(MDatabaseHookFunc): New type.

19 years ago(M17N_OBJECT_UNREF): When freeed, set OBJECT to NULL.
handa [Thu, 17 Feb 2005 07:44:46 +0000 (07:44 +0000)]
(M17N_OBJECT_UNREF): When freeed, set OBJECT to NULL.