| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
Let's avoid using special string formats when we can send this data
structured instead.
|
|/
|
|
|
| |
These were barely needed to begin with, and were purged from upstream
ages ago.
|
|
|
|
|
|
|
| |
These are more reliably as they are called once the decision has been
made as to how to display the cursor. The other hooks are sensitive to
the order of extensions, which means that we can overlook cursor changes
done by other extensions (e.g. hiding it).
|
|
|
|
|
|
| |
Some paths indicate a hidden cursor using NullCursor, and some (most)
use a valid cursor that just has no contents. Make sure we can handle
both cases.
|
| |
|
|\ |
|
| |
| |
| |
| | |
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 sentence was also restructured a bit to improve the flow.
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
It seems XGetClassHint() doesn't set the pointers to NULL if there is no
name, so we need to make sure it is cleared beforehand. Otherwise we can
get an invalid pointer given to XFree().
|
| |
| |
| |
| |
| |
| | |
Fixed so config variables can pass an empty argument.
Solves issue #1791.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
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 fixes commit a79c33d.
|
|
|
|
|
| |
This is a policy decision, so let's not enforce something on our own if
there is a system policy to rely on.
|
|\ |
|
| |
| |
| |
| |
| | |
Password should not be greater than 8 characters.
Because only 8 valid characters are used.
|
| |
| |
| |
| |
| | |
Use the library pwquality to check password complexity and improve security.
Additionally, optional enable support is also set in CMake.
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
An empty shell field in the password file is valid, although not common.
Use /bin/sh in this case, as documented in the passwd(5) man page, since
the vncserver script requires a non-empty SHELL environment variable.
Fixes issue #1786.
Signed-off-by: Carlos Santos <casantos@redhat.com>
|
| | |
| | |
| | |
| | |
| | | |
This is what Xwayland does, so let's try to do the same to avoid any
incompatibilites with applications.
|
|/ /
| |
| |
| | |
Bug fix for bf28683.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
It's a source of confusion and possibly bugs to reuse the same variable
name for multiple things.
|
| | |
| | |
| | |
| | |
| | | |
Store the name in a std::string to make things less complex as we don't
need to be as careful about making sure the data is free():d.
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
It's rare we use a compiler that has anything older as a default, but it
does happen sometimes. So make sure to guarantee this so we can start
using more modern constructs.
|
| | | |
|