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

2014-07-26 Thread Pekka Paalanen
On Sat, 26 Jul 2014 11:37:47 +0800 Boyan Ding wrote: > 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 her

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: [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: [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: [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: [RFC wayland v2 0/2] Wayland protocol dumper

2014-07-24 Thread Boyan Ding
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 -S wayland-0 > > Then in another terminal window, I rebuild weston and: > >

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

2014-07-24 Thread Bryce Harrington
On Wed, Jul 23, 2014 at 04:21:19PM +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

[RFC wayland v2 0/2] Wayland protocol dumper

2014-07-23 Thread Boyan Ding
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 interesting usecase of this feature is to trace all clients of a co