[Spice-devel] [spice-gtk Win32 v3 00/12] usbredir support for Windows (mingw)
Uri Lublin
uril at redhat.com
Wed Jun 27 18:46:29 PDT 2012
This patchset enables usb-redir support in spice-gtk running on Windows.
New in V3:
- A new gobject class implementing SpiceUsbDevice (was holding libusb_device).
- Does not hold references to non-opened libusb devices
- Using gobject NamedPipe from controller/
- Using gio when talking to usbclerk named pipe (was Windows api)
- When requesting usb driver installation, the caller provides the callback
- Driver uninstall added
- Skipping USB Hubs
- Fix many review comments
- more
Arnon Gilboa (1):
Windows mingw: usb: implement GUdevDevice & GUdevClient for windows
Uri Lublin (11):
namedpipe: add is_server property
NamedPipe: spice_named_pipe_new: add param to distinguish Server or
Client
spicy: more informative presentation of usb devices in menu
Add implementation of SpiceUsbDevice as a gobject (new files
spice-usb-device*)
Make SpiceUsbDevice a gobject, instead of a box for libusb_device
Windows mingw: usb: configure.ac: do not require GUDEV for USBREDIR
Windows mingw: usb: Dynamically install a libusb driver for USB
devices
usb-device-manager: warn if a device to remove was not found
win-usb-driver-install: add capability to remove (uninstall) a win
usb driver
Win32/mingw: usb-device-manager: uninstall win usb driver upon device
disconnect
Win32/mingw: win-usb-dev: skip hubs
configure.ac | 15 +-
gtk/Makefile.am | 30 ++
gtk/channel-usbredir-priv.h | 4 +-
gtk/channel-usbredir.c | 46 ++-
gtk/controller/namedpipe.c | 41 ++-
gtk/controller/namedpipe.h | 4 +-
gtk/controller/spice-controller-listener.c | 2 +-
gtk/controller/spice-foreign-menu-listener.c | 2 +-
gtk/map-file | 7 +
gtk/spice-usb-device-priv.h | 38 ++
gtk/spice-usb-device.c | 124 ++++++
gtk/spice-usb-device.h | 57 +++
gtk/spicy.c | 2 +-
gtk/usb-device-manager-priv.h | 3 +
gtk/usb-device-manager.c | 380 +++++++++++++++---
gtk/usb-device-manager.h | 5 +-
gtk/usb-device-widget.c | 9 +-
gtk/win-usb-clerk.h | 35 ++
gtk/win-usb-dev.c | 537 ++++++++++++++++++++++++++
gtk/win-usb-dev.h | 112 ++++++
gtk/win-usb-driver-install.c | 406 +++++++++++++++++++
gtk/win-usb-driver-install.h | 104 +++++
spice-common | 2 +-
23 files changed, 1855 insertions(+), 110 deletions(-)
create mode 100644 gtk/spice-usb-device-priv.h
create mode 100644 gtk/spice-usb-device.c
create mode 100644 gtk/spice-usb-device.h
create mode 100644 gtk/win-usb-clerk.h
create mode 100644 gtk/win-usb-dev.c
create mode 100644 gtk/win-usb-dev.h
create mode 100644 gtk/win-usb-driver-install.c
create mode 100644 gtk/win-usb-driver-install.h
--
1.7.7.6
More information about the Spice-devel
mailing list