Backported patches from refactory branch (May 3)

Submitted by Frediano Ziglio on May 3, 2016, 8 p.m.

Details

Reviewer None
Submitted May 3, 2016, 8 p.m.
Last Updated May 8, 2016, 9:34 a.m.
Revision 9

Cover Letter(s)

Revision 1
      Several patches were merged, a couple were dropped or delayed to later.

Jonathon Jongsma (14):
  Add red_client_seamless_migration_done_for_channel()
  Move MainChannelClient to separate file
  Move InputsChannelClient to a separate file
  Replace RedChannel::clients with GList
  rename red_channel_peer_ function to red_channel_client_
  Replace RedClient::channels with GList
  Limit direct access to DisplayChannelClient
  Add missing include to red-pipe-item.h
  Move CommonGraphicsChannelClient to a separate file
  Move RedChannelClient to separate file
  Move CursorChannelClient to separate file
  Generate GTypes for spice-server enums
  gobject-ify RedChannelClient heirarchy
  Convert RedChannel heirarchy to GObject

 configure.ac                                    |    4 +-
 server/Makefile.am                              |   53 +
 server/cache-item.tmpl.c                        |   40 +-
 server/common-graphics-channel-client-private.h |   29 +
 server/common-graphics-channel-client.c         |  133 ++
 server/common-graphics-channel-client.h         |   63 +
 server/common-graphics-channel.c                |  181 ++
 server/common-graphics-channel.h                |   98 +
 server/cursor-channel-client.c                  |  152 ++
 server/cursor-channel-client.h                  |   72 +
 server/cursor-channel.c                         |  244 +--
 server/cursor-channel.h                         |   46 +-
 server/dcc-encoders.c                           |  169 +-
 server/dcc-encoders.h                           |    6 +-
 server/dcc-private.h                            |   87 +
 server/dcc-send.c                               |  269 +--
 server/dcc.c                                    |  536 +++--
 server/dcc.h                                    |  119 +-
 server/display-channel-private.h                |   81 +
 server/display-channel.c                        |  808 +++++---
 server/display-channel.h                        |  172 +-
 server/dummy-channel-client.c                   |  164 ++
 server/dummy-channel-client.h                   |   58 +
 server/dummy-channel.c                          |   58 +
 server/dummy-channel.h                          |   61 +
 server/image-cache.h                            |    1 -
 server/inputs-channel-client.c                  |  123 ++
 server/inputs-channel-client.h                  |   71 +
 server/inputs-channel.c                         |  347 ++--
 server/inputs-channel.h                         |   43 +-
 server/main-channel-client.c                    |  673 +++++++
 server/main-channel-client.h                    |  192 ++
 server/main-channel.c                           |  873 ++------
 server/main-channel.h                           |   71 +-
 server/red-channel-client-private.h             |   94 +
 server/red-channel-client.c                     | 1847 +++++++++++++++++
 server/red-channel-client.h                     |  317 +++
 server/red-channel.c                            | 2462 ++++++-----------------
 server/red-channel.h                            |  481 +----
 server/red-parse-qxl.h                          |    2 +
 server/red-pipe-item.h                          |    1 +
 server/red-qxl.c                                |   33 +-
 server/red-record-qxl.c                         |    1 -
 server/red-replay-qxl.c                         |    2 +-
 server/red-worker.c                             |  232 +--
 server/red-worker.h                             |   86 +-
 server/reds-private.h                           |    3 +-
 server/reds.c                                   |   99 +-
 server/reds.h                                   |    1 +
 server/smartcard-channel-client.c               |  417 ++++
 server/smartcard-channel-client.h               |  113 ++
 server/smartcard.c                              |  496 ++---
 server/smartcard.h                              |   21 +
 server/sound.c                                  |   78 +-
 server/spice-server.h                           |   16 +
 server/spicevmc.c                               |  357 +++-
 server/stream.c                                 |  146 +-
 server/stream.h                                 |    5 +-
 server/tests/test_display_base.c                |    1 +
 59 files changed, 8322 insertions(+), 5086 deletions(-)
 create mode 100644 server/common-graphics-channel-client-private.h
 create mode 100644 server/common-graphics-channel-client.c
 create mode 100644 server/common-graphics-channel-client.h
 create mode 100644 server/common-graphics-channel.c
 create mode 100644 server/common-graphics-channel.h
 create mode 100644 server/cursor-channel-client.c
 create mode 100644 server/cursor-channel-client.h
 create mode 100644 server/dcc-private.h
 create mode 100644 server/display-channel-private.h
 create mode 100644 server/dummy-channel-client.c
 create mode 100644 server/dummy-channel-client.h
 create mode 100644 server/dummy-channel.c
 create mode 100644 server/dummy-channel.h
 create mode 100644 server/inputs-channel-client.c
 create mode 100644 server/inputs-channel-client.h
 create mode 100644 server/main-channel-client.c
 create mode 100644 server/main-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
 create mode 100644 server/smartcard-channel-client.c
 create mode 100644 server/smartcard-channel-client.h
    

Revisions