1. 27 Oct, 2020 1 commit
  2. 21 Oct, 2020 3 commits
  3. 19 Oct, 2020 7 commits
  4. 05 Oct, 2020 1 commit
  5. 28 Sep, 2020 3 commits
    • Jakub Janků's avatar
      clipboard: enable copying files from client using webdav · 09733a5c
      Jakub Janků authored
      When the user wants to copy files, new spice-gtk can share those
      files using the existing phodav server. In that case, it advertises
      the VD_AGENT_CLIPBOARD_FILE_LIST type in the clipboard grab message.
      
      Upon request of the clipboard data in the mentioned type, spice-gtk
      provides a list of absolute paths in the phodav server - these are
      the files that are supposed to be copied/moved.
      
      The role of the vdagent is to:
      1) ensure that the phodav share is mounted,
      2) adjust the provided paths given the mountpoint,
      3) provide the uri list in various formats depending on which one
         was requested (different file managers use differenct formats)
      
      The code that accomplishes these tasks is located in a new file
      webdav-cb.c - the main reason for it is that vdagent currently
      supports two clibpoard backends: x11, gtk+.
      
      Implement this new feature only in the x11 backend since
      the future of the gtk+ one is not clear.
      
      Copy and move was tested with GNOME Nautilus, KDE Dolphin,
      Cinnamon Nemo, Mate Caja, Xfce Thunar, LXDE PCManFM, Krusader.
      The functionality with other file managers might be limited.
      
      Copying files from the vdagnet side to the client is not
      supported yet.
      Signed-off-by: Jakub Janků's avatarJakub Janků <jjanku@redhat.com>
      Acked-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
      09733a5c
    • Jakub Janků's avatar
      build: require spice-protocol 0.14.3 · 2e2feeb9
      Jakub Janků authored
      This adds the VD_AGENT_CLIPBOARD_FILE_LIST
      necessary for the following commits.
      Signed-off-by: Jakub Janků's avatarJakub Janků <jjanku@redhat.com>
      Acked-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
      2e2feeb9
    • Jakub Janků's avatar
      x11: move code to clipboard_data_send_to_requestor() · 0da3211f
      Jakub Janků authored
      With the upcoming patch, clipboard data will be sent to the
      requestor outside of vdagent_x11_clipboard_data() so
      extract the necessary code into a new function to avoid
      repetition.
      
      The function takes "take_ownership" argument. If set to True,
      the caller doesn't have to free the passed data which will
      also be useful with the following changes.
      
      Improve style by adding brackets to single-line if statements.
      Signed-off-by: Jakub Janků's avatarJakub Janků <jjanku@redhat.com>
      Acked-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
      0da3211f
  6. 25 Sep, 2020 3 commits
  7. 22 Sep, 2020 2 commits
  8. 21 Sep, 2020 5 commits
  9. 29 Jul, 2020 1 commit
    • Julien Ropé's avatar
      Enable GTK4 build with a specific configure option. · ca4dd7e8
      Julien Ropé authored
      - Adding the "--with-gtk4" option to ask for GTK4, keeping it separate
      from
        the default "--with-gtk" so that we can still build the agent with
      GTK3.
        GTK4 will be used to solve several issues under Wayland related to
        multi-monitor situations.
      - Change some calls to be compatible with modified API.
      - Also add a build test to CI script.
      
      Important note about the clipboard:
      Using the Wayland backend in GTK is introducing new issues with
      clipboard
      that we can't fix for now.
      So when building for GTK4, we will actually not use GTK for the
      clipboard.
      
      To achieve this, some build definitions are modified:
      - WITH_GTK is kept, but is only used for GTK initialization and header
      import
      - WITH_GTK is replaced by USE_GTK_FOR_CLIPBOARD for all
      clipboard-specific
        code. It is enabled when building with GTK3.
      - USE_GTK_FOR_MONITORS is added, and will be used for monitor-specific
        code. It is enabled when building with GTK4.
      Signed-off-by: Julien Ropé's avatarJulien Ropé <jrope@redhat.com>
      Acked-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
      ca4dd7e8
  10. 25 Jul, 2020 1 commit
  11. 22 Jul, 2020 4 commits
  12. 15 Jul, 2020 4 commits
  13. 10 Jul, 2020 1 commit
  14. 30 Jun, 2020 1 commit
  15. 20 May, 2020 1 commit
  16. 11 May, 2020 1 commit
  17. 26 Mar, 2020 1 commit