summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-06-24vdagentd: Advertise VD_AGENT_CAP_GUEST_LINEEND_LFHans de Goede1-0/+1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-06-06vdagent[d]: Add printing of version to -h outputHans de Goede2-5/+5
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-05-20Drop the no longer needed modules-load.d/spice-vdagentd.confHans de Goede2-6/+0
Now a days udev will create a /dev/uinput node without the module being loaded based on devname:uinput from the modinfo, allowing the module to be correctly auto-loaded when needed. https://bugzilla.redhat.com/show_bug.cgi?id=963201 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-12Fix typo in src/vdagentd.cLiang Guo1-1/+1
Signed-off-by: Liang Guo <guoliang@debian.org>
2013-04-12build: Manpages are in build directory, not sourceColin Walters1-2/+2
Since configure generates them.
2013-04-12Prepare for 0.14.0 releasespice-vdagent-0.14.0Hans de Goede1-1/+1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-12Makefile.am: Add missing private headers to noinst_HEADERSHans de Goede1-6/+8
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-12Add manpages for spice-vdagent and spice-vdagentd (rhbz#948511)Hans de Goede6-0/+128
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-12Update .gitignoreHans de Goede1-0/+4
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-12README: Document that we natively support systemd now a daysHans de Goede1-7/+7
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-12Add missing src/dummy-session-info.c fileHans de Goede1-0/+46
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-12One more -h / usage output fixHans de Goede1-1/+1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-11Improve -h / usage outputHans de Goede2-7/+11
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-11vdagentd: Allow runtime disabling of session-info (rhbz#904084)Hans de Goede5-78/+59
Add spice-vdagent -X cmdline option, which runtime disables console-kit / systemd-logind integration for setups where these are not used. This is useful for using pre-build binaries (ie distro binaries) in such setups. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-11vdagentd-xorg-conf: Add Option "NumHeads" "1" to generated xorg.confHans de Goede1-0/+1
So that we don't get multiple heads per device on revision 4 qxl devices in Xinerama setups. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-10docs: Update to reflect recent changesHans de Goede2-2/+18
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-10vdagent-x11: Add support for setups with multiple screensHans de Goede3-25/+57
Some users have a need for old-fashioned setups with multiple X11 Screens rather then one large virtual Screen as modern X usually has. This can be accomplished by using multiple qxl devices + a xorg.conf file assigning one Screen per qxl device. Limitations: -Max one monitor per Screen / qxl device -All monitors / Screens must have the same resolution -No client -> guest resolution syncing Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-10vdagent-x11: Change root_window, width and height to an arrayHans de Goede3-37/+36
This is a preparation patch for handling setups where there are multiple qxl-devices each mapped to a separate screen. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-10Add glib-compat.h to fix building with glib < 2.28Hans de Goede2-0/+44
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-09vdagent-x11: Catch BadWindow errors when sending clipboard data to other windowsHans de Goede1-8/+36
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-09vdagent-x11: Unify / share error handling between vdagent-x11 and randr codeHans de Goede3-34/+29
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-09autogen: Honor NOCONFIGURE=1Colin Walters1-1/+3
http://people.gnome.org/~walters/docs/build-api.txt
2013-04-09vdagent: Open file xfer save dir on file xfer completionHans de Goede3-6/+32
When not saving to the Desktop we need a way for the user to discover where we've saved the file. This patch makes the session agent call xdg-open on the file xfer save dir when a file xfer has completed in this case. This is configurable from the cmdline by passing "-o 0" or "-o 1" Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-09vdagent: Add a cmdline option to select where to save file-xfersHans de Goede3-18/+38
The user can pass any arbitrary directory or the special values of "xdg-desktop" or "xdg-download" to select the default xdg Desktop resp xdg Download directories. If no value is specified the default is xdg-desktop when running under a Desktop Environment which has icons on the desktop and xdg-download on other Desktop Environments. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-09vdagent-x11: Add a vdagent_x11_has_icons_on_desktop functionHans de Goede2-0/+29
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-09vdagent-x11: Add a vdagent_x11_get_wm_name functionHans de Goede2-4/+84
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-09vdagent-x11: Add set_error_handler / restore_error_handler helpersHans de Goede1-2/+21
This is #if 0-ified for now, to avoid breaking compilation with -Werror. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-05TODO: UpdateHans de Goede1-3/+0
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-04-05spice-vdagent.desktop: Drop X-GNOME-AutoRestartHans de Goede1-1/+0
When not running under a spice-vdagent vm we automatically exit, and we should not be auto-restarted then -> Drop X-GNOME-AutoRestart from our .desktop file. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-29systemd-login: Fix supression of ENOENT errorsHans de Goede1-1/+1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-29file-xfers: Don't warn if we cannot find a file-xferHans de Goede1-1/+2
If we cancel a file-xfer from the agent side, it is normal that there still are some data packets belongen to this xfer in the pipe. So don't warn about it, instead make this a debug message. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-15vdagent-virtio-port: Improve error loggingHans de Goede1-2/+4
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06vdagent*: Handle VDAGENTD_CLIENT_DISCONNECTED messagesHans de Goede4-11/+41
Also add some extra detection for the client having gone away for when running on an older spice-server which does not send VDAGENTD_CLIENT_DISCONNECTED on client disconnect. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06vdagentd: Track which file-xfer id belongs to which session-agentHans de Goede2-14/+63
So that file-xfers which are still on progress on user-switch keep working, and so that vdagentd can send the client a file-xfer cancel if the per-session vdagent goes away while a file-xfer is active. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06file-xfers: Fix unlinking of files on error / cancelHans de Goede1-3/+3
Store the complete path, rather then just the basename in task->file_name, so that unlinking on error actually works. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06file-xfers: Handle writing errorsHans de Goede1-16/+18
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06file-xfers: Report status to sender (the client) on xfer completionHans de Goede1-2/+7
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06file-xfers: Create dir before trying to create the fileHans de Goede1-3/+12
This is necesarry to allow the client to send folder-hierarchies. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06configure.ac: Bump spice-protocol requires to 0.12.5Hans de Goede1-1/+1
This is needed for file-xfer support. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06vdagent-virtio-port: Add vdagent_virtio_port_reset()Hans de Goede2-0/+11
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06vdagent-virtio-port: Fix use after freeHans de Goede1-0/+2
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-03-06vdagent: Don't try to reconnect when not daemonizedHans de Goede1-1/+1
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-22file-xfers: Check for duplicate task idsHans de Goede1-0/+6
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-22file-xfers: Don't overwrite existing filesHans de Goede1-7/+23
Instead postfix " (x)" until we have a unique filename. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-22filex-xfers s/GINT_TO_POINTER/GUINT_TO_POINTER/Hans de Goede1-3/+3
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-22file-xfers: s/new/task/Hans de Goede1-13/+13
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-22file-xfers: unlink the (partial) file on cancel / errorHans de Goede1-8/+11
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-22file-xfers: Improve debug loggingHans de Goede3-34/+54
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-22file-xfers: Prefix all log messages with "file-xfer"Hans de Goede1-15/+24
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2013-02-22file-xfers: Move file xfer code to its own fileHans de Goede4-165/+273
Signed-off-by: Hans de Goede <hdegoede@redhat.com>