aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * Remove legacy StringParameter code/commentPierre Ossman2025-01-072-6/+0
| | | | | | | | | | | | | | | | This should have been cleaned up in adaedc9.
| | | * Remove unused config isBool() methodPierre Ossman2025-01-072-15/+0
| | | |
| | * | Remove Logger_File mutexPierre Ossman2025-01-102-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not providing protection for all of the logging, so it gives a false sense of security. We're also not making use of this as we have barely any threading. The exception is the WinVNC code, which is very thread heavy. But it is unmaintained and will not be a blocker for this.
| | * | Remove Configuration mutexPierre Ossman2025-01-102-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not providing adequate protectection in more complex cases, and we're not making use of threads in a way that should require this. The exception is the WinVNC code, which is very thread heavy. But it is unmaintained and will not be a blocker for this.
| | * | Avoid logging in H.264 decoderPierre Ossman2025-01-104-53/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decoders are run in threads, and not everything in the logging system is thread safe. Normally decoders consider errors to be fatal and throw an exception. But the H.264 decoder wants to be able to tolerate misbehaving H.264 encoders.
| | * | Use normal constructor/destructor for H.264 contextsPierre Ossman2025-01-107-48/+13
| | | |
| | * | Always reset H.264 contexts the same wayPierre Ossman2025-01-104-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | Reset individual contexts the same way we reset all contexts, i.e. by deleting and recreating them. Avoids surprises by having a consistent method.
| | * | Throw exceptions directly in H.264 init routinesPierre Ossman2025-01-066-45/+25
| | | | | | | | | | | | | | | | | | | | A false return value from these methods result in an exception anyway, so let's keep things simple and throw the exception right away.
| | * | Add missing stddef.h include to Decoder.hPierre Ossman2025-01-061-0/+1
| | | | | | | | | | | | | | | | It uses the size_t type, which might not otherwise be defined.
| | * | Remove mutexes from H.264 decoder and friendsPierre Ossman2025-01-066-20/+0
| | |/ | | | | | | | | | | | | The decodered is already flagged as strictly ordered, which means it will only be used from a single thread at a time.
| * | Give better error message on bad argumentsPierre Ossman2025-01-104-11/+53
| | | | | | | | | | | | | | | Instead of just printing the huge usage text and hoping the user figures out what was wrong.
| * | Translate vncviewer usage textPierre Ossman2025-01-101-6/+6
| | |
| * | Don't allow multiple server args to vncviewerPierre Ossman2025-01-101-0/+3
| | | | | | | | | | | | | | | Only one is supposed to be specified, so error out instead of ignoring all but one of the arguments.
| * | Make all user commands handle --help and --versionPierre Ossman2025-01-104-1/+35
| | |
| * | Remove Configuration::set() with lengthPierre Ossman2025-01-102-17/+4
| | | | | | | | | | | | | | | This was a weird hack just to support the method that split arguments. We don't need this know as we expect callers to do any string handling.
| * | Fix handling of bool on/off argumentsPierre Ossman2025-01-102-6/+8
| | | | | | | | | | | | | | | These two values were overlooked in the look-ahead list and hence did not work reliably.
| * | Consolidate argument parsing in single functionPierre Ossman2025-01-1013-119/+452
| | | | | | | | | | | | | | | 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.
| * | Remove unused Configuration methodsPierre Ossman2024-12-031-9/+0
| | | | | | | | | | | | These never even had an implementation.
* | | Dynamically resize Fl_Choice widgetsPierre Ossman2025-01-092-0/+17
| | | | | | | | | | | | | | | | | | The label and options might vary in size, so it's difficult to pick a size that always fits. Instead, look at the actual strings and dynamically resize the widget so everything fits.
* | | Merge branch 'largeCursor' of https://github.com/krystof1119/tigervncPierre Ossman2025-01-0913-55/+231
|\ \ \ | |_|/ |/| |
| * | Add local cursor selection for Java versionKrystof Pistek2024-08-185-38/+130
| | | | | | | | | | | | Replicates the C++ work done in the previous commit on the Java version.
| * | Add local cursor selection for C++ versionKrystof Pistek2024-08-098-17/+101
| | | | | | | | | | | | | | | | | | This adds the option to select which cursor should be used in the event the server sends an invisible cursor. It also renames the DotWhenNoCursor config option to AlwaysCursor.
* | | Ensure that hotspot is not negativeBrian P. Hinz2024-12-241-2/+2
| | |
* | | Remove check for old versions of JDK. Not all JDKs report version in a ↵Brian P. Hinz2024-12-241-13/+3
| | | | | | | | | | | | compatible format
* | | Fix log name typo for SSecurityRSAAESPierre Ossman2024-12-171-1/+1
| | |
* | | Update Serbian translationМирослав Николић2024-12-171-207/+238
| | |
* | | Always flush sockets on shutdown()Pierre Ossman2024-12-1710-19/+87
| | | | | | | | | | | | | | | | | | | | | | | | The system shutdown() function doesn't drop buffered data, so neither should we. We had one fix in place, but that didn't cover all cases. Move this handling to all socket like classes we have.
* | | Reduce header includes in TLS/RSA-AES headersPierre Ossman2024-12-174-9/+26
| | | | | | | | | | | | We can make do with forward declarations for these classes.
* | | Fix bad restore point handling in RSA-AES handlerPierre Ossman2024-12-171-1/+1
| | | | | | | | | | | | | | | A set restore point needs to be used or cleared. Release builds will let this slide, but debug builds will kill the connection.
* | | Size edge scroll after window, not remote sessionPierre Ossman2024-12-091-5/+5
| | | | | | | | | | | | | | | | | | This should scale with the rest of the visible interface, not the invisible stuff that might vary wildely. In the most extreme cases, there is no usable area left as everything on screen becomes "edge".
* | | Manually force FLTK 1.3.9 from MSYS2Pierre Ossman2024-12-081-1/+5
| | | | | | | | | | | | | | | | | | MSYS2 is unfortunately now only packaging FLTK 1.4.0, which we aren't compatible with. Manually force the previous version until we can have a more stable fix in place.
* | | Fix encoder solid area detectionPierre Ossman2024-12-072-19/+25
| | | | | | | | | | | | | | | | | | | | | This got completely broken in baca73d0 where the templated method got incorrectly called instead of the wrapper/multiplexer. It seems to have been harmless on most systems, but caused crashes on CPUs with strict memory alignment requirements.
* | | Update Chinese (traditional) translationYi-Jyun Pan2024-12-041-208/+239
| | |
* | | Merge branch 'keysplit' of https://github.com/CendioOssman/tigervncPierre Ossman2024-12-0416-1394/+1761
|\ \ \
| * | | Move keyboard handling to separate classesPierre Ossman2024-12-0414-1294/+1611
| | | | | | | | | | | | | | | | | | | | Encapsulate all the platform specific magic around keyboard in to specific classes, in order to keep the core code more readable.
| * | | Move keyboard tracking to CConnectionPierre Ossman2024-12-044-84/+134
| | | | | | | | | | | | | | | | | | | | | | | | This is a general thing so move it in to the core library instead, letting vncviewer focus on just translation of system events to VNC ones.
| * | | Track keys using system key codePierre Ossman2024-10-162-75/+74
| | | | | | | | | | | | | | | | | | | | We might not always be able to map to an RFB key code, so let's use the platform specific code to track which keys are pressed.
* | | | Merge pull request #1881 from bphinz/fix_apple_code_signingBrian Hinz2024-12-011-1/+1
|\ \ \ \ | |_|_|/ |/| | | Fix for regression in 260a3e0 that broke code signing
| * | | Fix for regression in 260a3e0 that broke code signingBrian P. Hinz2024-12-011-1/+1
|/ / /
* | | Explicitly use FLTK 1.3 for macOS buildsPierre Ossman2024-11-261-1/+2
| | | | | | | | | | | | Homebrew now defaults to FLTK 1.4, which we are not compatible with.
* | | Also mark tls_error with noexceptPierre Ossman2024-11-262-2/+2
| | | | | | | | | | | | Overlooked this special exception in the previous commit.
* | | Mark all exception type methods as noexceptPierre Ossman2024-11-263-28/+30
| | | | | | | | | | | | | | | This is required for the built in exceptions, so let's do the same to avoid surprises.
* | | Don't save exceptions as std::exceptionPierre Ossman2024-11-263-7/+15
| | | | | | | | | | | | | | | | | | That type is not guaranteed to preserve anything useful at all. Instead, try to either preserve a more specific type, or use std::runtime_error which at least has a guaranteed message.
* | | 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-2221-57/+57
| | |
* | | Change some assertions to exceptionsPierre Ossman2024-11-224-5/+13
| | |
* | | Capitalize some more logging and exceptionsPierre Ossman2024-11-2223-103/+103
| | |