Commit Graph

64 Commits

Author SHA1 Message Date
Daniel P. Berrange
cfdc8055be Fix some compile warnings 2011-07-01 13:42:08 +01:00
Daniel P. Berrange
4c210b712c Convert from Glade to GtkBuilder 2011-07-01 13:41:54 +01:00
Daniel P. Berrange
27d7500e03 Enable use of scaling from spice >= 0.6
Make the SPICE widget operate in the same way as the VNC widget
with display scaling, and auto-resize, but preserving guest
aspect ratio
2011-07-01 12:56:57 +01:00
Daniel P. Berrange
e37190e754 Hide menu bar on fullscreen & add a hiding toolbar
* src/Makefile.am, src/view/autoDrawer.c, src/view/autoDrawer.c
  src/view/drawer.c, src/view/drawer.h, src/view/ovBox.c,
  src/view/ovBox.c: Import auto-drawer from vinagre
* src/viewer-priv.h, src/viewer.c, src/viewer.glade,
  src/display-vnc.c: Insert an auto-drawer above the
  notebook and display an auto-hiding toolbar when fullscreen
2011-07-01 12:56:02 +01:00
Daniel P. Berrange
72d54bf0fc Add message about whether it is VNC or SPICE display 2011-06-30 17:51:50 +01:00
Daniel P. Berrange
da9cd26085 Add some useful data for the --verbose flag 2011-06-30 17:41:26 +01:00
Daniel P. Berrange
6234a2e1f4 Fix re-connect after authentication failure
viewer->display will be non-NULL if we have already attempted a
connection. So, remove the check for it being NULL, and instead
skip the widget setup step.
2011-05-23 12:41:12 +01:00
Jiri Denemark
6c477650ca Add support for listen attribute
Virt-viewer now parses listen attribute from graphics element to be able
to connect to domains configured with explicit listen address:

    <graphics type='vnc' port='-1' autoport='yes' listen='123.45.67.89'/>
2011-05-23 12:15:05 +01:00
Daniel P. Berrange
8bf23ec76e Fix waiting for VM based on UUID 2011-02-03 17:00:36 +00:00
Daniel P. Berrange
c015cf6076 Support connections over UNIX sockets 2011-02-03 16:59:49 +00:00
Daniel P. Berrange
26746f3b6f Avoid fetching XML document multiple times when extracting graphics 2011-02-03 16:48:58 +00:00
Marc-André Lureau
a12a00758b build: make spice-gtk dependency optional 2010-12-10 12:22:48 +01:00
Marc-André Lureau
be22c7dcf0 viewer: add support for spice resize-guest
And also turn on clipboard sharing.
2010-11-30 15:57:23 +01:00
Marc-André Lureau
155a03f9c8 viewer: Add support for Spice 2010-11-30 13:59:01 +01:00
Marc-André Lureau
882ac10d52 viewer: generalize extract_port() into viewer_extract_xpath_string() 2010-11-19 18:09:42 +01:00
Marc-André Lureau
07f2682884 viewer: silence a few warnings of unused variables 2010-11-19 18:07:48 +01:00
Marc-André Lureau
e60c5e56de viewer: split vnc display creation out of viewer_activate() 2010-11-19 18:07:12 +01:00
Daniel P. Berrange
a0ca3e3da0 Improve auth dialog message when no address is available 2010-12-14 15:54:47 +00:00
Ronnie Sahlberg
abee3c912b Add support for zoom levels
Add a menu for zooming in/out of the virtual desktop.

Add a --zoom command line to set the initial zoom level.

Defaults to 100% zoom at startup
2010-07-05 17:45:18 +01:00
Daniel P. Berrange
fbdb72bb13 Add message dialog displays for important error scenarios 2010-01-12 16:50:18 +00:00
Daniel P. Berrange
a16f4d5767 Fix warning with default widget focus in auth dialog 2010-01-12 15:14:12 +00:00
Daniel P. Berrange
8b849632fd Add dialog to alert user to unsuccessful authentication & retry
Alert user if VNC server has no compatible auth methods
Support VNC bell & cut text events
2010-01-12 14:55:10 +00:00
Daniel P. Berrange
d5cee6df0c Various cleanups for Glib/GTK and BZ 474213 2010-01-12 12:05:30 +00:00
Daniel P. Berrange
c3d4d61340 Add 'pl' to LINGUAS. Remove accidentally committed .pot file and
add it to .hgignore. Add RPM specfile magic for translations.
Fix typo in about.glade URL
2010-01-11 17:00:37 +00:00
Daniel P. Berrange
50f48b4d91 Add support for i18n of the UI
Add all the boilerplate code required for doing i18n of the UI.
No translations available yet though
2010-01-11 16:01:20 +00:00
Yann E. MORIN"
acf61455a3 viewer: fix build on 'old' GTK2
Debian lenny has gtk2 2.12.12, which is missing gtk_widget_get_window.
Provide our own function if GTK2 <= 2.12 .

Highly inspired from: http://osdir.com/ml/svn-commits-list/2009-08/msg00725.html
2009-08-15 11:19:24 +02:00
Daniel P. Berrange
0f20335a4f Ensure VNC display is centered if being scaled 2009-07-29 12:43:30 +01:00
Daniel P. Berrange
831411aacb Ensure password is not echoed 2009-07-29 12:39:16 +01:00
Daniel P. Berrange
bc55a8d757 Add support for libvirt graphical auth 2009-07-29 12:35:27 +01:00
Daniel P. Berrange
852825ae5e Pull auth code out into separate file 2009-07-29 11:21:11 +01:00
Daniel P. Berrange
3680317d91 Make plugin work again 2009-07-28 21:51:20 +01:00
Daniel P. Berrange
e135b1c2f7 Add compatability logic for drivers without domain event support 2009-07-28 21:16:40 +01:00
Daniel P. Berrange
d35abc160a Fix mouse / key grab vs modifier disabling mixup 2009-07-28 21:00:56 +01:00
Daniel P. Berrange
296f91c549 Pull glib event loop integration into tree until libvirt-glib is more mature 2009-07-28 20:48:43 +01:00
Daniel P. Berrange
6acb3856b6 Re-write the way scaling/resizing works
* Default to auto-resize mode where we try to fit the VNC widget 1:1 in the main window
* If local desktop is not large enough for VNC widget, scale down, maintaining aspect ratio
* Allow the user to turn off auto-resize and have total manual control over window size
* Always scale the display in fullscreen mode
2009-07-28 20:26:34 +01:00
Daniel P. Berrange
49ed212ef1 Add a --debug command line flag 2009-07-28 12:19:28 +01:00
Daniel P. Berrange
334db181e0 Fix waiting for a VM that does not initially exist 2009-07-28 12:10:52 +01:00
Daniel P. Berrange
a9c5318923 Move most of viewer code out into viewer.c 2009-07-28 12:06:18 +01:00
Daniel P. Berrange
11e5b8b9ee Use g_strdup & friends 2008-11-28 07:08:22 -05:00
Daniel P. Berrange
67a38decce Remove unused usleep code 2008-11-28 11:03:28 +00:00
Daniel P. Berrange
61a05530b1 Re-write completely to use Glade, libvirt events, and libvirt-glib integration 2008-11-26 13:03:50 -05:00
Richard W.M. Jones
fb01700365 * configure.ac, src/Makefile.am, src/main.c, src/usleep.c: Support
for building on Windows using MinGW compiler toolchain (or
	for cross-compiling using the same).

	* .hgignore: Ignore some generated files.
2008-10-10 12:37:23 +01:00
Daniel P. Berrange
e2712473f6 Add error message when conecting to inactive VM (Hiroyuki Kaguchi) 2008-06-17 04:02:50 -04:00
Daniel P. Berrange
5feb3b8e18 Use GTK apis for option parsing (Guido G\374nther) 2008-04-27 23:41:26 -04:00
Daniel P. Berrange
4455a4c413 Avoid caching inactive domain to workaround issues with older XenD (Hiroyuki Kaguchi) 2008-04-23 22:54:29 -04:00
Daniel P. Berrange
e1a52e1273 Call gtk_init early to ensure it grabs args like --sync 2008-04-22 10:15:31 -04:00
Daniel P. Berrange
713c975850 Disable scaling by default if running on composited window 2008-03-07 17:16:06 -05:00
Daniel P. Berrange
a7166279e5 Block view menu accelerator & remove debug 2008-03-07 13:33:29 -05:00
Daniel P. Berrange
cfde34bf4c Added support for desktop scaling with OpenGL 2008-03-07 12:53:56 -05:00
Daniel P. Berrange
0154dca5b9 Kill automake portability warnings. Use a config.h Cleanup misc build issues. Build with fatal compile warnings 2008-03-05 18:24:16 -05:00