- 22 Sep, 2013 2 commits
-
-
Kristian Høgsberg authored
-
Jason Ekstrand authored
Signed-off-by:
Jason Ekstrand <jason@jlekstrand.net>
-
- 21 Sep, 2013 7 commits
-
-
Marek Ch authored
-
Marek Ch authored
Test wl_signal initialization, adding and getting listeners and emitting
-
Marek Ch authored
When memory or fd leak is detected, print how many blocks of memory were allocated and not freed, respectively how many files were opened/unclosed.
-
Chang Liu authored
The errno is set to EAGAIN when there are undispatched events, according to L1066 of wayland-client.c.
-
Aaron Faanes authored
Prefer \comment over // in code blocks for consistency's sake and keep variable definitions separated by a line from the rest of the body.
-
Aaron Faanes authored
-
Aaron Faanes authored
Since /* */ do not nest, documentation is forced to either use C++ style // comments or some other foreign notation. This commit provides an alias that allows C-style comments to be introduced in code blocks that support aliases. It should be noted that this macro will not work within \code blocks, as Doxygen commands are ignored there. Instead, Doxygen's fenced code blocks (created via ~~~) must be used for proper output. To demonstrate: ~~~ struct example_node { int id; \comment{Other members ...} }; ~~~ will roughly yield the following HTML (excluding syntax highlighting): <pre> struct example_node { int id; /* Other members ... */ }; </pre>
-
- 17 Sep, 2013 5 commits
-
-
Aaron Faanes authored
This commit creates a shared file list that is included by both the client and the server for the XML Makefile targets, as classes within util are used by both the client and the server.
-
Aaron Faanes authored
The old description was a bit vague; this commit hopefully improves describing what is returned.
-
Aaron Faanes authored
This is needed for doxygen to generate output for macro definitions, such as wl_container_of, that are contained by this file. Classes like wl_list would be documented regardless.
-
Aaron Faanes authored
This commit adds a bit more detail on the lifecycle of a signal.
-
Aaron Faanes authored
This patch takes Kristian's comments into account, adding a demonstration and giving a more thorough idea of how wl_listener is used.
-
- 11 Sep, 2013 5 commits
-
-
Chang Liu authored
./compile is a GNU autotools helper script and should be ignored by git
-
Rob Bradford authored
A version of wl_resource_for_each that is safe for iteration when items in the list are removed.
-
Aaron Faanes authored
-
Aaron Faanes authored
-
Aaron Faanes authored
This warning is unnecessary, since the pointer in question is only used for pointer arithmetic, but setting it explicitly to NULL doesn't hurt.
-
- 30 Aug, 2013 3 commits
-
-
Kristian Høgsberg authored
-
Kristian Høgsberg authored
If an interface has a destructor but no 'destroy' method we used to not emit a destroy method. Now with the fix for missing destroy requests for wl_pointer etc we need to emit the local wl_*_destroy always.
-
Kristian Høgsberg authored
We missed destroy requests in the 1.0 protocol and since the scanner generates local-only *_destroy requests in that case we can't add destroy requests without breaking protocol. A client needs to verify that the server provides a version 3 seat to use the protocol destructor so the name needs to be something else than wl_*_destroy. v2 (Rob Bradford): Rebased, bumped the protocol versions and added since attributes to the requests.
-
- 19 Aug, 2013 4 commits
-
-
Jason Ekstrand authored
This commit adds support for language bindings on the client half of the library. The idea is the same as for server-side dispatchers. Signed-off-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Jason Ekstrand authored
This commit adds support for server-side languages bindings. This is done in two ways: 1. Adding a wl_resource_set_dispatcher function that corresponds to wl_resource_set_interface. The only difference between the two functions is that the new version takes a dispatcher along with the implementation, data, and destructor. This allows for runtime calling of native language functions for callbacks instead of having to generate function pointers. 2. Adding versions of wl_resource_post_event and wl_resource_queue_event that take an array of wl_argument instead of a variable argument list. This allows for easier run-time argument conversion and removes the need for libffi-based calling of variadic functions. Signed-off-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Jason Ekstrand authored
There have been a lot of questions asked lately about versioning of interfaces and protocol objects. This addition to the documentation should clear up some of those questions. Signed-off-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Jason Ekstrand authored
The method described of alocation IDs has been wrong at least since version 1.0. This commit updates it to correspond to the way IDs are chosen in versions >= 1.0. Signed-off-by:
Jason Ekstrand <jason@jlekstrand.net>
-
- 15 Aug, 2013 1 commit
-
-
Peter Hutterer authored
When generating HTML, don't split once we're into subjections. This generates a single page for each protocol interface instead of the previous separate pages for requests, events and enums. No effect on the rest of the HTML configuration.
-
- 13 Aug, 2013 1 commit
-
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
- 12 Aug, 2013 2 commits
-
-
Rob Bradford authored
This is the mirror function to wl_proxy_add_listener and is useful inside client libraries to differentiate events on listeners for which multiple proxies have been created.
-
Rob Bradford authored
This macro allows you to correctly iterate through a list of resources handling the opaque nature of this type.
-
- 09 Aug, 2013 8 commits
-
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
Bryce W. Harrington authored
Signed-off-by:
Bryce Harrington <b.harrington@samsung.com>
-
- 08 Aug, 2013 1 commit
-
-
Tomeu Vizoso authored
-
- 07 Aug, 2013 1 commit
-
-
Peter Hutterer authored
If wayland-scanner.pc can't be found the variables end up being set irrespectively, leaving the user with odd compiler errors about missing headers, etc.
-