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

riegamaths at gmail.com riegamaths at gmail.com
Wed Jan 9 19:02:18 PST 2013


From: mathslinux <riegamaths at gmail.com>

These are the fifth version of patches which implement file transfer from
client to guest.

V5 -> V6:
   * Small fixes in first patch

V4 -> V5:
   * Only update first patch
   * Imporve error report
   * Add spice_main_file_copy_finish() function.
   * Some code cleanup. (e.g. file_xfer_task_free())
   * Limit spice_main_file_copy() to a single file.

V3 -> V4:
   * Address Marc-André's comments
   * s/spice_main_file_xfer/spice_main_file_copy
   * Use a new algorithm to send data, instead of g_idle_add().
   * Use gio async API to open, read, query files

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 file-xfer when agent is not connected

 gtk/channel-main.c      | 519 ++++++++++++++++++++++++++++++++++++++++++++++++
 gtk/channel-main.h      |  12 ++
 gtk/map-file            |   2 +
 gtk/spice-glib-sym-file |   2 +
 gtk/spice-widget.c      |  46 +++++
 5 files changed, 581 insertions(+)

-- 
1.7.12.4



More information about the Spice-devel mailing list