]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
5 years agoUpdate RPM package dependencies to require version alignment between packages. 774/head
Mark Mielke [Sun, 9 Dec 2018 14:09:27 +0000 (09:09 -0500)]
Update RPM package dependencies to require version alignment between packages.

5 years agoIncrease range of ComparingUpdateTracker statistics
Pierre Ossman [Fri, 30 Nov 2018 14:59:43 +0000 (15:59 +0100)]
Increase range of ComparingUpdateTracker statistics

32 bits are not enough to keep track of all the pixels that might
flow through the system. Expand things to 64 bits, which should cover
all reasonable uses.

5 years agoMerge branch 'altgr' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 30 Nov 2018 14:44:54 +0000 (15:44 +0100)]
Merge branch 'altgr' of https://github.com/CendioOssman/tigervnc

5 years agoAvoid using "fake" key codes 772/head
Pierre Ossman [Mon, 26 Nov 2018 14:40:30 +0000 (15:40 +0100)]
Avoid using "fake" key codes

There is a range of key codes that are never sent by a real keyboard
and are therefore used by layouts to hide "fake" mappings. Make sure
to only use these as a fallback as some applications get confused
when they see these codes.

5 years agoMerge pull request #765 from bmwiedemann/timestamp
Brian Hinz [Tue, 27 Nov 2018 16:22:34 +0000 (11:22 -0500)]
Merge pull request #765 from bmwiedemann/timestamp

Use cmake TIMESTAMP function

5 years agoDocument -AcceptSetDesktopSize in x0vncserver.man
Pierre Ossman [Mon, 26 Nov 2018 14:44:55 +0000 (15:44 +0100)]
Document -AcceptSetDesktopSize in x0vncserver.man

It now accepts this parameter, so make sure it is documented.

5 years agoAllow -AcceptSetDesktopSize in x0vncserver
Pierre Ossman [Mon, 26 Nov 2018 13:58:59 +0000 (14:58 +0100)]
Allow -AcceptSetDesktopSize in x0vncserver

We disabled it in 0a0e582 since it didn't have support for resizing.
But it got that support in 242c5b2, yet we forgot to allow this
setting again.

5 years agoEL7 with Xorg 1.2.0 needs --disable-dri3
Brian P. Hinz [Mon, 26 Nov 2018 05:17:59 +0000 (00:17 -0500)]
EL7 with Xorg 1.2.0 needs --disable-dri3

5 years agoel7 bumped version of xorg to 1.20
Brian P. Hinz [Mon, 26 Nov 2018 03:30:52 +0000 (22:30 -0500)]
el7 bumped version of xorg to 1.20

5 years agoRemove Java viewer from debian packages (4a4453f broke nightly builds)
Brian P. Hinz [Mon, 26 Nov 2018 03:22:29 +0000 (22:22 -0500)]
Remove Java viewer from debian packages (4a4453f broke nightly builds)

6 years agoAbort unsafe lossless refresh early
Pierre Ossman [Fri, 23 Nov 2018 16:48:02 +0000 (17:48 +0100)]
Abort unsafe lossless refresh early

We need to check earlier if we are going to send this refresh or
not. Otherwise we send out pings pointlessly, and we also stall
the request loop with a client as we clear the requested region
without actually sending an update message.

6 years agoMove lossless refresh handling to separate method
Pierre Ossman [Fri, 23 Nov 2018 16:45:04 +0000 (17:45 +0100)]
Move lossless refresh handling to separate method

It makes the logic a bit easier to follow, and also fixes the
case where just a fake update is needed.

6 years agoFix bad size check in Tight decoder
Pierre Ossman [Fri, 23 Nov 2018 16:35:04 +0000 (17:35 +0100)]
Fix bad size check in Tight decoder

Fallout from beb59a43.

6 years agoUse larger integers for the cursor dithering
Pierre Ossman [Fri, 23 Nov 2018 15:12:17 +0000 (16:12 +0100)]
Use larger integers for the cursor dithering

We need a larger range to handle the temporary overflow caused by
the Floyd-Steinberg dithering.

6 years agoMerge branch 'vla' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Wed, 21 Nov 2018 16:14:15 +0000 (17:14 +0100)]
Merge branch 'vla' of https://github.com/CendioOssman/tigervnc

6 years agoDo debug build in Travis 766/head
Pierre Ossman [Wed, 21 Nov 2018 15:23:42 +0000 (16:23 +0100)]
Do debug build in Travis

The debug builds do extra check, so chose that mode for Travis so we
get early warnings for problems.

6 years agoMerge branch 'covscan' of https://github.com/grulja/tigervnc
Pierre Ossman [Wed, 21 Nov 2018 15:02:31 +0000 (16:02 +0100)]
Merge branch 'covscan' of https://github.com/grulja/tigervnc

6 years agoFix memory leaks 729/head
Jan Grulich [Tue, 20 Nov 2018 09:44:39 +0000 (10:44 +0100)]
Fix memory leaks

6 years agoCheck correct return code
Jan Grulich [Tue, 20 Nov 2018 09:44:26 +0000 (10:44 +0100)]
Check correct return code

6 years agoUse cmake TIMESTAMP function 765/head
Bernhard M. Wiedemann [Sun, 18 Nov 2018 07:14:50 +0000 (08:14 +0100)]
Use cmake TIMESTAMP function

because it is not only platform independent
but also allows to override the build date
This helps to make tigervnc builds reproducible

See https://reproducible-builds.org/ for why this is good

Also adds UTC flag, to be independent of timezone.
Also changes JAVA_DATE format to ISO-8601 date format.

Requires cmake-2.8.11+ from 2013

6 years agoSave a few X11 server roundtrips by ignoring empty damage regions. 763/head
Christian Authmann [Sun, 11 Nov 2018 10:14:40 +0000 (11:14 +0100)]
Save a few X11 server roundtrips by ignoring empty damage regions.

Logging revealed that a few empty damage regions are emitted on startup. Those don't need to be rendered to the Surface pixmap.

6 years agoPrevent rendering uninitialized Pixmap contents on X11
Christian Authmann [Sun, 11 Nov 2018 09:40:48 +0000 (10:40 +0100)]
Prevent rendering uninitialized Pixmap contents on X11

The Pixmap is filled in as updates from the server arrive. Before the first full update, it would contain undefined contents, which would be rendered onto the ViewPort.
Clearing the Pixmap is only done on startup and when changing the server resolution, so it's not performance critical.

6 years agoMerge branch 'exittimer' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 9 Nov 2018 16:28:44 +0000 (17:28 +0100)]
Merge branch 'exittimer' of https://github.com/CendioOssman/tigervnc

6 years agoGet rid of SocketServer::checkTimeouts() 762/head
Pierre Ossman [Fri, 26 Oct 2018 13:54:56 +0000 (15:54 +0200)]
Get rid of SocketServer::checkTimeouts()

It doesn't belong on each socket server object as timers are global.
Force implementations to call the Timer system directly instead,
avoiding any middle men.

6 years agoChange idle timeout to timer
Pierre Ossman [Fri, 26 Oct 2018 13:54:00 +0000 (15:54 +0200)]
Change idle timeout to timer

Get this timeout in to the timer system as well to make things
simpler and more robust.

6 years agoProperly terminate server on timeouts
Pierre Ossman [Sat, 29 Sep 2018 09:24:19 +0000 (11:24 +0200)]
Properly terminate server on timeouts

Do a proper cleanup when one of the termination timeouts trigger
rather than just exiting on the spot. This makes sure we don't leave
stray stuff around, e.g. unix socket files.

6 years agoChange exit timeouts to timers
Pierre Ossman [Fri, 26 Oct 2018 13:34:03 +0000 (15:34 +0200)]
Change exit timeouts to timers

This makes them more consistent with everything else, which makes
things clearer and also allows them to handle some corner cases
(e.g. only firing once).

6 years agoMerge branch 'vncserver' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 9 Nov 2018 16:21:35 +0000 (17:21 +0100)]
Merge branch 'vncserver' of https://github.com/CendioOssman/tigervnc

6 years agoClean up headers 755/head
Pierre Ossman [Thu, 11 Oct 2018 06:08:19 +0000 (08:08 +0200)]
Clean up headers

Add missing comments and clearly separate methods from attributes.

6 years agoRemove unused functions from server classes
Pierre Ossman [Thu, 11 Oct 2018 06:05:08 +0000 (08:05 +0200)]
Remove unused functions from server classes

6 years agoMake throwConnFailedException() protected
Pierre Ossman [Thu, 11 Oct 2018 05:54:12 +0000 (07:54 +0200)]
Make throwConnFailedException() protected

It is an internal function so it has no business being public.
Compare with CConnection where it is already private.

6 years agoRemove writeConnFailedFromScratch()
Pierre Ossman [Thu, 11 Oct 2018 05:52:50 +0000 (07:52 +0200)]
Remove writeConnFailedFromScratch()

It is static and only used from a single place, so let's inline it.

6 years agoRemove comments about self-deleting connections
Pierre Ossman [Mon, 8 Oct 2018 14:03:43 +0000 (16:03 +0200)]
Remove comments about self-deleting connections

It isn't true so remove those comments.

6 years agoStop trying to send ListConnInfo via WM_COPYDATA
Pierre Ossman [Fri, 9 Nov 2018 16:14:57 +0000 (17:14 +0100)]
Stop trying to send ListConnInfo via WM_COPYDATA

Windows tries to do a copy of it, and it is too complex to survive
that. Just reference the object directly as we know the source of
the message here.

6 years agoMove ListConnInfo to WinVNC directory
Pierre Ossman [Mon, 8 Oct 2018 14:03:01 +0000 (16:03 +0200)]
Move ListConnInfo to WinVNC directory

It is functionality specific to WinVNC, so move the code there
to make things more clear.

6 years agoRemove variable length arrays
Pierre Ossman [Wed, 7 Nov 2018 20:36:05 +0000 (21:36 +0100)]
Remove variable length arrays

These are not allowed in C++, and have been made optional in C11.
So let's just get rid of them and any issues they may cause.

6 years agoUpdate gettext.h to latest version
Pierre Ossman [Wed, 7 Nov 2018 20:31:25 +0000 (21:31 +0100)]
Update gettext.h to latest version

6 years agoFixed handling of AltGr from Windows' touch keyboard
Pierre Ossman [Tue, 6 Nov 2018 16:31:11 +0000 (17:31 +0100)]
Fixed handling of AltGr from Windows' touch keyboard

We need to test this always in order to catch Ctrl+AltGr, and to
handle release of the key properly. Hopefully there isn't any other
case where VK_MENU is sent without a scan code.

6 years agoHandle AltGr from Windows' touch keyboard
Pierre Ossman [Tue, 6 Nov 2018 11:40:53 +0000 (12:40 +0100)]
Handle AltGr from Windows' touch keyboard

6 years agoAdjust XDamage tracking to geometry
Pierre Ossman [Mon, 5 Nov 2018 15:49:47 +0000 (16:49 +0100)]
Adjust XDamage tracking to geometry

We might have an offset in the area of the screen we're tracking,
so make sure that offset is included in the changes we report.

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 agoInherit SocketServer directly from VNCServer
Pierre Ossman [Fri, 5 Oct 2018 15:48:58 +0000 (17:48 +0200)]
Inherit SocketServer directly from VNCServer

This makes VNCServer a sufficiently complete interface that callers
don't need to know about the specific implementation (VNCServerST
currently). And assuming that all servers will use sockets is not
that outrageous.

6 years agoEncapsulate client handling in VNCServerST
Pierre Ossman [Fri, 5 Oct 2018 15:35:51 +0000 (17:35 +0200)]
Encapsulate client handling in VNCServerST

Removed the last parts of VNCSConnectionST's back door in to
VNCServerST and let the parent class fully handle coordination of
clients, and access to the desktop.

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 agoMove access rights and closing to SConnection object
Pierre Ossman [Mon, 8 Oct 2018 13:59:02 +0000 (15:59 +0200)]
Move access rights and closing to SConnection object

This makes it generally useful and other code doesn't have to
know of the specific sub-class.

6 years agoEncapsulate setDesktopSize() in VNCServerST
Pierre Ossman [Fri, 5 Oct 2018 15:32:57 +0000 (17:32 +0200)]
Encapsulate setDesktopSize() in VNCServerST

More encapsulation of functions that require coordinate between
clients.

6 years agoEncapsulate event handling in VNCServerST
Pierre Ossman [Fri, 5 Oct 2018 15:30:52 +0000 (17:30 +0200)]
Encapsulate event handling in VNCServerST

There is some client coordination needed which is better encapsulated
inside VNCServerST. This also helps hiding the desktop from the
individual clients.

6 years agoUse accessor methods for VNCServerST
Pierre Ossman [Fri, 5 Oct 2018 15:24:51 +0000 (17:24 +0200)]
Use accessor methods for VNCServerST

Avoid having VNCSConnectionST poking around in VNCServerST's internals
and instead access things via safer methods.

6 years agoRemove QueryConnectionHandler
Pierre Ossman [Fri, 5 Oct 2018 15:11:25 +0000 (17:11 +0200)]
Remove QueryConnectionHandler

Make things simpler by making this a part of the SDesktop interface
that always needs to be implemented.

6 years agoForce common flow of connection queries
Pierre Ossman [Fri, 5 Oct 2018 14:59:22 +0000 (16:59 +0200)]
Force common flow of connection queries

Force queryConnection() to always call back to approveConnection()
rather than return special values. This makes the flow easier to
follow as it will be the same in all cases.

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 agoDo not duplicate default string twice
Jan Grulich [Wed, 26 Sep 2018 10:50:33 +0000 (12:50 +0200)]
Do not duplicate default string twice

6 years agoUse empty address buffer when sockaddr sa_family is not what we want
Jan Grulich [Wed, 26 Sep 2018 08:48:15 +0000 (10:48 +0200)]
Use empty address buffer when sockaddr sa_family is not what we want

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