Re: [wayland-protocols] text-input: Add v3 of the text-input protocol

2018-04-11 Thread Weng Xuetian
(forgot to reply to the list) On Wednesday, 11 April 2018 11:35:58 PDT Dorota Czaplejewicz wrote: > On Wed, 11 Apr 2018 11:26:22 -0700 > > Weng Xuetian wrote: > > On Monday, 9 April 2018 07:20:53 PDT Dorota Czaplejewicz wrote: > > > On Sun, 11 Mar 2018 20:30:14 +

Re: [wayland-protocols] text-input: Add v3 of the text-input protocol

2018-04-11 Thread Weng Xuetian
On Monday, 9 April 2018 07:20:53 PDT Dorota Czaplejewicz wrote: > On Sun, 11 Mar 2018 20:30:14 +0100 > > Carlos Garnacho wrote: > > This new protocol description is a vast simplification over v2, highlights > > are: > > - All pre-edit text styling is gone, the protocol doesn't seem the place > >

Re: [PATCH weston] editor: unify key handling

2017-02-28 Thread Weng Xuetian
Ping :) On Tuesday, 31 January 2017 19:22:16 PST, You wrote: > Key event from input method may send key from text_input_keysym, which > should share the same logic with real keyboard event. Right now keysym > like latin characters are not handled by text_input_keysym. > > Sign

[PATCH weston] editor: unify key handling

2017-01-31 Thread Weng Xuetian
Key event from input method may send key from text_input_keysym, which should share the same logic with real keyboard event. Right now keysym like latin characters are not handled by text_input_keysym. Signed-off-by: Weng Xuetian --- clients/editor.c | 150

Re: [PATCH wayland-protocols v5] text: Create second version of text input protocol

2016-03-23 Thread Weng Xuetian
This look much more promising from input method point of view comparing with previous version. I tried to implement inputmethod protocol v1 for wayland in fcitx quite some time ago, but I never put it in real use because.. it's not really practical comparing with what we have in customized im mo

Current Input Method support

2013-09-05 Thread Weng Xuetian
Hi, I've added initial support for wayland input method in fcitx https://github.com/fcitx/fcitx/tree/wayland (still WIP, now it's only handling keyboard event without UI under wayland). While bascially it's quite straight forward to implement that, it's quite painful about some functionality cann

Re: [PATCH 0/5] Improve text protocol

2013-04-16 Thread Weng Xuetian
在 2013年4月16日 星期二 10:16:53,Jan Arne Petersen 写道: > Hi, > > On 04/15/2013 09:14 PM, Bill Spitzak wrote: > > Jan Arne Petersen wrote: > >> * Changes offsets to be Unicode character instead of byte based > > > > No, PLEASE DON'T DO THIS!!! > > > > You think you are making things "easier" but you are

Re: [PATCH 01/18] text: Add language and text-direction to protocol

2013-04-07 Thread Weng Xuetian
On Monday 08 April 2013 00:11:54,Jan Arne Petersen : > From: Jan Arne Petersen > > Signed-off-by: Jan Arne Petersen > --- > clients/editor.c | 20 - > clients/keyboard.c | 54 > ++ clients/weston-simple-im.c | > 54 +++

Re: [PATCH RFC] Add language and text-direction to text protocol

2013-01-31 Thread Weng Xuetian
On Thursday 31 January 2013 20:50:00,Jan Arne Petersen : > On 31.01.2013 18:00, Yichao Yu wrote: > > On Thu, Jan 31, 2013 at 11:44 AM, Jan Arne Petersen > > > > wrote: > >> From: Jan Arne Petersen > >> > >> The proposed API allows to send the language and text-direction for > >> inserted text fro

Re: [PATCH RFC] Add language and text-direction to text protocol

2013-01-31 Thread Weng Xuetian
On Thursday 31 January 2013 17:44:02,Jan Arne Petersen : > From: Jan Arne Petersen > > The proposed API allows to send the language and text-direction for > inserted text from an input-method to an application. > > It also allows an application to specify a preferred language for > the input. This

Re: Questions and thoughts about input method protocol

2013-01-31 Thread Weng Xuetian
On Wednesday 30 January 2013 23:09:20,Pekka Vuorela : > On 29.01.2013 04:49, Yichao Yu wrote: > > Hi, > > > > With the comment on the recent patches for the input method protocol, > > it seems that we are finally on the way to support cursor following. > > However I still have some questions about

Re: [PATCH 18/18] text: Move input_panel interface to input-method

2013-01-16 Thread Weng Xuetian
On Wednesday 16 January 2013 21:26:55,Jan Arne Petersen : > From: Jan Arne Petersen > > Move the input_panel interface from desktop-shell to input-method (since > it is not really tied to desktop-shell). > > Add an input_panel_surface interface like wl_shell_surface to make it > easier to extend i

Is there any input method protocol for wayland right now?

2011-06-27 Thread Weng Xuetian
Hi, I'm one of fcitx (An Input Method) developer. I know via im module in gtk/qt, this might not be a problem. But for other programs, which don't depends on gtk/qt, is there anything equivalent to XIM protocol in wayland right now? Regards, Xuetian signature.asc Description: OpenPGP digital s