Re: [RFC wayland v2 0/2] Wayland protocol dumper

2014-07-25 Thread Boyan Ding
Hi, Thanks for all the advice. I also found integrating the code in wayland repository is not very comfortable. Actually I had to make a separate branch to keep track of my own development and format patches before sending them here. So I set up a self-contained repository on github [1] and my dev

Re: Keysym event in the text protocol

2014-07-25 Thread Bill Spitzak
On 07/25/2014 11:59 AM, Daniel Stone wrote: Since you're just repeating yourself without taking on anything that's been said, so will I: that won't work. This I am finding hard to believe. My proposal is that the compositor maintain a xkb_state, and keystroke events have the result of xkb_sta

blog: Wayland protocol design: object lifespan

2014-07-25 Thread Pekka Paalanen
Hi, I wrote a blog post: http://ppaalanen.blogspot.fi/2014/07/wayland-protocol-design-object-lifespan.html "This first post considers protocol object lifespan and the related races between the compositor/server and the client." Thanks, pq ___ wayland-

Re: Keysym event in the text protocol

2014-07-25 Thread Daniel Stone
Since you're just repeating yourself without taking on anything that's been said, so will I: that won't work. On Friday, July 25, 2014, Bill Spitzak wrote: > I think the question is why both the client, the input method, and > probably the compositor all have to do the decoding from keys to keys

Re: [PATCH wayland-web] Added instructions for Linux Mint 17 / Ubuntu 14.04

2014-07-25 Thread Bill Spitzak
On 07/25/2014 06:53 AM, Pekka Paalanen wrote: So Mint 17 has Mesa built with Wayland enabled? Nice. It appears to. The version number is higher than the one the build instructions say. And simple_egl and several other egl-only clients work, which I think is impossible if the Mesa Wayland bac

Re: Keysym event in the text protocol

2014-07-25 Thread Bill Spitzak
I think the question is why both the client, the input method, and probably the compositor all have to do the decoding from keys to keysyms. Contrast this to all the work being done with libinput to translate actions on touchpads to a more useful shared form before anybody looks at it. Why is

Re: [RFC wayland v2 0/2] Wayland protocol dumper

2014-07-25 Thread Bryce Harrington
On Fri, Jul 25, 2014 at 09:21:36AM +0800, Boyan Ding wrote: > Hi, > On Thu, 2014-07-24 at 18:01 -0700, Bryce Harrington wrote: > > Hmm, do I understand the directions correctly? > > > > In one terminal after building and installing the patched wayland, I've > > run: > > > > $ ./wayland-tracer -

Re: [PATCH] Update SDL2 Information

2014-07-25 Thread Pekka Paalanen
On Tue, 22 Jul 2014 13:42:00 -0700 Joel Teichroeb wrote: > > --- > toolkits.html | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/toolkits.html b/toolkits.html > index daaeb1c..c5f3a6b 100644 > --- a/toolkits.html > +++ b/toolkits.html > @@ -37,10 +37,7 @@ can fin

Re: [PATCH wayland-web] Added instructions for Linux Mint 17 / Ubuntu 14.04

2014-07-25 Thread Pekka Paalanen
On Sat, 5 Jul 2014 23:50:11 -0700 spit...@gmail.com wrote: > From: Bill Spitzak > > Adds a page of instructions on how to get Weston and the XServer module > compiled on Linux Mint 17 (which is based on Ubuntu 14.04). > > --- > building.html | 3 + > mint17.html | 183 > +

Re: [RFC wayland v2 0/2] Wayland protocol dumper

2014-07-25 Thread Pekka Paalanen
On Fri, 25 Jul 2014 09:04:36 -0400 "Jasper St. Pierre" wrote: > I think it's a useful enough tool that it should eventually it should come > bog-standard with any typical Wayland installation, with an upstream > repository, but perhaps it doesn't make sense directly in libwayland. Yeah, definite

Re: [PATCH] doc: Quell warnings about missing man3 directory before its been built

2014-07-25 Thread Pekka Paalanen
On Mon, 21 Jul 2014 19:23:49 + "Bryce W. Harrington" wrote: > The shell command for dist_man3_MANS gets invoked several times during > the make process but before the man pages have been generated, which > causes the following warnings when running `make`: > > find: `man/man3': No such f

Re: [PATCH] gitignore: Add another test-suite file

2014-07-25 Thread Pekka Paalanen
On Mon, 21 Jul 2014 17:51:14 + "Bryce W. Harrington" wrote: > > Signed-off-by: Bryce Harrington > --- > .gitignore |1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index c146bac..d9d26ed 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -47,6 +47,7 @@

Re: Keysym event in the text protocol

2014-07-25 Thread Pekka Paalanen
On Wed, 23 Jul 2014 09:46:16 +0700 Trung Ngo wrote: > Hi guys, > > In the text protocol, there is a `keysym` event (and a corresponding > `keysym` request in the input-method protocol). In the spec, it is used > to 'notify when a key event was sent.' If I understand correctly then > the whole

Re: [RFC wayland v2 0/2] Wayland protocol dumper

2014-07-25 Thread Jasper St. Pierre
I think it's a useful enough tool that it should eventually it should come bog-standard with any typical Wayland installation, with an upstream repository, but perhaps it doesn't make sense directly in libwayland. On Fri, Jul 25, 2014 at 8:53 AM, Pekka Paalanen wrote: > On Wed, 23 Jul 2014 16:

Re: [RFC wayland v2 0/2] Wayland protocol dumper

2014-07-25 Thread Pekka Paalanen
On Wed, 23 Jul 2014 16:21:19 +0800 Boyan Ding wrote: > The v2 of patches sees a lot of new code and the most notable change > is the introduction of "server mode". Under server mode, the program > will act as a wayland server and can accept multiple clients via > WAYLAND_DISPLAY variable. An inte

Re: [PATCH weston] compositor: quick fix for sub-surface mapping

2014-07-25 Thread Pekka Paalanen
On Mon, 30 Jun 2014 10:49:40 -0700 Jason Ekstrand wrote: > I don't like it but, sure, it shouldn't break anything much further. Ok, thanks. I pushed it. - pq > On Mon, Jun 30, 2014 at 2:10 AM, Pekka Paalanen wrote: > > > From: Pekka Paalanen > > > > If a client does this: > > 1. create a mai

Re: [PATCH wayland] protocol: add repeat_info event to wl_keyboard

2014-07-25 Thread Pekka Paalanen
On Tue, 22 Jul 2014 17:39:18 +0100 Jonny Lamb wrote: > In the process wl_keyboard's version has been incremented. Given > clients get the wl_keyboard from wl_seat without a version, wl_seat's > version has also been incremented (wl_seat version 4 implies > wl_keyboard version 4). > --- > protoco

Re: [PATCH weston] input: send wl_keyboard.repeat_info with rate and delay info

2014-07-25 Thread Pekka Paalanen
On Wed, 16 Jul 2014 23:05:10 +0200 Jonny Lamb wrote: > The compositor reads the values out from weston.ini, the weston > compositor passes on the values, the weston-info client prints out the > values, and the values are respected in toytoolkit. > --- > clients/weston-info.c| 89 > +