You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Chunrong Lai (JIRA)" <ji...@apache.org> on 2007/12/18 17:29:42 UTC

[jira] Updated: (HARMONY-5325) [classlib][im] Introduce XIM client into Harmony

     [ https://issues.apache.org/jira/browse/HARMONY-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chunrong Lai updated HARMONY-5325:
----------------------------------

    Attachment: linuxim.1217.diff.2
                i18n_input.c


 Here is the standalone XIM client and similar implementation in Harmony.

> [classlib][im] Introduce XIM client into Harmony
> ------------------------------------------------
>
>                 Key: HARMONY-5325
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5325
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>         Environment: Linux32
>            Reporter: Chunrong Lai
>         Attachments: i18n_input.c, linuxim.1217.diff.2
>
>
>   Linux use XIM client/server protocol to input Chinese.
>   The attached XIM client inside Harmony, named linuxim.1217.diff.2, is not intended to be committed at this form, but just for discussion purpose (and the code is not quite clean).
>    The tested XIM server is Fcitx3.4.2 (Trigger Chinese input by CTRL+SPACE) from http://www.fcitx.org/main/?q=node/9. Although the simple standalone XIM client i18n_input.c works well with the XIM server, similar implementation in Harmony leads to hanging up. This probably because that I am not familiar with the eventqueue processing of AWT since I can observe different events are processed interleavedly. And the hang up will also disappear if I create InputMethod (call XOpenIM) with an independent display. 
>    I also hope somebody can have a look or test the implementation. One will need to set locale to zh_CN.GB2312 in both terminals before start XIM server and XIM client. 
>     

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.