Intelligent Input Bus
iBus is a new input method framework under active development which is designed to overcome the limitations of SCIM. It will be the default in Fedora 11.
iBus uses dbus protocol for communication between the ibus-daemon and clients (engines, panel, config tools). Since the components run in separate processes there is enhanced modularity and stability. Client processes can be loaded, started and stopped independently. iBus supports Gtk2 and XIM, and has input method engines for anthy, chewing, hangul, m17n, pinyin, rawcode, and large tables. Engines and clients can be written in any language with a dbus binding.
- Name: Peng Huang
- Email: phuang at redhat dot com
- Targeted release: Fedora 11
- Last updated: 2008-04-15
- Percentage of completion: 100%
iBus was introduced in Fedora 10 as a new dynamic input method framework and also made available for Fedora 9 Updates.
Most of the work on iBus is being done upstream by Huang Peng. This feature proposal covers moving from scim to ibus as the default input method framework for Fedora 11, testing, and additional improvement requirements for Fedora 11.
iBus is designed to improve a number of deficiencies of scim:
- The initial implementation is written in Python and the next version nearing completion currently is written in C. Scim written in C++ using STL has problems with weak symbol conflicts without the added complexity and lower stability of the scim-bridge layer to workaround that.
- It is possible to write client and engines for ibus in any language that supports dbus bindings.
- ibus loads engines on demand rather than all installed engines as scim does, which improves the startup time and memory footprint.
- scim loads engines as dl-modules so a problem in any engine can take down scim, whereas in ibus because the processes are separated only a faulty process will die leaving rest of the system working normally.
- The architecture of ibus is bus-centric and so much closer to the CJK OSS Forum Workgroup 3 draft "Specification of IM engine Service Provider Interface" architecture, which might be supportable in the future.
Benefit to Fedora
It will provide a stabler viable input method framework with a simpler clean architecture which will be easier to maintain, improve, and develop for.
- Make ibus default for F11 Alpha (changes to comps). [done]
- Complete C implementation and updating of clients and engines for API changes for F11 Beta. [done]
- Test thoroughly and fix any remaining issues for F11 Final. [ongoing]
- Test installs of F11 and check ibus packages installed
- Test functioning on GNOME, KDE, XIM, and other desktops.
- Actively fix any bugs reported and issues that arise.
- Work with Fedora QA to ensure that we have no major regressions: Test_Days:IBus scheduled.
- Better performance since ibus only loads the input method engines it needs at start.
- Stability from simpler architecture without need to avoid symbol conflicts from using C++ STL.
- Revert comps to SCIM as default input method system.
- http://2008.gnome.asia/static/upload/event_file/ibus-GNOME.pdf (presentation at GNOME.Asia Summit 2008, Beijing)
The change to ibus will be documented carefully in the I18N Docsbeat.
Comments and Discussion