[openi18n-im:01594] Re: 'im-sdk/branches/exp-remake-hotkey-impl' branch

AShiZaWa KaZuNoRi <[email protected]> Wed, 17 May 2006 15:22:10 +0900 (JST)
Newsgroups gmane.comp.internationalization.input-methods
Message-ID <[email protected]>
Hi,

Date: Mon, 15 May 2006 18:00:03 +0900
From: [email protected]:
> I have commit a branch 'im-sdk/branches/exp-remake-hotkey-impl'
> to im-sdk repository.

Unfortunately, the code does not compile on Solaris with Sun
Studio 11 C compiler with following error messages.

CC -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2   -DXMLCONFDIR="\"/etc/iiim\"" -DSOCKETDIR="\"/var/run/iiim\"" -DSEGVLOGGER="\"/usr/libexec/iiimf-segv-logger\"" -g     -I../include -I../../include/iml -I../../include/iiimp -I. -I../../include -DARCH=\"i386\" -DHAVE_CONFIG_H -DSunOS -Dsun -DSVR4 -D_XPG5 -DUSE_XSUNIM_ADAPTER                         -mt -D_REENTRANT -g -c -o HotkeyProfileSet.o HotkeyProfileSet.cpp
"../../include/iml/SunIMMthd.h", line 444: Warning: Identifier expected instead of "}".
"HotkeyProfileSet.cpp", line 52: Error: Could not find a match for std::map<unsigned short,HotkeyProfile*>::insert(std::pair<unsigned short, SuperHotkeyProfile*>) needed in HotkeyProfileSet::create_super_hotkey_profile(const std::list<IMKeySpec>&, const char*).
"HotkeyProfileSet.cpp", line 68: Error: Could not find a match for std::map<unsigned short,HotkeyProfile*>::insert(std::pair<unsigned short, LEHotkeyProfile*>) needed in HotkeyProfileSet::add_hotkey_profile(unsigned short, const _IMHotkeyProfileStruct*).
2 Error(s) and 1 Warning(s) detected.
make[4]: *** [HotkeyProfileSet.o] Error 2


Would you kindly fix this problem so that I can try your code?


> This is a trial to remake hotkey implementation.
> 
> The changes are:
> 
> * reconstruct hotkey profile management classes.
> * reconstruct hotkey event handling class.
> * change hotkey event data structure between server and LE.

Sorry but I have not started looking at the code changes yet.


> * modify language selcting operation. (Ctrl+Shift+SPACE)
>   * select current language initially.
>   * change language lookup choice selection normally. 
>     (UP, DOWN, SPACE key)

This feature can (or should) be discontinued with the existence
of improved iiim-properties implementation, I think.

Have you ever tried iiim-properties in trunk head?  It can
configure a set of input methods to be used by individual users.
Then selected input methods are listed for further selection.
All tricks are implemented in client side, and no server
involvements are required.

Regards,
-- 
kasha

> 
> 
> I would like to replace trunk hotkey implementation with this.
> Please, evaluate this branch and give me your comments.
> 
> -- 
> Kenji ABE <[email protected]>