aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
...
* | Closing auth window is Cancel, not OkPierre Ossman2025-02-061-1/+1
| |
* | Don't crash when closing auth dialogPierre Ossman2025-02-061-1/+9
|/ | | | | | | We use button_cb for the dialog's callback as well, to handle the user closing the window. However, Fl_Window::window() doesn't return the window itself, but its parent window. Which it doesn't have, so we get NULL.
* Silence false truncation warningPierre Ossman2025-02-031-2/+5
| | | | | | We know we won't overflow here, because we've manually truncated the input string already. But gcc can still complain, so we need to shut it up by ignoring the return value.
* Truncate long viewer window titlePierre Ossman2025-02-031-2/+32
| | | | | In case we get something absurd from the server, make sure that there is still a good chance the title shows "TigerVNC".
* Avoid conflict with Fl_Window::maximize()Adrian Fedoreanu2025-01-291-2/+2
| | | | First step to enable compatibility with FLTK 1.4.
* Fix uncaught clipboard network errorsPierre Ossman2025-01-281-2/+12
| | | | | All communication with the server needs to be prepared for network errors.
* Disable macOS' native full screenPierre Ossman2025-01-223-3/+20
| | | | | It clashes with the method used by FLTK and gives very unreliable behaviour.
* Sanity checks in cocoa helper functionsPierre Ossman2025-01-221-0/+7
| | | | | | A FLTK window doesn't have a backing NSWindow until it is show():n. Make sure we catch if these functions are called before it is shown, rather than misbehave in strange ways.
* Update visible copyright year to 2025Pierre Ossman2025-01-142-2/+2
|
* Sync up error messages reading from text filePierre Ossman2025-01-142-15/+17
| | | | To keep things simple for the translators.
* Always use lowercase "t" for TigerVNC teamPierre Ossman2025-01-142-3/+3
| | | | It's not a formal name, so use regular case.
* TigerVNC Viewer AppStream file specifies developerJoachim Falk2025-01-121-0/+6
| | | | Add missing fields developer with value "The TigerVNC Team" and the TigerVNC homepage for the TigerVNC Viewer AppStream meta info file.
* Fix some option dashes in man pages.Joachim Falk2025-01-121-1/+1
| | | | Some '-' in man pages, which start options, are rendered as Unicode dashes, not ASCII '-'; fix this.
*---. Merge branches 'argparse', 'nothread' and 'config' of ↵Pierre Ossman2025-01-103-205/+197
|\ \ \ | | | | | | | | | | | | https://github.com/CendioOssman/tigervnc
| | | * Describe multiple -Log entries in man pagesPierre Ossman2025-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | It's possible to configure multiple loggers with different settings. This was properly described in the --help output, but not the man pages.
| | | * Document UseIPv4/UseIPv6 in viewer man pagePierre Ossman2025-01-071-0/+8
| | | |
| | | * Sort parameters in -help and man pagesPierre Ossman2025-01-071-117/+122
| | | | | | | | | | | | | | | | Makes it much easier to find all the different options.
| | | * Remove server and viewer config typesPierre Ossman2025-01-071-2/+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.
| | | * Don't save parameters with default valuesPierre Ossman2025-01-071-0/+14
| | | | | | | | | | | | | | | | | | | | This allows smooth upgrades for users if the defaults change in the future.
| | | * Use registry string type for complex parametersPierre Ossman2025-01-071-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | All parameters can be converted to and from strings, so this is a reasonable default for most settings. We don't need to bail out for complex types.
| | | * Don't duplicate encode/decode in parameters.cxxPierre Ossman2025-01-071-40/+11
| | |/ | | | | | | | | | | | | The configuration objects already now how to convert themselves to and from strings. Use that existing code, rather than poorly duplicate it.
| * | Give better error message on bad argumentsPierre Ossman2025-01-101-4/+15
| | | | | | | | | | | | | | | 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-101-0/+11
| | |
| * | Consolidate argument parsing in single functionPierre Ossman2025-01-101-30/+5
| | | | | | | | | | | | | | | Avoid duplicating this complexity everywhere and make sure all commands get the same handling and fixes.
* | | 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-098-17/+101
|\ \ \ | |_|/ |/| |
| * | 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.
* | | 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".
* | | Merge branch 'keysplit' of https://github.com/CendioOssman/tigervncPierre Ossman2024-12-0414-1394/+1654
|\ \ \ | |_|/ |/| |
| * | 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-042-84/+27
| | | | | | | | | | | | | | | | | | 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.
* | | Capitalize even more logging and exceptionsPierre Ossman2024-11-221-1/+1
| | |
* | | Merge branch 'master' of https://github.com/madnicendio/tigervncPierre Ossman2024-11-228-19/+19
|\ \ \
| * | | Capitalize first letter in log, exception & errorMadeleine Nilsson2024-11-212-2/+2
| | | | | | | | | | | | | | | | The reason for this is to keep a consistency through out the project.
| * | | Standardize on sentence case in titlesMadeleine (ThinLinc team)2024-11-117-17/+17
| | | | | | | | | | | | | | | | The reason for this is to keep a consistency through out the project.
* | | | Update gettext.h to latest versionPierre Ossman2024-11-181-16/+23
| | | |
* | | | Make sure LC_MESSAGES is defined without ENABLE_NLSPierre Ossman2024-11-181-0/+12
| | | | | | | | | | | | | | | | | | | | This is missing on Windows by default, and will cause the build to fail if ENABLE_NLS is disabled.
* | | | Use (void) to mark unused arguments in gettext.hPierre Ossman2024-11-181-3/+3
| | | | | | | | | | | | | | | | | | | | Some compilers don't consider (const char*) enough of a marker and will complain.
* | | | Use std::string for connection infoPierre Ossman2024-11-183-55/+37
| | | | | | | | | | | | | | | | Avoid truncation problems with the fixed size buffers.
* | | | Make arguments as unused without GnuTLSPierre Ossman2024-11-181-0/+5
| | | |
* | | | Merge branch 'mouse-button-support' of https://github.com/CendioHalim/tigervncPierre Ossman2024-11-184-22/+38
|\ \ \ \
| * | | | vncviewer: support for back/forward mouse buttonsAdam Halim2024-10-224-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements the pseudo-encoding ExtendedMouseButtons which makes it possible to use the back/forward mouse buttons. This commit contains work originally done by PixelSmith <manny33@frontbuffer.com>.
| * | | | Use bit shifts for mouse buttonMaskAdam Halim2024-10-221-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | It makes more sense to use bit shifts instead of decimals for each button.
* | | | | Merge branch 'stdexcept' of github.com:CendioOssman/tigervncPierre Ossman2024-11-0714-173/+186
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Use standard library naming for exceptionsPierre Ossman2024-11-066-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | This makes things more consistent since we mix with the standard library exceptions so often.
| * | | | Replace base exception class with standard libraryPierre Ossman2024-11-064-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | There is no point to having our own generic exception class. Let's use the one provided by the standard C++ library.
| * | | | Use standard exception classesPierre Ossman2024-11-069-64/+72
| | | | | | | | | | | | | | | | | | | | | | | | | Use the more specific already included exception classes for common errors to keep things more understandable.