[Mono-winforms-list] patch for enabling primitive XIM text input
Atsushi Eno
atsushi at ximian.com
Fri Mar 28 00:11:45 EDT 2008
Hello,
Doug Rintoul wrote:
> Atsushi Eno wrote:
>> Thanks for the details. Though I don't think I completely understand
>> the second issue
>> (XIM event order matter), I am persuaded. Your patch is in svn (along
>> with my patch
>> of course too).
>>
> Thanks for this. I am assuming that only the patch for the second
> problem is committed. Any thoughts on solving the tracking of the
> modification keys (control, alt, shift, etc)?
Yes, what I applied was what you have provided (I believe):
http://lists.ximian.com/pipermail/mono-patches/2008-March/113937.html
For now I'm fighting against other preedit modes (preedit position
and preedit callbacks), so let me think about it later.
It seems that iiimx and/or atokx3 (Japanese commercial IM) has this
kind of issue; it does not change keyboard's shift state, unlike
scim(-anthy).
>> I'm also getting into libX11 code, so if you have pointers to relevant
>> sources (probably
>> in src/xlibi18n/* or modules/im/* ?) please give us them :)
>
> These are the relevant sources. XIM is not an easy protocol to get your
> head around. I peppered the xorg code with printf statements to get a
> feel for the flow of processing.There is documentation at
> http://xorg.freedesktop.org/archive/X11R6.9.0/doc/PDF/. This is for
> version 6.9.0 but XIM has not changed much for version 7.3 Xorg
> rearranged the documentation for version 7 and so there are no PDFs
> readily available for the internals of 7.3. I have generated pdfs from
> the postscript file available with the source if your are interested.
> However you can download the PDFs for 6.9 have have virtually the same
> thing. The docs you would interested in are xim.pdf, XIMTransport.pdf
> and i18nFramework.pdf. There are other docs dealing XKB which might be
> useful but not specifically applicable to XIM. The docs are very low
> level. I have not really found a good overview of XIM on the net.
> <http://xorg.freedesktop.org/archive/X11R6.9.0/doc/PDF/i18nFramework.pdf>
I've also generated xim.pdf from xim.ps ;-)
Solaris IM implementation detail was also nice to read (it works on top
of IIIMF and hence it does not always apply to my environment though)
http://opensolaris.org/os/project/input-method/documents/SolIM_Impl.pdf
When I solved the puzzle around preedit mode and XVaNestedList, I
will have to come back to these docs. Probably I had better commit
my ongoing changes to ask for review on what would go wrong.
Atsushi Eno
More information about the Mono-winforms-list
mailing list