aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add fallback for finding gmpPierre Ossman2022-09-011-1/+5
| | | | | pkg-config support was added very recently to gmp, so a lot of platforms we want to support won't find gmp this way.
* Split gmp detection to separate modulePierre Ossman2022-09-012-4/+10
| | | | | It is a (weird) dependency of nettle, and not part of nettle itself. So split it to a separate module for clarity.
* Fix incorrect nettle library referencesPierre Ossman2022-09-012-2/+6
|
* Fix SecurityTypes default value in man pagesPierre Ossman2022-09-012-2/+2
| | | | | The order is important in the servers, so make sure the man pages follow the code properly.
* Add support for RSA-AES security typespdlan2022-09-0126-28/+1751
|
* Re-enable lock key sync in viewerPierre Ossman2022-08-311-1/+1
| | | | This was accidentally disabled in 81e114f.
* Merge branch 'rsaaesfix' of https://github.com/CendioOssman/tigervncPierre Ossman2022-08-2525-198/+83
|\
| * Fix stream check for InStream::getptr()Pierre Ossman2022-08-251-3/+0
| | | | | | | | | | This call should have been preceeded by hasData() or avail(), just like all other accessor functions.
| * Move include_directories() to proper placesPierre Ossman2022-08-255-9/+11
| | | | | | | | We should scope these as narrowely as possible to avoid side effects.
| * Use BufferedOutStream in more streamsPierre Ossman2022-08-259-161/+69
| | | | | | | | | | | | Avoid duplicating all the memory mangement, and instead use the BufferedOutStream as a base clase for all out streams that need an intermediate buffer.
| * Remove unused CSecurity::description()Pierre Ossman2022-08-2510-25/+3
|/
* Make BufferedInStream allocation more availablePierre Ossman2022-08-2514-24/+43
| | | | | Allow subclasses to call it, instead of it being strictly internal. This is useful when a subclass can only provide data in minimum sized chunks.
* Fix encoding group for H.264 choicePierre Ossman2022-08-241-1/+4
| | | | It might not be compiled in, so the height needs to be dynamic.
* Fix "grave" and "ISO" keys on macOSPierre Ossman2022-08-232-2/+14
| | | | | We lacked an entry for one of these, and the magical swap that macOS does for unknown reasons.
* Sync RHEL packaging with FedoraPierre Ossman2022-08-222-178/+101
| | | | Makes it easier to compare changes with what people normally run.
* Add missing FLTK include statementsAlbrecht Schlosser2022-07-076-1/+7
| | | | Add also missing <stdlib.h> where required.
* Merge pull request #1492 from krystof1119/javaCursorFixBrian Hinz2022-07-071-5/+5
|\ | | | | Fix edge of dot cursor in Java vncviewer
| * Fix edge of dot cursor in Java vncviewerKrystof Pistek2022-07-061-5/+5
|/ | | | | | This commit changes the color of the edges of the dot cursor in the Java version of vncviewer from fully transparent to white, bringing it in line with the C++ native version.
* Merge branch 'artifacts' of https://github.com/CendioOssman/tigervncPierre Ossman2022-07-055-0/+34
|\
| * Store artifacts from Github actionsPierre Ossman2022-07-055-0/+34
| | | | | | | | | | | | Might be useful for testing in some cases. Note that the Windows and Linux binaries will depend on libraries from the build environment. So the user will need to match those manually.
* | Fix typo in previous commitPierre Ossman2022-07-051-1/+1
| |
* | Fix Xvnc dependency list (again)Pierre Ossman2022-07-051-3/+8
|/ | | | | | | | | The previous commit was incorrect in that it overrides automake's dependency list, rather than adding to it. So we need to make sure things are duplicated between Xvnc_DEPENDENCIES and Xvnc_LDADD as appropriate. Use the same approach as the Xorg binary to keep things familiar.
* Add missing dependencies for XvncPierre Ossman2022-07-041-0/+1
| | | | | | These aren't crucial for a clean build, but must be set for Xvnc to be properly rebuilt if anything in the Xorg tree changes. automake doesn't properly deduce these automatically from Xvnc_LDADD, unfortunately.
* Merge branch 'cork' of https://github.com/CendioOssman/tigervncPierre Ossman2022-06-286-14/+56
|\
| * Cork the proper output stream in the clientPierre Ossman2022-06-281-2/+2
| | | | | | | | | | | | The socket might not be the stream actually used, e.g. when we are using TLS. Make sure we cork the proper stream to get all the benefits of corking.
| * Safely discard large (extended) clipboard contentsPierre Ossman2022-06-282-8/+40
| | | | | | | | | | | | | | | | | | Avoid having to buffer everything we want to discard, and instead do it piece by piece. This is more efficient, and avoids hitting any limits on the buffering. Note that this is safe here because we already know we have all the compressed data. It would not be safe for a general input stream.
| * Properly restore cork state when changedPierre Ossman2022-06-282-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | These streams both need to change the corking state temporarily, but it is important it is restored to the previous state or things might get messed up. For the zlib stream it would just leave things uncorked, which still works but is less efficient. But for the TLS stream it might make things very unresponsive as the corking might be left on permanently, delaying packets indefinitely.
| * Remove unnecessary flushPierre Ossman2022-06-281-1/+0
| | | | | | | | Uncorking implicitly flushes, so we don't need this.
| * Only implicitly flush on uncorkingPierre Ossman2022-06-281-1/+1
|/ | | | | There is no point flushing when corking was enabled, as we might then push out a small buffer that the corking otherwise would have preserved.
* Merge branch 'mft-crop-fix' of https://github.com/mmozeiko/tigervncPierre Ossman2022-06-132-8/+220
|\
| * Workaround for MFT cropping in H264 decodingMartins Mozeiko2022-06-072-8/+220
| | | | | | | | | | | | | | | | | | It seems MFT h264 decoder does not support frame cropping. Which means that if frame width or height is not multiple of 16 then decoded output can potentially be used with wrong offset. This code adds explicit parsing of SPS to extract cropping information to use, and will apply cropping if reported size differs from expected.
* | Add Romanian translationRemus-Gabriel Chelu2022-06-072-0/+1038
| |
* | Merge branch 'pkgconfig' of https://github.com/CendioOssman/tigervncPierre Ossman2022-06-0711-116/+91
|\ \ | |/ |/|
| * Find FFMPEG using pkg-configPierre Ossman2022-06-073-11/+22
| | | | | | | | | | | | This is the standard method of finding it on Unix systems, so make sure we use it. Still keep a fallback, though, for other systems, e.g. Windows.
| * Fix up ffmpeg header and library handlingPierre Ossman2022-06-074-4/+4
| | | | | | | | | | FFMPEG is needed by the RFB library, so all the details about it should only be applied there and not for other components.
| * Use pkg-config for pixmanPierre Ossman2022-06-073-42/+12
| | | | | | | | | | | | This is the standard method of finding it on Unix systems, so make sure we use it. Still keep a fallback, though, for other systems, e.g. Windows.
| * Add target_link_directory() compat functionPierre Ossman2022-06-072-0/+14
| | | | | | | | | | | | We need this function to deal with pkgconfig files properly, but unfortunately it doesn't exist until CMake 3.13, and we need to support CMake 3.10. So add a hacky compatibility function for older systems.
| * Avoid temporary cmake variablesPierre Ossman2022-06-076-61/+41
|/ | | | | Modern cmake has better support for adding source files and libraries incrementally, so let's use that to clean things up.
* Remove zlib copyright noticePierre Ossman2022-05-121-28/+0
| | | | Our embedded zlib got removed way back in cc8c6a2.
* Merge branch 'icons' of https://github.com/CendioOssman/tigervncPierre Ossman2022-05-1126-1820/+1358
|\
| * Adjust icon margins and roundingPierre Ossman2022-05-1116-1501/+620
| | | | | | | | | | Reduce the icon margins a bit to conform better with other icons. Also dial back the rounding a bit, again to fit better with other programs.
| * Automatically generate macOS icon filePierre Ossman2022-05-114-2/+19
| |
| * Automatically generate Windows icon filePierre Ossman2022-05-114-4/+20
| |
| * Add more Unix icon sizesPierre Ossman2022-05-115-5/+10
| | | | | | | | | | Some desktop environment, like KDE, need more rastered sizes and cannot make use of the SVG.
| * Avoid duplicating list of icon sizesPierre Ossman2022-05-111-41/+13
| |
| * Remove redundant icon installationPierre Ossman2022-05-111-10/+0
| | | | | | | | This is already done by vncviewer, so we don't need any rule here.
| * Simplify icon generationPierre Ossman2022-05-118-1197/+1622
| | | | | | | | Have the padding included in the SVGs to make the rules less complex.
| * Remove dead codePierre Ossman2022-05-111-6/+0
| | | | | | | | This code is never used on Windows, so remove it.
| * Safer allocation of icon arrayPierre Ossman2022-05-111-1/+1
|/ | | | | Avoid the risk of the list of sizes and the list of icons getting out of sync and causing memory corruption.
* Merge pull request #1463 from TigerVNC/accessRightsFixesSamuel Mannehed2022-05-021-1/+4
|\ | | | | Minor fixes/future-proofing for SConnection::accessCheck() and 'accessRights'