aboutsummaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
...
*-. Merge branches 'argparse', 'nothread' and 'config' of ↵Pierre Ossman2025-01-1016-496/+575
|\ \ | | | | | | | | | https://github.com/CendioOssman/tigervnc
| | * Print Xvnc banner before all the usage optionsPierre Ossman2025-01-103-4/+10
| | | | | | | | | | | | | | | This is more in line with our other tools, and keeps all the X options together in the usage output.
| | * Describe multiple -Log entries in man pagesPierre Ossman2025-01-072-2/+2
| | | | | | | | | | | | | | | It's possible to configure multiple loggers with different settings. This was properly described in the --help output, but not the man pages.
| | * Document Xvnc "-SetPrimary" in man pagePierre Ossman2025-01-071-0/+5
| | |
| | * Sort parameters in -help and man pagesPierre Ossman2025-01-073-337/+337
| | | | | | | | | | | | Makes it much easier to find all the different options.
| | * Prefer "PasswordFile" over "rfbauth"Pierre Ossman2025-01-072-2/+2
| | | | | | | | | | | | | | | The latter is the legacy alias, so prefer the former in the documentation.
| | * Move -interface argument to correct sectionPierre Ossman2025-01-071-4/+4
| | | | | | | | | | | | | | | This is a "parameter", not an "option", so let's make sure it's in the correct section.
| | * Use normal iterators for parametersPierre Ossman2025-01-071-6/+6
| | | | | | | | | | | | | | | Now that we are based on a normal std::list, we can use normal iterators to go through the parameters.
| | * Remove server and viewer config typesPierre Ossman2025-01-072-3/+0
| |/ |/| | | | | | | | | | | We don't consistently use these, so they are just confusing. Instead, we rely on the linker to not include unnecessary objects, and hence irrelevant configuration objects.
| * Give better error message on bad argumentsPierre Ossman2025-01-103-7/+38
| | | | | | | | | | Instead of just printing the huge usage text and hoping the user figures out what was wrong.
| * Make all user commands handle --help and --versionPierre Ossman2025-01-103-1/+24
| |
| * Consolidate argument parsing in single functionPierre Ossman2025-01-105-33/+28
| | | | | | | | | | Avoid duplicating this complexity everywhere and make sure all commands get the same handling and fixes.
| * Separate parameter name and value in VNC extensionPierre Ossman2024-12-036-35/+57
| | | | | | | | | | Let's avoid using special string formats when we can send this data structured instead.
| * Remove legacy X11 bitfield markersPierre Ossman2024-12-031-74/+74
|/ | | | | These were barely needed to begin with, and were purged from upstream ages ago.
* Hook sprite functions instead to monitor cursorPierre Ossman2024-11-261-96/+194
| | | | | | | 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).
* Handle "no cursor", not just "empty cursor"Pierre Ossman2024-11-261-5/+3
| | | | | | 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.
* Capitalize even more logging and exceptionsPierre Ossman2024-11-226-18/+18
|
* Merge branch 'master' of https://github.com/madnicendio/tigervncPierre Ossman2024-11-2212-21/+21
|\
| * Capitalize first letter in log, exception & errorMadeleine Nilsson2024-11-214-10/+10
| | | | | | | | The reason for this is to keep a consistency through out the project.
| * Standardize on sentence case in titlesMadeleine (ThinLinc team)2024-11-119-11/+11
| | | | | | | | The reason for this is to keep a consistency through out the project.
* | Merge branch 'mouse-button-support' of https://github.com/CendioHalim/tigervncPierre Ossman2024-11-185-9/+26
|\ \
| * | Add server support for forward/back mouse buttonsAdam Halim2024-10-225-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>.
* | | Merge branch 'stdexcept' of github.com:CendioOssman/tigervncPierre Ossman2024-11-077-52/+52
|\ \ \
| * | | Use standard library naming for exceptionsPierre Ossman2024-11-063-3/+3
| | | | | | | | | | | | | | | | | | | | This makes things more consistent since we mix with the standard library exceptions so often.
| * | | Use standard exception classesPierre Ossman2024-11-063-3/+4
| | | | | | | | | | | | | | | | | | | | Use the more specific already included exception classes for common errors to keep things more understandable.
| * | | Subclass exceptions from std::exceptionPierre Ossman2024-11-066-24/+23
| | | | | | | | | | | | | | | | | | | | Make sure our exceptions are part of the standard exception class hierarchy.
| * | | Use what() to access exception descriptionPierre Ossman2024-11-065-22/+22
| | | | | | | | | | | | | | | | Harmonize with the standard C++ exceptions.
| * | | Use static string for exceptionsPierre Ossman2024-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | In preparation for using the built in C++ exception classes, which do not accept a format string.
* | | | Don't use login as a verb in Xvnc.manAlexander Zeijlon2024-11-041-2/+2
| |_|/ |/| | | | | | | | The sentence was also restructured a bit to improve the flow.
* | | Fudge library path to work around dependency loopsPierre Ossman2024-10-311-5/+8
| | |
* | | Do proper top level window setup for selection windowPierre Ossman2024-10-221-1/+1
| | |
* | | Avoid invalid XFree for XClassHintPierre Ossman2024-10-221-0/+1
|/ / | | | | | | | | | | 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().
* | Allow empty value for config valuesLinn Mattsson2024-10-091-1/+1
| | | | | | | | | | | | Fixed so config variables can pass an empty argument. Solves issue #1791.
* | Merge branch 'errno' of github.com:CendioOssman/tigervncPierre Ossman2024-10-093-3/+3
|\ \
| * | Consistently use SocketException for socket errorsPierre Ossman2024-10-093-3/+3
| |/ | | | | | | | | | | 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.
* / Add clipboard support to x0vncserverGaurav Ujjwal2024-09-259-14/+344
|/
* Improve error messages for base directory creationPierre Ossman2024-08-292-3/+4
|
* Handle existing config directory in vncpasswdPierre Ossman2024-08-151-2/+4
| | | | This fixes commit a79c33d.
* Let pwquality check minimum lengthPierre Ossman2024-08-151-7/+10
| | | | | This is a policy decision, so let's not enforce something on our own if there is a system policy to rely on.
* Merge branch 'master' of https://github.com/prownd/tigervncPierre Ossman2024-08-152-0/+51
|\
| * Limit the maximum length of a password to 8 charactershanjinpeng2024-08-141-0/+5
| | | | | | | | | | Password should not be greater than 8 characters. Because only 8 valid characters are used.
| * vncpasswd add password complexity rule check to enhance securityhanjinpeng2024-08-142-0/+46
| | | | | | | | | | Use the library pwquality to check password complexity and improve security. Additionally, optional enable support is also set in CMake.
* | Merge branch 'old-log' of https://github.com/jcpunk/tigervncPierre Ossman2024-08-141-11/+36
|\ \
| * | vncsession: Move existing log to log.old if presentPat Riehecky2024-08-131-11/+36
| | |
* | | Better type for pointer button maskPierre Ossman2024-08-124-5/+5
| | | | | | | | | | | | | | | This is a very limited bit field, so use an 8 bit type to clearly show how many bits are available.
* | | Remove InputHandler interfacePierre Ossman2024-08-122-4/+0
| | | | | | | | | | | | | | | The different uses of this interface are not that closely related and there is no need for them to have a common interface class.
* | | Improve x0vncserver key allocation log linePierre Ossman2024-08-061-1/+2
| | | | | | | | | | | | | | | Follow the standard XK_ prefix, and also include the hex value for easier debugging.
* | | Merge branch 'fix-unknown-keysym' of https://github.com/gujjwal00/tigervncPierre Ossman2024-08-065-19/+155
|\ \ \ | |/ / |/| |
| * | Improve unknown keysym handlingGaurav Ujjwal2024-06-305-19/+155
| | | | | | | | | | | | | | | | | | Instead of giving up after all free keycodes have been used, Keycodes from previously added keysyms will be reused. Re: #93
* | | vncsession: use /bin/sh if the user shell is not setCarlos Santos2024-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>