[openi18n-im:01457] Re: key release issue with iiimxcf

Federic Zhang <[email protected]> Fri, 08 Jul 2005 14:06:44 +0800
Newsgroups gmane.comp.internationalization.input-methods
Message-ID <[email protected]>
Kasha,

Thanks for your commit. Can you post it in patch format? It would be
easier for me to take a look at it.

-federic

> Hi,
> 
> Date: Tue, 05 Jul 2005 14:13:32 +0900
> From: AShiZaWa KaZuNoRi <[email protected]>:
> > 
> > I've discussed Federic how compatibility can be maintained.  So
> > here are my ideas how the implementation can be enhanced to be
> > compatible with previous versions.
> > 
> > 
> > - Add Capability attribute to IMATTRIBUTE.
> > 
> >   This attribute will be used to negotiate supported
> >   capabilities, including the support of key release event,
> >   between clients and the server.
> > 
> > 
> > - Revert KEYEVENT data type to (INT32 * 4).
> > 
> >   Highest bit of key modifier will determine key release event.
> >   if (0 == (0x80000000 & key_modifier)), then the event is a key
> >   press event.
> >   if (0 != (0x80000000 & key_modifier)), then the event is a key
> >   release event.
> >   The client uses the bit only when the server declares that the
> >   capability is supported.
> 
> Committed as r2748.
> 
> > 
> > - Make libiiimp.so compatible with previous version.
> > 
> >   Affected APIs:
> >     iiimp_inputmethod_descriptor_new()
> >     iiimp_inputmethod_descriptor_create()
> > 
> >   New APIs:
> >     iiimp_inputmethod_descriptor2_new()
> >     iiimp_inputmethod_descriptor2_create()
> 
> Committed as r2747.
> 
> Thanks,
> -- 
> kasha