[Spice-devel] [PATCH vdagent v2 0/8] GMainLoop integration

Jakub Janků janku.jakub.jj at gmail.com
Fri Sep 29 16:43:21 UTC 2017


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

Cheers,
  Jakub Janků


Jakub Janků (4):
  Bump GLib version to 2.34
  vdagent: Introduce SpiceVDAgent object
  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

 Makefile.am           |   3 +
 configure.ac          |   3 +-
 src/udscs.c           |  98 ++++++++----
 src/udscs.h           |  16 --
 src/vdagent/vdagent.c | 420 +++++++++++++++++++++++++++++---------------------
 src/vdagent/vdagent.h |  58 +++++++
 6 files changed, 376 insertions(+), 222 deletions(-)
 create mode 100644 src/vdagent/vdagent.h

-- 
2.13.6



More information about the Spice-devel mailing list