[PATCH] doc: improvements to doxygen and protocol docs

2015-01-02 Thread Bill Spitzak
This set supersedes my outstanding patches and consists of several patches that should be independent if you wish to pick & choose: 1,2,3 : some minor fixes to doxygen output 4: rearrangment to put wl_event_queue methods into their own section 5: intro text for the libs, this is most questionable

[PATCH 8/8] doc: remove redundant subtitles

2015-01-02 Thread Bill Spitzak
Put the argument lists next to the event/message title, which I think makes it a lot easier to understand, and remove redudant "values" title from enumerations. --- doc/publican/protocol-to-docbook.xsl | 38 ++ 1 file changed, 25 insertions(+), 13 deletions(-) di

[PATCH 1/8] doc: add missing \memberof to wl_display_get_protocol_error

2015-01-02 Thread Bill Spitzak
--- src/wayland-client.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index 9e8bdfe..d1d21ca 100644 --- a/src/wayland-client.c +++ b/src/wayland-client.c @@ -1689,8 +1689,7 @@ wl_display_get_error(struct wl_display *displ

[PATCH 5/8] doc: Intro text for doxygen output in it's own file

2015-01-02 Thread Bill Spitzak
This makes it considerably easier to edit the text and make it different for each library. To address previous concerns with this patch, I wrote some more complete introductory text. This is based on my understanding of these libraries, which may not be correct, and is pretty rudimentary for libwa

[PATCH 4/8] doc: made functions taking wl_event_queue arg belong to wl_event_queue

2015-01-02 Thread Bill Spitzak
The fact that these functions take both a display and queue argument is I think historical, and they really are methods on the queue. Also added some docs for wl_display_prepare_read_queue. --- src/wayland-client.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-)

[PATCH 3/8] doc: Remove wl_map from documentation

2015-01-02 Thread Bill Spitzak
This object is only in wayland-private.h so it's methods should not be in the documentation. --- src/wayland-util.c |4 1 file changed, 4 insertions(+) diff --git a/src/wayland-util.c b/src/wayland-util.c index b099882..db51ebb 100644 --- a/src/wayland-util.c +++ b/src/wayland-util.c @@

[PATCH 6/8] doc: compress the lists in the protocol docs some

2015-01-02 Thread Bill Spitzak
Use simpara to remove the blank lines, and put the type/value and the comment into the same line. --- doc/publican/protocol-to-docbook.xsl | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/doc/publican/protocol-to-docbook.xsl b/doc/publican/prot

[PATCH 7/8] doc: Add object types and links to arguments int protocol documentation

2015-01-02 Thread Bill Spitzak
This makes it a lot easier to figure out what is going on! --- doc/publican/protocol-to-docbook.xsl | 35 ++ 1 file changed, 35 insertions(+) diff --git a/doc/publican/protocol-to-docbook.xsl b/doc/publican/protocol-to-docbook.xsl index 723f5e6..ca1308f 100644 -

[PATCH 2/8] doc: Remove deprecated functions from documentation

2015-01-02 Thread Bill Spitzak
--- src/wayland-server.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index c845dd6..38123c7 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -1331,7 +1331,7 @@ wl_log_set_handler_server(wl_log_func_t handler)

Re: [PATCH] doc: Improve doxygen conversion

2015-01-02 Thread Bill Spitzak
On 01/02/2015 04:31 AM, Pekka Paalanen wrote: On Mon, 22 Dec 2014 14:05:08 -0800 Bill Spitzak wrote: PS: How does an intermediate compositor, which has to both be a server and a client, use these two libraries at the same time? There appear to be some name conflicts, such as two different st

Re: [PATCH] libinput-seat: Don't regard no input devices as failure

2015-01-02 Thread Pekka Paalanen
On Fri, 2 Jan 2015 13:07:57 + Daniel Stone wrote: > Hi, > > On 2 January 2015 at 12:24, Sjoerd Simons > wrote: > > > Under the assumption that weston-launch is a tool for developers to > > start weston, then sure fine. If weston-launch gets used to autostart > > weston on bootup (as i'm do

Re: [PATCH] libinput-seat: Don't regard no input devices as failure

2015-01-02 Thread Sjoerd Simons
On Fri, 2015-01-02 at 13:07 +, Daniel Stone wrote: > Hi, > > On 2 January 2015 at 12:24, Sjoerd Simons > wrote: > > > Under the assumption that weston-launch is a tool for developers to > > start weston, then sure fine. If weston-launch gets used to autostart > > weston on bootup (as i'm doi

Re: [PATCH] libinput-seat: Don't regard no input devices as failure

2015-01-02 Thread Pekka Paalanen
On Fri, 02 Jan 2015 13:24:36 +0100 Sjoerd Simons wrote: > On Fri, 2015-01-02 at 13:34 +0200, Pekka Paalanen wrote: > > On Tue, 30 Dec 2014 17:19:45 + > > Daniel Stone wrote: > > > > > Hi, > > > > > > On 29 December 2014 at 00:03, Peter Hutterer > > > wrote: > > > > > > > On Sun, Dec 28,

Re: [PATCH] libinput-seat: Don't regard no input devices as failure

2015-01-02 Thread Daniel Stone
Hi, On 2 January 2015 at 12:24, Sjoerd Simons wrote: > Under the assumption that weston-launch is a tool for developers to > start weston, then sure fine. If weston-launch gets used to autostart > weston on bootup (as i'm doing in some cases), that behaviour is > horrible. > It's not a develope

Re: [PATCH] doc: Improve doxygen conversion

2015-01-02 Thread Pekka Paalanen
On Mon, 22 Dec 2014 14:05:08 -0800 Bill Spitzak wrote: > PS: How does an intermediate compositor, which has to both be a server > and a client, use these two libraries at the same time? There appear to > be some name conflicts, such as two different struct wl_display objects. Those are type na

Re: [PATCH] libinput-seat: Don't regard no input devices as failure

2015-01-02 Thread Sjoerd Simons
On Fri, 2015-01-02 at 13:34 +0200, Pekka Paalanen wrote: > On Tue, 30 Dec 2014 17:19:45 + > Daniel Stone wrote: > > > Hi, > > > > On 29 December 2014 at 00:03, Peter Hutterer > > wrote: > > > > > On Sun, Dec 28, 2014 at 11:25:16PM +0100, Sjoerd Simons wrote: > > > > The reason for not havi

Re: [weston1.5]Question about HardKey input monitor with wayland/weston

2015-01-02 Thread Pekka Paalanen
On Wed, 24 Dec 2014 09:32:42 + Yang Andy wrote: > Hi everyone > > I have a question about HardKey input monitor with wayland/weston. "HardKey input monitor" does not seem to be a program or a piece of hardware that Google knows about. Any pointers to what it is? > [Use Case] > When user pr

Re: Failed to load module: /usr/way/lib/weston/rpi-backend.so: undefined symbol: eglTerminate

2015-01-02 Thread Pekka Paalanen
On Wed, 24 Dec 2014 12:49:23 +0800 Jeff Chua wrote: > I recompiled Tomeu's userland git and weston with EGL enabled. > Compiled ok, but starting weston gives the following error .. > > 07:33:06.983] OS: Linux, 3.18.1, #9 Mon Dec 22 21:36:03 SGT 2014, armv6l > [07:33:06.986] Using config file '/r

Re: [PATCH] libinput-seat: Don't regard no input devices as failure

2015-01-02 Thread Pekka Paalanen
On Tue, 30 Dec 2014 17:19:45 + Daniel Stone wrote: > Hi, > > On 29 December 2014 at 00:03, Peter Hutterer > wrote: > > > On Sun, Dec 28, 2014 at 11:25:16PM +0100, Sjoerd Simons wrote: > > > The reason for not having any input devices could actually be that there > > > are no input devices