Tuesday, October 27, 2009

HIM and IBus

The HIM plugin now talks to Anthy through IBus.

Preedit dialog.



Committed (seemingly) Japanese characters in the google search field.



TODO:
1) UI polish. Fixing obvious bugs.
2) IBus tweaking. Some UI related daemons may not be necessary for N900
3) Debian packaging
4) Pynin and Hangul support

Sunday, October 18, 2009

IBus 0.1 to 1.2

Ubutntu jaunty by default uses IBus 0.1.

0.1 out of box doesn't allow you to write C code which handles the lookup-table and the auxiliary-text. 0.1 expects you to do this in python. These missing features in C are no showstoppers since most of the UIs are written in python anyway.

With the latest 1.2, these features are added on the C side too, so I wanted to upgrade from 0.1 to 1.2. Some APIs changed here and there, but nothing so major as far as I feel.

During the upgrade, I had to spend sometime to understand why [ja:anthy] didn't appear in the "preload_engines" gconf entry. I assume this is caused by the old gconf setting from the 0.1 time.

I think all the enablers for the C implementation is ready now, I just need more time.

Friday, October 9, 2009

MaemoCJK on Fremantle



You definitely need the CJK input for a cool device like N900.

I thought about continuing with the original SCIM track, but I will try something new now. Here's what I'm going to experiment.

Hildon Input Method <=> Plugin <=> Ibus

The reason for the HIM plugin is that many people would like to switch back
and forth between the Default-HIM & CJK. Additionally, considering
that the Nokia browser doesn't support the preedit properly (i.e.
native SCIM/UIM won't work with the N900 Nokia browser), I thought it was better to have the CJK support as the HIM plugin.

The reason for the Ibus is that the Ibus client implementation can be
really simple. See this as an example.

The screenshot of my prototype application.

Things to do are:

1) Rewrite this python prototype in C
2) Rewrite the above in the form of the HIM Plugin
3) Ibus tweaking. Some UI related daemons may not be necessary for N900
4) UI improvement
5) Debian packaging
6) Pynin and Hangul support

Katsotaan.