Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-16Merge PR #5889: Backport "BUILD: BSD fixes"1.4.xRobert Adam
2022-09-16BUILD(client): Enable XInput2 support on OpenBSD by defaultKlemens Nanni
The library is readily available in OpenBSD's version of X[0]. Follow suit with Linux in enabling. Noticed by the warning upon startup: ``` -<W>2022-01-21 02:30:40.548 GlobalShortcutX: No XInput support, falling back to polled input. This wastes a lot of CPU resources, so please enable one of the other methods. +<W>2022-01-21 02:34:00.159 GlobalShortcutX: Using XI2 2.4 ``` 0: https://xenocara.org/
2022-09-16BUILD(audiowizard): Fix build with -Dspeechd=OFF -Dwarnings-as-errors=ONKlemens Nanni
Move the declaration/definition of `iMessage` to where it is used, otherwise the build fails with ``` src/mumble/AudioWizard.cpp:95:10: error: variable 'iMessage' set but not used [-Werror,-Wunused-but-set-variable] quint32 iMessage = Settings::LogNone; ^ 1 error generated. ``` Build-tested on OpenBSD 7.0-CURRENT using ``` $ cc --version OpenBSD clang version 13.0.0 Target: amd64-unknown-openbsd7.0 Thread model: posix InstalledDir: /usr/bin ```
2022-09-16BUILD(client): Plugin framework: Use correct struct kinfo_proc members on ↵Klemens Nanni
NetBSD/OpenBSD `struct kinfo_proc` members are prefixed with `p_` in OpenBSD (http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/sysctl.h?annotate=1.220) and NetBSD (cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys/sysctl.h?annotate=1.236) FreeBSD (https://cgit.freebsd.org/src/tree/sys/sys/user.h?id=01cad731921bb60b4f6e04c1cac987eea7af9d08#n121)and presumably Linux (I did not check) use the `ki_` prefix. Build-tested on OpenBSD 7.0-CURRENT.
2022-09-16BUILD(client): Plugin framework: Pass element size to kvm_getprocs(3) on OpenBSDKlemens Nanni
There is an additional `elemsize` argument (https://man.openbsd.org/kvm_getprocs.3): Only the first elemsize bytes of each array entry are returned. Complete OpenBSD signature: ``` struct kinfo_proc * kvm_getprocs(kvm_t *kd, int op, int arg, size_t elemsize, int *cnt); ``` Linux, FreeBSD and NetBSD have the same four-argument signature: ``` struct kinfo_proc * kvm_getprocs(kvm_t *kd, int op, int arg, int *cnt); ``` Build-tested on OpenBSD 7.0-CURRENT.
2022-09-16BUILD(client): Plugin framework: Use KVM_PROC_ALL on NetBSD/OpenBSDKlemens Nanni
kvm_getprocs(3) on Linux and FreeBSD (https://www.freebsd.org/cgi/man.cgi?kvm_getprocs) has ``` KERN_PROC_PROC all processes, without threads ... ``` OpenBSD (https://man.openbsd.org/kvm_getprocs.3) and NetBSD (https://man.openbsd.org/kvm_getprocs.3) however only know ``` KERN_PROC_KTHREAD all processes (user-level plus kernel threads) KERN_PROC_ALL all user-level processes ... ``` and ``` KERN_PROC_ALL all processes KERN_PROC_PID processes with process id arg ... ``` respectively, thus fall back to KERN_PROC_ALL where needed. Build-tested on OpenBSD 7.0-CURRENT. NB: The first hunk around kvm_openfiles(3) is from `clang-format`. (should've have happened in the commit introducing this line, I guess.)
2022-09-15Merge PR #5885: Backport "#5884: CI(github-actions): Fix workflow file syntax"Robert Adam
2022-09-14CI(github-actions): Fix workflow file syntaxRobert Adam
(cherry picked from commit 6a26b2113ec9b754cb487bb1b31715a2ede9e630)
2022-09-12Merge PR #5876: Backport "CI(github-actions): Automatically publish to WinGet"v1.4.287Robert Adam
2022-09-11CI(github-actions): Automatically publish to WinGetVedant
This commit introduces an automatic approach that will publish the Windows installers to the WinGet repository every time a release is created on GitHub. Fixes #5870 (cherry picked from commit 4551e98c856bd9527128ee301a5a4fa82bd43d9a)
2022-09-11Merge PR #5875: Backport "CI: Add dispatch for new releases"Robert Adam
2022-09-11CI: Add dispatch for new releasesRobert Adam
(cherry picked from commit 4e84f6b90fcf99885902c81275b3841e7be4bab8)
2022-09-10Merge PR #5871: TRANSLATION: Backport translations from masterRobert Adam
2022-09-09TRANSLATION: Backport translations from masterRobert Adam
2022-09-09Merge PR #5868: Backport "FIX(client, server): Fix patch versions > 255"Robert Adam
2022-09-09TRANSLATION: Update translation filesRobert Adam
2022-09-09TEST: Add test-cases for new Version implRobert Adam
2022-09-09FIX(client, server): Fix patch versions > 255Hartmnt
Previously, the Mumble version was encoded with a uint32 in the network protocol reserving 2 bytes for the major component and 1 byte for each minor and patch. The versioning format was changed to include a build number in the patch field. With a recent update (1.4.274) the patch field exceeded 255 for the first time and broke the protocol version. This commit completely reworks how the version is stored internally and transfered with the network protocol. The new version is a uint64 and consists of 4 fields with 2 bytes each. This allows each version component to reach up to 65535. Furthermore, all instances of integer version types have been replaced with the alias Version::full_t for a better abstraction. Version literals have been replaced by Version::fromComponents calls. Fixes #5827
2022-09-09Merge PR #5867: Backport "MAINT: Extend changelog script"Robert Adam
2022-09-09Merge PR #5866: Backport "FIX(client, ui): resolve log text scaling issues"Robert Adam
2022-09-08Merge PR #5865: Backport "FIX(client): Broken link targets with percent signs"Robert Adam
2022-09-08Merge PR #5864: Backport "FIX(ui): Use correct font size for scaling status ↵Robert Adam
icons"
2022-09-08Merge PR #5863: Backport "FIX(theme): update fallback path for skins"Robert Adam
2022-09-08Merge PR #5862: Backport "FIX(client, ui): Make hiding UI elements ↵Robert Adam
persistent again"
2022-09-08Merge PR #5861: Backport "FIX(client, ui): Don't allow manual toggling of ↵Robert Adam
minimal view note"
2022-09-08Merge PR #5860: Backport "BUILD(appstream): Include release date"Robert Adam
2022-09-08Merge PR #5859: Backport "BUILD(build): Fix -mbig-obj test"Robert Adam
2022-09-08MAINT: Extend changelog scriptRobert Adam
Sometimes backport commits still have a "Merged PR xxx" part in them, which we have to strip before processing the message. This is exactly what this commit adds to the existing changelog script. (cherry picked from commit 459087e13fbdbf4d203b8347aefb96f97475f73d)
2022-09-08FIX(client, ui): resolve log text scaling issuesDexter Gaon-Shatford
Fixed chat log scaling issue introduced by PR #5619 (my fault, whoops) The bug fixed by that commit is still fixed after this PR, but the regression introduced has been resolved. Fixes #5818 (cherry picked from commit ece450aa3d8363a9b0728e23204c6b97e727ff62)
2022-09-08FIX(client): Broken link targets with percent signsRobert Adam
When sending a link that contains a percent followed by a digit, where the digit is <= 2 (e.g. %1), the link's target would be messed up as the respective %x would be treated as an argument replacement specifier by Qt (and would thus be replaced by some replacement text). The reason for this lies in the use of two consecutive calls to QString::arg, where the second call will gladly try to replace any new replacement specifications introduced with the first replacement. The solution is to use an overload of QString::arg, that takes both replacement texts at the same time and applies them in one go. This specifically allows to ignore any newly introduced replacement specifications. The bug has been introduced with the introduction of Markdown support in 2da3f0d39e37e6bf10318d174744bb7e7924794b but has been masked by a bug that stopped link recognition at percent signs. This has been fixed in 727049c52681eeccca5d7dbec6997cb6fe92cea1 and since then also appears for plain links (for markdown-style links using the []() syntax the bug was probably present throughout). Fixes #5819 (cherry picked from commit 8b2905d07d82645fc42d849404400ad90db9baae)
2022-09-08FIX(ui): Use correct font size for scaling status iconsHartmnt
Previously (#5772), we implemented a fix to set the status icon size according to the user display scaling. The calculation is based upon font sizes. However, due to an oversight, the wrong font size was used as the base for this calculation. However, the problem was not visible, if by coincidence the correct font size was the same as the one used by accident. This commit changes the calculation of the icon size once again to use the correct font information. Fixes one part of #5817 (cherry picked from commit a587514c2f49dbc65b8cb7c9710fe183b2c750a6)
2022-09-08FIX(theme): update fallback path for skinsDexter Gaon-Shatford
Change the skin fallback path from `themes/Mumble` to `themes/Default` to reflect the change during the integration of the theme submodule. (cherry picked from commit 6295fec33cbecc618cd995bf9504de0a57f7440c)
2022-09-08FIX(client, ui): Make hiding UI elements persistent againRobert Adam
Due to a regression introduced in 6aa88691e16c807b998301f2cbecfda599ef4592 when hiding individual UI components (e.g. the icon toolbar) - possible when using a custom layout - these elements would re-appear after restarting Mumble (or after applying the settings or after exiting minimal view). The reason is that the state of whether or not a given UI component is shown or not is saved as the window's geometry. In the above commit we added code that explicitly shows or hides these elements after the geometry has been restored, thus overwriting the visibility changes of this geometry restoration. The fix for this problem is to only explicitly hide the elements when entering minimal view but let the showing be handled by restoring the window's geometry. Thus, only those elements are shown again, that have previously been visible as well (and thus have not been explicitly hidden by the user). Fixes #5832 (cherry picked from commit 203e675ce0064bacf173e0b61bdf1f652d8521dc)
2022-09-08FIX(client, ui): Don't allow manual toggling of minimal view noteRobert Adam
In 39047d2a57a9288262c5f303d96798a1b1692b8d a new note was added for when a user enters minimal view but is not connected to a server. Incidentally, this caused the new note to appear in the popup menu appearing as a context menu when using a custom layout, which in theory would allow a manual toggling of that note's visibility. However, this is not what we want and thus this commit makes sure that this popup menu only contains entries for UI elements that we really want to be manually toggelable. (cherry picked from commit b3a9fba786020489954176bfacec75ae2c9f59ef)
2022-09-08BUILD(appstream): Include release dateJonah Brüchert
Flathub requires this now. This is done in the same way as the build number. (cherry picked from commit a1aa0ff895ce43d12de54798a9aaff8ea83343ab)
2022-09-08BUILD: Fix -mbig-obj test0xC0ncord
Fix a typo in the COMPILER_HAS_MBIG_OBJ test which fixes this failure: c++: warning: Wa,-mbig-obj: linker input file unused because linking not done c++: error: Wa,-mbig-obj: linker input file not found: No such file or directory (cherry picked from commit 91a098918c4e86be00663cf2330fa29c003e4300)
2022-08-15Merge PR #5803: Backport "MAINT: Fix mumble-build-number.py script"v1.4.274Robert Adam
2022-08-15MAINT: Fix mumble-build-number.py scriptRobert Adam
Previously the script would assemble the query URL by taking the individual parameters literally. However, for certain inputs this could lead to an invalid URL, resulting in an error 400 (Bad Request) when attempting to make this query to the server. In order to avoid these situations, the parameters are now properly encoded (quoted) before being inserted into the query URL. Thus, we ensure to always produce valid URLs.
2022-08-12Merge PR #5797: BUILD: Disable warnings-as-errorsRobert Adam
2022-08-12BUILD: Disable warnings-as-errorsRobert Adam
As the 1.4.x series is in feature-frozen mode, having this enabled by default does no good (no active development happening on it anymore, anyway)
2022-08-12Merge PR #5796: Backport "CI: Use new build-number script"Robert Adam
2022-08-12CI: Use new build-number scriptRobert Adam
(cherry picked from commit bec87be1e4a1ab45aedde2b7294ebb866dc86dd8)
2022-08-12Merge PR #5795: Backport "FIX(ui): Remove duplicate entry for "What's this?" ↵Robert Adam
in UserModel"
2022-08-12FIX(ui): Remove duplicate entry for "What's this?" in UserModelHartmnt
Removed the duplicate entry for "Talking while being muted on your end" from the "What's this?" text for users in the TreeView. Fixes #5793 (cherry picked from commit bbab69650656aa61a1e42f990d3b0ab26ae19e4a)
2022-08-11Merge PR #5790: TRANSLATION: Backport translationsRobert Adam
2022-08-11TRANSLATION: Backport translationsRobert Adam
2022-08-11Merge PR #5786: Backport "FIX(client, ui): Minimal view not always working"Robert Adam
2022-08-11Merge PR #5785: Backport "CHANGE(client): Don't hard block shortcuts on Wayland"Robert Adam
2022-08-11Merge PR #5784: Backport "FIX(client): Register simultaneous mouse button ↵Robert Adam
presses separately"
2022-08-11Merge PR #5783:Backport "FIX(client): properly verify certificates when SRV ↵Robert Adam
records are used"