Commit Graph

9280 Commits

Author SHA1 Message Date
Hosted Weblate
87df9ff889
TRANSLATION: Update Polish translation
Currently translated at 100.0% (2045 of 2045 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
2021-05-16 16:52:02 +02:00
Hosted Weblate
edc34f55fa
TRANSLATION: Update German translation
Currently translated at 98.7% (2019 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 98.7% (2019 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Robert Adam <dev@robert-adam.de>
Co-authored-by: Thomas Umbach <thum@vikings.net>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/de/
Translation: Mumble/Mumble Client
2021-05-16 16:52:01 +02:00
Robert Adam
06ec271076
Merge PR #5000: FIX(client): Don't escape characters in URL targets
If one was to send a link like
"http://localhost/?var1=foo&var2=bar&var3=baz" either as-is or as a
markdown-style link ("name"), the "&" character in the link
would get escaped as "&".

For displaying purposes this is fine, as the Mumble client re-interprets
these escape sequences before rendering them to the user. The same
escaping was done in the surrounding HTML element's href
specification. This lead to invalid URLs being used as link targets.

Therefore this commit makes sure that the href content of an HTML
element will be un-escaped before inserting into the HTML structure
(thus preserving the original characters in the href specification).

Fixes #4999
2021-05-16 15:48:34 +02:00
Robert Adam
c521b2749c
Merge PR #4998: TRANSLATION: Translations update from Weblate 2021-05-16 15:17:13 +02:00
Robert Adam
d0bd1a0a1c FIX(client): Don't escape characters in URL targets
If one was to send a link like
"http://localhost/?var1=foo&var2=bar&var3=baz" either as-is or as a
markdown-style link ("[name](<url>)"), the "&" character in the link
would get escaped as "&amp;".

For displaying purposes this is fine, as the Mumble client re-interprets
these escape sequences before rendering them to the user. The same
escaping was done in the surrounding <a> HTML element's href
specification. This lead to invalid URLs being used as link targets.

Therefore this commit makes sure that the href content of an <a> HTML
element will be un-escaped before inserting into the HTML structure
(thus preserving the original characters in the href specification).

Fixes #4999
2021-05-16 15:09:19 +02:00
Hosted Weblate
fe275a05bd TRANSLATION: Update Korean translation
Currently translated at 60.3% (1233 of 2043 strings)

Co-authored-by: Linmalu(린마루) <gkdwns0103@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ko/
Translation: Mumble/Mumble Client
2021-05-16 14:20:52 +02:00
Robert Adam
1e388ac85f
Merge PR #4994: FIX(client): Echo cancellation options not translated
These Strings were not translated because as global static variables
they were created before the necessary translators are installed.

This commit fixes this by making sure the containing EchoCancelOption
objects are created lazily (at the time they are needed for the first
time), thus causing a delaying instantiation.

Fixes #4993
2021-05-16 09:32:41 +02:00
Robert Adam
029fdc4c7f
Merge PR #4995: FEAT(client): Revamp positional audio settings page
The following things were changed:

    Ordering of sliders to be grouped more logically
    Tooltips
    Added SpinBox to display and manually edit values (also partly beyond
    the slider's range)
    Increased slider range for maximum distance to 200m (instead 100m)

Fixes #4990
2021-05-16 08:52:54 +02:00
Robert Adam
a7bbef25bc TRANSLATION: Update translation files 2021-05-15 17:37:39 +02:00
Robert Adam
af1c4749a1 FEAT(client): Revamp positional audio settings page
The following things were changed/adapted:
- Ordering of sliders to be grouped more logically
- Tooltips
- Added SpinBox to display and manually edit values (also partly beyond
  the slider's range)
- Increased slider range for maximum distance to 200m (instead 100m)

Fixes #4990
2021-05-15 17:37:29 +02:00
Robert Adam
685480ef75 DOCS: Adde comments to AudioOutput::calcGain 2021-05-15 17:37:29 +02:00
Robert Adam
694ca16a6a MAINT: Remove overly verbose copyright notice 2021-05-15 17:37:29 +02:00
Jan Klass
0f3b8da906
Merge PR #4996: Translations update from Weblate 2021-05-15 13:04:11 +02:00
Hosted Weblate
a9c45d69ef
TRANSLATION: Update French translation
Currently translated at 93.0% (1902 of 2043 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: bendem <online+weblate.org@bendem.be>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/fr/
Translation: Mumble/Mumble Client
2021-05-14 23:18:06 +02:00
Hosted Weblate
f0c93abb2c
TRANSLATION: Update Korean translation
Currently translated at 59.2% (1210 of 2043 strings)

TRANSLATION: Update Korean translation

Currently translated at 57.9% (1184 of 2043 strings)

TRANSLATION: Update Korean translation

Currently translated at 55.8% (1142 of 2043 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 린마루 <gkdwns0103@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ko/
Translation: Mumble/Mumble Client
2021-05-14 23:18:06 +02:00
Hosted Weblate
7fa3724a51
TRANSLATION: Update Dutch translation
Currently translated at 100.0% (2043 of 2043 strings)

TRANSLATION: Update Dutch translation

Currently translated at 99.9% (2042 of 2043 strings)

Co-authored-by: Gert-dev <qnyasgjhapqyuhoibr@kiabws.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: nocturnalfilth <nocturnalfilth@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/nl/
Translation: Mumble/Mumble Client
2021-05-14 23:18:06 +02:00
Hosted Weblate
81abf799ec
TRANSLATION: Update Russian translation
Currently translated at 99.8% (2039 of 2043 strings)

Co-authored-by: Game one <denis.melnyk.2006@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ru/
Translation: Mumble/Mumble Client
2021-05-14 23:18:06 +02:00
Robert Adam
322d231cbb
Merge PR #4997: DOCS: Added info about Poco dependency 2021-05-14 20:01:16 +02:00
Robert Adam
c9ef111505 DOCS: Added info about Poco dependency 2021-05-14 18:24:54 +02:00
Davide Beatrici
d535e146d9
Merge PR #4970: FEAT(client): Implement native support for PipeWire 2021-05-14 01:51:09 +02:00
Davide Beatrici
0a31cd1c63 FEAT(client): Implement native support for PipeWire
Tested with PipeWire 0.3.26.

The implementation is quite basic and simple, yet it surpasses the JACK one in terms of features.
For example, support for the most common surround mappings is provided.

As opposed to JACK, an option to disable the auto endpoint connection is not provided.
However, it's something that can be easily implemented if needed.

Support for echo cancellation will definitely be added in future.
2021-05-13 21:09:35 +02:00
Robert Adam
7fb4708c03 BUILD(cmake, windows): Prevent definition min/max macros
These macros are defined in Windows.h if the NOMINMAX macro is not set.
This then causes all other uses of the terms "min" and "max" (as e.g. in
std::min, std::numeric_limits<>::min, etc.) to fail, which is
unacceptable. Therefore NOMINMAX is now defined globally when compiling
on Windows.
2021-05-13 19:46:38 +02:00
Robert Adam
c54a7dfbd9 FIX(client): Echo cancellation options not translated
These Strings were not translated because as global static variables
they were created before the necessary translators are installed.

This commit fixes this by making sure the containing EchoCancelOption
objects are created lazily (at the time they are needed for the first
time), thus causing a delaying instantiation.

Fixes #4993

Co-Authored-By: Jan Klass <kissaki@posteo.de>
2021-05-13 19:35:19 +02:00
Robert Adam
9e8a197f5c
Merge PR #4944: BUILD(cmake): Bundle Qt translations & other translation improvements 2021-05-13 15:35:41 +02:00
Robert Adam
19e16a0524 BUILD(cmake): Bundle Qt translations
In the old qmake build system we included the functionality to bundle Qt
translations into our executable (potentially overwriting some of them).

See f5bf5f17f3/src/mumble/mumble.pro (L692-L728)

This functionality was not ported over to cmake which could lead to Qt
standard texts (e.g. "Ok") not being translated.
This commit ports the old functionality to the new cmake build system.

Note however that this new functionality is only enabled by default, if
a static build of Mumble is created. In other instances the option can
be specified manually.

Fixes #4359
2021-05-13 14:10:00 +02:00
Robert Adam
f7886d29a3 MAINT: Reworked translation-bundle script 2021-05-13 14:10:00 +02:00
Robert Adam
0eb6d1e091 MAINT: Change tabs to spaces for Python script 2021-05-13 13:34:04 +02:00
Robert Adam
53a92c6b78 MAINT: Add FindPythonInterpreter submodule
This submodule contains a cmake script to locate a Python interpreter in
an easy and straight-forward way.

Ref.: https://github.com/Krzmbrzl/FindPythonInterpreter
2021-05-13 13:34:04 +02:00
Robert Adam
0b75cd6f8a BUILD(macos): Fix hdiutil error during dmg packaging
The error that appeared every now and again was "no space left on
device". The exact cause and why it worked in some cases is not clear,
but with these changes it seems way more robust than before.
2021-05-13 13:33:02 +02:00
Robert Adam
68fa0d1b0f
Merge PR #4991: FIX(client, ui): TalkingUI font not scaling properly
When scaling the font size system-wide (e.g. set to 150%), the TalkingUI
might not adapt to this properly.

This started happening with the introduction of the
MultiStyleWidgetWrapper class (commit
ff040fb). As it turns out the
conversion from pixel to point size performed in its setFontSize did not
work properly, causing an incorrect font size to be used. And as the
font size also determines the icons size, these were not scaled properly
either.

The fix is to simply skip on the pixel to point conversion entirely and
instead use the appropriate unit when setting the respective StyleSheet
property. That way Qt can figure the conversion out as needed.
2021-05-13 10:58:57 +02:00
Robert Adam
9b353565a3 FIX(client, ui): TalkingUI font not scaling properly
When scaling the font size system-wide (e.g. set to 150%), the TalkingUI
might not adapt to this properly.

This started happening with the introduction of the
MultiStyleWidgetWrapper class (commit
ff040fb23c). As it turns out the
conversion from pixel to point size performed in its setFontSize did not
work properly, causing an incorrect font size to be used. And as the
font size also determines the icons size, these were not scaled properly
either.

The fix is to simply skip on the pixel to point conversion entirely and
instead use the appropriate unit when setting the respective StyleSheet
property. That way Qt can figure the conversion out as needed.
2021-05-13 10:01:06 +02:00
Jan Klass
7aedfaa71d
Merge PR #4987: Translations update from Weblate 2021-05-12 19:19:52 +02:00
Hosted Weblate
cc57893e6b
TRANSLATION: Update Polish translation
Currently translated at 100.0% (2043 of 2043 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
2021-05-12 10:26:28 +02:00
Hosted Weblate
09b1e439c5
TRANSLATION: Update Chinese (Simplified) translation
Currently translated at 100.0% (2043 of 2043 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
2021-05-12 10:26:28 +02:00
Hosted Weblate
4e87e8ec9d
TRANSLATION: Update German translation
Currently translated at 98.7% (2018 of 2043 strings)

TRANSLATION: Update German translation

Currently translated at 98.4% (2012 of 2043 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Robert Adam <dev@robert-adam.de>
Co-authored-by: Thomas Umbach <thum@vikings.net>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/de/
Translation: Mumble/Mumble Client
2021-05-12 10:26:28 +02:00
Hosted Weblate
466e372fb9
TRANSLATION: Update Dutch translation
Currently translated at 99.9% (2042 of 2043 strings)

Co-authored-by: Gert-dev <qnyasgjhapqyuhoibr@kiabws.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/nl/
Translation: Mumble/Mumble Client
2021-05-12 10:26:28 +02:00
Hosted Weblate
6af18e319e
TRANSLATION: Update Hungarian translation
Currently translated at 79.1% (1618 of 2043 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: ViBE <vibe@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/hu/
Translation: Mumble/Mumble Client
2021-05-12 10:26:28 +02:00
Hosted Weblate
d1f2ce20f8
TRANSLATION: Update Turkish translation
Currently translated at 100.0% (2043 of 2043 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/tr/
Translation: Mumble/Mumble Client
2021-05-12 10:26:28 +02:00
Robert Adam
71c33aad6d
Merge PR #4989: MAINT: Update theme submodule 2021-05-12 10:26:13 +02:00
Robert Adam
0f08870da5 BUILD(cmake): Revamp translation handling
Previously we re-generated our translation files when building, causing
them to change in the source tree.

With this new approach, we assume that the .ts files are already
up-to-date and thus we only compile them to .qm files that are stored in
the build directory. That way the source dir remains uncluttered.
2021-05-12 09:37:41 +02:00
Robert Adam
4a5dd51487 MAINT: Update theme submodule 2021-05-12 09:07:48 +02:00
Robert Adam
f830d4b10b BUILD(cmake): Set policy CMP0118 2021-05-11 18:24:30 +02:00
Robert Adam
d20579d6eb BUILD(cmake): Fix usage of set_property
We used this function to set multiple properties at once which is not
supported. Instead what happens is that the first referenced property is
populated with a list of values (the following words in the set_property
function).

Thus the set_property call had to be separated into two individual calls
each setting only a single property to the desired value.
2021-05-11 18:24:30 +02:00
Robert Adam
adef045be3 CI(azure): Update to latest vcpkg env version 2021-05-11 18:24:30 +02:00
Robert Adam
13db7bded8
Merge PR #4983: TRANSLATION: Updates from Weblate 2021-05-11 17:50:19 +02:00
Robert Adam
eb9944a7f9 TRANSLATION: Update translation files 2021-05-11 17:19:19 +02:00
Oğuz Ersen
5c2fc112a8 TRANSLATION: Update Turkish translation
Currently translated at 100.0% (2043 of 2043 strings)

Translation: Mumble/Mumble Client
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/tr/
2021-05-11 17:19:17 +02:00
Hosted Weblate
237c96e6dc TRANSLATION: Update Polish translation
Currently translated at 100.0% (2017 of 2017 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pl/
Translation: Mumble/Mumble Client
2021-05-11 17:14:40 +02:00
Hosted Weblate
2cbbd43345 TRANSLATION: Update Chinese (Simplified) translation
Currently translated at 100.0% (2017 of 2017 strings)

Co-authored-by: deluxghost <deluxghost@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/zh_Hans/
Translation: Mumble/Mumble Client
2021-05-11 17:14:40 +02:00
Hosted Weblate
fcca2fc2cc TRANSLATION: Update Hungarian translation
Currently translated at 79.3% (1600 of 2017 strings)

Co-authored-by: ViBE <vibe@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/hu/
Translation: Mumble/Mumble Client
2021-05-11 17:00:57 +02:00