Commit Graph

268 Commits

Author SHA1 Message Date
Marc-André Lureau
091bff3cc2 Use a first letter capital in help
The GLib/GNOME convention seems to have first letter as capital for
option description strings.
2012-01-31 12:36:14 +00:00
Marc-André Lureau
15b9f669a7 Add spice_get_option_group() 2012-01-31 12:36:14 +00:00
Marc-André Lureau
392b69b6db Add spice controller support in remote-viewer
Usage is simply "remote-viewer --spice-controller"
2012-01-31 12:36:14 +00:00
Marc-André Lureau
2a8ed0522e Add remote-viewer program
This program is meant for direct URI connections.
ex: remote-viewer vnc://uri
2012-01-31 12:36:04 +00:00
Marc-André Lureau
80a3192603 Add a few property getters, used by controller
- virt_viewer_app_get_windows()
- virt_viewer_window_get_builder()
- "VirtViewerSessionSpice:spice-session" property
2012-01-30 17:42:11 +00:00
Marc-André Lureau
67284efecf build: use AM_GLIB_GNU_GETTEXT
Using intltool macro only causes build issues on exotic platforms,
such as MinGW.

As long as this bug isn't fixed, we should use AM_GLIB_GNU_GETTEXT
https://bugs.launchpad.net/intltool/+bug/398571

NB this partially reverts

  3473c4bb49

The difference is the ordering of the rules. With AM_GLIB_GNU_GETTEXT
appearing after IT_PROG_INTLTOOL, the --disable-nls arg to configure
is broken. Thus AM_GLIB_GNU_GETTEXT is called first in this change.
2012-01-30 17:32:40 +00:00
Marc-André Lureau
83897072b2 Make virt_viewer_activate() a vfunc
since other equivalent methods are already overridable.
2012-01-30 17:10:36 +00:00
Marc-André Lureau
3cee81ac3a Add window-added & window-removed signals 2012-01-30 17:10:26 +00:00
Marc-André Lureau
8edbbcf18e Use graphical URI for connection
If specified, use URI for connection details
2012-01-30 17:10:21 +00:00
Marc-André Lureau
629ddc1b5d Add virt_viewer_session_open_uri 2012-01-30 17:10:18 +00:00
Marc-André Lureau
b1d2f16790 build: replace deprecated functions 2012-01-30 17:10:12 +00:00
Daniel P. Berrange
a42efc728c Add support for --system arg to autogen.sh 2012-01-30 16:54:00 +00:00
Daniel P. Berrange
111d80a8cb Prep for 0.4.2 release 2011-11-09 15:13:11 +00:00
Daniel P. Berrange
5cf73d0a81 Automatically generate changelog from GIT history during make dist 2011-11-07 12:42:15 +00:00
Marc-André Lureau
c03a75122e Update POTFILES.in, fix make distcheck 2011-11-07 12:24:03 +00:00
Daniel P. Berrange
b92cbd4010 Ignore some more generated files 2011-11-07 12:23:39 +00:00
Marc-André Lureau
15cc78d91c build: make gtk-vnc optional 2011-11-07 12:22:15 +00:00
Daniel P. Berrange
9c5f7bfcf2 Require GTK-VNC 0.4.3 and remove redundant realize() call
Remove call to gtk_widget_realize for the GTK-VNC widget. Requires
GTK-VNC >= 0.4.3
2011-11-07 12:14:22 +00:00
Marc-André Lureau
1175841df9 Emit display-desktop-resize from set_desktop_size() 2011-11-07 12:12:53 +00:00
Daniel P. Berrange
c8b3cd9dd9 Don't include INSTALL file in GIT 2011-11-07 11:56:58 +00:00
Daniel P. Berrange
ea5c75645b Revert 1a56de3aca
The GLIB2 check previously removed was misleading because it in
fact checked for gmodule-export-2.0 which is needed to export
the signal handlers. Revert the previous commit, but rename the
var to GMODULE2 to make it clearer
2011-11-07 11:25:55 +00:00
Daniel P. Berrange
9319081827 Always use canonical URI from libvirt connection
The URI we feed into libvirt may be an alias, so always query the
actual URI used internally
2011-11-07 11:17:41 +00:00
Daniel P. Berrange
529343aa38 Update automated build to test both GTK2 and GTK3 builds 2011-11-04 11:44:43 +00:00
Daniel P. Berrange
8081b0d39c Update mingw32 RPM specfile to use GTK3 on F15 or later 2011-11-04 11:44:26 +00:00
Daniel P. Berrange
1a56de3aca Remove pkgconfig check for GLIB2 since it is implied by GTK2/3 2011-11-04 11:43:38 +00:00
Daniel P. Berrange
386aa61c9d Fix configure arg for disabling spice 2011-11-03 20:37:48 +00:00
Daniel P. Berrange
17445242a7 Print configuration summary 2011-11-03 20:36:30 +00:00
Daniel P. Berrange
59170953d5 Fix broken keycombos for F9->F12 menu
The table for sending C-A-Fn to guests had messed up mappings
for F9->F12
2011-10-11 10:38:00 +01:00
Daniel P. Berrange
09ee7d3220 Wire up SpiceDisplay grab signals
To ensure that we can put the key release sequence message in the
title bar, wire up VirtViewerDisplaySpice to the grab signals
in SpiceDisplay
2011-10-11 10:12:05 +01:00
Daniel P. Berrange
168af497b9 Fix setting of window title with --wait
When waiting for a VM to appear or start, set the initial window
title to the command line arg. When the VM actually appears then
update it to the real VM name
2011-10-11 10:01:10 +01:00
Daniel P. Berrange
986c040fd7 Fix crash from previous commit when using UNIX sockets
Code in the previous commit would use 'ghost' even when it was
NULL, as with UNIX domain socket based connections.
2011-09-28 16:39:02 +01:00
Daniel P. Berrange
41703dd458 Fix hostname when XML gives a wildcard address
When the guest XML contains a wildcard address like 0.0.0.0 or ::,
we can't directly use connect() on it. Instead we have to use the
hostname/IP from the libvirt URI.
2011-09-19 16:37:57 +01:00
Daniel P. Berrange
fe8551efba Propagate primary window zoom level to secondary windows
Ensure that all windows get a default zoom level of 100. Propagate
the primary window's zoom level to all secondary windows  when
initially creating them
2011-09-16 11:07:26 +01:00
Daniel P. Berrange
46cf6410c1 Fix setting of window title with domain name 2011-09-16 10:57:53 +01:00
Daniel P. Berrange
8bd178c8a8 Fix setting of initial zoom level on display 2011-08-16 09:08:51 -07:00
Guido Günther
f3714e3662 ff callbacks must be invoked from a clean stack
If 'ff' callbacks are invoked directly from the remove
callback they will likely deadlock in libvirt. They must
be invoked from a clean stack, so switch to using a
glib idle callback.
2011-08-16 08:36:18 -07:00
Guido Günther
e155f7f656 Don't print (null) as user 2011-08-14 12:35:52 -07:00
Guido Günther
60145f31a6 Don't print incorrect port numbers
The port isn't 22 when we connect to an alternate port given in
.ssh/config.
2011-08-14 12:35:52 -07:00
Guido Günther
1c00bc2b95 Don't hardcode ssh port to 0
Many thanks to Luca Capello <luca@pca.it> for debugging this.
2011-08-14 12:35:52 -07:00
Daniel P. Berrange
754011f2bc Fix inverted sshport test that broke SSH tunnelling 2011-08-12 15:37:51 +01:00
Marc-André Lureau
f08c5308ca Return if xmlParseURI() failed, instead of crashing 2011-08-04 13:32:25 +01:00
Marc-André Lureau
1002a220a4 Lookup UI file correctly, to fix Windows support 2011-08-04 13:32:17 +01:00
Marc-André Lureau
76bcf50dc4 Mark exported function for gtkbuild to lookup on Windows 2011-08-04 13:32:10 +01:00
Marc-André Lureau
78cac55443 Make title more translatable and using application name 2011-08-04 13:32:04 +01:00
Marc-André Lureau
4f9e54764c Use g_printerr for errors instead of fprintf(stderr,..) 2011-08-04 13:31:59 +01:00
Marc-André Lureau
0c37bba616 Lower severity of unhandled Spice events 2011-08-04 13:31:54 +01:00
Marc-André Lureau
0399dc5cc4 Add virt_viewer_app_show_display()
Similar to previous virt_viewer_app_show_status().
Used later on by Spice controller to switch between display and status.
2011-08-04 13:31:42 +01:00
Marc-André Lureau
80aaff91f9 Fix fullscreen should hide taskbar on Windows 2011-08-04 13:31:08 +01:00
Daniel P. Berrange
92672aee3b Update for 0.4.1 release 2011-08-04 11:12:58 +01:00
Daniel P. Berrange
cf1ae8bfab Update authors & copyright dates 2011-08-04 11:09:30 +01:00