Age | Commit message (Collapse) | Author |
|
|
|
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/
|
|
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
```
|
|
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.
|
|
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.
|
|
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.)
|
|
|
|
(cherry picked from commit 6a26b2113ec9b754cb487bb1b31715a2ede9e630)
|
|
|
|
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)
|
|
|
|
(cherry picked from commit 4e84f6b90fcf99885902c81275b3841e7be4bab8)
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
icons"
|
|
|
|
persistent again"
|
|
minimal view note"
|
|
|
|
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
Flathub requires this now.
This is done in the same way as the build number.
(cherry picked from commit a1aa0ff895ce43d12de54798a9aaff8ea83343ab)
|
|
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)
|
|
|
|
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.
|
|
|
|
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)
|
|
|
|
(cherry picked from commit bec87be1e4a1ab45aedde2b7294ebb866dc86dd8)
|
|
in UserModel"
|
|
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)
|
|
|
|
|
|
|
|
|
|
presses separately"
|
|
records are used"
|