[PATCH 3/3] doc: Translate doxygen tags to spaces

2014-09-30 Thread Benjamin Herr
Doxygen represents all spacing in code blocks with tags, so these need to be turned back into spaces. Signed-off-by: Benjamin Herr --- doc/publican/doxygen-to-publican.xsl | 4 1 file changed, 4 insertions(+) diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to

[PATCH 2/3] doc: Mostly use apply-templates over value-of

2014-09-30 Thread Benjamin Herr
xsl:value-of would strip all the nested markup of the selected doxygen elements, so that \ref, \sa and \code formatting didn't actually work. Signed-off-by: Benjamin Herr --- doc/publican/doxygen-to-publican.xsl | 30 ++ 1 file changed, 14 insertions(+), 16 dele

[PATCH 1/3] doc: Mark up some code examples

2014-09-30 Thread Benjamin Herr
These blocks were misformatted in normal paragraph style in the generated docs. Also, added \comment{} for comments within one code example. Signed-off-by: Benjamin Herr --- src/wayland-util.h | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a

[PATCH] connection: Leave fd open in wl_connection_destroy

2014-09-30 Thread Benjamin Herr
avoid calling wl_connection_destroy(). Signed-off-by: Benjamin Herr --- src/connection.c| 7 +-- src/wayland-private.h | 2 +- src/wayland-server.c| 2 +- tests/connection-test.c | 8 ++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/connection.c b/src