aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Drop xorg-x11-font-utils requirement for RHEL 9Pierre Ossman2023-06-202-2/+0
| | | | | | | | They've patched their Xorg sources to no longer require this package.
* | Merge branch 'noxtest' of https://github.com/CendioOssman/tigervncPierre Ossman2023-06-152-6/+26
|\ \
| * | Fix missing XRandR buildPierre Ossman2023-06-141-1/+4
| | | | | | | | | | | | Make sure we can actually build without XRandR libraries.
| * | Fix missing XFixes buildPierre Ossman2023-06-142-0/+4
| | | | | | | | | | | | Make sure we can actually build without XFixes libraries.
| * | Fix missing XTest buildPierre Ossman2023-06-142-5/+18
|/ / | | | | | | Make sure we can actually build without XTest libraries.
* | Remove unneeded "using namespace"Pierre Ossman2023-06-145-6/+0
| | | | | | | | The need for these must have got lost somewhere in the type cleanup.
* | Avoid wildcards in cmake rulesPierre Ossman2023-04-171-4/+10
| | | | | | | | They are not fully supported and break with some backends, like Ninja.
* | Handle REQUIRED in our CMake "find" modulesPierre Ossman2023-04-174-0/+17
| | | | | | | | | | These are expected to abort if they fail to find the relevant software and "REQUIRED" is specified.
* | Prefer target_include_directories()Pierre Ossman2023-03-3115-53/+46
| | | | | | | | | | It is more specific, and it properly sets up propagation when include directories also need to be used further down a dependency chain.
* | Add all common inter-dependenciesPierre Ossman2023-03-314-2/+6
| | | | | | | | | | This is important in case there are build flags that need to propagate between libraries for things to build correctly.
* | Include Debian debug files in artefactsPierre Ossman2023-03-313-0/+3
| |
* | Raise Debian packaging versionPierre Ossman2023-03-313-3/+3
| | | | | | | | Get in sync with what's recommended these days.
* | Don't prompt when installing dependenciesPierre Ossman2023-03-313-3/+6
| | | | | | | | | | This is fully automated, so we can't let anything wait for user input or the job will just hang.
* | Remove unnecessary ; from build scriptsPierre Ossman2023-03-316-34/+34
| | | | | | | | | | The newlines aren't stripped, so they are quite sufficient separators for the commands.
* | Limit GitHub action run timesPierre Ossman2023-03-251-0/+5
| | | | | | | | | | We don't want a broken job to consume our entire quota, so make sure things are killed if the stray too far from a normal runtime.
* | Update copyright year in READMESamuel Mannehed2023-03-241-1/+1
| |
* | Detect leaving window on zaphod systemsPierre Ossman2023-03-081-1/+9
|/ | | | | | | The coordinates we get are relative the root window of each screen, so we can only trust them if we are on the same screen. So let's explicitly check that we are still getting events from the expected screen by checking the root window field of the event.