Re: Can't build Weston on Raspbian

2013-04-07 Thread Pekka Paalanen
On Sun, 7 Apr 2013 10:03:07 -0400 dar...@chaosreigns.com wrote: > On 04/07, Pekka Paalanen wrote: > > looks like the build guide is missing --disable-fbdev-compositor > > option for autogen.sh for Weston. That should help. > > Better now? > Yes, thank you, Darxus. - pq _

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 17/18] text: Only allow input-method started by weston to bind

2013-04-07 Thread Yichao Yu
Does this mean it is not possible to start a stand alone input method??? On Sun, Apr 7, 2013 at 6:12 PM, Jan Arne Petersen wrote: > From: Jan Arne Petersen > > Signed-off-by: Jan Arne Petersen > --- > src/text-backend.c | 21 ++--- > 1 file changed, 14 insertions(+), 7 deletio

[PATCH 18/18] Add weston-control to allow reloading the config file

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/.gitignore | 3 ++ clients/Makefile.am | 9 + clients/weston-control.c | 101 +++ protocol/Makefile.am | 1 + protocol/control.xml | 35

[PATCH 17/18] text: Only allow input-method started by weston to bind

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- src/text-backend.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/text-backend.c b/src/text-backend.c index 07a066c..53aa92c 100644 --- a/src/text-backend.c +++ b/src/text-backend.c @@ -

[PATCH 16/18] text: Move input panel into an own file

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- src/Makefile.am | 3 +- src/compositor.c | 1 + src/compositor.h | 13 ++ src/input-panel.c | 470 ++ src/shell.c | 350 +--- 5 fil

[PATCH 15/18] text: Add output argument to set_toplevel

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Allow to specify an output for a toplevel input panel surface. Signed-off-by: Jan Arne Petersen --- clients/keyboard.c| 26 ++ protocol/input-method.xml | 1 + src/shell.c | 28 3 files changed

[PATCH 14/18] text: Add support for panels following the cursor

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Add input_panel_surface::set_panel to specify input panel surfaces which are overlaying the application and are following the input cursor. Signed-off-by: Jan Arne Petersen --- protocol/input-method.xml | 3 ++ src/compositor.c | 1 + src/compositor.h

[PATCH 13/18] editor: Send cursor position to the input method

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/editor.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/clients/editor.c b/clients/editor.c index e686248..e61eda0 100644 --- a/clients/editor.c +++ b/clients/editor.c @@ -127,6 +12

[PATCH 12/18] editor: Only delete on backspace key released

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Do not delete two characters when key is pressed and released. Signed-off-by: Jan Arne Petersen --- clients/editor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/editor.c b/clients/editor.c index 027b562..e686248 100644 --- a/clients/editor.c +++ b/cli

[PATCH 11/18] text: Add "none" preedit-style

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Use "default" preedit style as default. "None" is used when the composing text should look like non-composing text. Signed-off-by: Jan Arne Petersen --- clients/keyboard.c | 2 +- protocol/text.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a

[PATCH 10/18] text: Rename text_model to text_input

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Also rename text_model_factory to text_input_manager. Signed-off-by: Jan Arne Petersen --- clients/editor.c | 142 +++ clients/keyboard.c | 10 +-- protocol/text.xml | 61 +++--- src/text-backend.c | 242 +

[PATCH 09/18] text: Order requests and events in a nice way

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/editor.c | 14 ++--- protocol/text.xml | 172 ++--- src/text-backend.c | 24 tests/text-test.c | 14 ++--- 4 files changed, 112 insertions(+), 112 deletions(-) d

[PATCH 08/18] text: rename text_model::commit to commit_state

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Use ::commit_state as a request name to make clear what is commited. Signed-off-by: Jan Arne Petersen --- clients/editor.c | 2 +- protocol/text.xml | 2 +- src/text-backend.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/editor.c

[PATCH 07/18] view: g_type_init() is deprecated in glib >= 2.35

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/view.c b/clients/view.c index c8ced15..110a829 100644 --- a/clients/view.c +++ b/clients/view.c @@ -293,7 +293,9 @@ main(int argc, char *argv[]) int

[PATCH 06/18] text: Fix some text and input-method docs

2013-04-07 Thread Jan Arne Petersen
From: Krzesimir Nowak Signed-off-by: Jan Arne Petersen --- protocol/input-method.xml | 40 +++- protocol/text.xml | 36 +++- 2 files changed, 46 insertions(+), 30 deletions(-) diff --git a/protocol/input-method.xml b/p

[PATCH 05/18] text: Fix password content hint value

2013-04-07 Thread Jan Arne Petersen
From: Krzesimir Nowak 0xc in this case was a combination of "autocapitalization" (0x4) and "lowercase" (0x8) instead of "hidden_text" (0x40) and "sensitive_data" (0x80). Signed-off-by: Jan Arne Petersen --- protocol/text.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p

[PATCH 04/18] editor: Reset text model on reset

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen There were some reset calls missing, which resulted in wrong preedit state on input method side. Signed-off-by: Jan Arne Petersen --- clients/editor.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/clients/editor.c b/clients/editor.c index 58

[PATCH 03/18] keyboard: Reset state on activate

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/keyboard.c | 34 -- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/clients/keyboard.c b/clients/keyboard.c index e792eba..1394d70 100644 --- a/clients/keyboard.c +++ b/clients/ke

[PATCH 02/18] text: Add example for language/text direction

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/editor.c | 36 +- clients/keyboard.c | 89 -- 2 files changed, 121 insertions(+), 4 deletions(-) diff --git a/clients/editor.c b/clients/editor.c index

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

2013-04-07 Thread 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 ++ protocol/input-method.x

[PATCH 00/18] Extend text protocol for IBus support

2013-04-07 Thread Jan Arne Petersen
From: Jan Arne Petersen This is a series of patches which makes it possible to use IBus with Wayland/Weston. An IBus with the required Wayland support is available at https://github.com/openismus/ibus. * Some cleanups from the previous text input patch series (required by the new patches) * A

Re: Can't build Weston on Raspbian

2013-04-07 Thread Jörn Reder
Am 07.04.2013 15:53, schrieb Pekka Paalanen: > looks like the build guide is missing --disable-fbdev-compositor option > for autogen.sh for Weston. That should help. Yep. Worked perfectly now. Thanks! Jörn -- LINUX - Linux Is Not gnU linuX ___ wayla

Re: [PATCH] Correctly handle extended RDP keycodes

2013-04-07 Thread Ran Benita
On Sun, Apr 07, 2013 at 12:08:11PM +0200, Hardening wrote: > On 07/04/2013 09:32, Ran Benita wrote: > > On Sat, Apr 06, 2013 at 11:39:26PM +0200, Hardening wrote: > >> The keycodes received by the FreeRDP server aren't evdev keycodes. > > [...] > > > > Hi, > > > > Your approach is almost certain

Re: [PATCH weston] Make backends always specify output repaint time

2013-04-07 Thread Pekka Paalanen
On Fri, 5 Apr 2013 23:07:11 +0200 Jonas Ådahl wrote: > Most backends relies on gettimeofday(2) for output repaint timestamps > but this is not a requirement. Before this patch repaints coming from > idle_repaint() always used gettimeofday(2) for timestamps. For backends > not using that time sou

Re: [PATCH weston] Make backends always specify output repaint time

2013-04-07 Thread Pekka Paalanen
On Sat, 6 Apr 2013 09:43:11 +0200 renoX wrote: > Hello, > > I don't understand why weston or the backends use gettimeofday instead of a > monotonic time: doesn't this add work to all the clients to be able to be > robust to time going into the past of things like that? Yes, they should be using

Re: Can't build Weston on Raspbian

2013-04-07 Thread darxus
On 04/07, Pekka Paalanen wrote: > looks like the build guide is missing --disable-fbdev-compositor option > for autogen.sh for Weston. That should help. Better now? -- "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefo

Re: Can't build Weston on Raspbian

2013-04-07 Thread Pekka Paalanen
On Sat, 06 Apr 2013 19:50:09 +0200 Jörn Reder wrote: > > Hiho, > > I am new to Wayland and try to build Wayland & Weston on Raspbian > (following http://wayland.freedesktop.org/raspberrypi.html) but fail on > Weston compilation with this error message: > > --snip-- > > make[4]: Entering direc

Re: [PATCH] Correctly handle extended RDP keycodes

2013-04-07 Thread Hardening
On 07/04/2013 09:32, Ran Benita wrote: > On Sat, Apr 06, 2013 at 11:39:26PM +0200, Hardening wrote: >> The keycodes received by the FreeRDP server aren't evdev keycodes. [...] > > Hi, > > Your approach is almost certainly the best approach. I'll just like to > mention for the archive: the underl

Re: [PATCH] Correctly handle extended RDP keycodes

2013-04-07 Thread Ran Benita
On Sat, Apr 06, 2013 at 11:39:26PM +0200, Hardening wrote: > The keycodes received by the FreeRDP server aren't evdev keycodes. > This patch adds the correct convertion to evdev keycodes. After the > patch all keys that are marked as extended in RDP packets become > functionnal (that's the case for