summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add manpage docs for the --attach optionDaniel P. Berrange2012-04-171-0/+7
|
* Fix manpage to s/--fullscreen/--full-screen/Daniel P. Berrange2012-04-172-2/+2
|
* Fix automatic usb redir through controllerChristophe Fergeau2012-04-171-5/+5
| | | | | | | | | | | | | | | | | | remote-viewer is currently trying to use SpiceUsbDeviceManager::auto-connect to control whether USB devices should be automatically connected or not. However, this property is more or less an internal spice-gtk property which is toggled by SpiceGtkSession when the SPICE widget gets/loses focus. SpiceGtkSession has an "auto-usbredir" property which can be used by applications to enable/disable automatic usb redirection through SPICE. Since this property is helpfully bound to VirtViewerSession::auto-usbredir, use this when the controller is told to enable/disable USB redirection. Without this change, automatic USB redirection will always get reenabled as soon as there's a focus change since SpiceGtkSession::auto-usbredir defaults to be enabled in spice-gtk.
* Ensure windres & icotool are present on Win32 buildsDaniel P. Berrange2012-04-051-0/+7
| | | | | | | | | | | | | | Builds are failing with an obscure error message make[3]: Entering directory `/var/lib/builder/source-root/virt-viewer/build/icons' GEN virt-viewer.ico /bin/sh: -c: command not found make[3]: *** [virt-viewer.ico] Error 127 This is because configure.ac does not enforce that icotool is present on Win32. * configure.ac: Mandate windres & icotool on Win32
* Require F17 for spice in RPM buildsDaniel P. Berrange2012-04-051-1/+1
|
* Exclude windows-cmdline-wrapper.c from some syntax check rulesDaniel P. Berrange2012-04-051-2/+5
|
* Add Yonit to authors fileDaniel P. Berrange2012-04-051-0/+1
|
* Fix some syntax violations in git.mkDaniel P. Berrange2012-04-051-5/+5
|
* Minor simplification/optimization of VirtViewerDisplayZeeshan Ali (Khattak)2012-04-052-9/+6
|
* Fix typo in variable names for Win32 command helperDaniel P. Berrange2012-04-041-2/+2
|
* Fix close of VNC displaysDaniel P. Berrange2012-04-047-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When clicking the close button on a virt-viewer window with a VNC session open, while the VNC session terminates, the window does not go away. The problem is that the virt_viewer_session_vnc_disconnected method never gets invoked. The close button triggers a call to virt_viewer_session_clear_displays which unrefs the VirtViewerDisplayVnc instance. This in turn triggers a call to gtk_container_destroy, which destroys all widgets it contains, ie the VncDisplay * object. With the VncDisplay object in its dispose phase, no signals will ever be emitted, thus the 'vnc-disconnected' signal never gets seen. The design issue is that VirtViewerDisplayVnc is assuming it owns the VncDisplay, whereas in fact the real owner is the VirtViewerSessionVnc object. The solution is to introduce a new virt_viewer_display_close method which can be used to de-parent the widget before VirtViewerDisplay is unref'd. The VirtViewerSessionVnc object also needs to hold a full ref on the VncDisplay object, not merely a floating reference * virt-viewer-display-spice.c, virt-viewer-display.c, virt-viewer-display.h: Add virt_viewer_display_close * virt-viewer-display-vnc.c: Deparent VNC widget in virt_viewer_display_close impl * virt-viewer-session-vnc.c: Improve logging * virt-viewer-session.c: Call virt_viewer_display_close before unrefing display * virt-viewer-window.c: Improve logging Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Propagate USB redirection controller messagesChristophe Fergeau2012-04-041-1/+16
|
* Add support for the SPICE properties disable-effects & color-depthYonit Halperin2012-04-031-1/+3
| | | | | Signed-off-by: Yonit Halperin <yhalperi@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* build-sys: fix Windows specific LDFLAGS on non-mingwChristophe Fergeau2012-04-031-1/+3
|
* nsis: fix a few missing iconsMarc-André Lureau2012-04-031-1/+19
|
* nsis: add the remote-viewer cmdline wrapperMarc-André Lureau2012-04-021-0/+2
|
* remote-viewer: make it a GUI/windows application with hybrid consoleMarc-André Lureau2012-04-022-0/+16
| | | | | If the application can attach to its parent console, redirect input/output. So that will work nicely with the command line wrapper.
* Add a Windows command line wrapperMarc-André Lureau2012-04-022-0/+95
| | | | Add a small command line wrapper, to be able to call GUI/windows application from the console
* Disable mnemonics via gtk-enable-mnemonics settingsMarc-André Lureau2012-04-011-33/+10
| | | | | | | This has 2 advantages, and I can't figure any drawback: - it fixes the issue of mnemonic hints being draw when pressing Alt key (character underlined), even when they were disabled. - it simplifies the code :)
* Disable menu items that would fail when there is no displayMarc-André Lureau2012-04-011-0/+18
|
* build-sys: simplify autogen.shMarc-André Lureau2012-04-011-37/+11
| | | | It should support NOCONFIGURE=1 ./autogen.sh && mingw32-configure
* build-sys: use git.mk to generate gitignoreMarc-André Lureau2012-03-3016-45/+254
| | | | | | | | This makefile is just fantastic, it forces you into good practices, support various build targets (my windows builddir ignore the right files etc..) The more I use it, the more I like it.
* win32: add a few Windows sepecific dataMarc-André Lureau2012-03-306-1/+85
| | | | Add application icon and manifest
* win32: clean-up the NSIS installer, allow user installMarc-André Lureau2012-03-301-23/+38
|
* Fix recent --spice-controller regression, add error messageMarc-André Lureau2012-03-301-3/+10
| | | | | | | | | The current code will attempt to dereference args if --spice-controller, even if args is NULL. Let's not accept any extra argument/uri on the command line if using the controller. Beside, the conditionnal block looks better outside of the if condition.
* usbredir: listen for device-error signalHans de Goede2012-03-291-1/+4
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* remote-viewer: press Enter to connect in dialogMarc-André Lureau2012-03-291-0/+1
|
* Remove unused variable iMarc-André Lureau2012-03-291-3/+3
|
* remote-viewer: add a simple connection dialogMarc-André Lureau2012-03-293-4/+141
| | | | | | If the user doesn't provide URI, let's show a simple dialog to enter it. Also save & list recently used URLs in that dialog.
* Fix g_thread_init deprecation warningMarc-André Lureau2012-03-292-0/+4
| | | | | Although the doc says it is only deprecated since >2.32, it's actually >2.31 according to glib git log.
* Do not warn if the display is shown and not readyMarc-Andre Lureau2012-03-221-2/+4
| | | | | | | Lower warning message to debug level. There are various racy ways it ends up calling show_display although the display is not yet ready. This is not such a big problem, although it would be nice to handle this case better
* Notify focus state when the foreign menu title is setMarc-Andre Lureau2012-03-221-6/+26
| | | | | | | The current code only inform of focus state when the listener is ready. spice-gtk controller code lacks signal when a client connects, but a client will set the title when connected and send a notify signal. Use this event to notify of application focus state.
* Do not try to unref NULL menuMarc-Andre Lureau2012-03-221-1/+3
|
* Don't leak foreign menuMarc-Andre Lureau2012-03-221-0/+1
| | | | The RemoveViewer object will have its own ref.
* spice: handle switch-host eventMarc-André Lureau2012-03-211-6/+13
| | | | | | | | | Do not disconnect session when switching host (non-seamless migration method). Also, handle a bit better main channel events and do not disconnect on unknown events, however raise unhandled event message to warning level.
* spice: remove usage of deprecated audio apiMarc-André Lureau2012-03-211-8/+6
|
* Display correct key bindings to release cursorMarc-André Lureau2012-03-212-3/+34
| | | | | If the accels are enabled (with Spice controller custom bindings), show the configured keybinding in the title bar.
* spice: implement --fullscreen=auto-confMarc-André Lureau2012-03-217-21/+155
| | | | | | | - auto-conf is an optionnal argument to --fullscreen: it will set the guest display configuration to match the client display configuration, by sending the client monitors size and position to capable guests.
* Fix indentationMarc-André Lureau2012-03-181-13/+13
|
* Do not crash so easily when given invalid uriMarc-André Lureau2012-03-163-5/+7
| | | | 'remote-viewer foobar' shouldn't crash
* Updated translationsDaniel P. Berrange2012-03-133-172/+173
|
* Make sure we call g_thread_init()Marc-André Lureau2012-03-094-9/+13
| | | | GThread is needed by spice-gtk
* Notify of focus state when a client connectsMarc-André Lureau2012-03-091-4/+6
| | | | | | The current code notifies the controller when the remote-viewer application starts, but not when the client is connected. We should do the later instead
* Update NEWS for 0.5.2 releasev0.5.2Daniel P. Berrange2012-03-091-1/+5
|
* Import newer translations from transifexDaniel P. Berrange2012-03-099-795/+801
|
* Fix libvirt/SPICE min versionsDaniel P. Berrange2012-03-094-7/+10
| | | | | | | | | | We require libvirt >= 0.9.7 to get virDomainOpenGraphics We require spice-gtk >= 0.11 to get the fix for dealing with authentication over an SSH tunnel We requires spice-protocol >= 0.10.1 to get a constant required by USB redirection
* Add a send-key menu in fullscreenMarc-André Lureau2012-03-081-1/+57
|
* build: fix autogen messageMarc-André Lureau2012-03-071-0/+1
| | | | | | | | When running ./autogen.sh on a pristine git checkout, I got: libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. You should add the contents of '/usr/share/aclocal/intltool.m4' to 'aclocal.m4'.
* virt-viewer-window: Don't try to resize non visible windowsHans de Goede2012-03-071-0/+10
| | | | | | | | | | | Trying to resize not visible windows leads to the following being printed to the console: Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' This gets triggered by the gdk_screen_get_monitor_geometry() call in virt_viewer_window_resize() Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-window: Add show / hide utility functionsHans de Goede2012-03-073-23/+23
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>