summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add virt_viewer_compare_version()Marc-André Lureau2013-03-082-0/+50
|
* Add VIRT_VIEWER_ERROR GErrorMarc-André Lureau2013-03-082-0/+13
|
* Fix send-key menu not showing in fullscreen with gtk3 (rhbz#913601)Hans de Goede2013-02-211-0/+2
| | | | | | | This should also fix the send-key menu showing in the wrong position with a gtk2 build, when the tooltray icon is clicked on the 2nd or higher monitor. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Post release version bumpDaniel P. Berrange2013-02-131-1/+1
|
* Update for 0.5.5 releasev0.5.5Daniel P. Berrange2013-02-132-1/+16
|
* Update min spice-gtk requirement docs / RPM requiresDaniel P. Berrange2013-02-133-5/+5
|
* Turn off deprecation warningsDaniel P. Berrange2013-02-131-1/+1
| | | | | | | | | GLib deprecated the GValueArray type without providing an ABI compatible replacement. Thus we need to disable dreprecation warnings ../../src/virt-viewer-auth.c: In function 'virt_viewer_auth_vnc_credentials': ../../src/virt-viewer-auth.c:112:9: error: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Werror=deprecated-declarations]
* Avoid Makefile @ check for data/Makefile.amDaniel P. Berrange2013-02-131-0/+2
|
* Adapt 'po file' syntax check to look at more filesDaniel P. Berrange2013-02-131-1/+3
| | | | | The 'po file' check needs to consider various files in data/ as well as normal sources
* Don't define the same make target/variables twiceDaniel P. Berrange2013-02-132-1/+6
| | | | | The NSIS patches defined the .PHONY target twice and also defined CLEANFILES twice
* Auto-generate AUTHORS file from GIT logsDaniel P. Berrange2013-02-135-94/+38
| | | | | | | Rather than trying to manually keep track of authors, just auto-generate the list from GIT logs Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* win: add virt-viewer.msi build ruleMarc-André Lureau2013-02-133-1/+111
| | | | | | | | In order to build the MSI, you will need msitools: http://ftp.gnome.org/pub/GNOME/sources/msitools/ The MANUFACTURER environment variable is mandatory and should be set to the manufacturer/author of the MSI build.
* spec: include mime fileMarc-André Lureau2013-02-121-0/+1
|
* build-sys: add --with-buildid to details build versionMarc-André Lureau2013-02-126-5/+9
| | | | | | Add a configure argument to append build version details, similar to what Daniel Berrange proposed in the "use finer package version in mingw-virt-viewer" thread on the ML.
* Register remote-viewer mime handlingMarc-André Lureau2013-02-116-14/+42
| | | | | | Unfortunately, I don't see yet how we could avoid the browser dialog asking which application to open. On Firefox, each user has a mimeTypes.rdf, but we can't really modify it..
* win32: process message queue in debug-helperMarc-André Lureau2013-02-111-2/+14
| | | | | | | | | Process messages while waiting for pi.hProcess. Avoid the spice-x from hanging in WaitForInputIdle(), although the client itself might not be ready, not even started... https://bugzilla.redhat.com/show_bug.cgi?id=903190
* virtviewer-window: Make sure fullscreen window stays on the same monitorHans de Goede2013-02-111-1/+14
| | | | | | | | | | | | | Sometimes the guest may shortly disable and then re-enable a monitor while in fullscreen mode, this happens for example when changing display resolution through gnome-display-properties inside the guest. This causes the client window-manager to remap the window, and this can cause it to end up on a different monitor. This patch fixes this by remembering the position the window is places at when going fullcreen and moving it there again when its gets (re-)shown. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Fix "Do not ask me again" checkbox settings savingMarc-André Lureau2013-02-071-17/+22
| | | | | | | | | | | | | | | | | Based on bug report by Hans: The code block for saving was below this check: if (priv->session) { virt_viewer_session_close(VIRT_VIEWER_SESSION(priv->session)); if (priv->connected) { priv->quiting = TRUE; return; } } Which means it never executes when quiting virt-viewer while conneced, causing the "Do not ask me again" checkbox settings to not be saved.
* usbredir: Fix usbredir menu always being grayed out on monitor 2+Hans de Goede2013-02-061-0/+4
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-display-spice: Pass proper x and y coordinates in windowed modeHans de Goede2013-02-061-0/+7
| | | | | | | | | | | This stops monitor order from the guest from being re-arranged in multi- monitor setups when switching between fullscreen and windowed mode. Note this relies on spice-gtk's auto monitor alignment code, which currently does not properly handle setups where there is more then 1 row of monitors, ie 2x1 - 5x1 will work fine, but 2x2 will not. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-display-spice: Use real monitor coordinates in fullscreenHans de Goede2013-02-061-1/+8
| | | | | | | | | Now that we pass the real monitor coordinates, tell spice-gtk to use them, rather then to use the passed coordinates as input for its automatic monitor alignment. This fixes ie monitors in a 2x2 grid, showing up as a 4x1 configuration in the guest. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-display-spice: Pass real monitor coordinates in fullscreenHans de Goede2013-02-061-1/+4
| | | | | | Rather then always passing +0+0 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* g_{message,warning}: Use printf styleMichal Privoznik2013-02-042-2/+2
| | | | | | The g_message() and g_warning functions expect printf style of arguments. That is, whenever we want to print a string, it has to be preceded with "%s" format.
* configure: Update with autoupdateMichal Privoznik2013-02-041-3/+4
|
* Don't redefine _FORTIFY_SOURCE macroMichal Privoznik2013-02-041-1/+1
| | | | | If the _FORTIFY_SOURCE has been already defined, we unconditionally redefine it, leaving us with warning/error thrown at compilation time.
* Make compilation work with automake 1.13Martin Kletzander2013-02-041-1/+1
| | | | | | Just one thing needs to be changed for virt-viewer to build with automake 1.13, AM_CONFIG_HEADER is deprecated and should be AC_CONFIG_HEADERS.
* remote-viewer: controller sets spice session proxyMarc-André Lureau2013-01-312-2/+3
| | | | | Trivial change since spice-gtk now has proxy session property and controller message, just forward it.
* Add a "Do not ask me again" checkbox when closing appMarc-André Lureau2013-01-311-2/+62
|
* Always ask user about closing sessionMarc-André Lureau2013-01-311-11/+2
| | | | | | | | Currently, virt-viewer doesn't ask for user confirmation when closing a single monitor session. Always ask before closing, as requested by user. https://bugzilla.redhat.com/show_bug.cgi?id=803912
* spice: add proxy configuration to connection fileMarc-André Lureau2013-01-294-2/+34
|
* Remove unused labelChristophe Fergeau2013-01-241-1/+0
| | | | It's no longer used after aecd80ec7
* Remove unused variableChristophe Fergeau2013-01-241-1/+0
| | | | 'window' is no longer used after 412bcf6f.
* Fix warning when compiling without spice-gtk supportChristophe Fergeau2013-01-241-0/+1
| | | | | | | | | | | When remote-viewer is compiled without spice-gtk support, spice-session.h will not get included in remote-viewer.c, causing these warnings: remote-viewer.c: In function 'remote_viewer_start': remote-viewer.c:693:9: warning: implicit declaration of function 'virt_viewer_session_set_file' [-Wimplicit-function-declaration] remote-viewer.c:693:9: warning: nested extern declaration of 'virt_viewer_session_set_file' [-Wnested-externs]
* Add missing intltool BuildRequiresChristophe Fergeau2013-01-241-0/+1
| | | | The configure script fails if intltool is not installed.
* mingw: Add packages for virt-viewer NSIS installerChristophe Fergeau2013-01-241-1/+51
| | | | | | This makes it much easier to build an updated Windows installer binary as this can now be done using mock/koji/... by using this .spec and a virt-viewer tarball.
* mingw: Build a gtk2 version of virt-viewerChristophe Fergeau2013-01-241-5/+5
| | | | | | | The nsis file we ship is generating an installer for a GTK+2 build of virt-viewer, so it's inconsistent for the mingw-virt-viewer spec file to generate a GTK+3 build. Switch to building a GTK+2 version of virt-viewer in mingw-virt-viewer.spec
* mingw: Package debug-helper.exeChristophe Fergeau2013-01-241-0/+2
|
* mingw: Package debug filesChristophe Fergeau2013-01-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When building on f18, the build fails because of unpackaged debug files. Use the appropriate mingw macro to generate the mingw debug packages. The build failure is: RPM build errors: error: Installed (but unpackaged) file(s) found: /usr/i686-w64-mingw32/sys-root/mingw/bin/debug-helper.exe.debug /usr/i686-w64-mingw32/sys-root/mingw/bin/remote-viewer.exe.debug /usr/i686-w64-mingw32/sys-root/mingw/bin/virt-viewer.exe.debug /usr/i686-w64-mingw32/sys-root/mingw/bin/windows-cmdline-wrapper.exe.debug /usr/x86_64-w64-mingw32/sys-root/mingw/bin/debug-helper.exe.debug /usr/x86_64-w64-mingw32/sys-root/mingw/bin/remote-viewer.exe.debug /usr/x86_64-w64-mingw32/sys-root/mingw/bin/virt-viewer.exe.debug /usr/x86_64-w64-mingw32/sys-root/mingw/bin/windows-cmdline-wrapper.exe.debug Installed (but unpackaged) file(s) found: /usr/i686-w64-mingw32/sys-root/mingw/bin/debug-helper.exe.debug /usr/i686-w64-mingw32/sys-root/mingw/bin/remote-viewer.exe.debug /usr/i686-w64-mingw32/sys-root/mingw/bin/virt-viewer.exe.debug /usr/i686-w64-mingw32/sys-root/mingw/bin/windows-cmdline-wrapper.exe.debug /usr/x86_64-w64-mingw32/sys-root/mingw/bin/debug-helper.exe.debug /usr/x86_64-w64-mingw32/sys-root/mingw/bin/remote-viewer.exe.debug /usr/x86_64-w64-mingw32/sys-root/mingw/bin/virt-viewer.exe.debug /usr/x86_64-w64-mingw32/sys-root/mingw/bin/windows-cmdline-wrapper.exe.debug
* mingw: Fix typo in mingw macro name (hedder -> header)Christophe Fergeau2013-01-241-1/+1
|
* nsis: Adjust file listChristophe Fergeau2013-01-241-4/+4
| | | | Adjust file names for mingw-usbredir dlls and readline dlls
* virt-viewer-display-spice: Get monitor under our windowHans de Goede2013-01-221-1/+2
| | | | | | | | | | | When getting monitor info for going fullscreen, Get the monitor under *our* window rather then under the root-window. Noticed this not working properly when testing the monitor coordinates stuff, but this should also help people seeing problems when using non equally sized monitors. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* vnc: add connection by fileMarc-André Lureau2013-01-185-22/+52
| | | | | | | | | | | | | | | Learn to connect to a VNC server with the connection details file, ex: [virt-viewer] type=vnc host=localhost port=2356 password=foobar v2: - add username/password support https://bugzilla.redhat.com/show_bug.cgi?id=843410
* file: add username supportMarc-André Lureau2013-01-182-0/+27
|
* Make hotkey configuration functionality available from the cmdline (v2)Hans de Goede2012-12-214-0/+36
| | | | | | | Changes in v2: -Add --hotkeys documentation to the man-pages Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Add a virt_viewer_app_set_hotkeys() helper functionHans de Goede2012-12-213-40/+55
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Improve check for overridden grab key combinationChristophe Fergeau2012-12-202-4/+5
| | | | | | | | | remote-viewer can either use the default grab/ungrab handled by spice-gtk, or override it and use the standard gtk+ accelerator mechanism. However, the code currently assumes that if any accelerator is set in remote-viewer, then the grab key has been overridden. This commit makes sure the grab key is actually overridden before assuming so.
* Don't leak SpiceGrabSequence in enable_accel_changedChristophe Fergeau2012-12-201-2/+3
|
* Improve hotkeys controller behaviourChristophe Fergeau2012-12-201-0/+5
| | | | | | | Disable default accelerators when setting bindings from the controller in case the controller does not override them all. This ensures we don't inherit from the bindings set in VirtViewerApp::constructor if the controller doesn't set any bindings for a given action.
* Use monitor geometry, not screen sizeMarc-André Lureau2012-12-071-2/+6
| | | | | | | | | | | | | In a recent commit, 3bb6f5ec805ecfe78eba6d4d98e3ffcab195273a, I introduced a regression: going fullscreen would no longer match client and guest resolution correctly. A GdkScreen is not necessarily the physical screen monitor size. Lookup the physical monitor size using gdk_screen_get_monitor_geometry(). Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=881020
* session-spice: Cast CA string to gunit8 pointerMichal Privoznik2012-12-051-1/+1
| | | | | | | SpiceSession has 'ca' property which is type of GByteArray*. However, when we read the property from file, we read it as string. For conversion g_byte_array_new_take() is used which takes given pointer as guint8* so we need to do the cast.