- 07 Mar, 2016 2 commits
-
-
Peter Hutterer authored
And insert "client" or "server" into the PROJECT_NAME to know which one we have. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Peter Hutterer authored
This switches the scanner to generate doxygen-compatible tags for the generated protocol headers, and hooks up the doxygen build to generate server and client-side API documentation. That documentation is now in Client/ and Server/, respectively. GENERATE_HTML is on by default and must be disabled for the xml/man targets to avoid messing up the new documentation. We disable all three three targets in the doxyfile (xml and man default to NO anyway) to make it obvious that they need to be set in the per-target instructions. Each protocol is a separate doxygen @page, with each interface a @subpage. Wayland only has one protocol, wayland-protocols will have these nested. Each protocol page has a list of interfaces and the copyright and description where available. All interfaces are grouped by doxygen @defgroup and @ingroups and appear in "Modules" in the generated output. Each interface subpage has the description and a link to the actual API doc. Function, struct and #defines are documented in doxygen style and associated with the matching interface. Note that pages and groups have fixed HTML file names and are directly linkable/bookmark-able. The @mainpage is a separate file that's included at build time. It doesn't contain much other than links to where the interesting bits are. It's a static file though that supports markdown, so we can extend it easily in the future. For doxygen we need the new options EXTRACT_ALL and OPTIMIZE_OUTPUT_FOR_C so it scans C code properly. EXTRACT_STATIC is needed since most of the protocol hooks are static. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
- 20 Feb, 2016 1 commit
-
-
Bill Spitzak authored
Reviewed-by:
Auke Booij <auke@tulcod.com>
-
- 16 Nov, 2015 1 commit
-
-
Peter Hutterer authored
When the scanner changes, we need to rebuild Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
- 04 Nov, 2015 2 commits
-
-
Auke Booij authored
Signed-off-by:
Auke Booij <auke@tulcod.com> Reviewed-by:
Nils Chr. Brause <nilschrbrause@googlemail.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Auke Booij authored
Introduce the enum and bitfield attributes, which allow you to refer to the enum you are expecting in an argument, and specify which enums are to be thought of as bitfields. Changes since v3: - Fix typo ("description" -> "descriptive") Signed-off-by:
Auke Booij <auke@tulcod.com> Reviewed-by:
Nils Chr. Brause <nilschrbrause@googlemail.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
- 22 Sep, 2015 1 commit
-
-
Pekka Paalanen authored
Add general guidelines for using Patchwork, as we heavily rely on it nowadays. v2: - mention also Xwayland and libinput patch management - reword "if not found in Patchwork" - reword "Not applicable" - mention pwclient Cc: Bryce Harrington <bryce@osg.samsung.com> Cc: Olivier Fourdan <ofourdan@redhat.com> Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Olivier Fourdan <ofourdan@redhat.com>
-
- 24 Aug, 2015 1 commit
-
-
Pekka Paalanen authored
This reverts commit fb7e1302. Developers have been trying to reduce the number of by default required environment variables, and the mentioned commit is a step backwards in that sense. The fundamental assumption is that a user has only one main (Wayland) display server where all programs should connect to by default, and do so with an a priori known socket name. The commit also broke various use cases in the wild, some accidentally due to other causes, some intentionally. This revert allows those use cases to continue. The original problem of running Weston in a window in an existing GNOME X11 session and getting applications unintentionally launched into Weston can be circumvented by letting Weston use a non-default socket name, leaving wayland-0 unused. Discussion: http://lists.freedesktop.org/archives/wayland-devel/2015-August/023927.html http://lists.freedesktop.org/archives/wayland-devel/2015-August/023937.html Cc: Dima Ryazanov <dima@gmail.com> Cc: Giulio Camuffo <giuliocamuffo@gmail.com> Cc: Daniel Stone <daniel@fooishbar.org> Cc: Jasper St. Pierre <jstpierre@mecheye.net> Cc: Ryo Munakata <ryomnktml@gmail.com> Cc: Ray Strode <halfline@gmail.com> Cc: Peter Hutterer <peter.hutterer@who-t.net> Cc: Matthias Clasen <mclasen@redhat.com> Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk> Acked-by:
Ray Strode <rstrode@redhat.com> Acked-by:
Dima Ryazanov <dima@gmail.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com> Acked-By:
Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-By:
Ryo Munakata <ryomnktml@gmail.com> Acked-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 14 Aug, 2015 1 commit
-
-
Dima Ryazanov authored
Although defaulting to wayland-0 seems convenient, it has an undesirable side effect: clients may unintentionally connect to the wrong compositor. Generally, it's safer to fail instead. Here's a real example: In Fedora 22, Gtk+ prefers Wayland over X11, though the default session is still a normal X11 Gnome session. When you launch a Gtk+ app, it will try Wayland, fail, then try X11, and succesfully start up. That works fine. Now suppose you launch Weston while running the Gnome session. Suddenly, all of the Gtk+ apps launched from Gnome will show up inside Weston instead. That's unexpected. There's also no good way to prevent that from happening (other than perhaps setting WAYLAND_DISPLAY to an invalid value when launching an app). Not using wayland-0 as the default will solve that problem: an app launched from the X11 Gnome session will use the X11 backend regardless of whether there's a wayland compositor running at the same time. Everything else should work as before. The compositor already sets the WAYLAND_DISPLAY when starting the session, so the lack of the default value should not make a difference to the user. Signed-off-by:
Dima Ryazanov <dima@gmail.com> Acked-by:
Pekka Paalanen <ppaalanen@gmail.com> Acked-by:
Giulio Camuffo <giuliocamuffo@gmail.com> Acked-by:
Daniel Stone <daniel@fooishbar.org> Acked-by:
Jasper St. Pierre <jstpierre@mecheye.net> Reviewed-by:
Ryo Munakata <ryomnktml@gmail.com> [Pekka: dropped the wayland-server.c hunk, adjusted summary] Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 22 Jun, 2015 1 commit
-
-
Bryce Harrington authored
Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 18 Jun, 2015 2 commits
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Peter Hutterer authored
Rather than having the settings hidden in the file somewhere move them to the end so it's clear which settings we intentionally override. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 12 Jun, 2015 1 commit
-
-
Bryce Harrington authored
Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 05 Jun, 2015 1 commit
-
-
Derek Foreman authored
Some newer versions of doxygen are generating this file now, and if we don't clean it up distcheck will fail. Known to affect doxygen 1.8.8 from debian jessie. Signed-off-by:
Derek Foreman <derekf@osg.samsung.com> Reviewed-by:
Jon A. Cruz <jonc@osg.samsung.com> Tested-by:
Jon A. Cruz <jonc@osg.samsung.com>
-
- 30 Apr, 2015 1 commit
-
-
Giulio Camuffo authored
wayland-client.h and wayland-server.h include the protocol headers generated at build time. This means that a libwayland user cannot generate and use protocol code created from a wayland.xml newer than the installed libwayland, because it is not possible to only include the API header. Another use case is language bindings, which would generate their own protocol code and which only need to use the library ABI, not the generated C code. This commit adds wayland-client-core.h and wayland-server-core.h which do not include the protocol headers or any deprecated code. Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 19 Mar, 2015 1 commit
-
-
Bryce Harrington authored
A few typos in comments and protocol docs, no code changes. ./src/wayland-util.h:281: recieved ==> received ./src/wayland-client.c:115: occured ==> occurred ./src/wayland-client.c:156: occured ==> occurred ./tests/test-compositor.c:76: parallely ==> parallelly ./tests/test-compositor.c:474: recieve ==> receive ./protocol/wayland.xml:1767: layed ==> laid ./protocol/wayland.xml:2112: dependant ==> dependent ./doc/publican/sources/Client.xml:25: recieved ==> received Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Bill Spitzak <spitzak@gmail.com>
-
- 05 Feb, 2015 1 commit
-
-
Bryce Harrington authored
Signed-off-by:
Bryce Harrington <bryce@osg.samsung.com> Reviewed-by:
Jon A. Cruz <jonc@osg.samsung.com>
-
- 31 Jan, 2015 1 commit
-
-
Jon Cruz authored
Corrects an issue that would cause out-of-tree builds to fail and also a few items that would cause distcheck to fail. Signed-off-by:
Jon A. Cruz <jonc@osg.samsung.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
- 30 Jan, 2015 1 commit
-
-
Bill Spitzak authored
(This patch has been modified to apply atop current master) 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 libwayland-server! However this intro text demonstrates how to create links to the doxygen-generated text. It looks like you cannot link to methods easily as the link name contains a hash number, but links to objects and classes work. Reviewed-by:
Jon A. Cruz <jonc@osg.samsung.com> Tested-by:
Jon A. Cruz <jonc@osg.samsung.com>
-
- 29 Jan, 2015 4 commits
-
-
Rui Tiago Matos authored
Otherwise a parallel make invocation could fail due to the directory not existing. Signed-off-by:
Rui Matos <tiagomatos@gmail.com> Reviewed-by:
Jon A. Cruz <jonc@osg.samsung.com>
-
Jon Cruz authored
Change attribute separators for compatiblity with graphviz older than 2.30. Signed-off-by:
Jon A. Cruz <jonc@osg.samsung.com>
-
Jon Cruz authored
Added xslt processing to give DocBook output diagram image maps/hot-linked areas consistent with those automatically generated by Doxygen. Signed-off-by:
Jon A. Cruz <jonc@osg.samsung.com>
-
Jon Cruz authored
Switches diagrams from using static PNG images to instead generate them via simple graphviz DOT markup files. Signed-off-by:
Jon A. Cruz <jonc@osg.samsung.com>
-
- 27 Jan, 2015 3 commits
-
-
Bill Spitzak authored
This was suggested by Derek Foreman, I think it looks better Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Bill Spitzak authored
If somebody bothered to put a doxygen comment in for a macro or typedef, make it appear in the pages. This produces documentation for wl_container_of and wl_dispatcher_func_t from the _8h files. Reviewed-by:
"Jon A. Cruz" <jonc@osg.samsung.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Bill Spitzak authored
The current xslt skips all the data that is in them, so it is ok if they are included. Reviewed-by:
"Jon A. Cruz" <jonc@osg.samsung.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
- 24 Jan, 2015 3 commits
-
-
Bill Spitzak authored
Put the argument lists next to the event/message title, which I think makes it a lot easier to understand, and remove redundant "values" title from enumerations. Reviewed-by:
Derek Foreman <derekf@osg.samsung.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Bill Spitzak authored
This makes it a lot easier to figure out what is going on! Reviewed-by:
Derek Foreman <derekf@osg.samsung.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Bill Spitzak authored
Use simpara to remove the blank lines, and put the type/value and the comment into the same line. Reviewed-by:
Derek Foreman <derekf@osg.samsung.com> Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
- 19 Dec, 2014 5 commits
-
-
Bill Spitzak authored
Not actually used currently but probably a good idea. Acked-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Bill Spitzak authored
This provides targets for some of the doxygen links, and some of them have useful memberof function lists. Added some if/else statements to reduce validation errors. Tested-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Bill Spitzak authored
All the methods belonging to the class are listed with it, making it much easier to find them. I dumped all other functions into a section called "Functions" at the end. Tested-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Bill Spitzak authored
Just to make it slightly shorter. Also add a dash to the doxygen links to make them look a bit more alike. Tested-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Bill Spitzak authored
(this is different from previous version as it removes some broken and irrelevant changes to the protocol appendix). This removes all the validation errors except for missing link targets. You can test this by removing the --skip-validation from doc/publican/Makefile.am. Main changes are to avoid nesting <para> commands. I also used <simpara> in some places to reduce the amount of blank space. And the reference id's are prefixed with the chapter name to avoid collisions between libclient and libserver. PS: it would be useful if somebody who actually knows something about xslt would come up with a way to translate a block of text makde of <para> commands unchanged, but add <para> around plain text. Most of the difficulty is that doxygen's output is rather inconsistent here. Tested-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
- 18 Dec, 2014 3 commits
-
-
Bill Spitzak authored
This supersedes the previous one and fixes a typo where a slash was missing. Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Bill Spitzak authored
The repetitive parts of generating the server and client documentation are merged, so it is easier to add another doxygen chapter: add a new line to $publican_sources in publican/Makefile.am, and a list of C source files to doxygen/Makefile.am. Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
Bill Spitzak authored
Move the *_8h.xml files to a per-chapter temporary file so two chapters can be converted from doxygen at the same time. Tested with make -j 9. Reviewed-by:
Bryce Harrington <bryce@osg.samsung.com>
-
- 16 Dec, 2014 3 commits
-
-
Bill Spitzak authored
This was suggested before to make it clearer that things like wl_display are different objects in each of them. I made these into two appendixes because the protocol spec was already an appendix. Reviewed-by:
Bryce Harrington <b.harrington@samsung.com> [Bryce requested minor changes, not yet here.] Acked-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Bill Spitzak authored
It was telling it to scan the doxyfile as well as the C source, and listing some source files more than once. Reviewed-by:
Bryce Harrington <b.harrington@samsung.com> Reviewed-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-
Jon A. Cruz authored
Split out directory creation to leverage order only prerequisites. Signed-off-by:
Jon A. Cruz <jonc@osg.samsung.com> Acked-by:
Peter Hutterer <peter.hutterer@who-t.net> Acked-by:
Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-