[PATCH 00/24] Backported some patches from refactory branches (1st Dec)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes:
- rebased on current master;
- removed merged patches;
- split and change "display: move more logic in add_drawable()";
- split "misc cleanups";
- added some patches.

Some patches on discussion were not posted.

I added all patches that was missing from first part of refactory.

Looks longer than usually bad many patches are already acked.


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 (8):
  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
  worker: change red_worker_new_channel result to CommonChannel*
  dcc: reduce statement wrapping

Marc-André Lureau (12):
  display: replace some dubious asserts
  worker: move red_process_surface
  display: add update_compression() method
  display: rename detach_streams_behind
  server: rename files
  worker: merge handle_new_display_channel
  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 (2):
  red_worker: make dcc_clear_surface_drawables_from_pipe declaration
    consistent with definition
  red_channel: cleanup of red_channel_client blocking methods

 NEWS                                               |   2 +-
 server/Makefile.am                                 |  64 +-
 server/{reds_sw_canvas.c => canvas.c}              |  10 +-
 server/{reds_sw_canvas.h => canvas.h}              |   9 +-
 server/{char_device.c => char-device.c}            |   2 +-
 server/{char_device.h => char-device.h}            |   2 +-
 server/cursor-channel.c                            |   2 +-
 server/dcc-encoders.h                              |   9 +-
 server/dcc-send.c                                  |   8 +-
 server/dcc.h                                       |   3 +-
 server/dispatcher.c                                |  25 +
 server/dispatcher.h                                |   5 +-
 server/display-channel.c                           | 351 ++++++++-
 server/display-channel.h                           |  43 +-
 ...glz_encoder_dictionary.c => glz-encoder-dict.c} |   5 +-
 ...glz_encoder_dictionary.h => glz-encoder-dict.h} |   4 +-
 ...r_dictionary_protected.h => glz-encoder-priv.h} |  21 +-
 server/{glz_encoder.c => glz-encoder.c}            |   4 +-
 server/{glz_encoder.h => glz-encoder.h}            |  25 +-
 server/glz_encoder_config.h                        |  59 --
 server/{spice_image_cache.c => image-cache.c}      |   2 +-
 server/{spice_image_cache.h => image-cache.h}      |   2 +-
 server/{inputs_channel.c => inputs-channel.c}      |   6 +-
 server/{inputs_channel.h => inputs-channel.h}      |   0
 server/{jpeg_encoder.c => jpeg-encoder.c}          |   3 +-
 server/{jpeg_encoder.h => jpeg-encoder.h}          |   0
 server/{main_channel.c => main-channel.c}          |   6 +-
 server/{main_channel.h => main-channel.h}          |   0
 server/{main_dispatcher.c => main-dispatcher.c}    |   2 +-
 server/{main_dispatcher.h => main-dispatcher.h}    |   0
 server/{red_memslots.c => memslot.c}               |  33 +-
 server/{red_memslots.h => memslot.h}               |  39 +-
 .../{migration_protocol.h => migration-protocol.h} |   2 +-
 server/{mjpeg_encoder.c => mjpeg-encoder.c}        |   2 +-
 server/{mjpeg_encoder.h => mjpeg-encoder.h}        |   0
 server/red_channel.c                               |  45 +-
 server/red_common.h                                |  17 +-
 server/red_dispatcher.c                            |   2 +-
 server/red_dispatcher.h                            |   2 -
 server/red_parse_qxl.c                             |  62 +-
 server/red_parse_qxl.h                             |   2 +-
 server/red_record_qxl.c                            |  62 +-
 server/red_record_qxl.h                            |   2 +-
 server/red_replay_qxl.c                            |   2 +-
 server/red_worker.c                                | 838 ++++++++-------------
 server/red_worker.h                                |   7 +-
 server/reds.c                                      |  15 +-
 server/reds.h                                      |   5 +-
 server/reds_stream.c                               |   2 +-
 server/smartcard.c                                 |   4 +-
 server/{snd_worker.c => sound.c}                   |   6 +-
 server/{snd_worker.h => sound.h}                   |   0
 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_timer_queue.c                         | 273 -------
 server/spice_timer_queue.h                         |  43 --
 server/spicevmc.c                                  |   4 +-
 server/stream.c                                    |   2 +-
 server/stream.h                                    |   8 +-
 server/tests/test_display_base.c                   |   2 +-
 server/utils.h                                     |   6 +-
 server/{zlib_encoder.c => zlib-encoder.c}          |   2 +-
 server/{zlib_encoder.h => zlib-encoder.h}          |   0
 65 files changed, 1138 insertions(+), 1398 deletions(-)
 rename server/{reds_sw_canvas.c => canvas.c} (84%)
 rename server/{reds_sw_canvas.h => canvas.h} (81%)
 rename server/{char_device.c => char-device.c} (99%)
 rename server/{char_device.h => char-device.h} (99%)
 rename server/{glz_encoder_dictionary.c => glz-encoder-dict.c} (99%)
 rename server/{glz_encoder_dictionary.h => glz-encoder-dict.h} (96%)
 rename server/{glz_encoder_dictionary_protected.h => glz-encoder-priv.h} (95%)
 rename server/{glz_encoder.c => glz-encoder.c} (99%)
 rename server/{glz_encoder.h => glz-encoder.h} (67%)
 delete mode 100644 server/glz_encoder_config.h
 rename server/{spice_image_cache.c => image-cache.c} (99%)
 rename server/{spice_image_cache.h => image-cache.h} (97%)
 rename server/{inputs_channel.c => inputs-channel.c} (99%)
 rename server/{inputs_channel.h => inputs-channel.h} (100%)
 rename server/{jpeg_encoder.c => jpeg-encoder.c} (99%)
 rename server/{jpeg_encoder.h => jpeg-encoder.h} (100%)
 rename server/{main_channel.c => main-channel.c} (99%)
 rename server/{main_channel.h => main-channel.h} (100%)
 rename server/{main_dispatcher.c => main-dispatcher.c} (99%)
 rename server/{main_dispatcher.h => main-dispatcher.h} (100%)
 rename server/{red_memslots.c => memslot.c} (84%)
 rename server/{red_memslots.h => memslot.h} (51%)
 rename server/{migration_protocol.h => migration-protocol.h} (99%)
 rename server/{mjpeg_encoder.c => mjpeg-encoder.c} (99%)
 rename server/{mjpeg_encoder.h => mjpeg-encoder.h} (100%)
 rename server/{snd_worker.c => sound.c} (99%)
 rename server/{snd_worker.h => sound.h} (100%)
 delete mode 100644 server/spice_bitmap_utils.c
 delete mode 100644 server/spice_bitmap_utils.h
 delete mode 100644 server/spice_timer_queue.c
 delete mode 100644 server/spice_timer_queue.h
 rename server/{zlib_encoder.c => zlib-encoder.c} (99%)
 rename server/{zlib_encoder.h => zlib-encoder.h} (100%)

-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]