aboutsummaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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>
* | | Generate better (fake) modelinesPierre Ossman2024-07-234-5/+66
| | | | | | | | | | | | | | | This is what Xwayland does, so let's try to do the same to avoid any incompatibilites with applications.
* | | Fix x0vncserver handling of timersPierre Ossman2024-07-051-3/+3
|/ / | | | | | | Bug fix for bf28683.
* | Merge branch 'c++11' of github.com:CendioOssman/tigervncPierre Ossman2024-06-2424-250/+237
|\ \
| * | Avoid shadowing variablesPierre Ossman2024-06-243-14/+14
| | | | | | | | | | | | | | | It's a source of confusion and possibly bugs to reuse the same variable name for multiple things.
| * | 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-242-14/+14
| | | | | | | | | | | | | | | 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-242-23/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Prefer std::find() over manual searchPierre Ossman2024-06-241-6/+6
| | | | | | | | | | | | | | | Let's avoid reimplementing something basic that's available in the standard library. It also makes the code easier to read.
| * | Mark overridden virtual functionsPierre Ossman2024-06-2411-48/+48
| | | | | | | | | | | | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
| * | Use nullptr in all C++ codePierre Ossman2024-06-2417-109/+116
| | | | | | | | | | | | | | | 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-241-0/+2
| | | | | | | | | | | | | | | | | | 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.
* | | Change development version to 1.14.80Pierre Ossman2024-06-201-1/+1
| | |