aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update Info.plist copyright, added recommended key.Brian P. Hinz2020-05-311-2/+4
|
* Automatically pick the correct X.org patchMark Mielke2020-05-311-2/+6
| | | | | Update RPM package build process to automatically detect and apply the correct X.org patch.
* Merge branch 'travis' of https://github.com/CendioOssman/tigervncPierre Ossman2020-05-319-16/+59
|\
| * Set up Windows and macOS travis buildsPierre Ossman2020-05-311-0/+44
| |
| * Use mingw's stdio routines where neededPierre Ossman2020-05-311-7/+4
| | | | | | | | It allows us to use the more standard format specifiers.
| * Don't catch exceptions by valuePierre Ossman2020-05-311-1/+1
| |
| * Don't clear complex objects using memset()Pierre Ossman2020-05-312-4/+2
| | | | | | | | This is fine for simple structs but not class based objects.
| * Silence clang deprecated warnings on macOSPierre Ossman2020-05-311-0/+5
| | | | | | | | | | We still target a very old version of macOS, which tends to make clang very upset, so we need to turn off depercation warnings.
| * Move pgettext_aux() declaration earlierPierre Ossman2020-05-311-2/+2
| | | | | | | | Some compilers get upset if a declaration comes after the definition.
| * Remove unused variablePierre Ossman2020-05-311-1/+0
| |
| * Fix JpegCompressor::overrun() type changePierre Ossman2020-05-311-1/+1
|/ | | | | The method it overloads got tweaked some time ago, so we need to make sure this method follows suit.
* Merge branch 'ack-set-desktop-size' of https://github.com/matt335672/tigervncPierre Ossman2020-05-291-3/+4
|\
| * Send response for refused SetDesktopSizematt3356722020-05-291-3/+4
| | | | | | | | | | Sends response for SetDesktopSize as per the community wiki specification
* | Merge branch 'gesture_handler_v3' of https://github.com/aeneby/tigervncPierre Ossman2020-05-2923-74/+4104
|\ \ | |/ |/|
| * Support touch gestures on WindowsSamuel Mannehed2020-05-294-10/+565
| | | | | | | | | | | | | | | | | | | | This adds the same touch gesture support for Windows as already added for Unix. Note that it uses Windows gesture detection instead of our own here though to give the user a familiar experience. Unfortunately that means we lose the three finger tap. This also raises the base requirements to Windows 7 as that's when Windows got proper touch support.
| * Implement touch gesture handling on UnixAaron Sowry2020-05-2911-23/+2304
| | | | | | | | | | Allows the user to perform certain important mouse operations using touch gestures instead.
| * Cancel AltGr timeout on mouse events as wellSamuel Mannehed2020-05-292-16/+33
| | | | | | | | | | | | | | | | | | | | We have a timer after Ctrl is pressed in order to see if an Alt will come right after. Ctrl + Alt is what windows sends for AltGr. If a key other than Alt was pressed we knew that we could cancel this timer, this commit extends that to mouse events too. Since this detection breaks the true order of events we want to make a decision as fast as possible.
| * Implement X Input pointer handling for UnixAaron Sowry2020-05-298-19/+647
| | | | | | | | | | | | | | | | Switch from using Core events to using X Input events for pointer devices in order to differentiate between mouse events and touch events. Because FLTK doesn't understand X Input 2, we intercept these events and translate them to core events where possible.
| * Ignore bogus FL_MOVE events from FLTKSamuel Mannehed2020-05-261-0/+6
| |
| * Fix position for click and drag with EmulateMBAlex Tanskanen2020-05-263-15/+123
| | | | | | | | | | | | | | If you have the setting "Emulate middle mouse button" turned on, a click and drag can fail if it is done very quickly. The position of the initial click will be incorrect in such a case because the timeout will delay events.
| * Add unit tests for EmulateMBAlex Tanskanen2020-05-262-0/+433
| |
| * Open X11 display properlyPierre Ossman2020-05-261-7/+7
| | | | | | | | | | | | | | We need to make sure everything happens in the correct order during startup for the X11 display to open correctly. Primarily it means we need to parse the arguments and open the display before anything might make any X11 calls, as we may have a -display argument.
| * Remove default config alertPierre Ossman2020-05-261-2/+0
| | | | | | | | | | We don't exit here, so it's not a fatal error. It's also a fairly common scenario, so remove the alert completely.
| * Use exit_vncviewer() for early errorsPierre Ossman2020-05-201-12/+16
| | | | | | | | Makes things more consistent and avoids surprises.
| * Bump up Windows version from Vista to Windows 7Samuel Mannehed2020-05-201-2/+2
| |
* | Reject too large screen resize requestsPierre Ossman2020-05-231-0/+5
| | | | | | | | | | We'll just crash later if we try to use such a large screen, so reject the request from the client instead and keep the server running.
* | Catch errors resizing framebufferPierre Ossman2020-05-231-2/+7
| |
* | Add final line break to FatalError() callsPierre Ossman2020-05-232-7/+7
| | | | | | | | | | It expects the callers to include this, so make sure we're consistently providing one.
* | Update Indonesian translationAndika Triwidada2020-05-211-111/+170
|/
* Update French translationStéphane Aulery2020-05-081-103/+104
|
* [SELinux] Allow vnc_session_t type execute itselfLukas Vrabec2020-05-061-0/+2
| | | | | | | | vncsession-start is running in SELinux vnc_session_t domain because of "SELinuxContext=system_u:system_r:vnc_session_t:s0" option in systemd vncserver@.service unit file. vncsession-start executing binary vncsession with SELinux label/type vnc_session_t. This access was not allowed in vncsession policy.
* Handle empty changes for every operationPierre Ossman2020-04-201-22/+16
| | | | | | It seems like many of the X11 operations can end up with no pixels actually changing. So instead of discovering and adding workarounds for each individually we'll just check very region added if it's empty.
* Update Serbian translationМирослав Николић2020-04-061-111/+186
|
* Update Ubuntu patches for current codePierre Ossman2020-04-022-24/+16
|
* Update apt cache before running buildsPierre Ossman2020-04-022-0/+2
| | | | | Otherwise it might fail if the repositories have changed since the image was generated.
* Remove legacy Xorg codePierre Ossman2020-04-027-459/+6
| | | | | We now require at least 1.16, so remove all code that handled older versions than that.
* Remove 8-bit support from documentationPierre Ossman2020-04-022-16/+4
| | | | | We removed support in the code ages ago, but overlooked this part of the documentation. Also remove some dead code in Xvnc on the same theme.
* Merge branch 'systemd' of https://github.com/CendioOssman/tigervncPierre Ossman2020-04-0297-10017/+1606
|\
| * Remove support for old Xorg versionsPierre Ossman2020-03-1214-1602/+9
| | | | | | | | No current distribution ship anything this ancient anyway.
| * Use standard install dir variable namesPierre Ossman2020-03-1223-76/+66
| | | | | | | | | | This makes our builds directly compatible with most distributions without packagers/users having to specify extra flags.
| * Add SELinux policy file for vncsessionPierre Ossman2020-03-126-1/+146
| | | | | | | | | | | | Running as a service on a SELinux system requires rules so we can transition to our own context. We also need the proper permissions to start new user sessions.
| * Start sessions via PAMPierre Ossman2020-03-1225-235/+875
| | | | | | | | | | | | | | | | | | This sets up a more correct session as there are key tasks that need to be performed by PAM. E.g. systemd will allocate cgroups and start base services. In order to easily handle this as a system service the mapping of displays is now done via a configuration file.
| * Fix C linking when doing static buildsPierre Ossman2020-03-121-2/+3
| |
| * Make PAM mandatoryPierre Ossman2020-03-128-29/+9
| | | | | | | | | | It is present on all UNIX systems anyway, so let's simplify things. We will need it for more proper session startup anyway.
| * Stop searching for XvncPierre Ossman2020-03-122-31/+3
| | | | | | | | | | Assume we are part of a complete and proper installation and encode the full expected path in to the vncserver script.
| * Start the sessions using xinitPierre Ossman2020-03-122-88/+20
| | | | | | | | | | It keeps much better track of the X server and startup files than we can do.
| * Make vncserver always run in the foregroundPierre Ossman2020-03-122-204/+8
| | | | | | | | | | | | We need to be started as a system service for things to work correctly anyway, so delegate the work of starting and stopping things to the system service manager (e.g. systemd).
| * Start sessions using session desktop filePierre Ossman2020-03-122-88/+126
| | | | | | | | | | This is how display managers (e.g. gdm or lightdm) start sessions and is necessary to get the proper set of environment variables.
| * Don't create a default user configPierre Ossman2020-03-121-20/+0
| | | | | | | | | | We don't want to create files in the users home directory unless we have to. Users can read about how this file works in our man pages.
| * Don't accept arbitrary arguments to vncserverPierre Ossman2020-03-123-244/+19
| | | | | | | | | | We now have config files for more fine grained control of these things, so avoid duplicating the functionality.