summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
|\ \ | |/ |/|
| * Check the return value from XShmAttach.Tim Waugh2014-10-171-1/+5
| |
| * Don't use MIT-SHM on remote displays.Tim Waugh2014-10-161-0/+5
|/ | | | | | | | | | | | | | | When run from within 'ssh -X' or 'ssh -Y', MIT-SHM will appear to be available even though it won't work: the shared memory will be on the machine running vncviewer, not on the machine running the X server it displays to. Depending on what shm segments are available on the machine running the X server, the failure may not be apparent when checking that MIT-SHM works. Avoid this by not using MIT-SHM when XDisplayName() indicates we may not be running locally. Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1072733
* Merge branch 'assert' of https://github.com/CendioOssman/tigervncPierre Ossman2014-10-109-18/+38
|\
| * Use exceptions rather than asserts for for "normal" errorsPierre Ossman2014-10-103-8/+11
| | | | | | | | | | | | | | Although these are rare, they are still not indicative of bugs so an exception (which ends up in the log and might also be shown to the user) is more appropriate than an assert. Asserts should only be used to catch blatant API misuse and similar.
| * Use the same style for exception messagesPierre Ossman2014-10-102-4/+4
| |
| * Make sure we check failed memory allocationsPierre Ossman2014-10-102-1/+23
| |
| * Remove unused assert.h includePierre Ossman2014-10-104-5/+0
| |
* | Merge branch 'jpeg16' of https://github.com/CendioOssman/tigervncPierre Ossman2014-10-092-23/+61
|\ \ | |/ |/|
| * Wrong padding size calculated (copy-paste error)Pierre Ossman2014-10-091-1/+1
| |
| * Make sure stride handling is also testedPierre Ossman2014-10-091-13/+45
| |
| * Use constants for the test buffer dimensionsPierre Ossman2014-10-091-14/+20
|/