1497 Commits

Author SHA1 Message Date
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 v0.4.1 2011-08-04 11:12:58 +01:00
Daniel P. Berrange
cf1ae8bfab Update authors & copyright dates 2011-08-04 11:09:30 +01:00
Daniel P. Berrange
321f253ad1 Fix sort order of displays submenu 2011-08-04 10:34:18 +01:00
Guido Günther
39439b0b3e Don't hardcode SSH port to 22
To allow $HOME/.ssh/config to override the default SSH port,
don't hardcode '-p 22' in the command line.
2011-08-03 11:58:04 +01:00
Pavel Raiskup
d496a4091a Remove unreachable condition in authentication dialog 2011-08-03 11:55:31 +01:00
Daniel P. Berrange
760a503f8e Remove duplicated struct definition 2011-07-26 16:06:32 +01:00
Marc-André Lureau
c191d0ba53 If only one display, fullscreen should be on the current display 2011-07-26 12:00:29 +01:00
Marc-André Lureau
8d0f1d4235 Show status on all open windows
The split virt_viewer_notebook_show_status() to
virt_viewer_notebook_show_status_va() is unnecessary
in the end, but it's more future-proof.
2011-07-26 12:00:29 +01:00
Marc-André Lureau
0584170300 Add a "Displays" submenu, and warn when closing last display 2011-07-26 12:00:29 +01:00
Marc-André Lureau
425b1d8bd8 Don't ignore creation of secondary displays 2011-07-26 12:00:29 +01:00
Marc-André Lureau
734e789b22 Use app fullscreen property instead of app.start() argument 2011-07-26 12:00:29 +01:00
Marc-André Lureau
8f8abe849d Implement app_set_fullscreen() to go over existing windows 2011-07-26 12:00:29 +01:00
Marc-André Lureau
b5724b8f06 Show display and rise its window when we have the display show hint
Track event for Spice, and imitate it for VNC.
2011-07-26 12:00:28 +01:00
Marc-André Lureau
045f3ac9ea Change enter/leave fullscreen to take/restore position
That allow positionning windows in multi-head.

Also, get rid of window_state_cb, since it's impossible to
properly catch the event to do the right thing, ie move to a different
screen before go full-screen, or disallow it in case nb physical
monitors < nb virtual monitors.
2011-07-26 12:00:28 +01:00
Marc-André Lureau
08b292fb05 Add nth window to virt_viewer_app_window_new() 2011-07-26 12:00:28 +01:00
Marc-André Lureau
be529a879f Introduce fullscreen property and virt_viewer_app_set_fullscreen() 2011-07-26 12:00:28 +01:00
Marc-André Lureau
d64dd25713 Let virt_viewer_notebook_show_status take varags 2011-07-26 12:00:28 +01:00
Marc-André Lureau
dcbbf99050 Status messages can be translated 2011-07-26 12:00:28 +01:00
Marc-André Lureau
0430430284 Add show-hint property to display 2011-07-26 12:00:28 +01:00
Marc-André Lureau
c7ad98333d Split VirtViewerApp window into VirtViewerWindow 2011-07-26 11:16:34 +01:00
Marc-André Lureau
dd9c85a32d Inherit from VirtViewerApp for VirtViewer
Make it a real GObject.

The parts specific to virt should go in virt-viewer.c
2011-07-22 16:11:18 +01:00
Marc-André Lureau
e2c09a876b Turn VirtViewer into a VirtViewerApp object 2011-07-22 16:11:02 +01:00
Marc-André Lureau
9dcb071166 Split virt_viewer_start() and virt_viewer_new() 2011-07-22 16:10:25 +01:00