Commit Graph

10403 Commits

Author SHA1 Message Date
nJ3ahxac
bcbf86ecab FIX(client): Performance degradation around speex
Elements of a vector were failing to be cleared correctly which
created performance issues.

A nuance with speex was also causing the library to fail to call
a destroy callback.

Fixes #6150
2023-06-22 02:18:45 +10:00
Robert Adam
f09c074645
Merge PR #6147: MAINT: Sort input file list 2023-06-10 09:41:26 +02:00
Bernhard M. Wiedemann
5c2e2ddcd0 MAINT: Sort input file list
so that mumble_flags.qrc builds in a reproducible way
in spite of non-deterministic filesystem readdir order

See https://reproducible-builds.org/ for why this is good.
2023-06-09 08:15:29 +02:00
Robert Adam
82bcd1eb3d
Merge PR #6134: FEAT(client): Positional audio improvements 2023-05-14 09:30:02 +02:00
Robert Adam
8d7e1b52c2 FIX(client,positional-audio): Prevent min distance >= max distance
This kind of setup seems nonsensical and is therefore prevented by
automatically adapting the other threshold accordingly.
2023-05-13 12:34:17 +02:00
Robert Adam
6516fd0101 CHANGE(client): Set min volume for pos. audio to 0
While in 0e43686049 it was argued that
this setting should not be set to zero in order to avoid "bug" reports
of audio not working, because the volume of the audio has been zero due
to positional audio, setting this to anything but zero seems like
non-sense for such a feature.
Anything > 0 will lead to the player always being able to hear EVERY
player on the map, regardless of their position, whereas basically the
whole point of positional audio (in a "pure" sense) is to not have this
overlap of a million voices on a full game servers.
2023-05-13 11:25:35 +02:00
Robert Adam
a8d733520b FEAT(client): Increase max positional audio thresholds
Instead of limiting them to 50m (minimum distance) and 1000m (maximum
distance), manual entry into the spinboxes now allows up to 1000m (min)
and 10000m (max).
Note that the slider's max values remain unchanged as those defaults
seem to be appropriate for most contexts in which positional audio is
used.

Fixes #6132
2023-05-13 11:15:09 +02:00
Robert Adam
42333eb7a3
Merge PR #6129: DOCS(readme): Mention SignPath 2023-05-09 20:34:33 +02:00
Robert Adam
9bc45f9f43 DOCS(readme): Mention SignPath
Fixes #6128
2023-05-09 19:25:32 +02:00
Robert Adam
1bfb175f84
Merge PR #6075: FIX(plugins): Use atomic operations in Link plugin 2023-05-07 13:44:20 +02:00
Robert Adam
476dd76cdd
Merge PR #6123: FIX(client): improve logging of plugin loading errors 2023-05-07 11:08:43 +02:00
Robert Adam
9ac970dac1 TRANSLATION: Update translation files 2023-05-07 09:53:40 +02:00
Green Sky
610399a49f FIX(client): Improve logging of plugin loading errors 2023-05-07 09:52:38 +02:00
Robert Adam
e0ad21139f
Merge PR #6117: FIX(server): Actually use the settings provided pluginmessagelimit and -burst 2023-04-26 14:28:56 +02:00
Green Sky
e46cbc1921
FIX(server): Actually use the settings provided pluginmessagelimit and -burst 2023-04-26 13:41:22 +02:00
Robert Adam
25ead08d47
Merge PR #6069: TRANSLATION: Translation updates from Weblate 2023-04-23 09:45:58 +02:00
Hosted Weblate
57338e291d
TRANSLATION: Update Turkish translation
Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: John Doe <thraex@numericable.fr>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/tr/
Translation: Mumble/Mumble Client
2023-04-20 20:14:58 +02:00
Hosted Weblate
4f435381c4
TRANSLATION: Update Finnish translation
Currently translated at 100.0% (2109 of 2109 strings)

TRANSLATION: Update Finnish translation

Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Robert Adam <dev@robert-adam.de>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/fi/
Translation: Mumble/Mumble Client
2023-04-20 20:14:58 +02:00
Hosted Weblate
29259e5f42
TRANSLATION: Update German translation
Currently translated at 100.0% (2109 of 2109 strings)

TRANSLATION: Update German translation

Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Robert Adam <dev@robert-adam.de>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/de/
Translation: Mumble/Mumble Client
2023-04-20 20:14:58 +02:00
Hosted Weblate
a0de78c165
TRANSLATION: Update Portuguese (Brazil) translation
Currently translated at 92.6% (1954 of 2109 strings)

TRANSLATION: Update Portuguese (Brazil) translation

Currently translated at 92.6% (1954 of 2109 strings)

TRANSLATION: Update Portuguese (Brazil) translation

Currently translated at 92.3% (1947 of 2109 strings)

TRANSLATION: Update Portuguese (Brazil) translation

Currently translated at 92.0% (1942 of 2109 strings)

Co-authored-by: Daimar Stein <570cxat11@relay.firefox.com>
Co-authored-by: Felipe Nogueira <contato.fnog@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kett Lovahr <vagnerlunes@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pt_BR/
Translation: Mumble/Mumble Client
2023-04-20 20:14:58 +02:00
Hosted Weblate
f2514f5f99
TRANSLATION: Update French translation
Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: John Doe <thraex@numericable.fr>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/fr/
Translation: Mumble/Mumble Client
2023-04-20 20:14:58 +02:00
Hosted Weblate
d4c92a497d
TRANSLATION: Update English (United Kingdom) translation
Currently translated at 22.3% (472 of 2109 strings)

Co-authored-by: Andi Chandler <andi@gowling.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/en_GB/
Translation: Mumble/Mumble Client
2023-04-20 20:14:58 +02:00
Hosted Weblate
89e6af0109
TRANSLATION: Update Swedish translation
Currently translated at 100.0% (2109 of 2109 strings)

TRANSLATION: Update Swedish translation

Currently translated at 99.7% (2104 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/sv/
Translation: Mumble/Mumble Client
2023-04-20 20:14:58 +02:00
Hosted Weblate
9f396f3ef1
TRANSLATION: Update Norwegian Bokmål translation
Currently translated at 90.0% (1899 of 2109 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/nb_NO/
Translation: Mumble/Mumble Client
2023-04-20 20:14:58 +02:00
Hosted Weblate
2a09bc6baa
TRANSLATION: Update Polish translation
Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pl/
Translation: Mumble/Mumble Client
2023-04-20 20:14:57 +02:00
Hosted Weblate
6c70fb00a0
TRANSLATION: Update Ukrainian translation
Currently translated at 7.4% (158 of 2109 strings)

Co-authored-by: Artem Bondarenko <artej11@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/uk/
Translation: Mumble/Mumble Client
2023-04-20 20:14:57 +02:00
Hosted Weblate
eb381febf7
TRANSLATION: Update Portuguese (Portugal) translation
Currently translated at 91.0% (1921 of 2109 strings)

Co-authored-by: Felipe Nogueira <contato.fnog@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pt_PT/
Translation: Mumble/Mumble Client
2023-04-20 20:14:57 +02:00
Hosted Weblate
28a46d78fa
TRANSLATION: Update Chinese (Simplified) translation
Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: deluxghost <deluxghost@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/zh_Hans/
Translation: Mumble/Mumble Client
2023-04-20 20:14:57 +02:00
Hosted Weblate
4785b8b195
TRANSLATION: Update Dutch translation
Currently translated at 99.9% (2108 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: latex <latex@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/nl/
Translation: Mumble/Mumble Client
2023-04-20 20:14:57 +02:00
Robert Adam
3954280813
Merge PR #6110: BUILD(cmake): Improve LTO handling 2023-04-20 20:14:46 +02:00
Robert Adam
b0b47cda3b BUILD(cmake): Improve LTO handling
Instead of having a fixed setting that affects all build modes, we now
set LTO only for release builds (but then for all targets). This has the
advantage that a dev doesn't have to switch LTO on and off when
switching between Release and Debug builds.
2023-04-20 19:37:37 +02:00
Robert Adam
9c492fe01a
Merge PR #6107: MAINT: Update Tracy to v0.9.1 2023-04-18 19:59:58 +02:00
Robert Adam
e99c7c815d MAINT: Update Tracy to v0.9.1 2023-04-18 18:39:42 +02:00
Autumn
6647cbd63c REFAC(plugins): Specialize SharedMemory to LinkedMem
SharedMemory is only used to point to an instance of LinkedMem.
Preventing it from having a dynamic size simplifies the code.
2023-04-11 13:40:39 -07:00
Autumn
51c3e42648 FIX(plugins): Use atomic operations in Link plugin
The Link plugin uses an inherently racy protocol to communicate with
applications: shared memory with no means of synchronization. This
commit makes no changes to this protocol and shouldn't break anything
that was working before. That means it doesn't eliminate race
conditions, but it does allow the plugin to work without the risk of
*data races* specifically, which are undefined behavior.

This is done by using 32-bit atomic operations to copy the LinkedMem
struct out of shared memory before reading from it. This should work
well, since every field of LinkedMem has a size that's a multiple of
32 bits, and 32-bit atomics are widely supported.

With this change, applications can avoid data races with the Link
plugin by also accessing shared memory exclusively with 32-bit atomic
operations. Applications that already work with the plugin should
continue to work.
2023-04-11 13:40:06 -07:00
Robert Adam
78cad95f0d
Merge PR #6103: FIX(client): PipeWire crash
When destroying the PipeWire object we first destroyed the thread loop and then the stream, but this has to be done in reverse order in order to avoid crashes.

Fixes #6101
2023-04-11 21:56:08 +02:00
Robert Adam
24b9276d97 FIX(client): PipeWire crash
When destroying the PipeWire object we first destroyed the thread loop
and then the stream, but this has to be done in reverse order in order
to avoid crashes.

Fixes #6101
2023-04-11 13:50:47 +02:00
Robert Adam
6313cc5718
Merge PR #6044: FIX(server): Add ACL cache invalidation after user id is set 2023-04-01 16:45:53 +02:00
Hartmnt
635d71960f FIX(server): Add ACL cache invalidation after user id is set
The ACL for group 'auth' depends on the user (db) id.
Previously, code paths using checks for 'auth' ACLs in msgAuthenticate
would not work correctly, because the ACL cache still contained
a state where the id was not set.

This commit adds cache invalidation after the user id is set, allowing
to correctly apply the 'auth' ACL in later parts of msgAuthenticate.
It also overhauls the general control flow regarding tokens and ACL
cache.

Fixes #5907
2023-04-01 12:23:38 +02:00
Robert Adam
e0bc60086d
Merge PR #6081: BUILD(cmake): Install systemd related files on Linux only 2023-03-09 20:16:35 +01:00
Klemens Nanni
f7d1a2ffe1
BUILD(cmake): Install .ice file ony if ICE is enabled 2023-03-09 20:18:22 +04:00
Klemens Nanni
d608109deb
BUILD(cmake): Install systemd related files on Linux only
Trying the 1.5.x RC on OpenBSD suddenly installed unit files and wrappers
which are of no use;  I am not aware of other UNIX systems running systemd,
ignore them outside of Linux.
2023-03-09 18:55:50 +04:00
Robert Adam
c088018086
Merge PR #5999: TRANSLATION: Translations update from Hosted Weblate 2023-02-16 19:37:10 +01:00
Hosted Weblate
9b0c6b3087 TRANSLATION: Update Turkish translation
Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/tr/
Translation: Mumble/Mumble Client
2023-02-16 19:09:47 +01:00
Hosted Weblate
41b3383e5e TRANSLATION: Update Finnish translation
Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: janne ojanperä <janne.ojanpera@iki.fi>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/fi/
Translation: Mumble/Mumble Client
2023-02-16 19:09:46 +01:00
Hosted Weblate
7c21414c1f TRANSLATION: Update German translation
Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Vri 🌈 <weblate@vrifox.cc>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/de/
Translation: Mumble/Mumble Client
2023-02-16 19:07:57 +01:00
Hosted Weblate
623fe843e0 TRANSLATION: Update Portuguese (Brazil) translation
Currently translated at 92.1% (1940 of 2105 strings)

Co-authored-by: Felipe Nogueira <contato.fnog@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pt_BR/
Translation: Mumble/Mumble Client
2023-02-16 19:07:57 +01:00
Hosted Weblate
ba269bcc4a TRANSLATION: Update French translation
Currently translated at 100.0% (2109 of 2109 strings)

TRANSLATION: Update French translation

Currently translated at 100.0% (2109 of 2109 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: John Doe <thraex@numericable.fr>
Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/fr/
Translation: Mumble/Mumble Client
2023-02-16 19:07:57 +01:00
Hosted Weblate
18b1b7124b TRANSLATION: Update Greek translation
Currently translated at 100.0% (2105 of 2105 strings)

Co-authored-by: Athanasios Plastiras <Tha14@users.noreply.github.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/el/
Translation: Mumble/Mumble Client
2023-02-16 19:07:55 +01:00
Hosted Weblate
d3820a0191 TRANSLATION: Update Swedish translation
Currently translated at 100.0% (2105 of 2105 strings)

TRANSLATION: Update Swedish translation

Currently translated at 99.9% (2104 of 2105 strings)

TRANSLATION: Update Swedish translation

Currently translated at 97.8% (2059 of 2105 strings)

TRANSLATION: Update Swedish translation

Currently translated at 97.8% (2059 of 2105 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Co-authored-by: Robert Adam <dev@robert-adam.de>
Co-authored-by: conkt <conkt@joel.ps>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/sv/
Translation: Mumble/Mumble Client
2023-02-16 19:06:09 +01:00