[Spice-devel] [PATCH 00/22] Backported some patches from refactory branches (2st Dec)

Frediano Ziglio fziglio at redhat.com
Wed Dec 2 08:19:43 PST 2015


Changes:
- removed merged patches;
- split and change "server: rename files".

No added patches.

I'm sending all patches as some complicated rebase was done.

Alon Levy (2):
  tests: test_display_base: use a faster wakeup time to easily test
    multiple client blocking
  server: multiple clients works ok if we limit the pipe to the slowest
    client

Frediano Ziglio (11):
  worker: move get_drawable to display-channel.c
  display: move more logic in display_channel_get_drawable()
  worker: do not use dynamic memory for RedSurfaceCmd
  display: make get_drawable symmetric to display_channel_drawable_unref
  worker: move red_process_draw to display-channel.c
  display: misc style and rename changes
  memslot: prefix memslot function with memslot_
  memslot: change some spice_assert to spice_return_if_fail
  server: rename files
  worker: change red_worker_new_channel result to CommonChannel*
  dcc: reduce statement wrapping

Marc-André Lureau (8):
  display: replace some dubious asserts
  server: rename files
  worker: rename process_commands process_display
  worker: use glib main loop
  channel: do not free rcc->stream in red_channel_client_disconnect
  worker: make sure we dispatch after releasing items
  server: move dispatcher GSource handling code
  server/red_worker: add env SPICE_NOWAIT_CLIENTS

Yonit Halperin (1):
  red_channel: cleanup of red_channel_client blocking methods

 NEWS                                      |    2 +-
 server/Makefile.am                        |   63 +-
 server/char-device.c                      | 1035 ++++++++++++++++++
 server/char-device.h                      |  216 ++++
 server/char_device.c                      | 1035 ------------------
 server/char_device.h                      |  216 ----
 server/cursor-channel.c                   |    2 +-
 server/dcc-encoders.h                     |    9 +-
 server/dcc-send.c                         |    8 +-
 server/dispatcher.c                       |   25 +
 server/dispatcher.h                       |    5 +-
 server/display-channel.c                  |  273 ++++-
 server/display-channel.h                  |   37 +-
 server/glz-encoder-dict.c                 |  634 +++++++++++
 server/glz-encoder-dict.h                 |   71 ++
 server/glz-encoder-priv.h                 |  200 ++++
 server/glz-encoder.c                      |  311 ++++++
 server/glz-encoder.h                      |   73 ++
 server/glz_encoder.c                      |  311 ------
 server/glz_encoder.h                      |   55 -
 server/glz_encoder_config.h               |   59 --
 server/glz_encoder_dictionary.c           |  633 -----------
 server/glz_encoder_dictionary.h           |   69 --
 server/glz_encoder_dictionary_protected.h |  186 ----
 server/image-cache.c                      |  214 ++++
 server/image-cache.h                      |   65 ++
 server/inputs-channel.c                   |  679 ++++++++++++
 server/inputs-channel.h                   |   38 +
 server/inputs_channel.c                   |  679 ------------
 server/inputs_channel.h                   |   38 -
 server/jpeg-encoder.c                     |  248 +++++
 server/jpeg-encoder.h                     |   61 ++
 server/jpeg_encoder.c                     |  248 -----
 server/jpeg_encoder.h                     |   61 --
 server/main-channel.c                     | 1345 ++++++++++++++++++++++++
 server/main-channel.h                     |  103 ++
 server/main-dispatcher.c                  |  217 ++++
 server/main-dispatcher.h                  |   36 +
 server/main_channel.c                     | 1345 ------------------------
 server/main_channel.h                     |  103 --
 server/main_dispatcher.c                  |  217 ----
 server/main_dispatcher.h                  |   36 -
 server/memslot.c                          |  183 ++++
 server/memslot.h                          |   72 ++
 server/migration-protocol.h               |  213 ++++
 server/migration_protocol.h               |  213 ----
 server/mjpeg-encoder.c                    | 1375 ++++++++++++++++++++++++
 server/mjpeg-encoder.h                    |  100 ++
 server/mjpeg_encoder.c                    | 1375 ------------------------
 server/mjpeg_encoder.h                    |  100 --
 server/red_channel.c                      |   45 +-
 server/red_common.h                       |   17 +-
 server/red_dispatcher.c                   |    2 +-
 server/red_dispatcher.h                   |    2 -
 server/red_memslots.c                     |  184 ----
 server/red_memslots.h                     |   72 --
 server/red_parse_qxl.c                    |   72 +-
 server/red_parse_qxl.h                    |    2 +-
 server/red_record_qxl.c                   |  106 +-
 server/red_record_qxl.h                   |    2 +-
 server/red_replay_qxl.c                   |    2 +-
 server/red_worker.c                       |  741 ++++++-------
 server/red_worker.h                       |    7 +-
 server/reds.c                             |   15 +-
 server/reds.h                             |    6 +-
 server/reds_stream.c                      |    2 +-
 server/reds_sw_canvas.c                   |   26 -
 server/reds_sw_canvas.h                   |   24 -
 server/smartcard.c                        |    4 +-
 server/snd_worker.c                       | 1625 -----------------------------
 server/snd_worker.h                       |   33 -
 server/sound.c                            | 1625 +++++++++++++++++++++++++++++
 server/sound.h                            |   33 +
 server/spice-bitmap-utils.c               |  162 +++
 server/spice-bitmap-utils.h               |   15 +-
 server/spice_bitmap_utils.c               |  188 ----
 server/spice_bitmap_utils.h               |    8 -
 server/spice_image_cache.c                |  214 ----
 server/spice_image_cache.h                |   65 --
 server/spice_timer_queue.c                |  273 -----
 server/spice_timer_queue.h                |   43 -
 server/spicevmc.c                         |    4 +-
 server/stream.h                           |    4 +-
 server/sw-canvas.c                        |   27 +
 server/sw-canvas.h                        |   27 +
 server/tests/test_display_base.c          |    2 +-
 server/utils.h                            |    6 +-
 server/zlib-encoder.c                     |  125 +++
 server/zlib-encoder.h                     |   47 +
 server/zlib_encoder.c                     |  125 ---
 server/zlib_encoder.h                     |   47 -
 91 files changed, 10332 insertions(+), 10589 deletions(-)
 create mode 100644 server/char-device.c
 create mode 100644 server/char-device.h
 delete mode 100644 server/char_device.c
 delete mode 100644 server/char_device.h
 create mode 100644 server/glz-encoder-dict.c
 create mode 100644 server/glz-encoder-dict.h
 create mode 100644 server/glz-encoder-priv.h
 create mode 100644 server/glz-encoder.c
 create mode 100644 server/glz-encoder.h
 delete mode 100644 server/glz_encoder.c
 delete mode 100644 server/glz_encoder.h
 delete mode 100644 server/glz_encoder_config.h
 delete mode 100644 server/glz_encoder_dictionary.c
 delete mode 100644 server/glz_encoder_dictionary.h
 delete mode 100644 server/glz_encoder_dictionary_protected.h
 create mode 100644 server/image-cache.c
 create mode 100644 server/image-cache.h
 create mode 100644 server/inputs-channel.c
 create mode 100644 server/inputs-channel.h
 delete mode 100644 server/inputs_channel.c
 delete mode 100644 server/inputs_channel.h
 create mode 100644 server/jpeg-encoder.c
 create mode 100644 server/jpeg-encoder.h
 delete mode 100644 server/jpeg_encoder.c
 delete mode 100644 server/jpeg_encoder.h
 create mode 100644 server/main-channel.c
 create mode 100644 server/main-channel.h
 create mode 100644 server/main-dispatcher.c
 create mode 100644 server/main-dispatcher.h
 delete mode 100644 server/main_channel.c
 delete mode 100644 server/main_channel.h
 delete mode 100644 server/main_dispatcher.c
 delete mode 100644 server/main_dispatcher.h
 create mode 100644 server/memslot.c
 create mode 100644 server/memslot.h
 create mode 100644 server/migration-protocol.h
 delete mode 100644 server/migration_protocol.h
 create mode 100644 server/mjpeg-encoder.c
 create mode 100644 server/mjpeg-encoder.h
 delete mode 100644 server/mjpeg_encoder.c
 delete mode 100644 server/mjpeg_encoder.h
 delete mode 100644 server/red_memslots.c
 delete mode 100644 server/red_memslots.h
 delete mode 100644 server/reds_sw_canvas.c
 delete mode 100644 server/reds_sw_canvas.h
 delete mode 100644 server/snd_worker.c
 delete mode 100644 server/snd_worker.h
 create mode 100644 server/sound.c
 create mode 100644 server/sound.h
 delete mode 100644 server/spice_bitmap_utils.c
 delete mode 100644 server/spice_bitmap_utils.h
 delete mode 100644 server/spice_image_cache.c
 delete mode 100644 server/spice_image_cache.h
 delete mode 100644 server/spice_timer_queue.c
 delete mode 100644 server/spice_timer_queue.h
 create mode 100644 server/sw-canvas.c
 create mode 100644 server/sw-canvas.h
 create mode 100644 server/zlib-encoder.c
 create mode 100644 server/zlib-encoder.h
 delete mode 100644 server/zlib_encoder.c
 delete mode 100644 server/zlib_encoder.h

-- 
2.4.3



More information about the Spice-devel mailing list