[PATCH wayland v3] Add support for direct file reading and writing in wayland-scanner.

2015-03-02 Thread Jussi Pakkanen
Add support for direct file reading and writing in wayland-scanner. Signed-off-by: Jussi Pakkanen --- src/scanner.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/src/scanner.c b/src/scanner.c index 1f1e59a..efdc69c 100644 --- a/src/scanner.c

Re: [PATCH] Enhance wayland-scanner so it can use files for input and output.

2015-03-02 Thread Jussi Pakkanen
On Mon, Mar 2, 2015 at 9:52 AM, Pekka Paalanen wrote: > in addition to the other review commments, I believe the > standard way for changing the file association for stdout is to use > freopen(). Is there a reason why you didn't use freopen()? > The main one is that I did not know freopen exist

[PATCH] Enhance wayland-scanner so it can use files for input and output.

2015-02-26 Thread Jussi Pakkanen
* Enhance wayland-scanner so it can use files for input and output to improve flexibility and testability. Signed-off-by: Jussi Pakkanen --- src/scanner.c | 34 +- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/src/scanner.c b/src

[PATCH wayland] Enhance wayland-scanner so it can use files for input and output.

2015-02-24 Thread Jussi Pakkanen
* Enhance wayland-scanner so it can use files for input and output Signed-off-by: Jussi Pakkanen src/scanner.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/scanner.c b/src/scanner.c index 1f1e59a..809a339 100644 --- a/src/scanner.c

Re: Experiment: compiling Wayland and Weston with Meson

2015-02-24 Thread Jussi Pakkanen
On Tue, Feb 24, 2015 at 5:19 PM, Hardening wrote: > > The presentation "Making build systems not suck" from LCA2015 is a good > > overview of Meson: https://www.youtube.com/watch?v=KPi0AuVpxLI > > > > That's about it. I hope you find it interesting, > > A big +1 for the patch on src/scanner.c tha

Experiment: compiling Wayland and Weston with Meson

2015-02-21 Thread Jussi Pakkanen
Hi all I'm working on a new build system called Meson. As part of development I take open source projects and rewrite their build systems to ensure it fulfils real world requirement. This time I took Wayland and Weston. The patches are attached to this message for anyone to try them out. They app