| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Otherwise we won't properly guarantee that we'll wait *at least* as long
as the specified time.
|
|
|
|
| |
Bug fix for bf28683.
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Shadowing variable can easily lead to bugs, so let's enforce that this
is not allowed.
|
| |
| |
| |
| |
| | |
It's a source of confusion and possibly bugs to reuse the same variable
name for multiple things.
|
| |
| |
| |
| |
| | |
These functions act only on the input parameters, so let's make them
static to more clearly indicate that they do not act upon any object.
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
Clients cannot remove themselves from the list as we are iterating, so
we don't need this complexity. If a client encounters a problem, it will
only mark it self as closed and will be removed from the list at a later
time.
|
| |
| |
| |
| |
| | |
Let's avoid reimplementing something basic that's available in the
standard library. It also makes the code easier to read.
|
| | |
|
| |
| |
| |
| | |
Make sure developers don't miss marking methods correctly.
|
| |
| |
| |
| |
| | |
Use the new "override" keyword to properly differentiate between new
virtual methods, and existing virtual methods being overridden.
|
| |
| |
| |
| |
| | |
The compiler can help out in making sure we are consistent in our use of
nullptr rather than NULL.
|
| |
| |
| |
| |
| |
| | |
We use the pointer to just store an identifier for the menu, but this is
enough for gcc to think we are using 0 instead of nullptr and complain.
Even an explicit cast isn't enough to silence it here for some reason.
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Make sure the dependencies point to the correct files, even if an out of
tree build is used.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Lay the groundwork for a more intelligent selection of GPU in systems
that have multiple cards. This initial implementation simply picks the
first GPU that we have permission to open.
|
| |
| |
| |
| |
| | |
Allows users to use a secondary GPU, or to disable DRI3 in case of
issues.
|
| |
| |
| |
| |
| |
| |
| |
| | |
One GNOME developer had a bad experience with VNC one time, and
therefore all VNC must forever be punished.
Avoid detection by GNOME so that animations aren't forcefully disabled
without any option for the user to re-enable them.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This provides buffer sync with the primary render node of the system (if
available). By doing so, OpenGL and Vulkan can use the render node for
acceleration.
This first implementation is extremely pessimistic and synchronises
buffers whenever there's even a slight chance they will be used.
|
| |
| |
| |
| |
| |
| |
| | |
It was incorrectly designed to only build properly if built as part of
the "Xorg" server and could fail to build when just "Xvnc" was built.
Backport of upstream commits 0ce93e5 and acc581c.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Windows aren't always directly shown, e.g. when the desktop is
composited. We should not be sending screen updates for these as the
framebuffer didn't actually change.
In the case of CopyWindow, we're even sending the wrong screen data,
which is how this bug was discovered.
|
|\ \
| | |
| | | |
Updates for package builds
|
| | | |
|
| | | |
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | | |
These are no longer used in the versions of Xorg currently in use.
|
| | |
| | |
| | |
| | |
| | | |
No current distribution uses anything older, so let's make things easier
for us to maintain.
|
| | |
| | |
| | |
| | |
| | | |
Ubuntu 18.04 has been EOL for almost a year, so remove those packages so
we can ease our maintenance burden.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Things do not need to be this complicated. We can make sure the VNC
extension is always included in a much cleaner way, at least since Xorg
1.16.
|
| | |
| | |
| | |
| | | |
This hasn't been needed since Xorg 1.16.
|
| | |
| | |
| | |
| | |
| | | |
Unclear why this was ever needed. libX11 is for X11 clients, and we're
building a server.
|
| | |
| | |
| | |
| | |
| | | |
Make things a bit easier to maintain. This style is also more in line
with what is being done for other DDX.
|