Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 232 by Zealot.Hoi: 对实现中的c_impl分支建议
http://code.google.com/p/ibus/issues/detail?id=232

主要是要实现两点:低耦合,introspectable
1、(至少在实现新的UI方面)没有编译(binary)依赖性
2、UI方面的信息应该是广播的dbus signal,不应该指定bus name.
3、注册到systembus,并且不应该每个用户一个daemon,为什么要连接到/tmp/ibus-*
/*呢,带来了不少调试上的不方便。
4、考虑安全问题和线程管理,为IMContext提供持续存储。
5、请参考一下Windows的Text Service Framework的设计,目前功能最强,成熟的框
架,输入文字的方法还有手写,语音识别,打算支持吗?
现在的python版本很难拿来实现不依赖于语言,out of source的UI/IMEngine,这也
许是你要重新把ibus用c实现的一个理由,觉得如果你不考虑怎么样降低c_impl
不知道您是怎么考虑的,从目前的c_impl看,跟python实现没看到什么亮点。

我其实已经实现了一个plasma下的plasmoid。实现时本来打算提供一个和你的IPanel
interface兼容的dbus interface就可以了,结果发现panel和ibus其余部分耦合太紧
了(daemon/*.py下都有很多self.__panel.xx之类),我实现时是修改你的
panel.py,重新广播ShowLookupTable之类的消息,并且接受到我的plasmoid发送的
dbus signal时再重新emit同样的signal给ibus,相当于把panel.py改成了一个新的
dbus server.
没有利用到dbus的优点:(


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

回复