[Spice-devel] [PATCH 00/11] Backported patches from refactory (Aug 9)

Jonathon Jongsma jjongsma at redhat.com
Tue Aug 9 15:32:54 UTC 2016


The first two patches are from the last series. They're quite large, but should
be simply mechanical changes (splitting code to a separate file). These changes
are mostly preparation for the major GObject conversion.

Jonathon Jongsma (11):
  Move RedChannelClient to separate file
  Move CursorChannelClient to separate file
  Generate GTypes for spice-server enums
  Add SmartCardChannelClientPrivate struct
  Add InputsChannelClientPrivate struct
  Add MainChannelClientPrivate struct
  Add RedChannelClientPrivate struct
  Add DisplayChannelClientPrivate and CursorChannelPrivate structs
  Rename RCC_TO_DCC() to DISPLAY_CHANNEL_CLIENT()
  Use CURSOR_CHANNEL_CLIENT() macro instead of RCC_TO_CCC()
  Use RED_CHANNEL_CLIENT() macro for casting

 server/Makefile.am                  |   36 +
 server/cache-item.tmpl.c            |   40 +-
 server/cursor-channel-client.c      |  126 +++
 server/cursor-channel-client.h      |   50 +
 server/cursor-channel.c             |  102 +-
 server/cursor-channel.h             |   12 +-
 server/dcc-private.h                |   11 +-
 server/dcc-send.c                   |  222 ++---
 server/dcc.c                        |  200 ++--
 server/dcc.h                        |    4 +-
 server/display-channel.c            |    7 +-
 server/inputs-channel-client.c      |   37 +-
 server/inputs-channel.c             |   15 +-
 server/main-channel-client.c        |  273 +++---
 server/main-channel-client.h        |    2 -
 server/main-channel.c               |   39 +-
 server/red-channel-client-private.h |   87 ++
 server/red-channel-client.c         | 1635 +++++++++++++++++++++++++++++++
 server/red-channel-client.h         |  177 ++++
 server/red-channel.c                | 1835 +++--------------------------------
 server/red-channel.h                |  185 +---
 server/red-qxl.c                    |   24 +-
 server/red-worker.c                 |    4 +-
 server/reds.c                       |   31 +-
 server/smartcard.c                  |  100 +-
 server/sound.c                      |   40 +-
 server/spicevmc.c                   |   35 +-
 server/stream.c                     |   11 +-
 28 files changed, 2874 insertions(+), 2466 deletions(-)
 create mode 100644 server/cursor-channel-client.c
 create mode 100644 server/cursor-channel-client.h
 create mode 100644 server/red-channel-client-private.h
 create mode 100644 server/red-channel-client.c
 create mode 100644 server/red-channel-client.h

-- 
2.7.4



More information about the Spice-devel mailing list