1. 28 Jan, 2022 3 commits
  2. 24 Dec, 2021 1 commit
    • iordan iordanov's avatar
      Implemented the ability to allocate SpiceUsbDevice instances · 5b899dbf
      iordan iordanov authored
      by passing an open file descriptor in order to support the modern
      Android USB device permissioning scheme.
      During the process, a handle obtained by a call to
      libusb_wrap_sys_device() is stored in the SpiceUsbDevice instance.
      A call to libusb_open() is skipped if there is already a handle
      present in the SpiceUsbDevice instance.
      Finally, on Android, the option LIBUSB_OPTION_NO_DEVICE_DISCOVERY
      must be set prior to the call to libusb_init() as per libusb
  3. 23 Aug, 2021 1 commit
  4. 20 Aug, 2021 2 commits
  5. 28 Jun, 2021 2 commits
  6. 22 Apr, 2021 1 commit
  7. 17 Apr, 2021 1 commit
    • Bastien Orivel's avatar
      Fix parsing the usbids file · 2fca24cc
      Bastien Orivel authored and Frediano Ziglio's avatar Frediano Ziglio committed
      This fixes a regression from 032ca202
      where a check on whether the usbids file contained anything but the
      wrong variable was checked. This is visible on windows when trying to
      share a USB device as devices won't get named based on the usbids file.
      Same thing on linux if we can't read the name from the sysfs.
      `usbids_vendor_info` is only initialized to something not NULL after it
      was checked to be different from NULL which is obviously wrong. The
      patch wanted to check that the `usbids_vendor_count` was different from
      0 instead.
      Acked-by: Frediano Ziglio's avatarFrediano Ziglio <freddy77@gmail.com>
  8. 13 Apr, 2021 3 commits
  9. 10 Apr, 2021 1 commit
    • Paul Donohue's avatar
      spice-widget: add spice_display_keyboard_ungrab() · ea81b97f
      Paul Donohue authored
      Internally, spice-widget has separate try_keyboard_ungrab() and
      try_mouse_ungrab() functions to ungrab the keyboard and mouse
      respectively.  Both of these functions are called when the grab
      sequence is pressed.
      spice-widget exposes try_mouse_ungrab() as spice_display_mouse_ungrab()
      to allow callers to explicitly ungrab.  However, it does not currently
      expose try_keyboard_ungrab(), so callers can only ungrab the mouse and
      cannot ungrab the keyboard.
      Correct this by exposing try_keyboard_ungrab() as
      Fixes #73
  10. 09 Apr, 2021 5 commits
  11. 19 Feb, 2021 2 commits
    • Jakub Janků's avatar
      gstaudio: remove record bus watch to release GstBus · 0ad07adc
      Jakub Janků authored
      The GSource added by gst_bus_add_watch() apparently holds
      a reference to the GstBus. This can be seen by running
      GST_DEBUG="GST_TRACER:7" GST_TRACERS="leaks" spicy:
      GST_TRACER :0:: object-alive, type-name=(string)GstBus, address=(gpointer)0x1e76db0, description=(string)<bus6>, ref-count=(uint)1, trace=(string);
      (note that gst_deinit() must be called for this output to be shown,
       which doesn't happen in virt-viewer; see 0381e621
      To fix this, save the source's id returned by gst_bus_add_watch()
      and remove the source when the pipe is unreferenced.
      Signed-off-by: default avatarJakub Janků <jjanku@redhat.com>
    • Jakub Janků's avatar
      spicy: destroy all windows on disconnection · 5f65dccb
      Jakub Janků authored
      SpiceWidget holds a strong reference on the SpiceSession.
      If the windows are not destroyed, the session isn't freed either.
      session_disconnect() does destroy all the channels, but other
      objects aren't released until the session's dispose
      (audio manager, usb manager, webdav).
      Signed-off-by: default avatarJakub Janků <jjanku@redhat.com>
  12. 17 Feb, 2021 1 commit
  13. 29 Jan, 2021 2 commits
  14. 01 Dec, 2020 4 commits
  15. 23 Nov, 2020 5 commits
  16. 11 Nov, 2020 1 commit
  17. 22 Oct, 2020 2 commits
  18. 05 Oct, 2020 1 commit
  19. 21 Sep, 2020 1 commit
  20. 16 Sep, 2020 1 commit