summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #214 from bphinz/java-HostnameVerifierBrian Hinz2015-10-092-3/+84
|\ | | | | Added hostname verification for x509 authentication types to java viewer
| * Added hostname verification for x509 authentication typesBrian P. Hinz2015-10-092-3/+84
|/
* Enable Windows specific debug code in debug buildsPierre Ossman2015-09-291-0/+4
|
* Properly free temporary cursor bufferPierre Ossman2015-09-291-0/+2
|
* Don't shadow member variablePierre Ossman2015-09-291-1/+1
|
* Avoid dropping const qualifier needlesslyPierre Ossman2015-09-292-5/+5
|
* Use correct type for format stringPierre Ossman2015-09-291-1/+3
|
* Clean up listening sockets on errorPierre Ossman2015-09-291-1/+5
|
* Return TcpListener pointers rather than objectsPierre Ossman2015-09-2910-129/+112
| | | | | | It is easier to control object life time and avoid magical socket duplication by having a single TcpListener object to pass around. We have to be more careful about deleting the object though.
* Return correct error code from bind()Pierre Ossman2015-09-291-1/+2
| | | | | Closing the socket might overwrite errno so we need to save its value.
* Don't leak socket on setsockopt() errorsPierre Ossman2015-09-291-2/+5
|
* Add address sanitizer switchPierre Ossman2015-09-292-0/+9
| | | | | | Useful for debugging memory leaks and access violations. It is not available on Windows though, and there is some problem compiling ObjectiveC++ with it turned on.
* Make sure fallback block handler remains enabledPierre Ossman2015-09-241-0/+3
| | | | | | Commit f8e3b34 introduced a regression where the fallback write block handler would cease working after the first time it was called, potentially stalling writes.
* Give context for strings used in menusPierre Ossman2015-09-232-24/+29
| | | | | Makes it easier to see which hot-keys might conflict with each other, and allow some variation in translation in the future.
* Add support for pgettext()Pierre Ossman2015-09-232-0/+10
| | | | | Primarily gives it a shorthand, but also make gcc tolerate its use for format strings.
* Remove duplicate gettext_noop() definitionPierre Ossman2015-09-231-1/+0
| | | | It's defined in gettext.h so no need for us to duplicate the work.
* Update gettext.h to a more current versionPierre Ossman2015-09-231-30/+46
|
* Only include translation comments in .po filesPierre Ossman2015-09-231-1/+1
|
* Terminate the viewer even when waiting for dataPierre Ossman2015-09-233-1/+13
| | | | | It should be possible to exit the viewer even if the network has stalled in the middle of a transfer.
* Display partial updates on slow transfersPierre Ossman2015-09-233-1/+18
| | | | | | | Normally we only display screen changes once we have the updates for the entire screen. This may give the impression that the viewer is hung though. So display the partial data if the update is taking to long to arrive.
* Track statistics for CopyRectPierre Ossman2015-09-222-0/+32
|
* Merge pull request #198 from bphinz/bugfix/x509Brian Hinz2015-09-202-4/+38
|\ | | | | Don't exit completely if single viewer declines server cert
| * Don't exit completely if single viewer declines server certBrian P. Hinz2015-09-202-4/+38
|/ | | | | | Prevents viewer from exiting completely just because user declined to trust the server certificate for a single connection. Copied from TurboVNC.
* Fixes for X509 CA certificate handlingBrian P. Hinz2015-09-191-24/+97
| | | | | | | | | 95f39a5 introduced a regression whereby an exception would be thrown when a PEM encoded CA certificate file containing one or more blank lines was read in under Apple Java 6. Additionally, CA certs were being appended to the ~/.vnc/x509_savedcerts.pem file even if they were already included in it. Also fixes a possible FileNotFoundException if the x509_savedcerts.pem file didn't exist.
* Update German translationMario Blättermann2015-09-151-538/+578
|
* Use REGION_INTERSECT() rather than trying to compute things manuallyPierre Ossman2015-09-141-3/+13
| | | | | REGION_INIT() does not handle an empty or invalid BoxRec, so this method makes sure we don't feed bad rects further in to the process.
* Make vncHooksComposite() and vncHooksGlyphs() staticPierre Ossman2015-09-141-2/+2
| | | | They should never have been global symbols to begin with.
* Remove REGION_NULL fallbackPierre Ossman2015-09-141-7/+0
| | | | | It's been in the Xorg code base for ages. Any version that lacks it is too old for the rest of our code to work anyway.
* Refuse to start Xvnc if we failed to initialise a screenPierre Ossman2015-09-143-0/+11
| | | | | | Starting Xvnc without having any VNC functionality is pretty much pointless. So terminate when that happens, making the situation easier to detect for startup scripts.
* Fix Viewport initial sizing issue on OS XBrian P. Hinz2015-09-131-1/+3
| | | | | The layout manager on OS X sometimes sets the preferredSize to 0, so only call pack if that's not the case.
* Handle CA chain certificatesBrian P. Hinz2015-09-131-4/+7
| | | | | Allow the Java client to read CA certificates containing multiple certs concatenated together.
* Improve handling of x509 authenticationBrian P. Hinz2015-09-131-24/+101
| | | | | | | Fixes #193 and also adds automatic certificate saving feature like the Fltk viewer. Also pulls in CA certificates from all trusted authorities known to the JRE for the case when the server is using a certificate from a top-level authority.
* Merge pull request #194 from bphinz/masterBrian Hinz2015-09-123-14/+171
|\ | | | | Compile legacy Xvnc with relative rpath for portability
| * Compile legacy Xvnc with relative rpath for portabilityBrian P. Hinz2015-09-123-14/+171
|/ | | | | | Build with rpath link so that Xvnc finds our libGL even if it's not installed in "/". Also applied dridir and xkbcompdir patches so that the correct DRI driver gets loaded.
* Add keyboard debug log to serversPierre Ossman2015-08-311-4/+21
| | | | | Makes it easier to troubleshoot keyboard issues by printing exactly what key events the server is getting from the client.
* Merge pull request #190 from bphinz/masterBrian Hinz2015-08-205-32/+86
|\ | | | | Java viewer updates
| * Fix UI logic in Java viewerBrian P. Hinz2015-08-201-1/+0
| | | | | | | | | | Fixes an issue where the FullScreenAllMonitors checkbox in the OptionsDialog was not activated.
| * Disable window functions for embedded appletBrian P. Hinz2015-08-202-0/+6
| |
| * Disable desktopSize option for embedded appletsBrian P. Hinz2015-08-201-1/+2
| |
| * Add multiple monitor spanning feature to java viewerBrian P. Hinz2015-08-204-12/+65
| | | | | | | | | | | | | | | | | | Adds support for spanning multiple monitors in "Extended" mode to the Java viewer. Allows for spanning when maximizing in addition to just full-screen mode. Seems a bit unpredictable on MS Windows 7 (ie: depends on window placement, which screen is set as primary, etc.), but this appears to be the behavior of the OS itself.
| * Java viewer UI updatesBrian P. Hinz2015-08-202-14/+11
| | | | | | | | | | Make the layout of the options dialog more consistent with the native viewer.
| * Fix desktopSize parameter issueBrian P. Hinz2015-08-201-5/+3
| | | | | | | | | | | | desktopSize preference was being applied even if the checkbox was unselected in the dialog is a value had previously been stored in the preferences file.
| * Merge remote-tracking branch 'upstream/master'Brian P. Hinz2015-08-204-11/+15
| |\ | |/ |/|
* | Show error dialog when ACL pattern isn't acceptedPierre Ossman2015-08-101-2/+7
| |
* | Change netmask to prefix in ACL documentationPierre Ossman2015-08-102-7/+6
| | | | | | | | | | | | The IPv6 additions deprecated support for netmasks in the access control lists. Unfortunately some documentation was not updated to reflect this fact.
* | Fix reversed logic in vncIsTCPPortUsed()Pierre Ossman2015-08-101-2/+2
| | | | | | | | | | Patch by Jay Kulpinski. Prevents -inetd mode from automatically finding a free X11 display number.
| * Merge remote-tracking branch 'upstream/master'Brian P. Hinz2015-08-090-0/+0
| |\ | |/ |/|
* | Apply recent Xorg CVE patches, update dependenciesBrian P. Hinz2015-08-096-5/+482
| | | | | | | | | | | | | | Added patches for the following upstream CVEs: 2013-7439, 2015-0255, 2015-1802, 2015-1803, 2015-1804. Also updated the versions of gnutls, libtasn1, and libjpeg-turbo used to build static libraries to their latest respective upstream versions.
| * Bump el5 RPM spec versionBrian P. Hinz2015-08-091-1/+1
| | | | | | | | Bump spec version to match changelog.
| * Rename patch fileBrian P. Hinz2015-08-091-0/+0
| | | | | | | | Patch file had different extension than what was specified in spec