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

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

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

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

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

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

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

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

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

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

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

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 ***