Re: Porting Hildon Input Method to Clutter?

2009-02-05 Thread Mohammad Anwari
Pada hari Kamis, tanggal 05/02/2009 pukul 08:11 +0100, ext Liu, Raymond
menulis:
 Hi, HIM experts
 
 I am looking for an IM solution for Clutter. And I guess I can take 
 HIM as a start and porting it to Clutter.
 
 Well, after I roughly browse through the code. I found that HIM is 
 heavily depends on GTK if not Hildon. Both in the HIM Framework (it claim 
 that it hope it can support IM-Context other than GTK in the future, But It 
 seems that except the protocol part. Most of the code is just GTK specific) 
 and HIMUI and HIM VKB example.
 
 So, I guess I will need to rewrite most of the code to make it run on 
 clutter. It might be a huge job for me. So I just want to take some advises 
 from you experts before I throw myself into it:
 
 1: Is this work possible to be done without touching the HIM plugin 
 system framework? (which is my most favorite part)

Yes, just implement the communication protocol for your favorite
toolkit.

 2: Is it possible to using the plugin system to implement a specific 
 IM with Engines and UI part decoupled into different plugins or modules? Say, 
 with the same VKB, I can choose different Language which belonging to 
 different IM Engines. So that different languages( CJK for me) can be input 
 with the same VKB. And also that VKB itself can be replaced by other fancy 
 ones but keep the IME part untouched.

This is not yet possible now.

 3: Is there any similar work been done or on going?

Kate Alhola has done something for Qt and INdT also did for SDL.

 Could anyone throw a light on me, Thanks!
 
 Btw, I also check SCIM, well the architecture are more flexible, but 
 it seems that the architecture is much more complicated and is writen in C++ 
 ( while Clutter in C), so I guess it is more hard for me to port it to 
 clutter, any ideas?
 
 Best Regards,
 Raymond Liu
 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: selectively disabling virtual keyboard

2007-11-25 Thread Mohammad Anwari
Pada hari Sabtu, tanggal 24/11/2007 pukul 10:28 -0500, ext Austin Che
menulis:
 connected when a particular text box is activated and then
 disconnect the fake keyboard on focus loss, that would probably be
 sufficient.

This solution doesn't selectively disabling the vkb, but
enabling/disabling the vkb/hwr system wide can be done by setting a
boolean value to this gconf key (note: IT2008 only).

/apps/osso/inputmethod/enable-stylus-im
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: virtual keyboard popup from code

2007-11-13 Thread Mohammad Anwari
Pada hari Selasa, tanggal 13/11/2007 pukul 09:08 +0100, ext _v_tiziano
menulis:
 How I can invoke this?

There's a sample code here:
http://aksi.mdamt.net/basic-example-of-HIM-enabled-custom-gtk-widget+

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Keyboard operation on n800

2007-10-23 Thread Mohammad Anwari
Pada hari Senin, tanggal 22/10/2007 pukul 17:10 -0400, ext tj menulis:
 for the n800/maemo keyboard operation available/open source? Or, if it 
 is not, is there somplace that has an open source project of it?

You mean like this one?
http://aksi.mdamt.net/basic-example-of-HIM-enabled-custom-gtk-widget+

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Maemo localization to officially non-supported languages

2007-10-23 Thread Mohammad Anwari
Pada hari Senin, tanggal 22/10/2007 pukul 22:43 +0200, ext Jordi Mas
menulis:
 - The possibility to register a new language in the system (the user can
 switch to it).

Let's start with this:
https://maemo.org/community/wiki/i18n/


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Hildon Input Method is released

2007-09-07 Thread Mohammad Anwari
Salaam,

(Sorry to cross posting)

Today we are releasing the Hildon Input Method.

The part we are opening are the input method framework, common UI part
and plugin system plus a plugin example.

They are released in LGPL version 2.1 (for the framework and the common
UI part) and BSD (for the plugin example).

Check our (new) homepage:
http://live.gnome.org/Hildon/HildonInputMethod

Enjoy.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Decoding virtual keyboard layout definition files (.vkb)

2007-08-23 Thread Mohammad Anwari
Pada hari Selasa, tanggal 21/08/2007 pukul 18:23 +0300, ext Kimmo
Jukarainen menulis:
 There are only few incomplete documents available about .vkb format, 
 gen_vkb utility and it's XML input format, and I couldn't find even 
 a single working example of the XML inputfile for gen_vkb. Let alone 
 the sources for the current layout files available in the device.

Does this example work for you?
http://770.fs-security.com/extra-layouts/kb-layout-sample.tar.gz

 The script can currently decode all but one of the .vkbs in n800 to 
 XML files that gen_vkb encodes back to original ones. It's available 

Cool :-)

 Of the missing features, I really would like to add support for 
 modifier keys (mostly ctrl), but as the documentation is incomplete 
 and no official .vkb uses this feature I'm not sure how it is 

Yes that's not used by the proprietary plugins.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Controlling virtual keyboard from Python application?

2007-08-13 Thread Mohammad Anwari
Pada hari Senin, tanggal 13/08/2007 pukul 10:50 -0400, ext Igor Tkach
menulis:
 Does anybody know if there's a way to interact with the virtual
 keyboard from a Python (Pymaemo) app, i.e. programmatically bring it
 up or hide it? What about finger keyboard? 

There is no easy way to do that, but you probably could try to emulate
the triggers (e.g. the stylus or finger tap on the text entry), so the
Hildon Input Method wakes up and invoke the input method based on the
trigger.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] How to extend Hildon Input Methods

2007-04-20 Thread Mohammad Anwari
Hi,

I've forwarded your message (again) to the Bora team. Hope they can fix
this ASAP. Sorry for the inconvinience. For the mean time, I guess you
could use the same header packages which available in Bora 3.0.

Pada hari Rabu, tanggal 18/04/2007 pukul 17:30 +0200, ext Guard][an
menulis:
 Hello Mohammad,
 
 Since your reply to my questions, the wiki page 
 http://www.maemo.org/platform/docs/howtos/howto_him_bora.html has not 
 been updated :(
 
 More over, 
 http://repository.maemo.org/stable/3.1/content_comparison.html indicates 
 that packages libhildon-input-method-framework-header-sdk-dev and 
 libhildon-input-method-ui-header-sdk-dev have been removed.
 
 As a consequence, it is not possible anymore to compile the sample input 
 method plugin at 
 http://www.maemo.org//downloads/him-plugin-examples/him-plugins-sdk-example-0.0.2.tar.gz
 
 As a workaround, I will revert to bora 3.0. However, what's the solution 
 for bora 3.1 ?
 
 Regards,
 G.
 
 Mohammad Anwari wrote:
  Pada hari Senin, tanggal 15/01/2007 pukul 13:45 +0100, ext Guard][an
  menulis:
  The tutorial mentions libhildon-input-method-header-sdk-dev and 
  libhildon-input-method-framework-header-sdk-dev packages but the real 
  name of the first package seems to be 
  libhildon-input-method-ui-header-sdk-dev.
  
  You are correct. I'm cc:-ing bora-feedback hoping they can fix this.
  
  Also, it would be nice to have more detailed documentation on key types 
  and attributes usage.
 
  For instance, the key alpha=ALPHA size=2q/key markup seems 
  rather obscure to me, particularly the alpha=ALPHA part.
 
  Also, how do you define a modifier key ?
  
  Unfortunately, there is no modifier key :(
  
   And how do you specify tabs like the abc ABC 1!+ tabs on the thumb 
  keyboard. In fact, having 
  
  Put label attribute in the sublayout tag.
  ...
  keyboard layout=THUMB
  sublayout type=LOWERCASE label=abc variance_index=1
  ...
  
  the xml versions of the .vkb files deployed on the device would really 
  help understanding how to achieve the abc/ABC click on the same tab 
  changes the case behavior. 
  
  Use variance index for that, so we would have:
  ...
  keyboard layout=THUMB
  sublayout type=LOWERCASE label=abc variance_index=1
  ...
  sublayout type=UPPERCASE label=ABC variance_index=0
  ...
  ...
  
  Is there any plan to make these .xml files 
  available ?
  
  Sorry, no plan for that.
  
  Regards.
  G.
  
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Hildon Input Method

2007-02-14 Thread Mohammad Anwari
Pada hari Rabu, tanggal 14/02/2007 pukul 01:23 -0800, ext Kimitake Abe
menulis:
 Even if I don't install my IM plugin, I can set ja_JP using
 gconftool-2 as you mentioned below. I guess the setting does not
 affect IM selecting? I just modified send_key function of sample code
 and when clicked 'a', it replaces to another character.
 On maemo SDK, the plugin does work fine, while on N800,
 my modification is not applied.
 
 BTW, there is western_vkb.so file at /usr/lib/hildon-input-method
 of N800, are all default language in the lib?

Yes.

 If so is it possible to install plugin that is customized for en_UK
 for example?

Yes, you should be able to select the plugin from the Input Method menu
(after selecting the language to English UK).
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Hildon Input Method

2007-02-14 Thread Mohammad Anwari
Pada hari Rabu, tanggal 14/02/2007 pukul 07:40 -0800, ext Kimitake Abe
menulis:
 I changed to en_GB so Keyboard (SDK) can be selected.
 Of couse my plugin seems to work when I select it.

Yes, it should be en_GB. You can find the supported codes here (search
for Language Codes):

http://www.maemo.org/platform/docs/howtos/howto_him_bora.html


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Hildon Input Method

2007-02-12 Thread Mohammad Anwari
Pada hari Jumat, tanggal 09/02/2007 pukul 22:28 -0800, ext Kimitake Abe
menulis:
 Hi,
 But I just modified the sample code and installed to scratchbox,
 the input method is relaced to new one. Maemo 3.0 does not support
 selecting 2nd lang from the menu of the input method.
 So I'm afraid the plugin is not just plugin, it replaces
 the original one completly. Is it correct?

It shouldn't replace the original. You should be able to pick it from
the menu. What language did you specify for your plugin?
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Hildon Input Method

2007-02-12 Thread Mohammad Anwari
Pada hari Senin, tanggal 12/02/2007 pukul 06:44 -0800, ext Kimitake Abe
menulis:
 I haven't installed my plugin to N800, but just compiled sample
 and installed to maemo.
 So the input method is displayed Keyboard (SDK), which is
 specified in the source code (at hildon_im_plugin_info).

Did you install the deb package or make  make install?
The sample deb specifies that it replaces the original, so that's why
the originals are removed.

 And I also added ja_JP to hildon_im_plugin_get_available_languages
 after en_GB. But the language on the menu is not available.

The language menu would be activated if you have selected the
secondary language in Control Panel.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Hildon Input Method

2007-02-12 Thread Mohammad Anwari
Pada hari Senin, tanggal 12/02/2007 pukul 07:20 -0800, ext Kimitake Abe
menulis:
 Originally, ja_JP is not listed on the control panel GUI.
 If I create im plugin for JP, will it be displayed the list?

It should be on the list, otherwise file a bug 
*-)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Does the N800 support east asian languages input?

2007-01-22 Thread Mohammad Anwari
Pada hari Sabtu, tanggal 20/01/2007 pukul 22:19 +0800, ext wolfg
menulis:
 Hi,

Hi,

 Does the N800 support East Asian languages input? Is it possible to
 extend Hildon input methods to support a East Asian language?

Not by default, but you could write your own plugin to accept East Asian
languages input.

http://www.maemo.org/platform/docs/howtos/howto_him_bora.html
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] How to extend Hildon Input Methods

2007-01-15 Thread Mohammad Anwari
Pada hari Sabtu, tanggal 13/01/2007 pukul 04:02 -0800, ext Kimitake Abe
menulis:
 configure: error: Library requirements 
 (libhildon-input-method-framework-header-sdk-2.0 = 2.0.0 
 libhildon-input-method-ui-header-sdk-2.0 = 2.0.0) not met; consider 
 adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
 nonstandard prefix so pkg-config can find them.
 
 As tutorial, the components are required but how can I get them?

You can apt-get install them after installing maemo-explicit.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] How to extend Hildon Input Methods

2007-01-15 Thread Mohammad Anwari
Pada hari Senin, tanggal 15/01/2007 pukul 13:45 +0100, ext Guard][an
menulis:
 The tutorial mentions libhildon-input-method-header-sdk-dev and 
 libhildon-input-method-framework-header-sdk-dev packages but the real 
 name of the first package seems to be 
 libhildon-input-method-ui-header-sdk-dev.

You are correct. I'm cc:-ing bora-feedback hoping they can fix this.

 Also, it would be nice to have more detailed documentation on key types 
 and attributes usage.
 
 For instance, the key alpha=ALPHA size=2q/key markup seems 
 rather obscure to me, particularly the alpha=ALPHA part.
 
 Also, how do you define a modifier key ?

Unfortunately, there is no modifier key :(

  And how do you specify tabs like the abc ABC 1!+ tabs on the thumb 
 keyboard. In fact, having 

Put label attribute in the sublayout tag.
...
keyboard layout=THUMB
sublayout type=LOWERCASE label=abc variance_index=1
...

 the xml versions of the .vkb files deployed on the device would really 
 help understanding how to achieve the abc/ABC click on the same tab 
 changes the case behavior. 

Use variance index for that, so we would have:
...
keyboard layout=THUMB
sublayout type=LOWERCASE label=abc variance_index=1
...
sublayout type=UPPERCASE label=ABC variance_index=0
...
...

 Is there any plan to make these .xml files 
 available ?

Sorry, no plan for that.

 Regards.
 G.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] localization issue on maemo 3.0

2007-01-11 Thread Mohammad Anwari
Pada hari Kamis, tanggal 11/01/2007 pukul 08:57 +0200, ext
[EMAIL PROTECTED] menulis:
 Hi,
 
 This won't work - run-standalone.sh reads /etc/osso-af-init/locale and
 sets the language according to it. 

Also you need ja locale. 
You can grab it from Locale Extras project[0] in garage.

[0].
https://garage.maemo.org/projects/locales-extras/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] localization issue on maemo 3.0

2007-01-11 Thread Mohammad Anwari
Pada hari Kamis, tanggal 11/01/2007 pukul 02:11 -0800, ext Kimitake Abe
menulis:
 - execute souce /etc/osso-af-init/af-defines.sh to set env,
 because run-standalone.sh overwrites local info.
 - set LANG to ja, ja_JP or en_GB (I tried LC_ALL etc. also)

Put your ja_JP to /etc/osso-af-init/locale file instead


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] cannot find keyboard.defs

2007-01-09 Thread Mohammad Anwari
Pada hari Selasa, tanggal 09/01/2007 pukul 02:22 -0800, ext Kimitake Abe
menulis:
 Hi,
 
 I just installed maemo 3.0 and executed af-sb-init.sh, but I got
 the following error and couldn't see virtual keyboard (soft key).
 
 AF Warning: '/etc/osso-af-init/keyboard.defs' not found
 
 Is it expected?
 
 maemo 2.1 with scratchbox 0.9.8 has the file above and can show
 the virtual keyboard (e.g, when I execute maemopad).
 
 I'm wondering to implement plugin for Hildon Input Methods
 so I guess I need the GUI.

Hi,

As the http://repository.maemo.org/stable/bora/INSTALL.txt says,
you need to download the binaries installer, then after that just
apt-get install maemo-explicit.

The binaries installer is available here:
http://www.maemo.org/downloads/releases.html


 -
 Kimitake Abe
 
 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Mohammad Anwari
Pada hari Jumat, tanggal 22/12/2006 pukul 16:25 +0300, ext Ilya Schurov
menulis:
 It seems that the code which drives popping-up window (with 
 cut/copy/paste/input method/language/tools menu, Enter  Tab keys 
 and so on) is closed and nobody knows how to hack it and replace with 
 custom one.

Hi,

Someone has written this:
http://www.inference.phy.cam.ac.uk/pjc51/hildon_im.txt

Hope that helps.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Unresolved issues (Week 46)

2006-11-28 Thread Mohammad Anwari
Pada hari Senin, tanggal 20/11/2006 pukul 15:28 +0200, ext Mohammad
Anwari menulis:
 Hi,
 
 Currently the file format is not published.

Hi,

Correcting my self. The file format is available
in /usr/share/libimlayouts/fileformat.html in your maemo rootstrap.
However, the API to use the file is not published.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] virtual keyboard font size

2006-07-13 Thread Mohammad Anwari
Pada hari Kamis, tanggal 13/07/2006 pukul 11:07 +0200, ext Stellars
Henson menulis:
 hello
 
 i need to change virtual keyboard font size.

VKB uses osso-SystemFont. So you need tweak it (and unfortunately
affect another widgets).

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] New open source Web Browser for Maemo.

2005-08-12 Thread Mohammad Anwari
On Kam, 2005-08-11 at 10:23 -0400, ext João Leite wrote:
 Hi all,
 
 All debian packages are available now.

Hello,

I failed to see it running in my 770, couldn't do it either from the
Task Navigator menu nor the terminal. It just segfaulted when running
run-maemo.sh.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers