summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Use UTF-8 in clipboard APIPierre Ossman2019-07-017-92/+282
| | | | | | | | | | In prepartion for better clipboard extensions that can send Unicode data between the client and server.
| * Improved clipboard APIPierre Ossman2019-07-0126-239/+820
| | | | | | | | | | Change the internal clipboard API to use a request based model in order to be prepared for more advanced clipboard transfers.
| * Add UTF-8 to/from ISO 8859-1 conversion routinesPierre Ossman2019-07-017-96/+220
| | | | | | | | | | We convert between UTF-8 and ISO 8859-1 (latin 1) in several places so create some common routines for this.
| * Clean up internal clipboard handlingPierre Ossman2019-07-0133-81/+79
| | | | | | | | | | | | We now filter incoming data, which means we can start assuming the clipboard data is always null terminated. This allows us to clean up a lot of the internal handling.
| * Make sure clipboard uses \n line endingsPierre Ossman2019-07-0112-32/+123
| | | | | | | | | | | | This is required by the protocol so we should make sure it is enforced. We are tolerant of clients that violate this though and convert incoming clipboard data.
* | Remove max area parameter from Region::get_rects()Pierre Ossman2019-06-242-12/+5
| | | | | | | | | | It was unused and added complexity and bugs to the code. So let's remove it rather than trying to clean up a function no one needed.
* | Properly mark overloaded methods with virtualPierre Ossman2019-06-181-3/+3
| | | | | | | | Makes it easier to see what is overloaded and what isn't.
* | Request keyboard grab ability under XwaylandPierre Ossman2019-06-182-0/+23
| | | | | | | | | | We're usually white listed, but let's be a good citizen and formally request the keyboard grab ability from the compositor.
* | Update French translationStéphane Aulery2019-05-141-97/+165
| |
* | Merge branch 'master' of https://github.com/lprylli/tigervncPierre Ossman2019-05-091-1/+1
|\ \ | |/ |/|
| * Fix wrap-aware isAfter function in Congestion.cxxLoic Prylli2019-04-271-1/+1
| | | | | | | | | | | | | | | | Result of overflow on signed integer arithmetic is undefined in C/C++ standard. So in previous version clang was compiling the statement as (int)a > (int)b (i.e. assuming no overflow), which leads to incorrect result. Correct deterministic behavior means doing overflow arithmetic as unsigned, i.e. a != b && a - b <= UINT_MAX / 2
* | Remove unneeded logging from ZRLE decoderPierre Ossman2019-04-291-2/+0
| | | | | | | | | | We will log the exception, so avoid direct writes to stderr by simply removing these log lines.
* | Do proper logging rather than fprintf(stderr, ...)Pierre Ossman2019-04-297-23/+38
| |
* | Remove commented out loggingPierre Ossman2019-04-292-12/+0
|/
* Always get raw keyboard layout on macOSPierre Ossman2019-04-041-1/+1
| | | | | | | | | | Some input sources are still using input methods even though they claim to be "ASCII" input. This causes our input handling to fail since we need to query the layout to handle dead keys. Fortunately there is another API to get the raw, underlying input source that the input method uses. So let's use that and be sure that we're always getting something we can use.
* replace free with delete[]Marcel Schneider2019-04-031-2/+2
|
* Increase version string buffer size for gccPierre Ossman2019-04-011-1/+1
| | | | | | There is some bug in gcc's new -Werror=format-overflow that makes it think majorVersion could end up being very large. Increase the target buffer for now to keep gcc happy.
* Remove unused force protocol 3.3 codePierre Ossman2019-04-013-16/+4
|
* Only save parameters that are visible from the UIPierre Ossman2019-04-011-3/+2
| | | | | | The parameter files are used to make sure changes in the UI are persistent. Storing anything else results in behaviours that the user has no easy way of changing.
* Hide setPrimary parameter on non-X11 platformsPierre Ossman2019-04-012-3/+7
| | | | | | It is already hidden in the UI, so make sure it also is gone as a command line parameter. This follows the behaviour of the similar sendPrimary parameter.
* Add delay on authentication failuresPierre Ossman2019-04-014-6/+45
| | | | | | | This provides some basic rate limiting that will make it difficult for an attacker to brute force passwords. Only relevant when the blacklist is disabled as otherwise the attacker only gets a very limited number of attempts.
* Handle server name overflow properlyPierre Ossman2019-03-261-3/+6
| | | | | | We need to make sure it is null terminated on truncation. We also need to avoid giving a too large size argument or modern gcc will complain.
* Add missing throws for exceptionPierre Ossman2019-03-262-6/+6
| | | | | It is not enough to create an exception object, you need to throw it as well.
* Better document the argument for -geometryPierre Ossman2019-03-262-2/+7
| | | | | It's not common knowledge these days how X geometry is specified, and even the man page X(7) is missing on many systems now.
* Show extra options in vncviewer --helpPierre Ossman2019-03-261-0/+8
| | | | | FLTK has some options (that we've also documented in the man page) that should be mentioned in the --help output.
* Don't use un-initialized stride to base constructorPierre Ossman2019-03-251-1/+1
| | | | | We can use a dummy value here as we set up the buffer and stride further down in the constructor.
* Allow blacklist to be disabledPierre Ossman2019-03-253-0/+17
| | | | | | There might be multiple clients using a single IP (e.g. NAT), which can make the blacklist do more harm than good. So add a setting to disable it if needed.
* Move Blacklist parameters out of the classPierre Ossman2019-03-252-11/+10
| | | | | No need to expose these, so keep them internal to the implementation, like most settings are.
* Merge branch 'copyrightyear' of https://github.com/samhed/tigervncPierre Ossman2019-02-288-8/+8
|\
| * Update visible copyright years to 2019Samuel Mannehed2019-02-278-8/+8
| |
* | Only do initial LED sync if focusedPierre Ossman2019-02-281-3/+5
|/ | | | | | | | | | We always sync when we get focus, so this code path is really only for when the server announces LED state support after we already have focus. Make sure we only handle this specific scenario as otherwise we could end up syncing twice, which just toggles things back and forth and ends up syncing incorrectly.
* Update German translationMario Blättermann2019-02-151-166/+226
|
* Update Esperanto translationFelipe Castro2019-02-151-96/+170
|
* Don't build xserver with -I$(includedir) as it breaks cross-compilingJames Le Cuirot2019-02-131-3/+3
| | | | | | | | This is where to install headers to, not where to find headers to build against. Toolchains should know where to locate their system headers while non-system headers should be found using pkg-config. Users with bizarre setups where the toolchain really cannot find the system headers should set CPPFLAGS.
* Fix Travis C++ specifierPierre Ossman2019-01-221-1/+1
| | | | | Travis wants "cpp", not "c++". It just happened to work anyway because the base image includes the same tools.
* Merge branch 'docker' of https://github.com/CendioOssman/tigervncPierre Ossman2019-01-22114-13952/+337
|\
| * Use Ubuntu 16.04 for general buildsPierre Ossman2019-01-221-13/+5
| | | | | | | | It has a current GnuTLS and FLTK which simplifies the build.
| * Do parallel builds for Ubuntu packagesPierre Ossman2019-01-212-5/+9
| | | | | | | | Make the builds faster as we now run them often via Travis.
| * Build Ubuntu 14.04 (Trusty) packages in TravisPierre Ossman2019-01-213-0/+77
| |
| * Build Ubuntu 16.04 (Xenial) package in TravisPierre Ossman2019-01-213-0/+66
| |
| * Build RHEL 6 packages in TravisPierre Ossman2019-01-214-1/+64
| |
| * Build RHEL 7 packages in TravisPierre Ossman2019-01-213-17/+86
| |
| * Clean up RPM spec filesPierre Ossman2019-01-212-4/+1
| | | | | | | | | | Remove the unused Java self sign variable, and make sure we don't hard code a version as it needs to be adjusted before a build.
| * Add missing FLTK dependencyPierre Ossman2019-01-211-1/+1
| | | | | | | | libXft is needed to build FLTK for the RHEL 6 RPM.
| * Clean up Ubuntu 14.04 FLTK buildPierre Ossman2019-01-213-91/+13
| | | | | | | | | | | | The supporting scripts weren't really up to date, so remove them and just require the packager to include FLTK in the source tarball.
| * Make sure libXrandr is available in package buildsPierre Ossman2019-01-214-5/+9
| | | | | | | | It is needed by x0vncserver.
| * Use Xorg source from distributionPierre Ossman2019-01-218-25/+19
| |
| * Add libXfont as a Debian package dependencyPierre Ossman2019-01-211-1/+1
| | | | | | | | It is needed to build Xvnc.
| * Stop building FLTK for modern distributionsPierre Ossman2019-01-211-82/+8
| | | | | | | | They include a new enough version, so stop doing our own build.
| * Remove obsolete packagesPierre Ossman2019-01-1474-8498/+0
| | | | | | | | | | Packages for RHEL 5 and Ubuntu 12.04 are no longer maintained, so remove those files.