Commit Graph

197 Commits

Author SHA1 Message Date
Marc-André Lureau
a1f0b01afc Split virt_viewer_activate() and virt_viewer_set_domain() 2011-07-22 16:09:14 +01:00
Marc-André Lureau
e56a8cb203 Split virt_viewer_create_session() out of virt_viewer_extract_connect_info()
For future reusability
2011-07-22 16:09:07 +01:00
Marc-André Lureau
824b12dab0 Reorder _VirtViewer to make it easier to split with RemoteViewer 2011-07-22 14:51:34 +01:00
Marc-André Lureau
3a42577932 Extract scheme in virt_viewer_extract_host()
Needed for remote-viewer.
2011-07-22 14:50:03 +01:00
Daniel P. Berrange
3473c4bb49 Remove use of AM_GLIB_GNU_GETTEXT
Since we already invoke the intltool macros, also invoking
AM_GLIB_GNU_GETTEXT is wrong and causes problems with the
later makefile rules
2011-07-18 13:56:49 +01:00
Daniel P. Berrange
8705ea72bd Fix build requirements for GTK3 2011-07-12 13:10:40 +01:00
Daniel P. Berrange
06d8982af2 Remove bogus hardcoded check for GTK2 2011-07-12 13:00:04 +01:00
Daniel P. Berrange
18e1337d6e Disable SPICE unless on x86 architectures 2011-07-12 12:11:58 +01:00
Daniel P. Berrange
dc41e7e49c Fix compat with GTK 2.18.0 2011-07-12 12:11:43 +01:00
Daniel P. Berrange
a9c310dbce Updates for 0.4.0 release 2011-07-12 11:49:06 +01:00
Daniel P. Berrange
ebf5e088c6 Remove virt-viewer-priv.h from sources, since it is gone 2011-07-12 11:48:51 +01:00
Daniel P. Berrange
0c1a7dbc65 Remove duplicated typedefs 2011-07-12 11:48:39 +01:00
Daniel P. Berrange
af46dc1408 Annotate unused variables 2011-07-12 11:48:23 +01:00
Daniel P. Berrange
2fd926243d Fix leak of graphics type attribute from XML 2011-07-12 11:27:51 +01:00
Daniel P. Berrange
cf28bcf512 Fix leak of command line arguments 2011-07-12 11:27:38 +01:00
Daniel P. Berrange
1def55556f Split pull part of VirtViewerDisplay out into VirtViewerSession
To facilitate introduction of multi-head support, pull some of
the VirtViewerDisplay class out into a new VirtViewerSession
class.
2011-07-11 20:03:32 +01:00
Daniel P. Berrange
9501b9885a Avoid (null) in titlebar 2011-07-11 17:07:36 +01:00
Daniel P. Berrange
4614cb9024 Fix colour of status label to show up on black background 2011-07-11 16:30:43 +01:00
Daniel P. Berrange
f1e7704abf Fix reconnecting of SPICE display 2011-07-11 16:26:51 +01:00
Marc-André Lureau
7cd8b352ba Fill space on the display alignment with black 2011-07-11 15:51:36 +01:00
Marc-André Lureau
7da268c164 Add support for --fullscreen option 2011-07-11 15:50:13 +01:00
Marc-André Lureau
98499277db Skip non-primary monitors in SPICE 2011-07-11 15:48:20 +01:00
Daniel P. Berrange
4ba39d0224 Remove circular dependancy between VirtViewerDisplay and VirtViewer
Add many signals to VirtViewerDisplay which are emitted when various
events occur. This lets us remove all the code in the VirtViewerDisplay
subclasses which call back into VirtViewer methods. Instead VirtViewer
can simply connect signals to the display
2011-07-11 15:35:47 +01:00
Daniel P. Berrange
7a7112a9fa Turn VirtViewerDisplay into a proper Gtk widget
Turn VirtViewerDisplay into a Gtk widget instead of just a GObject,
by merging the functionality from VirtViewerAlign
2011-07-11 14:10:07 +01:00
Daniel P. Berrange
7f91cdf4ab Update to optionally build with GTK3 2011-07-11 12:07:21 +01:00
Daniel P. Berrange
cff795065a Replace use of GtkAlignment with a custom align widget
To use the GtkAlignment we have to play evil tricks overriding
its size request, to make it reallocate the child to the preferred
size we desire based on the virtual desktop size + zoom level.

By replacing the GtkAlignment with a custom widget we can
directly implement the layout/sizing semantics we want without
playing stupid games
2011-07-01 18:07:25 +01:00
Daniel P. Berrange
f3fa999769 Introduce standard naming convention to files & methods
All source files must be named

  virt-viewer-XXXX

All methods named

  virt_viewer_XXX
2011-07-01 16:12:20 +01:00
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
5fcae6c932 Refactor configure.ac to pull out required version 2011-07-01 13:11:41 +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
d10aace286 Replace .hgignore with .gitignore 2011-05-23 12:12:28 +01:00
Daniel P. Berrange
f6dbf8bdec Added tag release-0.3.1 for changeset f71b32a6a583 2011-02-21 15:27:23 +00:00
Daniel P. Berrange
20a7fb8f2b Updates for 0.3.1 release 2011-02-21 15:27:04 +00:00
Daniel P. Berrange
499053d3a9 Fix typo in SPICE configure setup 2011-02-21 14:30:12 +00:00
Daniel P. Berrange
2b937ae964 Added tag release-0.3.0 for changeset 807203083e74 2011-02-21 12:40:20 +00:00
Daniel P. Berrange
7e6377d666 Updates for 0.3.0 release 2011-02-21 12:40:10 +00:00
Daniel P. Berrange
d32c48c5e5 Fix misc RPM specfile bugs 2011-02-21 12:38:45 +00:00
Daniel P. Berrange
3afa7fd519 Merge heads 2011-02-11 16:21:01 +00:00
Daniel P. Berrange
215e8f73e6 Disable mozilla plugin since it doesn't build currently 2011-02-11 15:56:06 +00:00
Daniel P. Berrange
5b33ed49af Enable SPICE in Fedora 15 or later 2011-02-11 15:55:49 +00:00
yurchor
c354125c5f l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
2011-02-08 16:32:00 +00:00
elsupergomez
d58438cb50 l10n: Updates to Spanish (Castilian) (es) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
2011-02-08 14:20:13 +00:00
Daniel P. Berrange
3800d7b445 Update pkg-config check for spice-gtk library 2011-02-07 11:55:22 +00:00
warrink
683fb05758 l10n: Updates to Dutch (Flemish) (nl) translation
Transmitted-via: Transifex (translate.fedoraproject.org)
2011-02-04 18:14:02 +00:00