[Spice-devel] [PATCH v4 0/8] GMainLoop integration

Frediano Ziglio fziglio at redhat.com
Mon Oct 16 14:38:07 UTC 2017


Changes since v3:
- remove GObject requirements, was not improving after
  making udcsc independent.

Changes since v2:
- hide "-y" command line option in help
- remove 1 second delay introduced in previous versions,
  when starting vdagent
- remove all GSources on VDAgent finalization

--

Major changes since v1:
- restore original command line options behaviour
  (note that long names for all options had to be introduced,
   as it is mandatory in GOptionEntry)
- rename SpiceVDAgent object to VDAgent
  (related function/struct/macro names have changed too)
- move GIOChannel code concerning udscs_connection to udscs.c
- remove udscs_client_fill_fds(), udscs_client_handle_fds()

--

Hi,
this patchset is supposed to be the start of tighter
GLib and GTK+ integration in spice vdagent.
The goal for the future is to replace X11-specific code
with GTK/GLib.

Main changes:
- Use GLib's command line parser
- Add SpiceVDAgent GObject
- Replace main while-loop with GMainLoop

Known limitations:
- no SIGQUIT handeling

Frediano Ziglio (1):
  vdagent: Incapsulate iteration state into a VDAgent structure

Jakub Janků (3):
  Bump GLib version to 2.34
  vdagent: Use GMainLoop
  udscs: remove client support for select()

Victor Toso (4):
  vdagent: move file xfer initialization to a function
  vdagent: move file xfer finalize to a function
  vdagent: Use glib's commandline parser
  vdagent: small refactor on udscs setup function

 configure.ac          |   2 +-
 src/udscs.c           |  98 ++++++++----
 src/udscs.h           |  16 --
 src/vdagent/vdagent.c | 426 ++++++++++++++++++++++++++++++--------------------
 4 files changed, 325 insertions(+), 217 deletions(-)

-- 
2.13.6



More information about the Spice-devel mailing list