summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TigerVNC 1.9.90 (1.10.0 beta)v1.9.90Pierre Ossman2019-10-183-4/+4
|
* Update translation template filePierre Ossman2019-10-181-96/+84
|
* Merge branch 'fix-mistake' of https://github.com/gschwind/tigervncPierre Ossman2019-10-141-2/+2
|\
| * fix to early remove of iterator in VNCServerST::removeSocketBenoit Gschwind2019-08-241-2/+2
| |
* | Fix bad PixelBuffer reference in VNCServerST::setPixelBuffer()Pierre Ossman2019-10-041-1/+1
| | | | | | | | | | We need to examine the incoming PixelBuffer, not the previous one (which might not even be valid).
* | Merge pull request #866 from gschwind/fix-wrong-test-orderSamuel Mannehed2019-10-020-0/+0
|\ \ | | | | | | fix test order in convertLF and convertCRLF
| * | fix test order in convertLF and convertCRLFBenoit Gschwind2019-08-301-4/+4
| |/ | | | | | | The new order of test avoid ready invalid memory address in ca.buf
* | Fix length checks in string conversion functionsPierre Ossman2019-09-251-16/+16
| | | | | | | | | | | | | | | | We need to check the buffer length before accessing the incoming string. Probably not a problem in practice as there should be a final null in most incoming strings. Issue found by Pavel Cheremushkin from Kaspersky Lab.
* | Add unit tests for convertLF() and convertCRLF()Pierre Ossman2019-09-252-0/+127
| |
* | Split test programs to benchmarking and unit testsPierre Ossman2019-09-2517-45/+51
| | | | | | | | | | They have very different purpose, so make things easier to work with by having multiple directories.
* | Use display polling by default in WinVNCPierre Ossman2019-09-061-1/+1
|/ | | | | Window hooks aren't working well on modern systems so switch the default to polling until we can fix things.
* Merge pull request #849 from grulja/masterSamuel Mannehed2019-07-151-1/+1
|\ | | | | Do not return returncode indicating error when listing sessions
| * Do not return returncode indicating error when listing sessionsJan Grulich2019-07-111-1/+1
|/
* Merge branch 'exclipboard' of https://github.com/CendioOssman/tigervncPierre Ossman2019-07-0154-433/+2192
|\
| * Support extended clipboard transfersPierre Ossman2019-07-0123-37/+812
| | | | | | | | | | | | | | Implements support in both client and server for the extended clipboard format first seen in UltraVNC. Currently only implements text handling, but that is still an improvement as it extends the clipboard from ISO 8859-1 to full Unicode.
| * 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.