aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'casantos-rhbz_2233204-b' of https://github.com/casantos/tigervncPierre Ossman2023-10-272-4/+2
|\ \
| * | Fix description of "%u" in manual pages.Carlos Santos2023-10-042-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | We user the real, not the effective user ID, to check if the user is allowed to log in with the "Plain" security types. Otherwise it would be necessary to log in as root when Xvnc is installed with the set-user-id bit on. Signed-off-by: Carlos Santos <casantos@redhat.com>
* | | Update Russian translationYuri Kozlov2023-10-231-12/+12
|/ /
* | Support the "%u" username alias in PlainUsersCarlos Santos2023-10-033-4/+15
| | | | | | | | | | | | | | | | | | | | | | This permits to enable PAM for the effective user of the Xvnc process by adding this to ~/.vnc/config or /etc/tigervnc/vncserver-config-defaults: SecurityTypes=TLSPlain PlainUsers=%u Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2233204 Signed-off-by: Carlos Santos <casantos@redhat.com>
* | Enforce accelerators in translationsPierre Ossman2023-09-291-1/+1
| | | | | | | | | | Make sure we don't overlook missing accelerators in the translations again.
* | Fix missing/wrong menu acceleratorsPierre Ossman2023-09-295-17/+17
| | | | | | | | They were unfortunately omitted here and there for some languages.
* | Update Turkish translationVolkan Gezer2023-09-291-299/+575
| |
* | Completely ignore server clipboard when unfocusedPierre Ossman2023-09-112-20/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can get races with clipboard managers in the server that is very confusing to the user. When the clipboard changes locally, we tell the server to drop the old clipboard (as it is now lost). But we don't send over the new clipboard until we get focus again, in order to not leak more data than necessary. This causes some clibpoard managers to take over ownership in order to avoid an empty clipboard. And this takes precedence over the new client clipboard as it happened later. Effectively reverting the clipboard the user sees. Avoid all of this by simply ignoring the server when we don't have focus. This is likely what users expect anyway as they expect their currently focused application to control the clipboard, not vncviewer in the background.
* | More graceful handling of disabled listenersPierre Ossman2023-09-084-14/+30
| | | | | | | | | | | | Don't assume a lack of TCP listeners means the server will be unreachable. There might be other methods of access, so let the higher levels do that sanity check instead.
* | Only set up TCP filter for TCP connectionsPierre Ossman2023-09-081-7/+7
| | | | | | | | This will not do the correct thing for Unix sockets.
* | Improve log message when mapping keysymsPierre Ossman2023-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | It was a poor choice of words to call these keysyms "unknown" as they are likely perfectly normal keysyms, they just cannot be found in the currently loaded keyboard layout. This log message has confused users, so let's get rid of the "unknown" part. We already use the verb "add" heavily in the other log messages, so let's keep that rather than switch to some for of "map".
* | Merge branch 'ryandesign-NSHighResolutionCapable' of ↵Pierre Ossman2023-08-211-1/+1
|\ \ | | | | | | | | | https://github.com/ryandesign/tigervnc
| * | Make NSHighResolutionCapable a Boolean in Info.plist.inRyan Schmidt2023-08-111-1/+1
| | |
* | | Change accelerator for "Disconnect" entryPierre Ossman2023-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | Using "c" is in conflict the the "Ctrl" entry, so we need to pick something else here. This was a regression introduced in 44b085a.
* | | Move custom FLTK box types to valid rangePierre Ossman2023-08-172-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | FLTK only allows 256 different box types, but it doesn't actually check this when registering new ones. Move our custom types to a valid range, and add an assert for good measure to make sure we don't overflow FLTK's internal structures.
* | | Add missing accelerator in Hebrew translationYaron Shahrabani2023-08-171-4/+4
| | |
* | | Add missing accelerator to Korean translationJiYoon Kwon2023-08-161-3/+2
| | |
* | | Automatically respect changes in LINGUASPierre Ossman2023-08-151-0/+1
| | | | | | | | | | | | | | | Since the contents of the LINGUAS file affects which targets are created, we must tell CMake to reconfigure things if this file changes.
* | | Update Korean translationJiYoon Kwon2023-08-151-237/+277
| | |
* | | Update French translationStéphane Aulery2023-08-151-235/+277
| | |
* | | Avoid legacy C function definitionsPierre Ossman2023-08-151-19/+11
| | | | | | | | | | | | These aren't supported in C2x, and clang will already now complain.
* | | Remove stray space in format specifierPierre Ossman2023-08-151-1/+1
|/ /
* | Merge pull request #1648 from TigerVNC/copyrightSamuel Mannehed2023-07-208-9/+9
|\ \ | | | | | | Update copyright year to 2023
| * | Update copyright year to 2023Samuel Mannehed2023-07-208-9/+9
|/ /
* | Merge branch 'newui-lite' of https://github.com/CendioOssman/tigervncPierre Ossman2023-07-145-15/+265
|\ \ | |/ |/|
| * Use modern UI colorsPierre Ossman2023-07-141-6/+34
| | | | | | | | | | Follow the colors that modern desktops use when it comes to background, text and selections.
| * Workaround for broken fl_arc()/fl_pie()Pierre Ossman2023-07-141-0/+25
| | | | | | | | | | | | | | There is something broken with these FLTK draw routines on Windows. They leave gaps at the start and end of the arc/pie rather than filling the whole specified span. So we need to nudge the numbers a bit to work around this.
| * Apply custom theme to FLTKPierre Ossman2023-07-142-7/+204
| | | | | | | | | | | | | | | | | | | | | | Inspired by modern Windows appearance, and to some extent macOS. They have flat boxes and use white, or very light, colors for interactive elements. Unfortunately we can't directly control the colors of widgets, so instead we just lighten everything that uses this box type. GNOME uses a different design, both their older and newer style. But UI look is less consistent on Linux, so hopefully our new look is decent enough there as well.
| * Fix correct background in Fl_Input_ChoicePierre Ossman2023-07-141-0/+2
| | | | | | | | | | Work around a bug in Fl_Input_Choice where it forgets to set the proper "input background" on some parts.
| * Respect selection color in monitor widgetPierre Ossman2023-07-132-4/+2
|/ | | | We should have a consistent color set over all widgets.
* Don't tag up gettext's *wprintf() functionsPierre Ossman2023-07-061-3/+3
| | | | | | | | | | gcc doesn't support -Wformat for the wide format versions of printf() and friends yet: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38308 Do what glibc does and have some commented out tags to show future intent.
* Unbreak -Wformat warnings when gettext is usedPierre Ossman2023-07-051-1/+23
| | | | | | | | | | gettext replaces all *printf() functions on platforms that don't fully conform to the POSIX behaviour. Unfortunately, gettext fails to tag these replacement functions properly so that -Wformat can still do its thing. Resolve this by adding a redudant declaration of the relevant functions, with the attribute tagging in place.
* Use smaller, stable, int for history indexPierre Ossman2023-07-051-2/+2
| | | | | | The size of size_t depends on the architecture, so we need to have different conversion to and from strings. But we don't really need that range, so avoid the issue by using a standard integer size.
* Merge branch 'hostexception' of https://github.com/CendioOssman/tigervncPierre Ossman2023-07-051-70/+198
|\
| * More logging for server cert exceptionsPierre Ossman2023-07-051-6/+8
| | | | | | | | | | Let's log a bit more details when we need to deal with certificate exceptions to make it easier to debug things.
| * Allow exception for cert hostname mismatchPierre Ossman2023-07-051-9/+43
| | | | | | | | | | The browsers let you add an exception for this case, so we should as well.
| * Improve reporting of certificate errorsPierre Ossman2023-07-051-32/+44
| | | | | | | | | | GnuTLS can help use translate certificate issues in to user presentable strings, so let's clean up that reporting.
| * Allow exception for weak certificate algorithmsPierre Ossman2023-07-051-3/+43
| | | | | | | | | | The browsers let you add an exception for this case, so we should as well.
| * Remove double expired certificate promptsPierre Ossman2023-07-051-8/+0
| | | | | | | | This should have been done in 5f46d55.
| * Allow exception for not yet activated certificatesPierre Ossman2023-07-051-3/+43
| | | | | | | | | | The browsers let you add an exception for this case, so we should as well.
| * Make sure we handle all certificate issuesPierre Ossman2023-07-051-0/+22
| | | | | | | | | | | | We don't want to proceed unless we've made sure the user has approved the issues with the certificate. So add an extra check that all status flags have been dealt with.
| * Handle GNUTLS_CERT_INVALID in TOFU codePierre Ossman2023-07-051-2/+4
| | | | | | | | | | GnuTLS should hopefully never set just this flag, but let's be fully prepared for all scenarios.
| * Remove old GnuTLS compatibility codePierre Ossman2023-07-051-17/+1
|/ | | | | We've required GnuTLS 3.x for a long time, so this code has been dead for a while.
* Fix WM_CLASS in desktop filePierre Ossman2023-07-031-1/+1
| | | | | The WM_CLASS we set on all windows is just "vncviewer", so that it matches the name of the .desktop file, which is what GNOME expects.
* Merge branch 'types2' of https://github.com/CendioOssman/tigervncPierre Ossman2023-06-3059-120/+273
|\
| * Don't allow surrugate code points in UTF-8Pierre Ossman2023-06-302-0/+11
| | | | | | | | | | | | These are not valid outside of UTF-16 so seeing them in a UTF-8 sequence means that something is wrong with that sequence. Best to filter them out rather than letting them propagate and have unknown effects.
| * Clean up string encoding handlingPierre Ossman2023-06-3013-23/+156
| | | | | | | | | | | | We should handle this in the low-level protocol code as much as possible to avoid mistakes. This way the rest of the code can assume that strings are always UTF-8 with \n line endings.
| * Consistently use uint8_t for data buffersPierre Ossman2023-03-1852-99/+108
| | | | | | | | | | These will always be byte streams at heart, so let's try to keep them with a proper type. Should make it clearer how they will be used.
* | Emulate corking when TCP_CORK is missingPierre Ossman2023-06-281-1/+6
| | | | | | | | | | If we can't rely on the OS to handle corking for us, then we need to enable our own handling of it.
* | Move where -nodefaultlibs is specifiedPierre Ossman2023-06-281-4/+3
| | | | | | | | | | | | | | The previous method isn't compatible with CMake's try_compile() as it will respect CMAKE_EXE_LINKER_FLAGS, but not CMAKE_C_LINK_EXECUTABLE and friends. This results in the default libraries being completely missing, and the compile test failing.