[Spice-devel] [PATCH v2 0/5] Convert RedChannel to GObject
Jonathon Jongsma
jjongsma at redhat.com
Thu Oct 13 21:49:11 UTC 2016
Changes sinced last series
- 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 (5):
Move CommonGraphicsChannel to a new file
Use macros for casting Channel types
Add CommonGraphicsChannelPrivate struct
Improve MainChannel encapsulation
Convert RedChannel hierarchy to GObject
server/Makefile.am | 4 +
server/common-graphics-channel.c | 202 +++++++++++
server/common-graphics-channel.h | 107 ++++++
server/cursor-channel-client.c | 3 +-
server/cursor-channel.c | 153 +++++----
server/cursor-channel.h | 26 +-
server/dcc-send.c | 13 +-
server/dcc.c | 10 +-
server/dcc.h | 2 +-
server/display-channel-private.h | 76 +++++
server/display-channel.c | 243 +++++++++++---
server/display-channel.h | 104 +++---
server/dummy-channel-client.c | 17 +-
server/dummy-channel.c | 49 +++
server/dummy-channel.h | 60 ++++
server/inputs-channel-client.c | 2 +-
server/inputs-channel.c | 154 +++++----
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 | 152 ++-------
server/red-worker.h | 65 ----
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 -
39 files changed, 2366 insertions(+), 1135 deletions(-)
create mode 100644 server/common-graphics-channel.c
create mode 100644 server/common-graphics-channel.h
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