[PATCH wayland 0/4] Add versioning to wl_resource and wl_global

Jason Ekstrand jason at jlekstrand.net
Thu Jun 27 18:09:17 PDT 2013


This series adds version information to wl_resource and wl_global to allow
for more correct versioning.  In order to not break ABI with current EGL
implementations, new versions of wl_display_add_global and
wl_client_add/new_object were added instead of simply adding arguments to
the old versions.

The first patch in this series is Kristian's "make resources opaque" patch
with a couple small tweaks by me.

Jason Ekstrand (3):
  Add version information to wl_message signatures.
  Add a version field to wl_resource and verify request versions before 
       calling them
  Add support for proper global versioning.

Kristian Høgsberg (1):
  server: Make wl_object and wl_resource opaque structs

 src/connection.c      |  55 +++++++++++++++++++------
 src/scanner.c         |   6 ++-
 src/wayland-client.c  |   4 +-
 src/wayland-private.h |   9 ++++
 src/wayland-server.c  | 111 +++++++++++++++++++++++++++++++++++++++++++-------
 src/wayland-server.h  |  58 ++++++++++++++------------
 src/wayland-shm.c     |  27 +++++++-----
 src/wayland-util.h    |   6 ---
 8 files changed, 204 insertions(+), 72 deletions(-)

-- 
1.8.2.1



More information about the wayland-devel mailing list