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 2008/01/02 07:25:34 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: H5325.updated.2.patch
The updated patch implements a workable XIM client in my Linux machines. You can have a try.
Half of the patch is a new file awt/src/main/native/x11wrapper/unix/myFilter.cpp which implement similar functions as XFilterEvent in X11 (the original XFilterEvent leads to hang). Maybe there are some better Harmony modifications to avoid the modified Xlib.
> [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: H5325.updated.2.patch, i18n_input.c, linuxim.1217.diff.2, xim protocol.txt
>
>
> 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.