[PATCH wayland 0/3] Add a debug handler for printing protocol

Jason Ekstrand jason at jlekstrand.net
Wed Dec 18 18:56:17 PST 2013


This series adds a wl_debug function and associated handler that can be set
by the uesr.  The first patch is merely a rename to prepare for the third.
The second adds a useful helper function used by the third.

Jason Ekstrand (3):
  Rename wl_debug to debug_server/client
  Add a wl_array_printf function for easy string formatting
  Add a debug handler and use it to print out protocol debug messages

 src/connection.c      | 54 +++++++++++++++++++++++++---------------------
 src/wayland-client.c  | 16 +++++++++-----
 src/wayland-client.h  |  1 +
 src/wayland-private.h |  2 ++
 src/wayland-server.c  | 16 +++++++++-----
 src/wayland-server.h  |  1 +
 src/wayland-util.c    | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/wayland-util.h    |  1 +
 8 files changed, 117 insertions(+), 34 deletions(-)

-- 
1.8.4.2



More information about the wayland-devel mailing list