[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-ime-devel] IBus: Surrounding Text Support



@phuang can you help explain what's the usage of surrounding-text?

thanks

On Tue, Aug 2, 2011 at 00:36, Harshula <harshula at gmail.com> wrote:
> Hi,
>
> Could you please enable surrounding text support (STS) by passing
> "--enable-surrounding-text" to configure? This is the first upstream
> IBus release in Debian that contains STS code. SCIM had STS a long time
> ago.
>
> Daiki (CC'd) implemented the feature:
> -----------------------------------------
> commit 06e6abee9f221bdf7c277538ce136154465619d7
> Author: Daiki Ueno <daiki.ueno at gmail.com>
> Date: ? 2011-04-05 10:11:49 -0400
>
> ? ?Support surrounding-text retrieval.
>
> ? ?Unlike the GtkIMContext API, IBus automatically retrieves
> ? ?surrounding-text when certain events occurred to the
> ? ?client ("before filter_keypress", for example). ?This makes the
> ? ?engine API simpler but causes periodical emission of D-Bus
> ? ?signals for updating surrounding-text information, which is
> ? ?unwanted for typical engines.
>
> ? ?For this reason, the surrounding-text support is currently
> ? ?disabled by default. ?To enable it, pass
> ? ?--enable-surrounding-text to configure. ?Also, even
> ? ?surrounding-text support is compiled in, IBus does not start
> ? ?polling until an engine requests surrounding-text using
> ? ?ibus_engine_get_surrounding_text(). ?To make the function work
> ? ?for the first time, clients should retrieve
> ? ?initial surrounding-text when the engine is enabled (see
> ibus_im_context_focus_in() and
> ? ?_ibus_context_enabled_cb() in client/gtk2/ibusimcontext.c).
> -----------------------------------------
>
> The reasons why STS is needed are documented here:
> https://bugzilla.redhat.com/show_bug.cgi?id=435880
>
> Thanks,
> #
>
> On Mon, 2011-07-25 at 21:48 +0000, Debian FTP Masters wrote:
>>
>>
>> Accepted:
>> ibus-doc_1.3.99.20110419-1_all.deb
>> ? to main/i/ibus/ibus-doc_1.3.99.20110419-1_all.deb
>> ibus-gtk3_1.3.99.20110419-1_amd64.deb
>> ? to main/i/ibus/ibus-gtk3_1.3.99.20110419-1_amd64.deb
>> ibus-gtk_1.3.99.20110419-1_amd64.deb
>> ? to main/i/ibus/ibus-gtk_1.3.99.20110419-1_amd64.deb
>> ibus_1.3.99.20110419-1.debian.tar.gz
>> ? to main/i/ibus/ibus_1.3.99.20110419-1.debian.tar.gz
>> ibus_1.3.99.20110419-1.dsc
>> ? to main/i/ibus/ibus_1.3.99.20110419-1.dsc
>> ibus_1.3.99.20110419-1_amd64.deb
>> ? to main/i/ibus/ibus_1.3.99.20110419-1_amd64.deb
>> ibus_1.3.99.20110419.orig.tar.gz
>> ? to main/i/ibus/ibus_1.3.99.20110419.orig.tar.gz
>> libibus-1.0-0_1.3.99.20110419-1_amd64.deb
>> ? to main/i/ibus/libibus-1.0-0_1.3.99.20110419-1_amd64.deb
>> libibus-1.0-dev_1.3.99.20110419-1_amd64.deb
>> ? to main/i/ibus/libibus-1.0-dev_1.3.99.20110419-1_amd64.deb
>> python-ibus_1.3.99.20110419-1_all.deb
>> ? to main/i/ibus/python-ibus_1.3.99.20110419-1_all.deb
>>
>>
>> Override entries for your package:
>> ibus-doc_1.3.99.20110419-1_all.deb - optional doc
>> ibus-gtk3_1.3.99.20110419-1_amd64.deb - optional utils
>> ibus-gtk_1.3.99.20110419-1_amd64.deb - optional utils
>> ibus_1.3.99.20110419-1.dsc - source utils
>> ibus_1.3.99.20110419-1_amd64.deb - optional utils
>> libibus-1.0-0_1.3.99.20110419-1_amd64.deb - optional libs
>> libibus-1.0-dev_1.3.99.20110419-1_amd64.deb - optional libdevel
>> python-ibus_1.3.99.20110419-1_all.deb - optional python
>>
>> Announcing to debian-devel-changes at lists.debian.org
>> Closing bugs: 635023
>>
>>
>> Thank you for your contribution to Debian.
>>
>> _______________________________________________
>> Pkg-ime-devel mailing list
>> Pkg-ime-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ime-devel
>
>



-- 
Best Regards
LI Daobing



Reply to: