[Spice-devel] [PATCH spice-gtk V3 0/3] simply implement of file transfer

Dunrong Huang riegamaths at gmail.com
Tue Dec 4 20:22:22 PST 2012


These patches simply implement file transfer from client to guest.

V2 -> V3:
   * s/drag-and-drop/file-xfer
   * Use key-value text as data included in start message

V1 -> V2:
   * Address Marc-André and hans's comments, most of the code are rewritten.
   * Move all file operation to the channel level
   * Use glib API for file operations
   * spice protocol related file transfer has been extended for the future's work
   * Only export a single API spice_main_file_xfer()
   
Dunrong Huang (3):
  file-xfer: handling various transfer messages in main channel
  file-xfer: handle "drag-data-received" signal
  file-xfer: disable drag-n-dop when agent is not connected

 gtk/channel-main.c      | 209 ++++++++++++++++++++++++++++++++++++++++++++++++
 gtk/channel-main.h      |   1 +
 gtk/map-file            |   1 +
 gtk/spice-glib-sym-file |   1 +
 gtk/spice-widget.c      |  42 ++++++++++
 5 files changed, 254 insertions(+)

-- 
1.8.0



More information about the Spice-devel mailing list