[PATCH 4/4] utils: tweak wl_list for better doxygen output

2013-08-28 Thread Aaron Faanes
--- src/wayland-util.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wayland-util.h b/src/wayland-util.h index 02d9458..fd735f7 100644 --- a/src/wayland-util.h +++ b/src/wayland-util.h @@ -61,8 +61,9 @@ struct wl_interface { const struct wl_message *events;

[PATCH 3/4] wayland-server: Document wl_signal

2013-08-28 Thread Aaron Faanes
--- src/wayland-server.h | 37 + 1 file changed, 37 insertions(+) diff --git a/src/wayland-server.h b/src/wayland-server.h index 59fa43a..0e662de 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -143,22 +143,52 @@ struct wl_listener { wl_

[PATCH 1/4] utils: Document wl_container_of

2013-08-28 Thread Aaron Faanes
The explanation added is admittedly verbose (and reads more like a proof), but my hope is that the comment should demystify how wl_container_of works for those not familiar with the technique used. Understanding this function also helps understanding how wl_list works. --- src/wayland-util.h | 45

[PATCH 2/4] wayland-server: Document wl_listener

2013-08-28 Thread Aaron Faanes
--- src/wayland-server.h | 9 + 1 file changed, 9 insertions(+) diff --git a/src/wayland-server.h b/src/wayland-server.h index d77050d..59fa43a 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -129,6 +129,15 @@ wl_client_get_object(struct wl_client *client, uint32_t id);

[PATCH 0/4] Document a few Wayland objects

2013-08-28 Thread Aaron Faanes
Hello! These patches add some doxygen documentation to the following objects: * wl_container_of (used by wl_list) * wl_listener * wl_signal These classes are fairly self-explanatory (well, wl_container_of isn't ;), so documentation isn't essential per se. However, I figured these pieces would be

[PATCH] wayland-server: Fix a uninitialized warning from clang

2013-08-28 Thread Aaron Faanes
This warning is unnecessary, since the pointer in question is only used for pointer arithmetic, but setting it explicitly to NULL doesn't hurt. --- src/wayland-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index a1d69e5..d7

Re: [RFC wayland] System compositor protocol

2013-08-28 Thread microcai
2013/8/28 David Herrmann : > Hi > > On Tue, Aug 27, 2013 at 9:16 PM, microcai wrote: >> 2013/8/25 David Herrmann : > [...] >>> The idea behind a system-compositor was to provide a system daemon >>> that runs _outside_ a session. Its sole responsibility is to control >>> access to graphics and inpu

Re: [PATCH] configure.ac: fix broken compilation when configure with --disable-egl option

2013-08-28 Thread Armin K.
On 08/28/2013 11:22 AM, Samuel Iglesias Gonsalvez wrote: > Fix bug 67561: "configure with --disable-egl option breaks fbdev backend > compilation" > > https://bugs.freedesktop.org/show_bug.cgi?id=67561 > > Signed-off-by: Samuel Iglesias Gonsalvez > --- > configure.ac | 2 +- > 1 file changed, 1

[PATCH] configure.ac: fix broken compilation when configure with --disable-egl option

2013-08-28 Thread Samuel Iglesias Gonsalvez
Fix bug 67561: "configure with --disable-egl option breaks fbdev backend compilation" https://bugs.freedesktop.org/show_bug.cgi?id=67561 Signed-off-by: Samuel Iglesias Gonsalvez --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac inde