These patches are extracted from a branch intended to refactory spice-server. The first patch is quite large and touch main loop. Tried to remove in order to merge other easier patches however the effort was quite high and after some hours I decided to give up as not worth the effort. Second patch is a fix for a bug introduced by first patch. I think is worth keeping it separate. Other patches are quite small ones. Marc-André Lureau (5): worker: use glib main loop channel: do not free rcc->stream in red_channel_client_disconnect worker: use GOnce to surround some global init in dispatcher server: move some pixmap cache code in own file server: rename red_client_cache.h to cache_item.tmpl.c server/Makefile.am | 7 +- server/cache_item.tmpl.c | 139 ++++++++ server/pixmap_cache.c | 126 +++++++ server/pixmap_cache.h | 59 ++++ server/red_channel.c | 39 ++- server/red_client_cache.h | 139 -------- server/red_client_shared_cache.h | 235 ------------- server/red_dispatcher.c | 10 +- server/red_worker.c | 714 +++++++++++++++++++++------------------ server/spice_server_utils.h | 1 + server/spice_timer_queue.c | 273 --------------- server/spice_timer_queue.h | 43 --- 12 files changed, 747 insertions(+), 1038 deletions(-) create mode 100644 server/cache_item.tmpl.c create mode 100644 server/pixmap_cache.c create mode 100644 server/pixmap_cache.h delete mode 100644 server/red_client_cache.h delete mode 100644 server/red_client_shared_cache.h delete mode 100644 server/spice_timer_queue.c delete mode 100644 server/spice_timer_queue.h -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel