aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'clipfocus' of https://github.com/CendioOssman/tigervncPierre Ossman2018-04-205-49/+126
|\
| * Avoid clipboard updates when not focusedPierre Ossman2018-03-262-0/+52
| | | | | | | | | | | | | | We don't want to surprise the user with unexpected clipboard changes when vncviewer is in the background, and it is both wasteful and possibly insecure to inform the server of every clipboard update when the user isn't interacting with it.
| * Add focus test helper for ViewportPierre Ossman2018-03-262-17/+14
| |
| * Handle LED state sync entirely in ViewportPierre Ossman2018-03-263-6/+17
| | | | | | | | | | Apply workaround for FLTK's bad focus handling so that we can let Viewport handle LED synchronisation without help from DesktopWindow.
| * Move server cut text handler to ViewportPierre Ossman2018-03-265-26/+43
| | | | | | | | | | That way both incoming and outgoing clipboard are both in the same place, making things clearer.
* | Stop abusing InputHandler class for write classPierre Ossman2018-03-282-7/+10
|/ | | | | | The handler is for incoming data and we should not be abusing that class for the writer class. Do proper write prototypes for the relevant functions.
* Replace "frames" with "updates" in statsPierre Ossman2018-03-264-21/+21
| | | | | | The VNC servers aren't great at getting full frames with each update, so avoid calling it "frames per second" in the statistics as that can be misleading.
* Merge branch 'altgraph' of https://github.com/CendioOssman/tigervncPierre Ossman2018-03-084-34/+127
|\
| * Handle Ctrl+AltGr on WindowsPierre Ossman2018-03-083-17/+77
| | | | | | | | | | Improve AltGr detection even further on Windows so we can detect the case when Ctrl and AltGr are pressed together.
| * Better detection of AltGr on WindowsPierre Ossman2018-03-082-34/+67
| | | | | | | | | | | | Try to properly detect the fake CtrlL+AltR sequence Windows sends when pressing AltGr. This allows us to send more accurate key events over to the server.
* | Fix incorrect numbers in performance debug graphPierre Ossman2018-02-261-3/+3
|/ | | | | | | | | Copy paste errors/brain fart: - Pixels do not need a factor 8 for any conversion - Multiplying bytes by 8 gives bits, so lower case 'b', and bits use SI prefixes, not IEC
* Update visible copyright year to 2018Samuel Mannehed2018-02-082-2/+2
|
* Rename README.txt to README.rst and convert to reStructuredTextPeter Åstrand (astrand)2018-01-312-2/+2
|
* Don't parse FLTK arguments using Fl::arg; handle -display as other optionsPeter Åstrand (astrand)2018-01-293-3/+7
| | | | | | Fl::arg accepts several arguments which we are not documenting. Also, it accepts a -geometry argument, which clashes with our own -geometry option.
* Update UI look on macOSPierre Ossman2018-01-221-5/+5
| | | | | macOS no longer uses the old Aqua look, so tweak our things to fit in better with the current state of things.
* Use current server time for XUngrabPointerPeter Åstrand (astrand)2018-01-151-1/+1
| | | | | | Similar to 841e9f32d5952d6f16f67294c2da8bf395066a9b but for the pointer. Fixes a problem where the desktop environment is unresponsive (to the mouse) after fullscreen exit; Fixes #579.
* Merge branch 'pause' of https://github.com/CendioOssman/tigervncPierre Ossman2017-11-172-8/+37
|\
| * Send proper keysym when Break is pressedPierre Ossman2017-11-131-0/+1
| | | | | | | | | | Ctrl+Pause sends break which results in a different VKEY on Windows. Make sure we map that properly to the equivalent keysym.
| * Handle right shift better on WindowsPierre Ossman2017-11-131-0/+14
| | | | | | | | | | The shift buttons are a bit buggy on Windows unfortunately, but we can do slightly better than we're doing today.
| * Handle Windows scan code exceptionsPierre Ossman2017-11-131-9/+23
| | | | | | | | | | Windows mostly follows the AT set 1 scan codes that we want, but there are a few exceptions.
* | Remove double cursor workaround in clientPierre Ossman2017-11-171-6/+0
| | | | | | | | | | We've fixed the issue more properly in the server now, so remove the workaround we had in the client.
* | Handle FLTK arguments at any positionPierre Ossman2017-11-141-16/+21
| | | | | | | | E.g. vncviewer server.example.com:2 -display :2
* | Don't open X11 display too earlyPierre Ossman2017-11-141-5/+5
|/ | | | | We have to wait until we've passed the command line arguments or we might overlook a -display argument.
* Use current server time for XUngrabKeyboardPierre Ossman2017-10-021-1/+1
| | | | | We might be calling this outside a normal FLTK event, so we cannot trust fl_event_time to have a sane value.
* Remove accidental debug outputPierre Ossman2017-09-221-1/+0
|
* Be explicit which Exception class we wantPierre Ossman2017-09-181-2/+2
|
* Release pointer grab when cursor leaves windowPierre Ossman2017-09-182-13/+77
| | | | | | We don't need the grab any more if the pointer cannot click on our window. This makes it possible to shift focus to another application when we aren't covering all monitors.
* Merge branch 'securemsg' of https://github.com/CendioOssman/tigervncPierre Ossman2017-09-152-24/+63
|\
| * Display security state when asking for passwordPierre Ossman2017-09-012-4/+29
| | | | | | | | | | Indicate to the user how secure the transport channel is so they can avoid entering their password for untrusted sites.
| * Merge authentication dialogsPierre Ossman2017-09-011-23/+37
| | | | | | | | | | Avoid having two separate code paths for the user/password and only password dialogs. Makes it easier to extend things in the future.
* | Merge branch 'qemukbd-merge' of https://github.com/CendioOssman/tigervncPierre Ossman2017-09-1513-82/+913
|\ \
| * | Add support for raw keyboard in vncviewerPierre Ossman2017-09-117-76/+534
| | | | | | | | | | | | | | | Make sure it can map between the key codes of the local system in to the key codes used by the protocol.
| * | Basic support for QEMU Extended Key EventsPierre Ossman2017-08-281-6/+6
| | | | | | | | | | | | | | | | | | This adds the basic infrastructure and handshake for the QEMU Extended Key Events extension. No viewer or server makes use of the extra functionality yet though.
| * | Sync LED state when gaining focusPierre Ossman2017-08-245-12/+133
| | | | | | | | | | | | | | | The state might have changed when we didn't have focus. Get everything back in sync once we're back in control.
| * | Add client support for LED state syncPierre Ossman2017-08-249-1/+253
| |/
* / Remove unused FLTKPixelBuffer filesPierre Ossman2017-09-122-86/+0
|/ | | | These are unused since 403ac27d, but the files were never removed.
* Update min version of gettext required to build with .desktop filesBrian P. Hinz2017-08-081-1/+1
| | | | .desktop files support was not added to msgfmt until v0.19
* Add fallbacks for translating .desktop filePierre Ossman2017-07-211-6/+27
| | | | | | Only fairly recent versions of gettext can translate .desktop files. So fall back to the older intltool on older systems, or just a plain copy if intltool is also missing.
* Increase default pointer event intervalPierre Ossman2017-07-192-2/+2
| | | | | | Some systems (e.g. macOS) send massive amounts of pointer events, so we need to start rate limiting things to something sensible by default. One event per screen refresh should be more than sufficient.
* Allow removal of GUI prompt on fatal errorsDr. David Alan Gilbert2017-07-195-6/+21
| | | | | | | | | | | | | | | | | | | | Add a new parameter 'alertOnFatalError' which guards the displaying of the GUI alert on fatal errors, and thus when false just gives the textual error. Now I can do: while true do vncviewer alertOnFatalError=false vm:0 sleep 1 done and it'll reappear when my VM appears without me getting error dialogs. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> --
* Add generic name to .desktop filePierre Ossman2017-07-191-0/+1
| | | | | This often gives the user more information about what kind of application this is.
* Generate translations in .desktop file from po filesPierre Ossman2017-07-192-5/+8
|
* Add danish translationscootergrisen2017-07-141-0/+2
|
* Remove "Print" from keys that can open F8 menuSamuel Mannehed2017-06-022-3/+1
| | | | Since it is caught by the local system on most platforms.
*-. Merge branches 'fix-fullscreen-scroll' and 'fix-scrollbar-visibility' of ↵Pierre Ossman2017-05-311-13/+28
|\ \ | | | | | | | | | https://github.com/LukeShu/tigervnc
| | * vncviewer: Fix scrollbar visibilityLuke Shumaker2017-05-241-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have a window that is sized to the remote screen. Now shrink the window vertically, making it shorter than the remote screen in one axis. The vertical scrollbar appears. However, the horizontal scrollbar does not appear, despite the rightmost ~24 pixels (Fl::scrollbar_size()) being hidden by the vertical scroll bar. Fix that. For clarity, move the fullscreen checks into a separate `if` statement, rather than keeping the size and fullscreen checks together. I think the comment does a decent job of explaining and justifying the check's logic, but if you require further convincing, perhaps this alternate explanation will help: The check for the X-axis is if ((w() - (h() < viewport->h() ? Fl::scrollbar_size() : 0) < viewport->w()) To be a bit more verbose and repetitive, we can split that ternary in to two separate checks, and add some comments: if ( (w() - < viewport->w()) // X needs a scrollbar || ( (w() - Fl::scrollbar_size() < viewport->w()) && (h() < viewport->h()) ) //( X doesn't need a scrollbar unless Y does ) && ( Y does need one ) ) ) Within the "Y does need one" check, we don't need to worry about the case where `h() - Fl::scrollbar_size() < viewport-h()` is true, because if both axes are saying "I don't need a scrollbar unless you do", then neither needs one.
| * | vncviewer: Fix fullscreen scrollingLuke Shumaker2017-05-241-6/+1
| |/
* / Compatibility with macOS 10.12 SDKPierre Ossman2017-05-241-1/+4
|/ | | | | They finally added kVK_RightCommand, so our workaround needs to be conditional.
* Mark strings for translationAlexander Shopov2017-04-291-6/+6
|
* Filter out alpha channel for normal draw() operationPierre Ossman2017-04-281-3/+11
| | | | | | | macOS actually uses the alpha channel on windows, so we can get visual artifacts if we feed it bogus alpha data. This filtering unfortunately causes some CPU usage, but it's necessary until we can make sure the framebuffer always contains proper 0xff for alpha.