[Spice-devel] [PATCH spice-server v3 0/3] Convert RedChannel to GObject

Frediano Ziglio fziglio at redhat.com
Fri Oct 14 14:37:38 UTC 2016


Changes since v2:
- merged some patches;
- rebased on master.

Changes sinced v1:
 - pushed ACKED bugfix patch to master and dropped from this series
 - dropped InputsChannelPrivate patch
 - Removed MainChannelPrivate struct and reduced that patch to simply
   encapsulate the data better
 - moved "final" gobject structs (cursor, inputs, main channels) to the .c file
   to avoid exposing in the header. This also removes the need for a separate
   private struct.

Jonathon Jongsma (3):
  Add CommonGraphicsChannelPrivate struct
  Improve MainChannel encapsulation
  Convert RedChannel hierarchy to GObject

 server/Makefile.am                  |   2 +
 server/common-graphics-channel.c    | 139 ++++++--
 server/common-graphics-channel.h    |  56 ++--
 server/cursor-channel-client.c      |   2 +-
 server/cursor-channel.c             | 143 ++++----
 server/cursor-channel.h             |  20 +-
 server/dcc-send.c                   |  13 +-
 server/dcc.c                        |  10 +-
 server/dcc.h                        |   2 +-
 server/display-channel-private.h    |  76 +++++
 server/display-channel.c            | 238 ++++++++++---
 server/display-channel.h            |  98 ++----
 server/dummy-channel-client.c       |  17 +-
 server/dummy-channel.c              |  49 +++
 server/dummy-channel.h              |  60 ++++
 server/inputs-channel.c             | 140 +++++---
 server/inputs-channel.h             |  20 +-
 server/main-channel-client.c        |  62 ++--
 server/main-channel-client.h        |   5 +-
 server/main-channel.c               | 168 +++++++---
 server/main-channel.h               |  35 +-
 server/red-channel-client-private.h |  19 ++
 server/red-channel-client.c         | 179 ++++++----
 server/red-channel-client.h         |   6 +-
 server/red-channel.c                | 649 ++++++++++++++++++++++++------------
 server/red-channel.h                | 183 +++++-----
 server/red-parse-qxl.h              |   2 +
 server/red-qxl.c                    |  21 +-
 server/red-replay-qxl.c             |   2 +-
 server/red-worker.c                 |  37 +-
 server/red-worker.h                 |   2 -
 server/reds-private.h               |   3 +-
 server/reds.c                       |  66 ++--
 server/smartcard.c                  | 138 ++++++--
 server/sound.c                      |  44 ++-
 server/spicevmc.c                   | 450 +++++++++++++++++++------
 server/stream.c                     |   4 +-
 server/stream.h                     |   3 -
 38 files changed, 2162 insertions(+), 1001 deletions(-)
 create mode 100644 server/display-channel-private.h
 create mode 100644 server/dummy-channel.c
 create mode 100644 server/dummy-channel.h

-- 
2.7.4



More information about the Spice-devel mailing list