aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Handle keys reported only by KeyEvent.getExtendedKeyCodebinary-manu2021-05-194-20/+18
|
* Avoid absolute path for vncserver.usersPierre Ossman2021-05-031-3/+3
| | | | | Build flags control where this file ends up, so avoid assuming a specific path in the HOWTO.
* Reflow HOWTO.md to 72 columnsPierre Ossman2021-05-031-51/+55
| | | | | The line width was very inconsitent in this file, so standardise on the common 72 characters.
* Validate translations during buildPierre Ossman2021-04-261-1/+1
| | | | | Incorrect format strings can cause crashes, so we want to catch those early.
* Update Greek translationVangelis Skarmoutsos2021-04-261-559/+688
|
* Maintain static screen DPI on resizePierre Ossman2021-04-082-13/+16
| | | | | | Trying to dynamically track the DPI did not really work as we'd start accumulating errors and eventually the DPI would start to drift. Instead maintain a fixed, sensible DPI at all times.
* Update Finnish translationLauri Nurmi2021-03-241-302/+360
|
* Fix typo in READMESamuel Mannehed2021-03-221-1/+1
| | | Thanks @Raulkumar for finding this in #1118
* Create VNC homedir if it doesn't already existBrian P. Hinz2021-03-111-3/+8
|
* Fix for issue 1215Brian P. Hinz2021-03-111-13/+14
|
* Fix for issue 1216Brian P. Hinz2021-03-111-3/+4
|
*-. Merge branches 'vmware-cursor-position' and ↵Pierre Ossman2021-03-1127-12/+212
|\ \ | | | | | | | | | 'vmware-cursor-position-vncviewer' of https://github.com/lhchavez/tigervnc
| | * Support the VMware Cursor Position extension on vncviewerlhchavez2021-03-1113-3/+82
| |/ |/| | | | | | | | | | | | | This change makes it possible for re-synchronizing the remote cursor on the vncviewer when in fullscreen mode. This is done by locally moving the cursor position to what the server thinks it should be. Now SDL games should work!
* | Fix logging in daemonized tl-sessionPierre Ossman2021-03-111-17/+17
| | | | | | | | | | stderr has been redirected to /dev/null so all logging needs to go to syslog.
| * Add support for notifying clients about pointer movementslhchavez2021-03-0217-10/+149
|/ | | | | | | | | | | | | | | | | | | | | | | This change adds support for the VMware Mouse Position pseudo-encoding[1], which is used to notify VNC clients when X11 clients call `XWarpPointer()`[2]. This function is called by SDL (and other similar libraries) when they detect that the server does not support native relative motion, like some RFB clients. With this, RFB clients can choose to adjust the local cursor position under certain circumstances to match what the server has set. For instance, if pointer lock has been enabled on the client's machine and the cursor is not being drawn locally, the local position of the cursor is irrelevant, so the RFB client can use what the server sends as the canonical absolute position of the cursor. This ultimately enables the possibility of games (especially FPS games) to behave how users expect (if the clients implement the corresponding change). Part of: #619 1: https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#vmware-cursor-position-pseudo-encoding 2: https://tronche.com/gui/x/xlib/input/XWarpPointer.html 3: https://hg.libsdl.org/SDL/file/28e3b60e2131/src/events/SDL_mouse.c#l804
* Specify HOWTO.md in spec filesPierre Ossman2021-03-022-0/+2
| | | | Or rpmbuild gets grumpy.
* Revert "Support TCP_NOPUSH as alternative to TCP_CORK"Pierre Ossman2021-03-021-4/+0
| | | | | This reverts commit d6e39658ae105fca2cfe37ba736dbf0e8d8356af. Apparently this is broken on macOS so it's not something we can make use of.
* Merge branch 'documentation' of https://github.com/grulja/tigervncPierre Ossman2021-03-022-0/+120
|\
| * Add documentation to the new systemd supportJan Grulich2021-03-022-0/+120
| |
* | Fix some incorrect data waitsPierre Ossman2021-03-022-17/+17
| | | | | | | | | | | | | | | | Some of these were incorrectly calculated so the server or client would wait too long before proceeding with decoding. Change all of these to be a more explicit calculation to avoid such issues in the future.
* | Support TCP_NOPUSH as alternative to TCP_CORKPierre Ossman2021-03-021-0/+4
| | | | | | | | TCP_CORK is a Linux thing and BSD has TCP_NOPUSH instead.
* | Add missing headers for TCP_CORKPierre Ossman2021-03-021-0/+2
| | | | | | | | | | We didn't include the proper headers to get the correct define, so corking was never enabled.
* | Drop other selection on ownership changePierre Ossman2021-03-011-0/+7
|/ | | | | Otherwise we might end up owners of something we cannot deliver data on, which can hang applications.
* Add Hebrew translationYaron Shahrabani2021-02-112-0/+722
|
* Merge branch 'allow-tcp-and-unix' of https://github.com/jlesage/tigervncPierre Ossman2021-02-094-7/+17
|\
| * Added the ability to listen on both Unix socket and TCP port.Jocelyn Le Sage2021-02-044-7/+17
| | | | | | | | Setting `rfbport` to `-1` disables TCP port listening.
* | Merge branch 'autoclip' of https://github.com/CendioOssman/tigervncPierre Ossman2021-02-0312-31/+209
|\ \
| * | Update desktop if clipboard client goes awayPierre Ossman2021-01-051-1/+1
| | | | | | | | | | | | | | | So the current clipboard state is properly reflected in the desktop session.
| * | Add debug logging for ignored clipboard eventsPierre Ossman2021-01-053-7/+21
| | |
| * | Fix clipboard state tracking in serverPierre Ossman2021-01-051-2/+7
| | | | | | | | | | | | This was out of sync with the client handling for no good reason.
| * | Handle clipboard peek with missing dataPierre Ossman2021-01-052-6/+2
| | | | | | | | | | | | | | | The peer expects a response, so we should also be able to respond that there is no clipboard data currently available.
| * | Improve clipboard debug logging in viewerPierre Ossman2021-01-041-5/+7
| | |
| * | Handle unsolicited clipboard transfersPierre Ossman2021-01-048-10/+86
| | | | | | | | | | | | | | | | | | The extended clipboard protocol has the ability for the peer to request things to be sent automatically, without a request message. Make sure we honor such settings.
| * | Log client/server clipboard capabilitiesPierre Ossman2021-01-042-0/+85
| | |
* | | Fix overloaded function signaturePierre Ossman2021-01-262-2/+2
| | |
* | | Remove unused attributesPierre Ossman2021-01-261-3/+0
| | |
* | | Update copyright year to 2021Pierre Ossman2021-01-259-10/+10
| |/ |/|
* | Heavily reduce window for bandwidth estimatePierre Ossman2021-01-191-5/+9
| | | | | | | | | | It took way too long to converge on a sane value, so reduce the window by a factor of ten. This seems to work smoothly.
* | Merge branch 'noblock' of https://github.com/CendioOssman/tigervncPierre Ossman2021-01-1997-1364/+1978
|\ \
| * | Better error messages when terminatingPierre Ossman2020-05-214-23/+49
| | | | | | | | | | | | | | | Include something more user friendly when we need to fail fatally and not just the technical error.
| * | Change streams to be asynchronousPierre Ossman2020-05-2169-571/+1106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major restructuring of how streams work. Neither input nor output streams are now blocking. This avoids stalling the rest of the client or server when a peer is slow or unresponsive. Note that this puts an extra burden on users of streams to make sure they are allowed to do their work once the underlying transports are ready (e.g. monitoring fds).
| * | Remove readString()/writeString()Pierre Ossman2020-05-219-76/+37
| | | | | | | | | | | | | | | These are not universal in the protocol so having functions for them only obfuscates things.
| * | Don't read invalid TLS auth reasonPierre Ossman2020-05-211-9/+2
| | | | | | | | | | | | | | | The specification only states a single result byte and not any reason after a TLS authentication failure.
| * | Improved bandwidth monitoringPierre Ossman2020-05-214-77/+36
| | | | | | | | | | | | | | | | | | Now measures over an entire update, which should hopefully give us more stable values. They are still small values for fast networks though so increase precision in the values we keep.
| * | Make direct stream API a bit saferPierre Ossman2020-05-217-38/+42
| | | | | | | | | | | | | | | Provide some safety checks when directly accessing the underlying pointer of streams.
| * | Make sure TLS is allowed to terminate gracefullyPierre Ossman2020-05-216-17/+41
| | | | | | | | | | | | | | | | | | Some systems (like TLS) need to send some final data before closing a connection. Make sure this is properly handled by cleaning up the security object before closing the underlying network socket.
| * | Log I/O errors from TLS streamsPierre Ossman2020-05-212-1/+10
| | |
| * | Handle clients lost during queryingPierre Ossman2020-05-211-2/+12
| | |
| * | Separate query and authentication handlingPierre Ossman2020-05-211-6/+6
| | | | | | | | | | | | Otherwise we might send duplicate result codes and other weird things.
| * | Check buffer usage with a simply booleanPierre Ossman2020-05-215-14/+16
| | | | | | | | | | | | | | | External callers don't need to know the exact details, only if there is data that needs to be flushed or not.