From: handa Date: Mon, 21 Nov 2005 10:32:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-1-3-0~56 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2533cb32b4dc256c6d386853406fb8452cabbb3c;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index e11f19c..b84d371 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-11-21 Kenichi Handa + + * Makefile.am (pkgconfig_DATA): Define it conditionally on + WITH_GUI. + + * configure.ac: Handle --with-gui/--without-gui arg. + 2005-11-18 Kenichi Handa * configure.ac: Add --with-libotf option. Use AC_HELP_STRING. diff --git a/NEWS b/NEWS index bffdf28..bd33e26 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,30 @@ See the end for copying conditions. * Changes in the m17n library 1.3.0 +** The `configure' script accepts the argument "--without-gui" to +suppress building GUI libraries. + +** The environment variable MDEBUG_OUTPUT_FILE can specify a file to +output the debugging log messages. + +** The member `candidate_changed' of MInputContext carries more +information; i.e. the list itself is changed, only an index is +changed, etc. + +** The member `callback_list' of MInputDriver can have callback +functions `input-get-surrounding-text' and +`input-delete-surrounding-text'. + +** The minput_filter () function accepts special events +`input-focus-move', `input-focus-in', and `input-focus-out'. + +** Three letter codes of ISO639-2 are also accepted as language +symbols. + +** New functions minput_get_description (), minput_get_commands (), +minput_assign_command_keys (), minput_get_variables (), and +minput_set_variable() are introduced for handling input methods. + ** New fucntions mtext_insert () and and mtext_replace () for modifying M-text. @@ -15,7 +39,22 @@ mtext_lowercase () implement "3.13 Default Case Operations" of The Unicode Standard 4.0. ** New function mtext_line_break () implements the line breaking -algorithm of The Unicode Standard 4.0 UAX#14. +algorithm of The Unicode Standard 4.0 UAX#14. The algorithm can be +controlled by the variable mdraw_line_break_option. + +** New function msymbol_is_managing_key () checks if a symbol is a +managing key or not. + +** New function mtext_data () exports various information about +M-text. + +** Function mfont_get_prop () accept properties `fontfile', +`font-acsent', `font-descent', and `max-advance'. + +** New function mfont_check () checks if a specific font can be used +for a specific script and language. + +** New function mface_equal () checks if two faces are equal or not. * Changes in the m17n library 1.2.0 diff --git a/README b/README index b8cebf0..11b3695 100644 --- a/README +++ b/README @@ -72,6 +72,11 @@ This shell script is installed in /usr/local/bin: These sample programs are installed in /usr/local/bin too: m17n-conv, m17n-date, m17n-view, m17n-dump, m17n-edit +If you don't need GUI libraries (libm17n-gui.so and etc.), you can +instruct the `configure' script not to build them as below: + + % ./configure --without-gui + This file under `example' sub-directory is a Japanese resource file for medit. It is not installed but useful in Japanese locale. Copy it to your home directory (or, for instance, diff --git a/example/ChangeLog b/example/ChangeLog index 54ed31f..c3fe599 100644 --- a/example/ChangeLog +++ b/example/ChangeLog @@ -1,3 +1,8 @@ +2005-11-21 Kenichi Handa + + * Makefile.am (bin_PROGRAMS, lib_LTLIBRARIES): Define them + conditionally on WITH_GUI. + 2005-11-11 Kenichi Handa * medit.c (surrounding_text_handler): Directly delete characters diff --git a/src/ChangeLog b/src/ChangeLog index 5d23290..8a325b1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2005-11-21 Kenichi Handa + * Makefile.am (lib_LTLIBRARIES): Define it conditionaly on + WITH_GUI. + * fontset.c (fontset_table): New variable. (free_fontset): Call M17N_OBJECT_UNREGISTER. (mfont__fontset_init): Add fontset_table as an object array. @@ -18,6 +21,9 @@ (resolve_expression): New function. (parse_action_list): Handle expressions by parse_expression. (take_action_list): Handle expressions by resolve_expression. + (parse_nested_list_value): Fix previous change. + (resolve_command): Fix handling of the return value of + get_nested_list. 2005-11-18 Kenichi Handa diff --git a/src/m17n.h b/src/m17n.h index 53bfe5e..49c475d 100644 --- a/src/m17n.h +++ b/src/m17n.h @@ -1068,7 +1068,8 @@ typedef struct MInputDriver #Minput_preedit_done, #Minput_status_start, #Minput_status_draw, #Minput_status_done, #Minput_candidates_start, #Minput_candidates_draw, #Minput_candidates_done, - #Minput_set_spot, #Minput_toggle, #Minput_reset. + #Minput_set_spot, #Minput_toggle, #Minput_reset, + #Minput_get_surrounding_text, #Minput_delete_surrounding_text. Values are functions of type #MInputCallbackFunc. */ /***ja @brief ¥³¡¼¥ë¥Ð¥Ã¥¯´Ø¿ô¤Î¥ê¥¹¥È. @@ -1078,7 +1079,8 @@ typedef struct MInputDriver #Minput_preedit_done, #Minput_status_start, #Minput_status_draw, #Minput_status_done, #Minput_candidates_start, #Minput_candidates_draw, #Minput_candidates_done, - #Minput_set_spot, #Minput_toggle, #Minput_reset¡£ + #Minput_set_spot, #Minput_toggle, #Minput_reset, + #Minput_get_surrounding_text, #Minput_delete_surrounding_text¡£ ÃͤÏ#MInputCallbackFunc ·¿¤Î´Ø¿ô¡£ */ MPlist *callback_list;