| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
The reason for this is to keep a consistency through out the project.
|
| |
| |
| |
| | |
The reason for this is to keep a consistency through out the project.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit adds support for the pseudo-encoding ExtendedMouseButtons in
Xvnc and x0vncserver, which makes it possible to use to use the
back/forward mouse buttons.
This commit contains work originally done by
PixelSmith <manny33@frontbuffer.com>.
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
This makes things more consistent since we mix with the standard library
exceptions so often.
|
| | |
| | |
| | |
| | |
| | | |
Use the more specific already included exception classes for common
errors to keep things more understandable.
|
| | |
| | |
| | |
| | |
| | | |
Make sure our exceptions are part of the standard exception class
hierarchy.
|
| | |
| | |
| | |
| | | |
Harmonize with the standard C++ exceptions.
|
| | |
| | |
| | |
| | |
| | | |
In preparation for using the built in C++ exception classes, which do
not accept a format string.
|
|/ / |
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
The behaviour is not consistent as Windows doesn't use errno for socket
errors, but Unix systems do. Always use the same exception to keep
things somewhat sane.
|
|/ |
|
|
|
|
|
| |
This is a very limited bit field, so use an 8 bit type to clearly show
how many bits are available.
|
|
|
|
|
| |
The different uses of this interface are not that closely related and
there is no need for them to have a common interface class.
|
|
|
|
|
| |
Follow the standard XK_ prefix, and also include the hex value for
easier debugging.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Instead of giving up after all free keycodes have been used, Keycodes from previously added keysyms will be reused.
Re: #93
|
|/
|
|
| |
Bug fix for bf28683.
|
|
|
|
|
| |
Remove redundant arguments where the method already has access to the
relevant variable as an object attribute.
|
|
|
|
|
|
|
|
|
| |
These are often more readable as they avoid a lot of the boilerplate of
iterating over fixed arrays or STL containers.
Note that this change is very conservative to avoid noise in "git
blame". Only loops where this is a clear improvement have been
converted.
|
|
|
|
|
| |
Let's avoid reimplementing something basic that's available in the
standard library. It also makes the code easier to read.
|
|
|
|
|
| |
Use the new "override" keyword to properly differentiate between new
virtual methods, and existing virtual methods being overridden.
|
|
|
|
|
| |
It's more readable than 0, and a bit safer than NULL, so let's try to
follow modern norms.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The desktop isn't completely paused just because there are no clients,
so it might still need some support from the server object.
This is primarily an issue for headless servers, where they need to
continue emulating things even without clients. A scraping server can
generally go completely passive if there are no clients.
|
| |
| |
| |
| |
| | |
It is much more sane to treat "0" as "a timer is ready NOW", so let's
change to using -1 as the invalid timeout value.
|
|/
|
|
|
|
|
| |
Move these RFB specific things to rfb::VNCServer, for clarity.
Signed-off-by: Pierre Ossman <ossman@cendio.se>
Signed-off-by: Carlos Santos <casantos@redhat.com>
|
|
|
|
|
| |
It doesn't just control button events, but all types of pointer events,
including movement.
|
|
|
|
|
|
|
|
| |
The MIT-SHM documentation:
https://www.x.org/releases/X11R7.7/doc/xextproto/shm.html
says to run XShmDetach() first, and then to destroy the segment.
(cherry picked from commit 585ee24d4cd81759ca7206d5d5181a491c2e8898)
|
|
|
|
| |
This keep everything consistent.
|
|
|
|
| |
It is REQUIRED in this context, so we can assume X11 has been found.
|
|
|
|
|
|
| |
The common use case is probably to only listem to the systemd provided
socket when using socket activation, but it might not be the only use
case. Make sure things can be combined if explicitly requested.
|
| |
|
|
|
|
| |
Avoid magical numbers as it makes it hard to understand the code.
|
|
|
|
|
|
|
|
|
|
| |
systemd can pass in sockets as file descriptors 3 and beyond. Allows
the server to use socket activation.
When triggered by systemd, no other listening sockets (e.g. rfbport) will
be activated.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
|
|\
| |
| |
| | |
https://github.com/adamhalim/tigervnc-suite
|
| |
| |
| |
| |
| |
| | |
This change makes the ZRLEEncoder respect a client's desired
compressionLevel. The ZlibLevel option is marked deprecated and removed
from the manpages.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We user the real, not the effective user ID, to check if the user is
allowed to log in with the "Plain" security types. Otherwise it would be
necessary to log in as root when Xvnc is installed with the set-user-id
bit on.
Signed-off-by: Carlos Santos <casantos@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This permits to enable PAM for the effective user of the Xvnc process by
adding this to ~/.vnc/config or /etc/tigervnc/vncserver-config-defaults:
SecurityTypes=TLSPlain
PlainUsers=%u
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2233204
Signed-off-by: Carlos Santos <casantos@redhat.com>
|
| |
| |
| |
| |
| |
| | |
Don't assume a lack of TCP listeners means the server will be
unreachable. There might be other methods of access, so let the higher
levels do that sanity check instead.
|
|/
|
|
| |
This will not do the correct thing for Unix sockets.
|
|
|
|
| |
Make sure we can actually build without XRandR libraries.
|
|
|
|
| |
Make sure we can actually build without XFixes libraries.
|
|
|
|
| |
Make sure we can actually build without XTest libraries.
|
|
|
|
| |
The need for these must have got lost somewhere in the type cleanup.
|
|
|
|
|
| |
It is more specific, and it properly sets up propagation when include
directories also need to be used further down a dependency chain.
|
|\ |
|