]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
6 years agoSplit out ServerParams from ConnParams
Pierre Ossman [Mon, 18 Jun 2018 13:44:26 +0000 (15:44 +0200)]
Split out ServerParams from ConnParams

We need to track different things in the server and client, so
separate things to two independent structures to keep things more
clear.

6 years agoEncapsulate screen layout storage in ConnParams
Pierre Ossman [Wed, 20 Jun 2018 10:25:14 +0000 (12:25 +0200)]
Encapsulate screen layout storage in ConnParams

Avoid direct access to the screen dimensions and layout so that we
can make sure it stays sane. This also makes sure the layout is
properly updated when we only get the screen dimensions from the
server.

6 years agoRespect geometry setting in screen layout
Pierre Ossman [Thu, 1 Nov 2018 15:05:02 +0000 (16:05 +0100)]
Respect geometry setting in screen layout

We might only be using part of the X server's screen, so make sure
the layout we calculate is contained within this part.

6 years agoMove version reading/writing out of ConnParams
Pierre Ossman [Mon, 18 Jun 2018 14:51:53 +0000 (16:51 +0200)]
Move version reading/writing out of ConnParams

That object is just a container for the current state. Move the I/O
to the classes already doing such stuff.

6 years agoRemove unused include
Pierre Ossman [Mon, 18 Jun 2018 13:38:53 +0000 (15:38 +0200)]
Remove unused include

We should not be including server headers from client code. It was
not even needed, so simply remove it.

6 years agoMerge branch 'nojava' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 26 Oct 2018 14:40:41 +0000 (16:40 +0200)]
Merge branch 'nojava' of https://github.com/CendioOssman/tigervnc

6 years agoMerge branch 'x0vncserver-run-destructors' of https://github.com/x11clone/x11clone
Pierre Ossman [Fri, 26 Oct 2018 12:53:47 +0000 (14:53 +0200)]
Merge branch 'x0vncserver-run-destructors' of https://github.com/x11clone/x11clone

6 years agoMerge branch 'master' of https://github.com/grulja/tigervnc
Pierre Ossman [Fri, 26 Oct 2018 12:51:09 +0000 (14:51 +0200)]
Merge branch 'master' of https://github.com/grulja/tigervnc

6 years agoFix rendering on big endian system
Pierre Ossman [Thu, 25 Oct 2018 08:36:21 +0000 (10:36 +0200)]
Fix rendering on big endian system

Our XRender code assumes a certain pixel layout which was not
guaranteed on big endian systems. The previous workaround only worked
for some cases, so fix this properly now.

6 years agoAdjust some strings so they are easier to translate
Pierre Ossman [Thu, 25 Oct 2018 08:32:38 +0000 (10:32 +0200)]
Adjust some strings so they are easier to translate

6 years agoUpdate Danish translation
joe Hansen [Sun, 12 Aug 2018 11:22:00 +0000 (13:22 +0200)]
Update Danish translation

6 years agoRun listener destructors before terminating 750/head
Peter Åstrand (astrand) [Tue, 25 Sep 2018 11:51:55 +0000 (13:51 +0200)]
Run listener destructors before terminating

Must be done in order to remove UNIX sockets etc.

6 years agoDocument tests for server keyboard handling
Pierre Ossman [Fri, 19 Oct 2018 14:22:26 +0000 (16:22 +0200)]
Document tests for server keyboard handling

6 years agoClarify some keyboard test details
Pierre Ossman [Fri, 19 Oct 2018 14:22:12 +0000 (16:22 +0200)]
Clarify some keyboard test details

6 years agoChange to https for tigervnc URL
Pierre Ossman [Fri, 19 Oct 2018 12:56:53 +0000 (14:56 +0200)]
Change to https for tigervnc URL

Our main web site now supports https, so update all references.

6 years agoLog TLS handshake result
Pierre Ossman [Tue, 9 Oct 2018 14:54:38 +0000 (16:54 +0200)]
Log TLS handshake result

Makes it easier to debug TLS issues, and to see the effect of
altering the priority string.

6 years agoRemove Java web server 736/head
Pierre Ossman [Tue, 9 Oct 2018 08:23:59 +0000 (10:23 +0200)]
Remove Java web server

Applets don't work anymore so remove everything that has to do
with serving them.

6 years agoAvoid potential crash when replacing buffer in PlainPasswd 728/head
Jan Grulich [Mon, 1 Oct 2018 08:17:20 +0000 (10:17 +0200)]
Avoid potential crash when replacing buffer in PlainPasswd

6 years agoInclude unix socket in vncviewer usage
Pierre Ossman [Fri, 28 Sep 2018 13:31:14 +0000 (15:31 +0200)]
Include unix socket in vncviewer usage

We've had support for unix sockets for a while now. Make sure this
is reflected in the -help output and the man page.

Also make some minor tweaks to the section to get everything in
sync with reality.

6 years agoMerge branches 'meta' and 'tlscrash' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 21 Sep 2018 14:03:57 +0000 (16:03 +0200)]
Merge branches 'meta' and 'tlscrash' of https://github.com/CendioOssman/tigervnc

6 years agoRestore original streams when terminating TLS 722/head
Pierre Ossman [Fri, 21 Sep 2018 13:34:47 +0000 (15:34 +0200)]
Restore original streams when terminating TLS

In theory we could return to communicate without TLS after a
shutdown. It also makes sure the connection object isn't left
completely without streams.

6 years agoDelete TLS streams before deleting the session
Pierre Ossman [Fri, 21 Sep 2018 13:33:30 +0000 (15:33 +0200)]
Delete TLS streams before deleting the session

The streams depend on the session and can crash the program if they
are removed in the wrong order. Do a general cleanup of the life time
management of the streams.

6 years agoStrongly bind security objects to connection object
Pierre Ossman [Fri, 21 Sep 2018 13:31:11 +0000 (15:31 +0200)]
Strongly bind security objects to connection object

There is already an implicit connection between them, so let's make
it explicit. This allows easy lookup outside of the processMsg() function.

6 years agoInitialise CSecurityTLS::cert_cred properly
Pierre Ossman [Fri, 21 Sep 2018 13:27:04 +0000 (15:27 +0200)]
Initialise CSecurityTLS::cert_cred properly

If we leave it at something random we'll get an invalid delete
if the handshake fails.

6 years agoRemove destroy functions
Pierre Ossman [Fri, 21 Sep 2018 13:26:37 +0000 (15:26 +0200)]
Remove destroy functions

These are just confusing and obfuscating. Do a normal delete of
these objects instead.

6 years agoInterpret Meta as Alt 723/head
Pierre Ossman [Fri, 21 Sep 2018 10:48:12 +0000 (12:48 +0200)]
Interpret Meta as Alt

Shift+Alt often generates Meta on Unix systems. Assume this is the
same thing as Alt on Windows.

6 years agoReplace Shift+Alt with Shift+Meta when possible
Pierre Ossman [Fri, 21 Sep 2018 10:30:54 +0000 (12:30 +0200)]
Replace Shift+Alt with Shift+Meta when possible

Most layouts on Unix generate Meta for Shift+Alt but non-Unix clients
will send XK_Alt_*. This results in us picking some other key which
can confuse some applications.

Try to detect this scenario and map XK_Alt_* to XK_Meta_*.

6 years agoUpdate NumLock comment now that we have sync
Pierre Ossman [Fri, 21 Sep 2018 10:30:36 +0000 (12:30 +0200)]
Update NumLock comment now that we have sync

6 years agoMerge branch 'alrplus' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 21 Sep 2018 08:42:56 +0000 (10:42 +0200)]
Merge branch 'alrplus' of https://github.com/CendioOssman/tigervnc

6 years agoEstimate higher bandwidth in slow start 720/head
Pierre Ossman [Thu, 20 Sep 2018 14:35:37 +0000 (16:35 +0200)]
Estimate higher bandwidth in slow start

If we are still in slow start then we haven't discovered the actual
bandwidth limit yet. We also rely on the caller causing a bit of
congestion to detect the limit. So report a higher bandwidth estimate
than what we've currently tested in this scenario.

6 years agoAllow perceptually lossless refresh
Pierre Ossman [Thu, 20 Sep 2018 08:52:15 +0000 (10:52 +0200)]
Allow perceptually lossless refresh

Loosen the definition of "lossless" a bit so that we can use high
quality JPEG to refresh damaged parts of the screen. Although this
isn't bit perfect, it is close enough that most users will not be
able to tell the difference.

Level 9 is used rather than level 8 because some monitors have
exaggerated contrast that allows the artefacts from level 8 to be
noticeable.

6 years agoAdd method to get compression settings from encoder
Pierre Ossman [Thu, 20 Sep 2018 08:51:00 +0000 (10:51 +0200)]
Add method to get compression settings from encoder

6 years agoDon't force encoders to specify palette size
Pierre Ossman [Thu, 20 Sep 2018 08:49:40 +0000 (10:49 +0200)]
Don't force encoders to specify palette size

Most encoders don't have a palette mode, so don't force them to
specify a dummy value to the Encoder base class constructor.

6 years agoLimit maximum lossless refresh CPU usage
Pierre Ossman [Wed, 19 Sep 2018 14:35:40 +0000 (16:35 +0200)]
Limit maximum lossless refresh CPU usage

If we have plenty of bandwidth then CPU might be the limiting resource.
Unfortunately we don't have a good number for that limit, so add a
conservative hard coded value.

6 years agoDon't attempt to send empty lossless refresh
Pierre Ossman [Wed, 19 Sep 2018 14:31:18 +0000 (16:31 +0200)]
Don't attempt to send empty lossless refresh

If we're out of time then we will definitely overshoot, so don't even
try.

6 years agoFix calculation of maximum lossless refresh area
Pierre Ossman [Wed, 19 Sep 2018 14:27:56 +0000 (16:27 +0200)]
Fix calculation of maximum lossless refresh area

The update size is in bytes, but we are counting pixels. So make
sure we convert things properly before comparing.

6 years agoAvoid refresh of recently changed areas
Peter Åstrand (astrand) [Wed, 19 Sep 2018 10:45:17 +0000 (12:45 +0200)]
Avoid refresh of recently changed areas

If an area recently changed then we can guess that it will most likely
change again very soon. In such a case it is meaningless to send a
lossless refresh as it will directly be overwritten. Keep track of
such areas and avoid refreshing them until we no longer see any
changes to them.

6 years agoFix bad reference in Timer::getRemainingMs()
Pierre Ossman [Thu, 20 Sep 2018 09:06:41 +0000 (11:06 +0200)]
Fix bad reference in Timer::getRemainingMs()

The reference for "dueTime" wasn't properly updated when this code
was refactored from a static method to a normal object method.

6 years agoLink zlib statically on all platforms
Peter Åstrand (astrand) [Wed, 19 Sep 2018 13:18:25 +0000 (15:18 +0200)]
Link zlib statically on all platforms

The API and ABI isn't as stable as we need, so it isn't safe to
link it dynamically even on Linux.

6 years agoFix bad color of cursor with x0vncserver
Pierre Ossman [Tue, 18 Sep 2018 13:41:25 +0000 (15:41 +0200)]
Fix bad color of cursor with x0vncserver

We cannot assume endian-ness for the cursor we get from XFixes.
Adjust the algorithm to properly follow the specification.

6 years agoStop tracking changes for each glyph
Pierre Ossman [Thu, 13 Sep 2018 10:31:59 +0000 (12:31 +0200)]
Stop tracking changes for each glyph

We get a whole bunch of very tiny areas, which is very inefficient to
deal with. Instead create a rectangle around every "list" of connected
glyphs (usually each line).

6 years agoAvoid compiler "use of uninitialised variable" warnings
Pierre Ossman [Thu, 13 Sep 2018 10:30:30 +0000 (12:30 +0200)]
Avoid compiler "use of uninitialised variable" warnings

The compiler isn't smart enough to figure all of these out, so
restructure things a bit to avoid warnings.

6 years agoFix multi-head placement of overlay (again)
Pierre Ossman [Tue, 11 Sep 2018 12:33:20 +0000 (14:33 +0200)]
Fix multi-head placement of overlay (again)

We should be looking at the physical monitor layout, not the current
RFB layout. The latter might not be in sync with the local monitors.

6 years agoRemove dead overlay code
Pierre Ossman [Tue, 11 Sep 2018 12:23:35 +0000 (14:23 +0200)]
Remove dead overlay code

Remnants from an earlier version of the code.

6 years agoExplicitly check screen layout after change
Pierre Ossman [Tue, 11 Sep 2018 12:22:04 +0000 (14:22 +0200)]
Explicitly check screen layout after change

There are some cases where the server state will not automatically
be updated on a change. A prominent one is when only RFB attributes
were changes (e.g. the screen ID) but nothing else. In that case
there is no actual change in the X server, so it never sends any
notification about change back to us.

6 years agoAdjust cursor position according to geometry
Pierre Ossman [Mon, 10 Sep 2018 15:03:17 +0000 (17:03 +0200)]
Adjust cursor position according to geometry

x0vncserver might only be observing part of the display, so we need
to adjust any coordinates before we give them to the RFB core.

6 years ago[Java] Fix error in VeNCrypt protocol implemtation
Brian P. Hinz [Tue, 21 Aug 2018 02:59:17 +0000 (22:59 -0400)]
[Java] Fix error in VeNCrypt protocol implemtation

6 years agoMerge pull request #703 from pepijnve/patch-1
Brian Hinz [Tue, 21 Aug 2018 02:16:01 +0000 (22:16 -0400)]
Merge pull request #703 from pepijnve/patch-1

Release queueMutex using finally blocks

6 years agoRelease queueMutex using finally blocks 703/head
Pepijn Van Eeckhoudt [Mon, 20 Aug 2018 12:22:37 +0000 (14:22 +0200)]
Release queueMutex using finally blocks

Ensure queueMutex is always correctly released by using finally blocks. This is the closest approximation of AutoMutex style automatic release you can get in Java.

6 years agoGet correct GnuTLS version in travis
Pierre Ossman [Thu, 16 Aug 2018 12:08:43 +0000 (14:08 +0200)]
Get correct GnuTLS version in travis

6 years agoUse system certificate trust store
Pierre Ossman [Thu, 16 Aug 2018 11:28:37 +0000 (13:28 +0200)]
Use system certificate trust store

Makes it possible to use certificates from all popular CAs with
TigerVNC.

6 years agoCenter overlay on primary screen
Pierre Ossman [Thu, 16 Aug 2018 10:05:49 +0000 (12:05 +0200)]
Center overlay on primary screen

Makes sure it is readable in a multi screen configuration, as otherwise
it might end up crossing multiple screens.

6 years agoMerge branch 'master' of https://github.com/daa/tigervnc
Pierre Ossman [Thu, 16 Aug 2018 08:20:23 +0000 (10:20 +0200)]
Merge branch 'master' of https://github.com/daa/tigervnc

6 years agoIncrease maximum vnc server name length 700/head
Alexander Duryagin [Wed, 15 Aug 2018 16:25:54 +0000 (19:25 +0300)]
Increase maximum vnc server name length

6 years agoDo not perform endianness check on Windows and Apple 694/head
Jan Grulich [Wed, 8 Aug 2018 13:33:23 +0000 (15:33 +0200)]
Do not perform endianness check on Windows and Apple

6 years agoCheck endianness when constructing PlatformPixelBuffer()
Jan Grulich [Wed, 8 Aug 2018 13:29:23 +0000 (15:29 +0200)]
Check endianness when constructing PlatformPixelBuffer()

6 years agoIgnore buttons in mouse leave events
Pierre Ossman [Tue, 31 Jul 2018 14:06:59 +0000 (16:06 +0200)]
Ignore buttons in mouse leave events

For KDE we can sometimes get a bunch of stray FL_LEAVE events before
gaining focus. Sending their included button information gets things
in the incorrect order with regard to other synchronisation we do on
focus. So just ignore buttons as the only information we want out of
the leave information is a position update.

6 years agoAvoid integer overflows in pixel size calculations
Pierre Ossman [Wed, 25 Jul 2018 18:44:32 +0000 (20:44 +0200)]
Avoid integer overflows in pixel size calculations

6 years agoUpdate Swedish translation
Göran Uddeborg [Mon, 23 Jul 2018 17:27:00 +0000 (19:27 +0200)]
Update Swedish translation

6 years agoUpdate Bulgarian translation
Alexander Shopov [Sun, 22 Jul 2018 20:34:00 +0000 (22:34 +0200)]
Update Bulgarian translation

6 years agoAdd debug output for x0vncserver key events
Pierre Ossman [Wed, 25 Jul 2018 18:02:20 +0000 (20:02 +0200)]
Add debug output for x0vncserver key events

6 years agoHandle Shift+Tab (ISO_Left_Tab) in x0vncserver
Pierre Ossman [Wed, 25 Jul 2018 18:02:02 +0000 (20:02 +0200)]
Handle Shift+Tab (ISO_Left_Tab) in x0vncserver

6 years agoUpdate static library dependencies for rpm/deb packages
Brian P. Hinz [Tue, 24 Jul 2018 01:38:46 +0000 (21:38 -0400)]
Update static library dependencies for rpm/deb packages

6 years agoReduce size of context menu hint
Pierre Ossman [Thu, 19 Jul 2018 11:10:08 +0000 (13:10 +0200)]
Reduce size of context menu hint

It can get a bit intrusive for experienced users, so try to reduce
the impact of it.

6 years agoFix bad type on congestion ETA variable
Pierre Ossman [Tue, 17 Jul 2018 13:01:53 +0000 (15:01 +0200)]
Fix bad type on congestion ETA variable

6 years agoUpdate Swedish translation
Göran Uddeborg [Sat, 14 Jul 2018 13:41:00 +0000 (15:41 +0200)]
Update Swedish translation

6 years agoFix .gitignore for vncviewer/ and tests/
Pierre Ossman [Wed, 11 Jul 2018 12:00:37 +0000 (14:00 +0200)]
Fix .gitignore for vncviewer/ and tests/

We had partial coverage for vncviewer/ already, but fix up the last
pieces.

6 years agoMerge branch 'gitignore' of https://github.com/clbr/tigervnc
Pierre Ossman [Wed, 11 Jul 2018 12:02:02 +0000 (14:02 +0200)]
Merge branch 'gitignore' of https://github.com/clbr/tigervnc

6 years agoAdd a basic gitignore 676/head
Lauri Kasanen [Tue, 10 Jul 2018 10:48:14 +0000 (13:48 +0300)]
Add a basic gitignore

6 years agoFix try/catch for flushPendingClipboard()
Pierre Ossman [Wed, 11 Jul 2018 11:05:11 +0000 (13:05 +0200)]
Fix try/catch for flushPendingClipboard()

We put the try/catch as close as possible to the writes in all
other case, so make sure this code also follows that pattern.

6 years agoMerge branch 'ctrl-alt-focus' of https://github.com/martinetd/tigervnc
Pierre Ossman [Wed, 11 Jul 2018 11:03:11 +0000 (13:03 +0200)]
Merge branch 'ctrl-alt-focus' of https://github.com/martinetd/tigervnc

6 years agoMerge branch 'oldserver' of https://github.com/clbr/tigervnc
Pierre Ossman [Wed, 11 Jul 2018 09:24:30 +0000 (11:24 +0200)]
Merge branch 'oldserver' of https://github.com/clbr/tigervnc

6 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 9 Jul 2018 21:27:00 +0000 (23:27 +0200)]
Update Ukrainian translation

6 years agoAdd Czech translation
Petr Pisar [Thu, 5 Jul 2018 09:07:00 +0000 (11:07 +0200)]
Add Czech translation

6 years agoUpdate Russian translation
Yuri Kozlov [Wed, 4 Jul 2018 15:57:00 +0000 (18:57 +0300)]
Update Russian translation

6 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Wed, 4 Jul 2018 08:50:00 +0000 (06:50 -0200)]
Update Brazilian Portuguese translation

6 years agoUpdate Vietnamese translation
Trần Ngọc Quân [Wed, 4 Jul 2018 07:52:00 +0000 (14:52 +0700)]
Update Vietnamese translation

6 years agoCompile fixes for Xserver 1.9 675/head
Lauri Kasanen [Mon, 9 Jul 2018 16:34:55 +0000 (19:34 +0300)]
Compile fixes for Xserver 1.9

6 years agoviewer: reset ctrl / alt to menu state on focus 674/head
Dominique Martinet [Sat, 7 Jul 2018 17:15:43 +0000 (02:15 +0900)]
viewer: reset ctrl / alt to menu state on focus

Setting Ctrl or Alt key on menu only sends the key press, and the
state is lost when focus is lost and recovered.
This checks the menu variable and sends the keys again if needed.

6 years agoAvoid error/warning about implicit function declaration
Jan Grulich [Wed, 27 Jun 2018 11:13:46 +0000 (13:13 +0200)]
Avoid error/warning about implicit function declaration

Function xorgGlxCreateVendor() is defined in glx_extinit.h, if this header is
not included, we might get either error or warning. This header also need to
be included after scrninststr.h header as it defines some structures used
in glx_extinit.h

6 years agoChange development version to 1.9.80
Pierre Ossman [Wed, 13 Jun 2018 14:27:53 +0000 (16:27 +0200)]
Change development version to 1.9.80

6 years agoUpdate translation template file
Pierre Ossman [Wed, 13 Jun 2018 14:26:10 +0000 (16:26 +0200)]
Update translation template file

6 years agoMerge branch 'grab' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 13 Jun 2018 14:04:03 +0000 (16:04 +0200)]
Merge branch 'grab' of https://github.com/CendioOssman/tigervnc

6 years agoBetter string handling of default server name
Pierre Ossman [Wed, 13 Jun 2018 10:58:59 +0000 (12:58 +0200)]
Better string handling of default server name

We might not get one from the default configuration (we might not have
a default configuration at all), so make things more robust.

6 years agoIgnore fake focus events from XGrabKeyboard() 661/head
Pierre Ossman [Tue, 12 Jun 2018 13:58:34 +0000 (15:58 +0200)]
Ignore fake focus events from XGrabKeyboard()

Grabbing (and ungrabbing) the keyboard generates fake focus events
with modern versions of Xorg. This causes an infinite loop since we
update the grab status on focus events.

Work around this by ignoring these fake events.

6 years agoUpdate comment about keyboard grab on focus changes
Pierre Ossman [Tue, 12 Jun 2018 13:57:27 +0000 (15:57 +0200)]
Update comment about keyboard grab on focus changes

It is no longer a workaround but rather intended behaviour.

6 years agoAdd support for X server 1.20.0. 658/head
Michal Srb [Wed, 6 Jun 2018 11:33:37 +0000 (13:33 +0200)]
Add support for X server 1.20.0.

In-server GLVND requires xorgGlxCreateVendor call from InitOutput.
DPMS functions were moved to another location and no longer need to be faked.
xserver120.patch is a copy of xserver119.patch with refreshed contexts.

6 years agoProperly sync LED state on connect
Pierre Ossman [Thu, 7 Jun 2018 07:16:02 +0000 (09:16 +0200)]
Properly sync LED state on connect

We should start by getting the remote end in sync with the actual
keyboard state. This would work randomly before depending on if we
got the first LED state message before or after we got focus.

6 years agoMerge branch 'unix' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 29 May 2018 14:46:19 +0000 (16:46 +0200)]
Merge branch 'unix' of https://github.com/CendioOssman/tigervnc

6 years agoUnix socket support in x0vncserver 639/head
Pierre Ossman [Fri, 4 May 2018 13:40:22 +0000 (15:40 +0200)]
Unix socket support in x0vncserver

6 years agoProper cleanup on termination of Xvnc/libvnc.so
Pierre Ossman [Fri, 4 May 2018 12:58:01 +0000 (14:58 +0200)]
Proper cleanup on termination of Xvnc/libvnc.so

6 years agoMerge common socket code
Pierre Ossman [Fri, 4 May 2018 10:44:31 +0000 (12:44 +0200)]
Merge common socket code

6 years agoDon't require server name in config file
Pierre Ossman [Tue, 29 May 2018 14:37:54 +0000 (16:37 +0200)]
Don't require server name in config file

The user might just want to load a bunch of settings and not
initiate a connection.

6 years agoMerge branch 'config_as_an_argument' of https://github.com/Kypert/tigervnc
Pierre Ossman [Tue, 29 May 2018 14:07:07 +0000 (16:07 +0200)]
Merge branch 'config_as_an_argument' of https://github.com/Kypert/tigervnc

6 years agoStop treating "\\\\" as a special case
Pierre Ossman [Tue, 29 May 2018 13:51:42 +0000 (15:51 +0200)]
Stop treating "\\\\" as a special case

Make the code simpler by handling it just like any escaped character.

6 years agoFix parameter escape sequence parsing
Pierre Ossman [Tue, 29 May 2018 13:51:03 +0000 (15:51 +0200)]
Fix parameter escape sequence parsing

We decoded "\\n" as "n" rather than "\n".

6 years agoCatch exceptions by reference
Pierre Ossman [Tue, 29 May 2018 13:50:08 +0000 (15:50 +0200)]
Catch exceptions by reference

We use polymorphic exception objects, so catching by value invokes
the copy constructor and stuff that we don't really want.

6 years agoFix bad reference in TLSException initialiser
Pierre Ossman [Tue, 29 May 2018 13:49:26 +0000 (15:49 +0200)]
Fix bad reference in TLSException initialiser

6 years agoRemove unused code from socket classes
Pierre Ossman [Mon, 21 May 2018 10:06:47 +0000 (12:06 +0200)]
Remove unused code from socket classes

6 years agoAdd support for Unix sockets
Pierre Ossman [Thu, 3 May 2018 12:04:38 +0000 (14:04 +0200)]
Add support for Unix sockets

Patch originally by Dag-Erling Smørgrav for University of Oslo.