aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Round up expiration time for timersPierre Ossman2024-07-051-1/+1
| | | | | Otherwise we won't properly guarantee that we'll wait *at least* as long as the specified time.
* Fix x0vncserver handling of timersPierre Ossman2024-07-051-3/+3
| | | | Bug fix for bf28683.
* Update Slovak translationMarián Haburaj2024-06-271-544/+817
|
* Merge branch 'c++11' of github.com:CendioOssman/tigervncPierre Ossman2024-06-24288-2028/+2013
|\
| * Enforce not shadowing variablesPierre Ossman2024-06-241-0/+1
| | | | | | | | | | Shadowing variable can easily lead to bugs, so let's enforce that this is not allowed.
| * Avoid shadowing variablesPierre Ossman2024-06-2468-260/+285
| | | | | | | | | | It's a source of confusion and possibly bugs to reuse the same variable name for multiple things.
| * Use "static" for helper functionsPierre Ossman2024-06-242-3/+3
| | | | | | | | | | 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.
| * Simplify RandR output name handlingPierre Ossman2024-06-241-36/+26
| | | | | | | | | | 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.
| * Avoid redundant argumentsPierre Ossman2024-06-246-50/+48
| | | | | | | | | | Remove redundant arguments where the method already has access to the relevant variable as an object attribute.
| * Simplify code using range-based for loopsPierre Ossman2024-06-2413-118/+82
| | | | | | | | | | | | | | | | | | 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.
| * Remove careful client iteratationPierre Ossman2024-06-241-42/+24
| | | | | | | | | | | | | | 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.
| * Prefer std::find() over manual searchPierre Ossman2024-06-246-53/+39
| | | | | | | | | | Let's avoid reimplementing something basic that's available in the standard library. It also makes the code easier to read.
| * Remove unnecessary headers from Security.cxxPierre Ossman2024-06-241-18/+1
| |
| * Enforce using "override"Pierre Ossman2024-06-241-0/+1
| | | | | | | | Make sure developers don't miss marking methods correctly.
| * Mark overridden virtual functionsPierre Ossman2024-06-24124-527/+534
| | | | | | | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
| * Enforce using nullptr for C++ codePierre Ossman2024-06-241-0/+1
| | | | | | | | | | The compiler can help out in making sure we are consistent in our use of nullptr rather than NULL.
| * Disable gcc NULL warning for context menuPierre Ossman2024-06-241-1/+4
| | | | | | | | | | | | 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.
| * Use nullptr in all C++ codePierre Ossman2024-06-24185-938/+979
| | | | | | | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
| * Make sure we use C++ 11Pierre Ossman2024-06-242-1/+4
| | | | | | | | | | | | 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.
| * Fix Windows installer dependenciesPierre Ossman2024-06-241-2/+2
| | | | | | | | | | Make sure the dependencies point to the correct files, even if an out of tree build is used.
* | Update Swedish translationLuna Jernberg2024-06-231-3/+3
| |
* | Update Finnish translationLauri Nurmi2024-06-231-206/+237
| |
* | Update Czech translationPetr Pisar2024-06-231-206/+237
| |
* | Update Indonesian translationAndika Triwidada2024-06-211-208/+233
| |
* | Update Bulgarian translationAlexander Shopov2024-06-211-210/+235
| |
* | Update Swedish translationLuna Jernberg2024-06-211-209/+240
| |
* | Update Hebrew translationYaron Shahrabani2024-06-211-206/+237
| |
* | Update Romanian translationRemus-Gabriel Chelu2024-06-211-231/+248
| |
* | Update Spanish translationCristian Othón Martínez Vera2024-06-211-208/+239
| |
* | Update Ukrainian translationYuri Chornoivan2024-06-211-208/+239
| |
* | Change development version to 1.14.80Pierre Ossman2024-06-203-3/+3
| |
* | Update translation template filePierre Ossman2024-06-201-200/+228
| |
* | Merge branch 'dri3' of github.com:CendioOssman/tigervncPierre Ossman2024-06-2017-98/+1634
|\ \ | |/ |/|
| * Automatically pick a suitable DRI3 render nodePierre Ossman2024-06-202-4/+37
| | | | | | | | | | | | 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.
| * Add option to specify used DRI3 render nodePierre Ossman2024-06-204-1/+31
| | | | | | | | | | Allows users to use a secondary GPU, or to disable DRI3 in case of issues.
| * Hide from GNOME to enable animationsPierre Ossman2024-06-202-2/+2
| | | | | | | | | | | | | | | | 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.
| * Add basic DRI3 supportPierre Ossman2024-06-2013-85/+1474
| | | | | | | | | | | | | | | | | | 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.
| * Fix includes for Xorg dri3 modulePierre Ossman2024-06-201-0/+71
| | | | | | | | | | | | | | 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.
| * Avoid VNC updates for offscreen windowsPierre Ossman2024-06-201-28/+41
| | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #1767 from bphinz/ubuntu-nobleBrian Hinz2024-06-1922-73/+865
|\ \ | | | | | | Updates for package builds
| * | Remove support for EoL operating systemsBrian P. Hinz2024-06-1918-929/+0
| | |
| * | Ubuntu packaging updatesBrian P. Hinz2024-06-1922-25/+866
| | |
* | | Merge branch 'xserver-cleanup' of github.com:CendioOssman/tigervncPierre Ossman2024-06-1930-1507/+32
|\ \ \ | | |/ | |/|
| * | Remove old Xorg configure argumentsPierre Ossman2024-06-193-9/+0
| | | | | | | | | | | | These are no longer used in the versions of Xorg currently in use.
| * | Raise Xorg requirement to 1.20+Pierre Ossman2024-06-195-338/+1
| | | | | | | | | | | | | | | No current distribution uses anything older, so let's make things easier for us to maintain.
| * | Remove Ubuntu 18.04 packagingPierre Ossman2024-06-1916-880/+0
| | | | | | | | | | | | | | | Ubuntu 18.04 has been EOL for almost a year, so remove those packages so we can ease our maintenance burden.
| * | Avoid patching miinitext.c for XvncPierre Ossman2024-06-198-150/+12
| | | | | | | | | | | | | | | | | | 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.
| * | Stop explicitly including fbcmap_mi.cPierre Ossman2024-06-191-1/+1
| | | | | | | | | | | | This hasn't been needed since Xorg 1.16.
| * | Stop linking to libX11Pierre Ossman2024-06-191-1/+1
| | | | | | | | | | | | | | | Unclear why this was ever needed. libX11 is for X11 clients, and we're building a server.
| * | Clean up CPPFLAGS handling in xserverPierre Ossman2024-06-197-30/+17
| | | | | | | | | | | | | | | Make things a bit easier to maintain. This style is also more in line with what is being done for other DDX.