Skip to content
Snippets Groups Projects
  1. Sep 18, 2023
  2. Jul 25, 2023
    • Marc-André Lureau's avatar
      Merge branch 'single' into 'master' · 4e0ff757
      Marc-André Lureau authored
      Use single version of double exported functions
      
      See merge request !122
      4e0ff757
    • Frediano Ziglio's avatar
      Use single version of double exported functions · 9f1a9bec
      Frediano Ziglio authored
      
      Solve double export issue of some functions between spice-gtk
      and spice-glib libraries.
      Some functions are exported by both spice-gtk and spice-glib.
      As the state of these function can be duplicate this can create
      some issues. Specifically you can enable debug but get only partly
      enabled.
      So to solve this and have a consistent behaviour across system
      add new functions in spice-glib (where these functions where supposed
      to be) and use them (we need to keep providing old functions for
      ABI compatibility).
      
      Signed-off-by: default avatarFrediano Ziglio <freddy77@gmail.com>
      9f1a9bec
  3. Jul 09, 2023
  4. Jul 02, 2023
  5. Jun 26, 2023
    • Frediano Ziglio's avatar
      Split symbol file in 2 files · 7e87382b
      Frediano Ziglio authored
      
      One file for spice-glib and another for spice-gtk.
      This avoid having duplicate exports in the future.
      spice_g_signal_connect_object, spice_util_get_debug,
      spice_util_get_version_string, spice_util_set_debug and
      spice_uuid_to_string are exported by both libraries to keep ABI
      compatibility.
      
      Signed-off-by: default avatarFrediano Ziglio <freddy77@gmail.com>
      7e87382b
  6. Jun 22, 2023
  7. Apr 21, 2023
    • Biswapriyo Nath's avatar
      usb-backend: Fix compiling with i686 clang in mingw · 7471e3e5
      Biswapriyo Nath authored and Frediano Ziglio's avatar Frediano Ziglio committed
      
      This adds the stdcall attribute to match the function prototype which
      is used with SetWindowSubclass Win32 API. Otherwise, clang 16 targeting
      i686-w64-windows-gnu shows the following compiler error:
      
      ../src/usb-backend.c:269:38: error: incompatible function pointer types passing
      'LRESULT (HWND, UINT, WPARAM, LPARAM, UINT_PTR, DWORD_PTR)' (aka 'long (struct HWND__ *, unsigned int, unsigned int, long, unsigned int, unsigned long)') to parameter of type
      'SUBCLASSPROC' (aka 'long (*)(structHWND__ *, unsigned int, unsigned int, long, unsigned int, unsigned long) __attribute__((stdcall))') [-Wincompatible-function-pointer-types]
          if (!SetWindowSubclass(be->hWnd, subclass_proc, 0, (DWORD_PTR)be)) {
                                           ^~~~~~~~~~~~~
      
      Acked-by: default avatarFrediano Ziglio <freddy77@gmail.com>
      7471e3e5
  8. Mar 15, 2023
  9. Feb 15, 2023
  10. Jan 23, 2023
  11. Jan 09, 2023
  12. Dec 13, 2022
  13. Nov 20, 2022
  14. Oct 11, 2022
  15. Oct 07, 2022
  16. Sep 08, 2022
  17. Jul 06, 2022
    • Doctor-love's avatar
      spicy: Add keyboard shortcuts for copy/paste sync · 9992bdb9
      Doctor-love authored
      This simple change adds keyboard shortcuts for manual synchronization of
      copy/paste buffers. These come in handy when automatic clipboard sharing
      is disabled, which may be desirable to prevent a semi-trusted server
      from reading sensitive data populated by password managers and similar.
      
      Shift+F5/F6 ain't the most comfortable shortcuts, but it sticks with the
      current theme.
      9992bdb9
  18. Jul 04, 2022
  19. Jul 01, 2022
  20. Jun 27, 2022
    • Eli Schwartz's avatar
      fix invalid use of subprojects · b3eb0448
      Eli Schwartz authored
      
      The keycodemapdb Meson subproject provides a program and a source input.
      Since it is a subproject, Meson wants to sandbox that and requires it to
      be explicitly exported. But this never happened -- instead, we manually
      poked at files using the actual string path "subprojects/......"
      
      This was always a Meson sandbox violation, but Meson 0.63.0 started
      noticing it and erroring out.
      
      Instead, do the right thing. Update the subproject to a version that has
      a meson.build with actually meaningful contents -- namely, a files
      variable and a found program. Then use these in order to run the needed
      custom_target.
      
      In the process, it is also necessary to correct the argument ordering
      when running keymap-gen.
      
      Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      b3eb0448
  21. Mar 06, 2022
  22. Mar 05, 2022
    • osy's avatar
      coroutine: add support for libucontext · fa812c88
      osy authored
      libucontext is a lightweight implementation of ucontext for platforms
      that do not have a built-in implementation. This allows us to use the
      same code to support libucontext as ucontext.
      fa812c88
  23. Feb 07, 2022
  24. Jan 28, 2022
    • iordan iordanov's avatar
      Implemented the ability to allocate SpiceUsbDevice instances · 9a0cec4b
      iordan iordanov authored and Frediano Ziglio's avatar Frediano Ziglio committed
      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
      documentation.
      
      Acked-by: default avatarFrediano Ziglio <freddy77@gmail.com>
      9a0cec4b
Loading