aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test packaging on TravisPierre Ossman2020-07-162-3/+4
| | | | Don't just build things, also test the various packaging.
* Merge branch 'user-trailing-spaces' of https://github.com/grulja/tigervncPierre Ossman2020-07-101-1/+1
|\
| * Remove trailing spaces in user nameJan Grulich2020-07-031-1/+1
| | | | | | | | | | | | | | It's quite easy to make a mistake and add an additional space when configuring users in the vncserver.users config file. You will then get an error that the user doesn't exist and it's hard to spot the mistake. Same applies for a space before the display number.
* | Fix some inappropriate format specifiersPierre Ossman2020-06-182-7/+7
|/ | | | A "0x" prefix suggest hexadecimal values, not decimal.
* Fix non-functional MaxDisconnectionTimePierre Ossman2020-06-181-5/+5
| | | | | | Since 8e09912 this wasn't triggered properly as we checked if all clients were gone before we actually removed the last client from our list.
* Update gesture unit test to cover angle cornercaseSamuel Mannehed2020-06-151-3/+3
| | | | | | If the difference in angle is larger than 180 degrees we hit a corner case. This commit modifies the coordinates of an existing test to cover this.
* Use hypot(x,y) instead of sqrt(x*x + y*y)Samuel Mannehed2020-06-151-5/+3
|
* Merge branch 'regions' of https://github.com/CendioOssman/tigervncPierre Ossman2020-06-1522-2377/+258
|\
| * Get rid of magical assignment to RegionPierre Ossman2020-05-186-59/+19
| | | | | | | | Might as well make these explicit so the cost is apparent.
| * Switch region code to pixmanPierre Ossman2020-05-0115-2191/+113
| | | | | | | | | | This is the current upstream so let's make use of it to get the latest in features and fixes.
| * Also link in math library in static buildPierre Ossman2020-05-011-1/+1
| | | | | | | | | | It's included by default in dynamic builds so we need to make sure it isn't lost when switching to static.
| * Don't ignore .cmake filesPierre Ossman2020-05-011-1/+0
| | | | | | | | They are new modules and not generated files.
| * Avoid using RegionInit() because of empty rectsPierre Ossman2020-05-011-26/+26
| | | | | | | | | | It creates an invalid region if given an empty rect. Fortunately RegionInitBoxes() handles that just fine, so use that instead.
| * Stop using legacy region macrosPierre Ossman2020-05-012-134/+134
| | | | | | | | | | We no longer support such old X servers so start using the current functions.
* | Improve names of many gesturehandler unit testsSamuel Mannehed2020-06-051-24/+24
| | | | | | | | Makes it easier to understand what the tests do.
* | Fix typos in commentsSamuel Mannehed2020-06-051-2/+2
| |
* | Remove unnecessary touchEnd from unit testsSamuel Mannehed2020-06-051-1/+0
| |
* | Add proper spacing to if statementsSamuel Mannehed2020-06-041-2/+2
| |
* | Add constant for TWOTOUCH_TIMEOUTSamuel Mannehed2020-06-041-1/+4
| |
* | 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.