Commit Graph

316 Commits

Author SHA1 Message Date
Daniel P. Berrange
c1ff4f4624 Update for release 0.5.0 2012-02-14 16:20:07 +00:00
Marc-André Lureau
1a3b233e55 First %d in controller title should be substituted with window nth 2012-02-14 16:19:45 +00:00
Marc-André Lureau
16307e0dc7 Add libp11-kit-0.dll to nsis script 2012-02-14 16:19:18 +00:00
Daniel P. Berrange
a140f396f3 Set pretty icon for remote-viewer windows too 2012-02-14 15:26:52 +00:00
Daniel P. Berrange
56b0217c62 Don't hardcode 'localhost' in no @listen parameter is given
If no @listen parameter is given, we must not hardcode 'localhost'
since we can't assume we are running on the same host. Instead use
the hostname from the connection URI
2012-02-14 14:55:39 +00:00
Daniel P. Berrange
a52b9f3182 Extract tlsPort for SPICE and use it to enable secure connections 2012-02-14 14:53:59 +00:00
Daniel P. Berrange
ced6fec518 Don't do whitespace checks on icons 2012-02-08 19:39:09 +00:00
Daniel P. Berrange
b0ba9e626a Set transient parent for screenshot dialog 2012-02-08 19:37:09 +00:00
Daniel P. Berrange
0fa4d098f9 Ensure auth popup windows have correct transient parent 2012-02-08 19:33:40 +00:00
Marc-André Lureau
28830c8596 Make the password field activates default widget
When pressing "Enter", the default auth dialog action isn't activated.
Setting activates_default to TRUE fixes this issue.
2012-02-08 17:15:20 +00:00
Marc-André Lureau
bbf040b777 Do not resize guest desktop if !auto-resize
If auto-resize is enabled, the guest desktop size will be resized to
match current window*zoom size.

This can be a problem if the user explicitely set the desktop size to
a different resolution and want to keep it. Disabling auto-resize
sounds like a simple way to allow that.
2012-02-08 17:15:20 +00:00
Marc-André Lureau
f87cdc9e24 Resize Spice guest display to the container size
The SpiceDisplay doesn't receive the full allocation, because
VirtViewerDisplay maintains current aspect ratio. However, the guest
display can be resize up to its container size.

This fixes going full-screen and not getting native resolution for
instance.
2012-02-08 17:15:20 +00:00
Daniel P. Berrange
e9ff27efe2 Ensure About dialog has transient hints setup 2012-02-08 17:15:16 +00:00
Daniel P. Berrange
c2d114b613 Import a pretty icon for virt-viewer application 2012-02-08 16:41:37 +00:00
Daniel P. Berrange
3349a1d42e Re-added GtkBuilder XML files to POTFILES.in
Adapt syntax-check  rule to allow XML files in POTFILES.in and
re-add the GtkBuilder XML files
2012-02-08 13:32:42 +00:00
Daniel P. Berrange
50632ea038 Implement SPICE desktop resizing that takes account of zoom level
The standard SPICE widget guest resize implementation does not
take into account the zoom level settings in virt-viewer, because
it has no knowledge of this functionality. The guest resize can,
however, be done by calling spice_main_set_display() directly.
This allows virt-viewer to resize the guest taking into account
zoom levels.

 ie, if virt-viewer is run with --zoom 50 and the window
     is resized to 400x300, then the guest agent should
     be told to set its resolution to 800x600
2012-02-08 13:23:48 +00:00
Daniel P. Berrange
3a8cdd901f Revert support for resizing guest desktop
The SpiceDisplay widget has built-in support for resizing the
guest desktop, but this does not know that virt-viewer has a
zoom level setting. This makes the virt-viewer zoom completely
inoperable. Revert use of the 'resize-guest' property.
2012-02-07 17:08:37 +00:00
Marc-André Lureau
0e40961d49 Add spice-xpi-client-remote-viewer alternative 2012-02-06 14:22:42 +00:00
Marc-André Lureau
0cb4fe4972 man: add remote-viewer man page 2012-02-06 14:21:30 +00:00
Daniel P. Berrange
d9825f3c74 Import GNULIB rules for syntax checking code 2012-02-06 12:42:23 +00:00
Daniel P. Berrange
5a19f8aae3 Add config.h to every source file 2012-02-06 12:42:22 +00:00
Daniel P. Berrange
0949dedef7 Use exit() constants 2012-02-06 12:42:22 +00:00
Daniel P. Berrange
f4d8b45181 copyright fix 2012-02-06 12:42:22 +00:00
Daniel P. Berrange
bf00dc893c End of file whitespace cleanup 2012-02-06 12:42:22 +00:00
Daniel P. Berrange
4f45576704 Update POTFILES.in 2012-02-06 12:42:18 +00:00
Daniel P. Berrange
d7c58a3f2e Replace @FOO@ with $(FOO) in all Makefile.am 2012-02-06 12:42:18 +00:00
Daniel P. Berrange
a893d5ef61 Update copyright headers 2012-02-06 12:42:18 +00:00
Daniel P. Berrange
48c50437fa Remove useless if() before free() 2012-02-06 12:42:18 +00:00
Daniel P. Berrange
df1ae9f686 Update AUTHORS file 2012-02-06 12:42:14 +00:00
Daniel P. Berrange
9cc4c188ff Simplify no-op debug macro & fix plugin header 2012-02-06 12:40:10 +00:00
Daniel P. Berrange
3b9a6d9cba Fix makefile.am subsitutions for plugin 2012-02-06 12:40:10 +00:00
Daniel P. Berrange
e1283a9a60 Convert TABS to spaces & reindent everywhere 2012-02-06 12:40:09 +00:00
Hans de Goede
c67a8cfdbe Only make the USB device selection sensitive when the vm is USB capable 2012-02-06 12:30:27 +00:00
Hans de Goede
b272e08541 Add a menu entry for USB device selection 2012-02-06 12:30:08 +00:00
Marc-André Lureau
0e6f0847d8 Grab the focus when showing the display
Override the grab_focus() method in the display class. Since both VNC
and Spice displays are the direct child, let's just grab the child.
It can be that this behaviour need to be overriden if Spice or VNC
display become more complex (using sub-childs or different objects)
2012-02-06 12:28:05 +00:00
Daniel P. Berrange
d679451659 Ignore more generated files 2012-01-31 14:39:06 +00:00
Guannan Ren
c3a4bdc039 Disconnect virt-viewer when receiving signal session-cancelled 2012-01-31 14:37:17 +00:00
Guannan Ren
8a6cb8c012 Register a new signal session-cancelled 2012-01-31 14:35:17 +00:00
Guannan Ren
c61981540d Tune the first argument in calls to g_type_class_add_private() 2012-01-31 14:34:47 +00:00
Daniel P. Berrange
5bc4c0b342 Support for virDomainOpenGraphics API
Add a new flag --attach, which instructs virt-viewer to attach
to the target display using virDomainOpenGraphics, instead of
initiating a VNC/SPICE connection directly.
2012-01-31 14:27:17 +00:00
Daniel P. Berrange
a94100eaeb Make VNC support opening connections based on URI 2012-01-31 14:10:29 +00:00
Daniel P. Berrange
6c6ec5f9ea Adapt remote-viewer so that it builds without SPICE 2012-01-31 14:06:00 +00:00
Marc-André Lureau
e2799ecfa6 Add virt-viewer.nsis
Use ${DESTDIR} variable and @prefix@ to look for files.
Can't easily be generated, it has too much customization.
2012-01-31 13:20:26 +00:00
Marc-André Lureau
dfb26d59b0 Enable spice auto-usbredir 2012-01-31 13:20:26 +00:00
Marc-André Lureau
2dcd3fa617 Remove usage of deprecated property 2012-01-31 13:20:26 +00:00
Marc-André Lureau
0084b1cfaa Add error dialog for USB redirection failure 2012-01-31 13:20:26 +00:00
Marc-André Lureau
c285624bb0 Resize guest desktop with SPICE
This is the method we prefer, even though we can't keep aspect ratio.
We could eventually support aspect ration in spice-gtk.
2012-01-31 13:19:29 +00:00
Marc-André Lureau
944ad9ebd0 build: make libvirt optionnal 2012-01-31 12:36:14 +00:00
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