]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
7 years agoRespect SendClipboard setting
Pierre Ossman [Mon, 2 Jan 2017 14:16:58 +0000 (15:16 +0100)]
Respect SendClipboard setting

7 years agoDisable checkboxes for primary selection when relevant
Pierre Ossman [Mon, 2 Jan 2017 11:56:04 +0000 (12:56 +0100)]
Disable checkboxes for primary selection when relevant

7 years agoUpdate French translation
Stéphane Aulery [Fri, 23 Dec 2016 19:56:00 +0000 (20:56 +0100)]
Update French translation

7 years agoUse dixChangeWindowProperty() instead of ChangeWindowProperty()
Pierre Ossman [Mon, 19 Dec 2016 09:27:06 +0000 (10:27 +0100)]
Use dixChangeWindowProperty() instead of ChangeWindowProperty()

ChangeWindowProperty() was removed upstream because it was redundant,
and dixChangeWindowProperty() has been around since 1.5 so we can
safely use that.

7 years agoUpdate .la files on each build
Pierre Ossman [Sun, 11 Dec 2016 13:04:37 +0000 (14:04 +0100)]
Update .la files on each build

This makes sure other build systems trigger properly, e.g. when
building Xvnc.

7 years agoMerge pull request #390 from bphinz/static-viewer
Brian Hinz [Sun, 11 Dec 2016 00:38:29 +0000 (19:38 -0500)]
Merge pull request #390 from bphinz/static-viewer

Java viewer refresh

7 years agoComplete rewrite of pixel buffer & decoder implementation. 390/head
Brian P. Hinz [Sun, 11 Dec 2016 00:28:42 +0000 (19:28 -0500)]
Complete rewrite of pixel buffer & decoder implementation.

Adds multi-threading, more robust support for different pixel formats,
and several new runtime options.

7 years agoWhitespace cleanup
Brian P. Hinz [Sun, 11 Dec 2016 00:19:46 +0000 (19:19 -0500)]
Whitespace cleanup

7 years agoDelete unecessary files
Brian P. Hinz [Sun, 11 Dec 2016 00:17:01 +0000 (19:17 -0500)]
Delete unecessary files

7 years agoMethod cleanup.
Brian P. Hinz [Sun, 11 Dec 2016 00:14:55 +0000 (19:14 -0500)]
Method cleanup.

Sync various methods and filenames with C++ versions

7 years agoWhitespace cleanup
Brian P. Hinz [Sun, 11 Dec 2016 00:10:37 +0000 (19:10 -0500)]
Whitespace cleanup

7 years agoUpdate version
Brian P. Hinz [Sun, 11 Dec 2016 00:07:33 +0000 (19:07 -0500)]
Update version

8 years agoMerge branch 'master' of https://github.com/atalax/tigervnc
Pierre Ossman [Thu, 10 Nov 2016 11:23:06 +0000 (12:23 +0100)]
Merge branch 'master' of https://github.com/atalax/tigervnc

8 years agoLog statistics from ComparingUpdateTracker
Pierre Ossman [Tue, 8 Nov 2016 13:57:11 +0000 (14:57 +0100)]
Log statistics from ComparingUpdateTracker

8 years agoUpdate Ubuntu package dependencies.
Brian P. Hinz [Sun, 6 Nov 2016 14:49:22 +0000 (09:49 -0500)]
Update Ubuntu package dependencies.

Fixes #360

8 years agoUpdate package build dependecies.
Brian P. Hinz [Sun, 6 Nov 2016 14:31:54 +0000 (09:31 -0500)]
Update package build dependecies.

Fixes #349

8 years agohextileDecode.h: Fix buffer overflow 378/head
Josef Gajdusek [Fri, 4 Nov 2016 11:24:08 +0000 (12:24 +0100)]
hextileDecode.h: Fix buffer overflow

The hextileDecodexx functions do not properly check for out-of-bounds writes,
which allows a malicious server to overwrite parts of the stack.

8 years agoMacOS package: Added NSHighResolutionCapable tag to Info.plist 371/head
Friedrich Beckmann [Tue, 25 Oct 2016 15:58:21 +0000 (17:58 +0200)]
MacOS package: Added NSHighResolutionCapable tag to Info.plist

With the flag the application will start enable the high resolution
display. I tested this on a Macbook Pro with a High Resolution Display.
The fonts are better to read.

8 years agoAdded a method for copying between streams
Brian P. Hinz [Thu, 20 Oct 2016 22:06:46 +0000 (18:06 -0400)]
Added a method for copying between streams

8 years agoAdded a method for reading into a ByteBuffer
Brian P. Hinz [Thu, 20 Oct 2016 22:04:37 +0000 (18:04 -0400)]
Added a method for reading into a ByteBuffer

8 years agoCosmetic change (increased border spacing)
Brian P. Hinz [Thu, 20 Oct 2016 00:10:09 +0000 (20:10 -0400)]
Cosmetic change (increased border spacing)

8 years agoUpdate Esperanto translation
Felipe Castro [Sun, 16 Oct 2016 00:00:00 +0000 (21:00 -0300)]
Update Esperanto translation

8 years agoFix busy loop in FdOutStream::flush()
Pierre Ossman [Mon, 10 Oct 2016 14:05:46 +0000 (16:05 +0200)]
Fix busy loop in FdOutStream::flush()

This bug was introduced in c6df31db. A non-blocking socket that did
not have any more space would busy loop until the write succeeded.
Instead now it returns without any action, just as it did before
the bug was introduced.

8 years agoHandle select() errors
Pierre Ossman [Wed, 5 Oct 2016 12:44:24 +0000 (14:44 +0200)]
Handle select() errors

8 years agoMerge X server block handling code paths
Pierre Ossman [Wed, 5 Oct 2016 11:46:01 +0000 (13:46 +0200)]
Merge X server block handling code paths

Use the new X server API as the reference system and emulate it on
the older API. Avoids a lot of code duplication.

8 years agoMove getSockets() to SocketServer interface
Pierre Ossman [Wed, 5 Oct 2016 11:39:11 +0000 (13:39 +0200)]
Move getSockets() to SocketServer interface

Any caller using add or remove should also be able to list the
sockets.

8 years agoAdd xorg-xserver 1.19 support
Hans de Goede [Wed, 5 Oct 2016 09:15:27 +0000 (11:15 +0200)]
Add xorg-xserver 1.19 support

8 years agoFix temporary decoder buffer sizes
Pierre Ossman [Wed, 5 Oct 2016 09:00:37 +0000 (11:00 +0200)]
Fix temporary decoder buffer sizes

Some of these were excessively large because of redundant factors
in the size calculation.

8 years agoDo not depends on mcookie command 366/head
Koichiro IWAO [Tue, 4 Oct 2016 08:17:06 +0000 (17:17 +0900)]
Do not depends on mcookie command

for operating systems other than GNU/Linux.

mcookie is a part of util-linux. Usually only GNU/Linux systems have it.
Do not die even if mcookie is not found. Use the previous pure perl code
to generate cookie as fallback.

8 years agoremove trailing space
Koichiro IWAO [Mon, 3 Oct 2016 09:07:57 +0000 (18:07 +0900)]
remove trailing space

8 years agoApply -fPIC on all compilers
Pierre Ossman [Thu, 22 Sep 2016 14:23:32 +0000 (16:23 +0200)]
Apply -fPIC on all compilers

8 years agoRemove INITARGS from recent xserver patches
Pierre Ossman [Thu, 22 Sep 2016 14:22:52 +0000 (16:22 +0200)]
Remove INITARGS from recent xserver patches

INITARGS isn't used since Xorg 1.13, so remove it from our patches.

8 years agoFix minor typo in framebuffer initialization
Brian P. Hinz [Mon, 5 Sep 2016 13:15:50 +0000 (09:15 -0400)]
Fix minor typo in framebuffer initialization

8 years agoMerge pull request #332 from xiaoshaaming/master
Brian Hinz [Sun, 4 Sep 2016 15:06:39 +0000 (11:06 -0400)]
Merge pull request #332 from xiaoshaaming/master

Added missing dependency for Complie error on RHEL7

8 years agoAdded filename filters to file chooser dialogs
Brian P. Hinz [Mon, 29 Aug 2016 01:15:17 +0000 (21:15 -0400)]
Added filename filters to file chooser dialogs

8 years agoMake all viewer parameters static. Viewer instances are isolated from each other...
Brian P. Hinz [Sat, 27 Aug 2016 21:33:04 +0000 (17:33 -0400)]
Make all viewer parameters static. Viewer instances are isolated from each other by spawning a completely new process for each viewer, rather than simply starting a new thread.  All dialogs were redesigned to better match the look of the native viewer, and also to be more tolerant of sizing differences between platforms.

8 years agoProper global init/deinit of GnuTLS
Pierre Ossman [Tue, 23 Aug 2016 15:02:58 +0000 (17:02 +0200)]
Proper global init/deinit of GnuTLS

These are reference counted so it is important to retain symmetry
between the calls. Failure to do so will result in bad memory access
and crashes.

8 years agoMerge branch 'system-wide-config' of https://github.com/jblaine/tigervnc
Pierre Ossman [Mon, 22 Aug 2016 10:34:03 +0000 (12:34 +0200)]
Merge branch 'system-wide-config' of https://github.com/jblaine/tigervnc

8 years agoSupport both defaults and mandatory system config files 341/head
Jeff Blaine [Sat, 6 Aug 2016 20:22:18 +0000 (16:22 -0400)]
Support both defaults and mandatory system config files

This commit introduces support for optional basic system-wide
configuration of vncserver.

The format and syntax of /etc/tigervnc/vncserver* match
that of $HOME/.vnc/config exactly.

Allows /etc/tigervnc/vncserver-config-defaults as well as
/etc/tigervnc/vncserver-config-mandatory. The former is optional
and sets user-overrideable vncserver settings. The latter is
optional, but if it exists takes precedence over all user
$HOME/.vnc/config settings of the same setting name. In the
case where /etc/tigervnc/vncserver-config-mandatory overrides
a setting in $HOME/.vnc/config, the user will be warned that
it has happened.

WARNING: Settings in /etc/tigervnc/vncserver-config-mandatory
are easily subverted by passing args to vncserver on the CLI.
The man page indicates this warning.

This commit also introduces (should have been separate) examination
of all config file settings (not just @ARGV!) when determining
whether or not $HOME/.vnc/passwd needs to be created. That is,
if /etc/tigervnc/vncserver* or $HOME/.vnc/config indicate that
we are NOT using VNC-native authentication, then we don't need
a $HOME/.vnc/passwd created.

Code cleanup:

$xstartup was renamed $xstartupFile for consistency with other
"file" variable names.

For VNC-auth checking, to determine if $HOME/.vnc/passwd needed
creation, the 3-string check against lc($arg2) was in 2 places
and was changed to a simple grep against the new @vncAuthStrings

8 years agoUpdate URL for java timestamp authority
Brian P. Hinz [Sun, 21 Aug 2016 16:52:44 +0000 (12:52 -0400)]
Update URL for java timestamp authority

OpenJDK 7u111 on el6 now throws an exception if the TSA URL scheme
is https.

8 years agoDon't fail old service cleanup
Pierre Ossman [Thu, 18 Aug 2016 14:48:55 +0000 (16:48 +0200)]
Don't fail old service cleanup

8 years agoProper multi-screen support in Xvnc
Pierre Ossman [Thu, 18 Aug 2016 14:19:30 +0000 (16:19 +0200)]
Proper multi-screen support in Xvnc

Xvnc didn't handle multiple screens properly as it forgot to place
them without overlap and didn't handle cursor movement between them.

8 years agoSet cursor sprite globally
Pierre Ossman [Thu, 18 Aug 2016 14:18:26 +0000 (16:18 +0200)]
Set cursor sprite globally

Pointer are global, not screen specific. Hence so is also the cursor
sprite.

8 years agoAdjust client pointer coordinates to absolute
Pierre Ossman [Thu, 18 Aug 2016 14:16:45 +0000 (16:16 +0200)]
Adjust client pointer coordinates to absolute

The client is not aware of where the screen is placed so it will give
us screen relative coordinates. Convert to and from these and absolute
coordinates before interacting with the input layer.

8 years agoConvert pointer coordinates to absolute
Pierre Ossman [Thu, 18 Aug 2016 14:14:55 +0000 (16:14 +0200)]
Convert pointer coordinates to absolute

It is possible to set pointer coordinate using absolute numbers, but
getting them back will always give us screen relative ones. Do the
necessary calculations manually so we return sane values to the caller.

8 years agoUpdate Serbian translation
Мирослав Николић [Sun, 7 Aug 2016 19:27:00 +0000 (21:27 +0200)]
Update Serbian translation

8 years agoUpdate Dutch translation
Benno Schulenberg [Tue, 26 Jul 2016 09:15:00 +0000 (11:15 +0200)]
Update Dutch translation

8 years agoMajor overhaul of java viewer.
Brian P. Hinz [Sun, 7 Aug 2016 12:44:46 +0000 (08:44 -0400)]
Major overhaul of java viewer.

This is the first of several large commits intended to resolve a
number of problems and add new capabilities to the java viewer.
Among the most significant changes are a complete re-design of
the options dialog, which has been converted to a callback style
interface.  The look & feel of all dialogs are now similar to
the style of the native viewer now.  Also, the process by which
new viewers are spawned has changed and each viewer is a completely
separate process, allowing for runtime arguments to be handled
statically.

8 years agoMerge pull request #322 from klusark/patch-1
Brian Hinz [Tue, 26 Jul 2016 02:44:21 +0000 (22:44 -0400)]
Merge pull request #322 from klusark/patch-1

Check CMake version for MinGW RC file handling

8 years agoAdded missing dependency for Complie error on RHEL7 332/head
lidm [Sat, 23 Jul 2016 16:29:16 +0000 (12:29 -0400)]
Added missing dependency for Complie error on RHEL7

Complie error on RHEL7 for missing depency libos.

8 years agoUpdate Swedish translation
Göran Uddeborg [Sat, 16 Jul 2016 18:31:00 +0000 (20:31 +0200)]
Update Swedish translation

8 years agoCheck CMake version for MinGW RC file handling 322/head
Joel Teichroeb [Wed, 13 Jul 2016 03:52:04 +0000 (20:52 -0700)]
Check CMake version for MinGW RC file handling

8 years agoAdd unit tests for getHostAndPort()
Pierre Ossman [Mon, 11 Jul 2016 08:05:05 +0000 (10:05 +0200)]
Add unit tests for getHostAndPort()

8 years agoFix display/port switch at display 100
Pierre Ossman [Mon, 11 Jul 2016 07:44:14 +0000 (09:44 +0200)]
Fix display/port switch at display 100

168b92c broke the handling that assumes display 100 and above are
actually a port number.

8 years agoRestore UI for PRIMARY behaviour
Pierre Ossman [Fri, 8 Jul 2016 12:24:27 +0000 (14:24 +0200)]
Restore UI for PRIMARY behaviour

They were lost when the mechanism moved from vncconfig in to Xvnc.
Restore the UI by having them reconfigure Xvnc instead.

8 years agoAllow control of PRIMARY behaviour by default
Pierre Ossman [Fri, 8 Jul 2016 12:23:21 +0000 (14:23 +0200)]
Allow control of PRIMARY behaviour by default

It was previously controlled by vncconfig which had no restrictions,
so at least include the relevant settings in the default list of
overrides.

8 years agoMerge branch 'clipboard'
Pierre Ossman [Fri, 8 Jul 2016 12:11:42 +0000 (14:11 +0200)]
Merge branch 'clipboard'

8 years agoUpdate German translation
Mario Blättermann [Thu, 7 Jul 2016 20:49:00 +0000 (22:49 +0200)]
Update German translation

8 years agoReplace Windows specific thread handling
Pierre Ossman [Thu, 7 Jul 2016 13:35:13 +0000 (15:35 +0200)]
Replace Windows specific thread handling

Use the platform independent primitives instead.

8 years agoInclude stddef.h to get access to size_t
Pierre Ossman [Thu, 7 Jul 2016 13:35:57 +0000 (15:35 +0200)]
Include stddef.h to get access to size_t

8 years agoFix typo in include protector
Pierre Ossman [Thu, 7 Jul 2016 13:35:45 +0000 (15:35 +0200)]
Fix typo in include protector

8 years agoUpdate Russian translation
Yuri Kozlov [Thu, 7 Jul 2016 06:23:00 +0000 (09:23 +0300)]
Update Russian translation

8 years agoUpdate Danish translation
Joe Hansen [Mon, 4 Jul 2016 15:00:00 +0000 (15:00 +0000)]
Update Danish translation

8 years agoAdd Vietnamese translation
Trần Ngọc Quân [Mon, 4 Jul 2016 01:44:00 +0000 (08:44 +0700)]
Add Vietnamese translation

8 years agoUpdate Brazilian Portoguese translation
Rafael Fontenelle [Fri, 1 Jul 2016 17:36:00 +0000 (15:36 -0200)]
Update Brazilian Portoguese translation

8 years agoUpdate Ukrainian translation
Yuri Chornoivan [Fri, 1 Jul 2016 11:38:00 +0000 (14:38 +0300)]
Update Ukrainian translation

8 years agoChange development version to 1.7.80
Pierre Ossman [Fri, 1 Jul 2016 10:22:49 +0000 (12:22 +0200)]
Change development version to 1.7.80

8 years agoUpdate translation template file
Pierre Ossman [Fri, 1 Jul 2016 10:20:39 +0000 (12:20 +0200)]
Update translation template file

8 years agoClean up getHostAndPort()
Pierre Ossman [Tue, 28 Jun 2016 14:24:12 +0000 (16:24 +0200)]
Clean up getHostAndPort()

It now does more validation, and handles unescaped IPv6 addresses
better.

8 years agoBump version of Xorg source patch to match distro update
Brian P. Hinz [Tue, 21 Jun 2016 03:35:41 +0000 (23:35 -0400)]
Bump version of Xorg source patch to match distro update

8 years agoClean up old WinVNC services
Pierre Ossman [Mon, 13 Jun 2016 11:05:21 +0000 (13:05 +0200)]
Clean up old WinVNC services

We've changed the service name a couple of times for various
reasons. Make sure the old versions are removed when the new one
is registered.

8 years agoClarify some keyboard tests
Pierre Ossman [Fri, 10 Jun 2016 13:22:44 +0000 (15:22 +0200)]
Clarify some keyboard tests

8 years agoUpdate keyboard test routine with known issues
Pierre Ossman [Fri, 10 Jun 2016 13:08:52 +0000 (15:08 +0200)]
Update keyboard test routine with known issues

8 years agoSeparate out OS X specific keys
Pierre Ossman [Fri, 10 Jun 2016 13:08:24 +0000 (15:08 +0200)]
Separate out OS X specific keys

8 years agoImprove list of dead keys
Pierre Ossman [Fri, 10 Jun 2016 13:06:21 +0000 (15:06 +0200)]
Improve list of dead keys

Add some more dead keys that we've noticed, and clarify the naming
on some existing ones.

8 years agoMake sure we test for Meta
Pierre Ossman [Fri, 10 Jun 2016 13:04:33 +0000 (15:04 +0200)]
Make sure we test for Meta

We now treat Meta as an independent key, so make sure our test
routines actually verify that it works.

8 years agoPut all numpad tests in the same section
Pierre Ossman [Fri, 10 Jun 2016 13:03:59 +0000 (15:03 +0200)]
Put all numpad tests in the same section

8 years agoAdd useful tips to keyboard test routine
Pierre Ossman [Fri, 10 Jun 2016 13:03:13 +0000 (15:03 +0200)]
Add useful tips to keyboard test routine

8 years agoMerge branches 'patch-1' and 'patch-2' of https://github.com/jblaine/tigervnc
Pierre Ossman [Mon, 30 May 2016 12:11:18 +0000 (14:11 +0200)]
Merge branches 'patch-1' and 'patch-2' of https://github.com/jblaine/tigervnc

8 years agoDocuments $HOME/.vnc/default.tigervnc format 316/head
Jeff Blaine [Tue, 24 May 2016 02:07:58 +0000 (22:07 -0400)]
Documents $HOME/.vnc/default.tigervnc format

Fixes #270

8 years agoProperly name filehandle based on context of code 315/head
Jeff Blaine [Tue, 24 May 2016 01:43:59 +0000 (21:43 -0400)]
Properly name filehandle based on context of code

Old harmless copy/paste from code above left code confusing as it was reusing the filehandle "XSTARTUP" to write out $vncUserDir/config. This new small change uses a more topical filehandle name for the task at hand.

8 years agoHandle parameter without value in libvnc.so
Pierre Ossman [Mon, 16 May 2016 08:58:07 +0000 (10:58 +0200)]
Handle parameter without value in libvnc.so

8 years agoMerge branch 'fix_desc_ptr' of https://github.com/uglym8/tigervnc
Pierre Ossman [Fri, 13 May 2016 14:13:44 +0000 (16:13 +0200)]
Merge branch 'fix_desc_ptr' of https://github.com/uglym8/tigervnc

8 years agoAvoid symbol clash for Xregion functions
Pierre Ossman [Fri, 13 May 2016 14:11:34 +0000 (16:11 +0200)]
Avoid symbol clash for Xregion functions

We might be linking our Xregion and libX11 into the same binary,
causing a clash between the symbols. In theory they should be
compatible, but that's not guaranteed. Avoid the issue by adding
a "vnc" prefix to our version.

8 years agoUpdate Xregion to latest upstream
Pierre Ossman [Fri, 13 May 2016 14:00:10 +0000 (16:00 +0200)]
Update Xregion to latest upstream

8 years agoSplit Xregion headers according to upstream
Pierre Ossman [Fri, 13 May 2016 13:53:25 +0000 (15:53 +0200)]
Split Xregion headers according to upstream

We've stolen the Xregion code from libX11, so let's keep the same
header naming so that it is easier to keep things in sync.

8 years agoDon't reference Xregion unless used directly
Pierre Ossman [Fri, 13 May 2016 13:34:34 +0000 (15:34 +0200)]
Don't reference Xregion unless used directly

8 years agoSpecify TigerVNC Project as the vendor/company
Pierre Ossman [Fri, 13 May 2016 13:33:57 +0000 (15:33 +0200)]
Specify TigerVNC Project as the vendor/company

8 years agoFix to workaround non-default libtool on debian
Brian P. Hinz [Thu, 12 May 2016 01:55:56 +0000 (21:55 -0400)]
Fix to workaround non-default libtool on debian

Debian patches libtool so that the default value of
link_all_deplibs is set to 'no' rather than 'unknown',
causing transitive dependencies in shared objects to
be lost.

8 years agoFix ptr usage 310/head
uglym8 [Wed, 11 May 2016 16:04:02 +0000 (19:04 +0300)]
Fix ptr usage

8 years agoMerge branch 'fixcopypastemistake' of https://github.com/michalsrb/tigervnc
Pierre Ossman [Mon, 9 May 2016 11:51:51 +0000 (13:51 +0200)]
Merge branch 'fixcopypastemistake' of https://github.com/michalsrb/tigervnc

8 years agoMerge pull request #305 from bphinz/xorg-118
Brian Hinz [Sun, 8 May 2016 02:03:37 +0000 (22:03 -0400)]
Merge pull request #305 from bphinz/xorg-118

Update xenial build to account for distro-specific xorg patches

8 years agoUpdate xenial build to account for distro-specific xorg patches 305/head
Brian P. Hinz [Sat, 7 May 2016 22:18:38 +0000 (18:18 -0400)]
Update xenial build to account for distro-specific xorg patches

8 years agoMerge pull request #304 from bphinz/xorg-118
Brian Hinz [Sat, 7 May 2016 21:55:53 +0000 (17:55 -0400)]
Merge pull request #304 from bphinz/xorg-118

Fix xserver118.patch so that it actually applies agsinst xorg 1.18

8 years agoFix xserver118.patch so that it actually applies agsinst xorg 1.18 304/head
Brian P. Hinz [Sat, 7 May 2016 19:33:01 +0000 (15:33 -0400)]
Fix xserver118.patch so that it actually applies agsinst xorg 1.18

8 years agoFix mistake in TightEncoder::setCompressLevel. 302/head
Michal Srb [Fri, 6 May 2016 11:48:36 +0000 (14:48 +0300)]
Fix mistake in TightEncoder::setCompressLevel.

8 years agoProperly reference ShmCompletion event index
Pierre Ossman [Wed, 4 May 2016 15:52:49 +0000 (17:52 +0200)]
Properly reference ShmCompletion event index

8 years agoBe more paranoid about ShmCompletion events
Pierre Ossman [Wed, 4 May 2016 15:51:19 +0000 (17:51 +0200)]
Be more paranoid about ShmCompletion events

Unfortunately HP ships a buggy X server on their thin clients
that send out extra, bogus ShmCompletion events. This screws up our
logic so we need to filter them out. Fortunately they are sent with
an invalid drawable id, so simply verify that.

8 years agoMerge branch 'socket' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 29 Apr 2016 13:55:06 +0000 (15:55 +0200)]
Merge branch 'socket' of https://github.com/CendioOssman/tigervnc

8 years agoFlush socket before checking buffer 299/head
Pierre Ossman [Fri, 29 Apr 2016 13:50:54 +0000 (15:50 +0200)]
Flush socket before checking buffer

There might be stuff lingering in the buffer simply because flush()
hasn't been called in a while, rather than because the transport is
congested.