aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Make sure sockets are shutdown in java viewer listen modeBrian P. Hinz2014-11-132-6/+15
| | | | | | | | | | | | | | | | | | The finalizer method may not be strictly necessary but for the sake of consistency shutdown the socket listener the same way we do for a regular TcpSocket.
| * | Java code cleanupBrian P. Hinz2014-11-133-50/+0
| | | | | | | | | | | | Deleted some useless comments in java viewer
* | | Revert "Use VncAuth as the default security type, ..."Pierre Ossman2014-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 39d7dc043afcf6f94b9c16942765fdb9a6a3202e. We should be secure by default, even if it might cause a performance hit. Those who wish to make that trade off are more likely to notice the lack of performance than others noticing the lack of security.
* | | Make sure we do an initial resizePierre Ossman2014-11-111-4/+12
| | | | | | | | | | | | | | | | | | The local window manager might give us a window of a different size than the one we request. Make sure that the remote resize setting gets respected even in this case.
* | | Always log chosen security typePierre Ossman2014-11-113-3/+3
| | | | | | | | | | | | | | | It's often useful to see if encryption was used, and how the user authenticated (if at all).
* | | Merge pull request #62 from bphinz/buildfixesbphinz2014-11-053-6/+33
|\ \ \ | | |/ | |/| Build enhancements for RPM-based distros
| * | Parameterize jar file signing for rpm-based distrosBrian P. Hinz2014-11-053-3/+30
| | | | | | | | | | | | * Allow build time selection of self-signed or keystore signing
| * | Set default file encoding to prevent java compiler warningsBrian P. Hinz2014-11-053-3/+3
| | | | | | | | | | | | | | | * The keymap files have UTF-8 characters embedded in comments. javac complains about this unless the default encoding is set.
* | | Merge pull request #61 from bphinz/buildfixesbphinz2014-11-0516-100/+1689
|\| | | | | | | | Buildfixes for el5 & el6
| * | Remove non-applicable changes from cmake patchBrian P. Hinz2014-11-051-8/+0
| | | | | | | | | | | | | | | * This line should not have been changed, it's inside an "ifdef(APPLE" block anyway, but removing it all the same.
| * | more el5 build fixesBrian P. Hinz2014-11-051-1/+0
| | | | | | | | | | | | | | | * Link dynamically against libm to avoid relocation errors when building mesa on x86_64.
| * | el6 package enhancementBrian P. Hinz2014-11-041-2/+5
| | | | | | | | | | | | | | | * Bumped the xserver patch version to keep up with the installed version of xorg source.
| * | more el5 build fixesBrian P. Hinz2014-11-041-0/+4
| | | | | | | | | | | | * Need to pass the path to the static X11 libraries to cmake
| * | more el5 build enhancementsBrian P. Hinz2014-11-043-98/+190
| | | | | | | | | | | | | | | | | | | | | | | | * Fixes for unresolved dependency issues when linking against static fltk * Major overhaul of static build. Previously, fltk & tigervnc were built against the dynamic system libraries (and thus not entirely portable). All of the X11 libraries required for Xvnc are now built first and everything is linked against them.
| * | more el5 static build enhancementsBrian P. Hinz2014-11-043-0/+696
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various fixes for linker issues when building fltk statically. * The native FindX11.cmake module can't be overridden so that fltk links against the static libraries that we've just built. * Need to link fltk against libdl.a or else an unresolved dependency error occurs while linking tigervnc. * Additional fixes to fix dependency resolution issues when linking fltk against X11 statically.
| * | el5 build enhancementsBrian P. Hinz2014-11-049-0/+803
| | | | | | | | | | | | | | | The el5 build was derived from fc12. Adding all patches from fc12's version of fontconfig.
* | | Merge pull request #60 from bphinz/javabphinz2014-11-051-44/+44
|\ \ \ | | |/ | |/| More enhancements to java SSLEngineManager
| * | More enhancements to java SSLEngineManagerBrian P. Hinz2014-11-041-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Blocking behavior in the read() method was leading to high CPU usage. * GC wasn't purging temporary byte arrays used to transfer data between I/O streams and NIO byte buffers, causing excessive memory usage. * Some optimization of read() behavior to reduce the frequency of blocking operations.
* | | Merge pull request #59 from bphinz/buildfixesbphinz2014-11-041-1/+6
|\ \ \ | |/ / |/| / | |/ Static build fix - only attempt to link against libtasn1 if it's present
| * Static build fix - only attempt to link against libtasn1 if it's presentBrian P. Hinz2014-11-041-1/+6
| | | | | | | | | | GnuTLS may be compiled without external libtasn1, so we shouldn't try to link against it unless it's actually present.
| * Back out previous changeBrian P. Hinz2014-11-041-6/+1
| | | | | | | | Needed to merge upstream changes in before creating pull request.
| * Merge remote-tracking branch 'upstream/master' into buildfixesBrian P. Hinz2014-11-035-53/+79
| |\ | |/ |/|
* | Merge branch 'build' of https://github.com/CendioOssman/tigervncPierre Ossman2014-11-032-16/+55
|\ \
| * | Handle mingw circular dependencies in base librariesPierre Ossman2014-11-031-1/+5
| | | | | | | | | | | | Our link order should now match the built-in library list.
| * | Handle static linking flags in .la filesPierre Ossman2014-11-031-11/+28
| | |
| * | Handle arguments that have the -l prefixPierre Ossman2014-11-031-0/+6
| | |
| * | Split up any entries that contain multiple link argumentsPierre Ossman2014-11-031-0/+12
| | | | | | | | | | | | This happens sometimes in order to enforce a strict ordering.
| * | The output variable from find_library() needs to be clearedPierre Ossman2014-11-031-0/+4
| | | | | | | | | | | | | | | Otherwise you'll just get the initial response back every time you call it.
| * | Remove obsolete reference to staticlibPierre Ossman2014-11-031-4/+0
|/ / | | | | | | We don't use that directory anymore.
* | Merge pull request #53 from bphinz/buildfixesbphinz2014-11-034-184/+151
|\ \ | | | | | | Major overhaul of SSLEngineManager
* \ \ Merge branch 'build' of https://github.com/CendioOssman/tigervncPierre Ossman2014-10-284-37/+24
|\ \ \
| * | | Use dynamic builds by defaultPierre Ossman2014-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | Static builds are the special case, so it should be left off by default.
| * | | Remove unused variablePierre Ossman2014-10-281-1/+0
| | | |
| * | | Remove verbose TLS loggingPierre Ossman2014-10-282-26/+0
| | | | | | | | | | | | | | | | | | | | We don't even log this much for RFB protocol stuff, and it makes it very annoying to run with full debugging on.
| * | | Include gettext and zlib in static GnuTLS linkPierre Ossman2014-10-281-0/+9
| | | | | | | | | | | | | | | | | | | | This is needed to make sure they are always included, and in the proper order.
| * | | Only link with crypt32 on WindowsPierre Ossman2014-10-281-1/+6
| | | | | | | | | | | | | | | | | | | | crypt32 is a Windows thing, and it is used no matter the crypto backend.
| * | | Put quotes around entire static link variablesPierre Ossman2014-10-281-8/+8
|/ / / | | | | | | | | | | | | | | | CMake is very aggressive about minimising the list of libraries, so we need to be similarily aggressive about quotes to make sure we get everything we want and in the correct order.
* | | Merge pull request #50 from bphinz/buildfixesbphinz2014-10-225-1/+5
|\ \ \ | | | | | | | | Fixes for package builds after commit f95272d.
| | | * Static build fix - only attempt to link against libtasn1 if it's presentBrian P. Hinz2014-11-031-1/+6
| | |/ | | | | | | | | | | | | GnuTLS may be compiled without external libtasn1, so we shouldn't try to link against it unless it's actually present.
| | * Major overhaul of SSLEngineManagerBrian P. Hinz2014-11-024-184/+151
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SSLEngineManager was basically an abomination. The work is now done as it should be, with the buffers being fed and the engine deciding when data is consumed or produced. The engine should be much more robust now as well. Additionally, although JRE 7 supports the TLSv1.1 and TLSv1.2 protocols, they are not actually enabled by default. The JSSE reference cites compatibility reasons for this but this doesn't appear to be the case with the TigerVNC server and they will be enabled by default in JRE 8. The regular expression for enabling anonymous DH cipher suites was too narrow and excluded the elliptic curve ciphers, which are now ordered ahead of the ephemeral ciphers by the default security provider. Lastly, increase the size of the buffer in FdOutStream from 8Kb to 16Kb. I'm not sure why FdInStream and FdOutStream were asymmetric to begin with, but 16Kb is the default size for TLS packets and there seems to be now negative effects on plain text connections.
| * Add in missing dependency for windows builds.Brian P. Hinz2014-10-221-1/+1
| | | | | | | | Commit f95272d created some undefined references in GnuTLS.
| * Set -DBUILD_STATIC=off for package builds.Brian P. Hinz2014-10-224-0/+4
|/ | | | Commit f95272d set the BUILD_STATIC flag on by default, which is unnecessary for package builds.
* Merge branch 'build' of https://github.com/CendioOssman/tigervncPierre Ossman2014-10-219-272/+121
|\
| * Extend "static" build optionPierre Ossman2014-10-173-47/+107
| | | | | | | | | | Try to link as much as possible statically in an effort to produce binaries that can be run everywhere.
| * Add Carbon and Cocoa dependencies to vncviewerPierre Ossman2014-10-171-0/+4
| | | | | | | | | | We use both frameworks directly from vncviewer so we should make sure they get pulled in.
| * Move ws2_32 dependency to the correct placePierre Ossman2014-10-173-9/+6
| | | | | | | | It is rdr and network that needs it, not vncviewer.
| * Link basic X11 libraries lastPierre Ossman2014-10-171-1/+3
| | | | | | | | | | The extension libraries might depend on libXext or libX11, so make sure they come last on the link line.
| * Remove libjpeg-turbo build instructionsPierre Ossman2014-10-171-51/+3
| | | | | | | | | | There is nothing special about this library that warrants special treatment.
| * Clean up GnuTLS linking and instructionsPierre Ossman2014-10-174-167/+1
| | | | | | | | | | | | | | | | | | GnuTLS can have different crypto backends, and it is rarely gcrypt these days. So we should not be including that unconditionally, and should not be pointing people at it either. Also remove the section about Win32 binaries as those are out of date and probably insecure. Lastly remove the section about static builds as it is a general issue and in no way complete with just the GnuTLS portions.
* | Merge branch 'remote-shm' of https://github.com/twaugh/tigervncPierre Ossman2014-10-171-1/+10
|\ \ | |/ |/|