aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix for reflection warnings for strongly encapsulated Desktop methods in ↵Brian P. Hinz2022-01-291-4/+14
| | | | Java > 9
* Fix for #1414Brian P. Hinz2022-01-291-2/+2
|
* get rid of c++11 stuffVladimir Sukhonosov2022-01-252-3/+3
|
* Improve logging around screen resizingPierre Ossman2022-01-255-17/+21
| | | | | | Avoid duplication, and add logging for some more error conditions so it's possible to see in the logs why a resize has failed or produced unexpected results.
* Remove 32-/64-bit distinctionsPierre Ossman2022-01-2110-162/+22
| | | | | The migration from 32-bit to 64-bit has long passed. Let's get rid of all distinctions as native applications it the norm now.
* Update packaging section of BUILDING.txtPierre Ossman2022-01-211-26/+2
| | | | | This is obviously not maintained, so let's be more generic in the document.
* Merge branch 'h264dec' of https://github.com/xornet-sl/tigervncPierre Ossman2022-01-2123-10/+1067
|\
| * support H264 decoding with MediaFoundation on WindowsMārtiņš Možeiko2022-01-214-2/+384
| |
| * H264 DecoderVladimir Sukhonosov2022-01-2121-10/+685
| | | | | | | | Linux implementation using ffmpeg
* | Log objects should be localPierre Ossman2022-01-212-2/+2
|/ | | | Otherwise things might be logged under the wrong label.
* Always log screen layout if validation failsWilliam Sjöblom2022-01-191-3/+5
| | | | | Unconditionally log the erroneous screen layout if it fails to validate to simplify debugging.
* Fix session resize after mirroring on Linux vncviewerWilliam Sjöblom2022-01-191-2/+6
| | | | | | | | | | | | | | | If monitor mirroring was enabled while in a session with vncviewer running on Linux, the session would not be properly resized on the server. This was a consequence of only looking at the size and coordinates of each screen when matching against existing screens after the screen layout was changed, when in fact we have two (or more) monitors with the same coordinates and size (but differing ids). This led to the same monitor being added twice to the layout which would later fail layout validation, resulting in no resize request being sent to the server. When matching, we now also check if the existing screen is not already present in the layout before considering it a match.
* Fix handling of VMware cursorsPierre Ossman2022-01-181-2/+2
| | | | | | This is a regression from ad0f061. If a VMware cursor rect was split up over multiple read()s then the stream would become corrupted as we set the restore point at the wrong place.
* Merge branch 'selinux-restorecon' of https://github.com/grulja/tigervncPierre Ossman2022-01-133-1/+30
|\
| * SELinux: restore SELinux context in case of different policiesJan Grulich2022-01-133-1/+30
| |
* | Improve full-screen workaround on connectPierre Ossman2022-01-121-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If we've explicitly requested a position (using -geometry) then we were still triggering legacy full-screen request logic. This is very counter intuitive as having a position that doesn't align with a monitor should disqualify us for that. It turns out that at least marco (and probably everything metacity-derived) ends up ignoring the requested position and we go back to triggering the legacy logic again. Work around this by assuming that the window manager will adjust our initial position and don't consider that in the workaround logic.
* | Merge pull request #1405 from TigerVNC/monitorArrangementSyncSamuel Mannehed2022-01-102-1/+41
|\ \ | | | | | | Update MonitorArrangement widget to match parameter settings after screen configuration change
| * | Update MonitorArrangement widget after changeSamuel Mannehed2022-01-102-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the options dialog was open when a screen configuration happened the widget could get out of sync from the settings. A scenario when this happened was: 1) 3 monitors, fullscreen selected on the two right-most screens 2) disconnect the left-most screen (the one not selected) In this case, using GNOME, vncviewer would appear in fullscreen on the right of the two remaining monitors, but the widget would show both monitors selected. The reason was that the MonitorArragement index doesn't work the same way as FLTK's screen index. It's debatable how vncviewer should behave here, but the GUI should at least match the actual setting.
* | | Properly set XDG_CURRENT_DESKTOPPierre Ossman2022-01-101-1/+1
|/ / | | | | | | There is no such thing as XDG_DESKTOP_NAMES.
* | Update copyright year to 2022Pierre Ossman2022-01-059-10/+10
| |
* | Don't add . to error message stringPierre Ossman2022-01-041-1/+1
| | | | | | | | | | The norm is to have error strings without punctiation, so avoid adding one as it just confuses the translators.
* | Avoid creating windows larger than current monitorPierre Ossman2021-12-301-0/+23
| | | | | | | | | | Many window managers don't have proper logic to restrict the window size to something sane, so we have to take care of that ourselves.
* | Don't move window in full-screen workaroundPierre Ossman2021-12-301-1/+0
| | | | | | | | | | | | If this is done before the window is shown then it can accidentally override the window manager's placement of the window. Reducing the size should be sufficient to avoid trigger a full-screen request.
* | Be consistent in including config.hPierre Ossman2021-12-30151-36/+592
| | | | | | | | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* | Only restore level if it is wrongPierre Ossman2021-12-301-1/+2
| | | | | | | | | | | | Tweak the workaround from 9023a2e so that it only triggers if there actually is a problem to fix. This is important since changing levels also has the side effect of raising the window to the top of the level.
* | Relicense MonitorArrangement widgetPierre Ossman2021-12-272-51/+50
| | | | | | | | | | | | | | | | | | This was designed as a general FLTK widget and we want to encourage others to use it and improve it. So relicense these particular files in a way that allows it to be used by anyone using FLTK. As part of this we need to stop using other parts of TigerVNC as that code is still covered by the GPL.
* | Avoid leaking overlay memoryPierre Ossman2021-12-231-0/+1
| | | | | | | | | | Fl_RGB_Image doesn't take ownership of the pixel data, so we have to explicitly free this as well once we are done.
* | Handle empty lines in server historyPierre Ossman2021-12-231-4/+8
| |
* | Fix typo in mirror monitor detectionPierre Ossman2021-12-231-4/+4
| | | | | | | | | | | | Bug introduced in fb561eb but still somehow passed manual testing. Resulted in some stray reads off the end of the stack, which were hopefully harmless.
* | Be more paranoid about monitor infoPierre Ossman2021-12-231-6/+18
| | | | | | | | | | These function are not guaranteed to succeed, and we've had reports that they fail on ARM. So make sure we more properly check return values.
* | Update Serbian translationМирослав Николић2021-12-141-236/+518
| |
* | Merge branch 'display' of https://github.com/CendioOssman/tigervncPierre Ossman2021-12-103-170/+204
|\ \
| * | Add headings/groups for optionsPierre Ossman2021-12-103-96/+193
| | | | | | | | | | | | | | | Try to be more consistent that related options should have a group box around them.
| * | Rename "Screen" tab to "Display"Pierre Ossman2021-12-103-8/+8
| | | | | | | | | | | | | | | This is what pretty much everyone else calls these kind of settings, so let's change so users feel familiar.
| * | Simplify screen settingsPierre Ossman2021-12-103-143/+71
| | | | | | | | | | | | | | | | | | Try to focus on the commonly used settings here in order to keep things understandable. The uncommon settings will need to be specified as command line arguments instead.
| * | Add comments to stored parameters listPierre Ossman2021-12-091-2/+11
|/ / | | | | | | | | Clarify what this list is used for, and organize it so it is easier to match to the options dialog.
* | Document raised CMake requirementPierre Ossman2021-11-271-1/+1
| | | | | | | | | | We raised the requirement in cb3c78f but forgot to update the documentation.
* | xserver21.1.1.patch: Add Xorg 21 patchJoakim Tjernlund2021-11-261-0/+75
| |
* | xvnc: adapt for 1.21Joakim Tjernlund2021-11-241-4/+2
| | | | | | | | | | VENDOR_STRING is gone as is DEFAULT_LOG_VERBOSITY site.h has been removed and is not needed.
* | xorg-version.h: Increase supported Xorg version to 1.21Joakim Tjernlund2021-11-241-2/+2
| |
* | Merge pull request #1382 from williamsjoblom/masterSamuel Mannehed2021-11-245-5/+5
|\ \ | | | | | | Be consistent in "full screen" and "full-screen" use
| * | Be consistent in "full screen" and "full-screen" useWilliam Sjöblom2021-11-245-5/+5
|/ / | | | | | | | | | | | | | | | | Previously, there were a number of inconsistencies in the use of "full-screen" and "full screen" in logs, documentation, and user interfaces. The consensus seems to be that "full screen" is correct when used as a noun while "full-screen" is correct when used as an adjective. These inconsistencies have now been adjusted to follow consensus.
* | Merge pull request #1380 from williamsjoblom/masterSamuel Mannehed2021-11-234-26/+21
|\ \ | | | | | | Deduplicate vncviewer error messages
| * | Deduplicate vncviewer error messagesWilliam Sjöblom2021-11-234-26/+21
|/ / | | | | | | | | vncviewer previously had a the same localized error message duplicated on a bunch of places. Pull these duplicates out into a single function.
* / Fix formatting of -rfbport in man pagesPierre Ossman2021-11-092-4/+4
|/
* Update French translationStéphane Aulery2021-11-081-236/+523
|
* Merge branch 'cmake' of https://github.com/CendioOssman/tigervncPierre Ossman2021-11-0523-831/+8
|\
| * Raise CMake requirement to 3.10Pierre Ossman2021-11-055-33/+6
| | | | | | | | | | | | It's difficult to support both old and new versions, so raise the requirement to the oldest that is commonly used, which is CMake 3.10.2 on Ubuntu 18.04.
| * Don't specify SOURCE in custom targetsPierre Ossman2021-11-051-4/+2
| | | | | | | | | | | | They don't really contribute to anything as the command line is fixed, and it makes CMake 3.20+ upset since it cannot find that file and instead thinks we meant maketarball.in (CMP0115).
| * Drop Ubuntu 16.04 from buildsPierre Ossman2021-11-0517-794/+0
|/ | | | | This version of Ubuntu is no longer fully supported so let's stop caring about builds there.