summaryrefslogtreecommitdiffstats
path: root/vncviewer
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'exclipboard' of https://github.com/CendioOssman/tigervncPierre Ossman2019-07-017-104/+137
|\
| * Support extended clipboard transfersPierre Ossman2019-07-011-0/+5
| | | | | | | | | | | | | | Implements support in both client and server for the extended clipboard format first seen in UltraVNC. Currently only implements text handling, but that is still an improvement as it extends the clipboard from ISO 8859-1 to full Unicode.
| * Use UTF-8 in clipboard APIPierre Ossman2019-07-011-11/+5
| | | | | | | | | | In prepartion for better clipboard extensions that can send Unicode data between the client and server.
| * Improved clipboard APIPierre Ossman2019-07-016-84/+130
| | | | | | | | | | Change the internal clipboard API to use a request based model in order to be prepared for more advanced clipboard transfers.
| * Add UTF-8 to/from ISO 8859-1 conversion routinesPierre Ossman2019-07-012-31/+15
| | | | | | | | | | We convert between UTF-8 and ISO 8859-1 (latin 1) in several places so create some common routines for this.
| * Clean up internal clipboard handlingPierre Ossman2019-07-016-13/+13
| | | | | | | | | | | | We now filter incoming data, which means we can start assuming the clipboard data is always null terminated. This allows us to clean up a lot of the internal handling.
| * Make sure clipboard uses \n line endingsPierre Ossman2019-07-011-6/+10
| | | | | | | | | | | | This is required by the protocol so we should make sure it is enforced. We are tolerant of clients that violate this though and convert incoming clipboard data.
* | Properly mark overloaded methods with virtualPierre Ossman2019-06-181-3/+3
| | | | | | | | Makes it easier to see what is overloaded and what isn't.
* | Request keyboard grab ability under XwaylandPierre Ossman2019-06-182-0/+23
|/ | | | | We're usually white listed, but let's be a good citizen and formally request the keyboard grab ability from the compositor.
* Always get raw keyboard layout on macOSPierre Ossman2019-04-041-1/+1
| | | | | | | | | | Some input sources are still using input methods even though they claim to be "ASCII" input. This causes our input handling to fail since we need to query the layout to handle dead keys. Fortunately there is another API to get the raw, underlying input source that the input method uses. So let's use that and be sure that we're always getting something we can use.
* replace free with delete[]Marcel Schneider2019-04-031-2/+2
|
* Only save parameters that are visible from the UIPierre Ossman2019-04-011-3/+2
| | | | | | The parameter files are used to make sure changes in the UI are persistent. Storing anything else results in behaviours that the user has no easy way of changing.
* Hide setPrimary parameter on non-X11 platformsPierre Ossman2019-04-012-3/+7
| | | | | | It is already hidden in the UI, so make sure it also is gone as a command line parameter. This follows the behaviour of the similar sendPrimary parameter.
* Handle server name overflow properlyPierre Ossman2019-03-261-3/+6
| | | | | | We need to make sure it is null terminated on truncation. We also need to avoid giving a too large size argument or modern gcc will complain.
* Better document the argument for -geometryPierre Ossman2019-03-262-2/+7
| | | | | It's not common knowledge these days how X geometry is specified, and even the man page X(7) is missing on many systems now.
* Show extra options in vncviewer --helpPierre Ossman2019-03-261-0/+8
| | | | | FLTK has some options (that we've also documented in the man page) that should be mentioned in the --help output.
* Don't use un-initialized stride to base constructorPierre Ossman2019-03-251-1/+1
| | | | | We can use a dummy value here as we set up the buffer and stride further down in the constructor.
* Merge branch 'copyrightyear' of https://github.com/samhed/tigervncPierre Ossman2019-02-282-2/+2
|\
| * Update visible copyright years to 2019Samuel Mannehed2019-02-272-2/+2
| |
* | Only do initial LED sync if focusedPierre Ossman2019-02-281-3/+5
|/ | | | | | | | | | We always sync when we get focus, so this code path is really only for when the server announces LED state support after we already have focus. Make sure we only handle this specific scenario as otherwise we could end up syncing twice, which just toggles things back and forth and ends up syncing incorrectly.
* Merge branch 'connparams' of https://github.com/CendioOssman/tigervncPierre Ossman2018-12-104-251/+75
|\
| * Move client attributes out of ServerParamsPierre Ossman2018-11-011-12/+10
| | | | | | | | | | | | ServerParams should contain the server state and not information about client settings or capabilities. Move those things up a level to the CConnection object.
| * Merge client resize capabilitiesPierre Ossman2018-11-011-1/+0
| | | | | | | | | | | | No need to have one setting for each extension. All the client code needs to indicate is if it supports resize. The common code can then map this to relevant extensions.
| * Remove unused flags from ServerParamsPierre Ossman2018-11-011-1/+0
| | | | | | | | These were either completely unused, or always true.
| * Move update request handling in to CConnectionPierre Ossman2018-11-012-199/+36
| | | | | | | | | | It's a generic client thing, so abstract it in to the common library. Makes it easier to integrate with other common code.
| * Let CMsgHandler::serverInit() handle initial set upPierre Ossman2018-11-011-5/+1
| | | | | | | | | | | | | | Avoid using the callbacks used for runtime changes for the initial setup. They weren't really useful anyway as you could not allocate a framebuffer without also knowing the pixel format. So make things more clear by letting serverInit() get the initial settings.
| * Stop requiring CConnection::serverInit() to be overriddenPierre Ossman2018-11-012-5/+3
| | | | | | | | | | Add an explicit callback for subclasses to do their startup in. This makes it easier to do proper ordering, and avoids mistakes.
| * Stop using fences for pixel format switchPierre Ossman2018-11-012-56/+46
| | | | | | | | | | This method was only really useful when continuous updates was active, so let's rely on a single extension rather than two.
| * Split out ServerParams from ConnParamsPierre Ossman2018-11-013-52/+56
| | | | | | | | | | | | We need to track different things in the server and client, so separate things to two independent structures to keep things more clear.
| * Encapsulate screen layout storage in ConnParamsPierre Ossman2018-11-012-18/+21
| | | | | | | | | | | | | | Avoid direct access to the screen dimensions and layout so that we can make sure it stays sane. This also makes sure the layout is properly updated when we only get the screen dimensions from the server.
* | Merge branch 'vla' of https://github.com/CendioOssman/tigervncPierre Ossman2018-11-212-23/+35
|\ \
| * | Remove variable length arraysPierre Ossman2018-11-072-12/+17
| | | | | | | | | | | | | | | These are not allowed in C++, and have been made optional in C11. So let's just get rid of them and any issues they may cause.
| * | Update gettext.h to latest versionPierre Ossman2018-11-071-11/+18
| | |
* | | Merge branch 'covscan' of https://github.com/grulja/tigervncPierre Ossman2018-11-215-9/+11
|\ \ \
| * | | Fix memory leaksJan Grulich2018-11-205-9/+11
| | | |
* | | | Save a few X11 server roundtrips by ignoring empty damage regions.Christian Authmann2018-11-111-0/+3
| | | | | | | | | | | | | | | | Logging revealed that a few empty damage regions are emitted on startup. Those don't need to be rendered to the Surface pixmap.
* | | | Prevent rendering uninitialized Pixmap contents on X11Christian Authmann2018-11-111-0/+3
| |/ / |/| | | | | | | | | | | The Pixmap is filled in as updates from the server arrive. Before the first full update, it would contain undefined contents, which would be rendered onto the ViewPort. Clearing the Pixmap is only done on startup and when changing the server resolution, so it's not performance critical.
* | | Fixed handling of AltGr from Windows' touch keyboardPierre Ossman2018-11-061-7/+13
| | | | | | | | | | | | | | | | | | We need to test this always in order to catch Ctrl+AltGr, and to handle release of the key properly. Hopefully there isn't any other case where VK_MENU is sent without a scan code.
* | | Handle AltGr from Windows' touch keyboardPierre Ossman2018-11-061-0/+7
| |/ |/|
* | Fix rendering on big endian systemPierre Ossman2018-10-252-8/+34
| | | | | | | | | | | | Our XRender code assumes a certain pixel layout which was not guaranteed on big endian systems. The previous workaround only worked for some cases, so fix this properly now.
* | Adjust some strings so they are easier to translatePierre Ossman2018-10-251-5/+8
| |
* | Change to https for tigervnc URLPierre Ossman2018-10-192-2/+2
| | | | | | | | Our main web site now supports https, so update all references.
* | Include unix socket in vncviewer usagePierre Ossman2018-09-282-4/+17
|/ | | | | | | | We've had support for unix sockets for a while now. Make sure this is reflected in the -help output and the man page. Also make some minor tweaks to the section to get everything in sync with reality.
* Avoid compiler "use of uninitialised variable" warningsPierre Ossman2018-09-131-0/+6
| | | | | The compiler isn't smart enough to figure all of these out, so restructure things a bit to avoid warnings.
* Fix multi-head placement of overlay (again)Pierre Ossman2018-09-111-11/+4
| | | | | We should be looking at the physical monitor layout, not the current RFB layout. The latter might not be in sync with the local monitors.
* Remove dead overlay codePierre Ossman2018-09-111-5/+0
| | | | Remnants from an earlier version of the code.
* Center overlay on primary screenPierre Ossman2018-08-161-2/+21
| | | | | Makes sure it is readable in a multi screen configuration, as otherwise it might end up crossing multiple screens.
* Merge branch 'master' of https://github.com/daa/tigervncPierre Ossman2018-08-161-1/+1
|\
| * Increase maximum vnc server name lengthAlexander Duryagin2018-08-151-1/+1
| |
* | Do not perform endianness check on Windows and AppleJan Grulich2018-08-081-1/+6
| |