1. 19 Nov, 2020 4 commits
  2. 15 Nov, 2020 4 commits
  3. 03 Nov, 2020 3 commits
  4. 29 Oct, 2020 7 commits
  5. 28 Oct, 2020 1 commit
  6. 27 Oct, 2020 1 commit
  7. 21 Oct, 2020 3 commits
  8. 19 Oct, 2020 7 commits
  9. 05 Oct, 2020 1 commit
  10. 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
  11. 25 Sep, 2020 3 commits
  12. 22 Sep, 2020 2 commits
  13. 21 Sep, 2020 1 commit