Commit Graph

9385 Commits

Author SHA1 Message Date
Robert Adam
91ba447e8f DOCS(plugins): Fix missing pointer star in example 2021-06-07 08:22:08 +02:00
Robert Adam
6e8c19a98d
DOCS: Fix markdown table 2021-06-06 20:30:06 +02:00
Robert Adam
209e4a378e
Merge PR #5096: DOCS: Document new plugin system 2021-06-06 19:02:57 +02:00
Robert Adam
54012c5a07 DOCS: Document new plugin system 2021-06-06 17:49:41 +02:00
Robert Adam
4fab1880e1
Merge PR #5098: BUILD: Bump version number to 1.5.0 2021-06-04 10:35:26 +02:00
Robert Adam
c4089b7e91 BUILD: Bump version number to 1.5.0
Now that the 1.4.x branch has been split off, the current master branch
must now be considered to be for version 1.5.0.
2021-06-04 08:14:03 +02:00
Robert Adam
258b785746
Merge PR #5085: MAINT: Translations backport script 2021-06-04 08:11:43 +02:00
Robert Adam
36dc6f387b MAINT: Translations backport script
Up to now when a stable release series was split off from the master
branch, there was essentially no (good) way of backporting new
translations for source strings in the stable series.

This is because usually the master branch contains new or changed source
strings and thus simply merging the respective commits into the stable
series can cause all sorts of trouble.

The script added by this commit takes care of that by comparing
translation files translation by translation and only updates the
translation if there is a newer translation for the exact same source
string in the target (master) branch.

This takes care of cases in which translations are added or altered
after the stable series has been split off.
It does not however work as soon as the source string for that
translation has changed as that will cause the script to consider these
as different strings and thus no updating will be performed.

Fixes #4740
2021-06-02 20:17:50 +02:00
Davide Beatrici
9d5feb54e6
Merge PR #5087: FIX(client): Use ReadProcessMemory() instead of Toolhelp32ReadProcessMemory() 2021-06-02 19:22:59 +02:00
Robert Adam
6fc8de5f31
Merge PR #5084: REFAC(client): Remove unnecessary include
The windows header was included for the definition of M_PI. However
given that we define _USE_MATH_DEFINES globally for all source files and
cmath is included already, this symbol is defined by cmath, making the
windows-specific header superfluous.
2021-06-02 11:20:55 +02:00
Robert Adam
2786748084
Merge PR #5069: BUILD(installer): Include binaries only if built
The overlay binaries were expected to be present in any case when the
installer was built. Same goes for the g15-helper binary.

This commit makes sure these binaries are only included if the
respective feature was actually built before.

Fixes #5058
2021-06-02 09:47:39 +02:00
Robert Adam
5b379527da BUILD(installer): Include binaries only if built
The overlay binaries were expected to be present in any case when the
installer was built. Same goes for the g15-helper binary.

This commit makes sure these binaries are only included if the
respective feature was actually built before.

Fixes #5058
2021-06-02 09:08:00 +02:00
Robert Adam
ae1a11b3ae
Merge PR #5088: FIX(client, ui): Use proper name for fallback theme
2cd4635 has integrated the theme
submodule into the main repository and by doing so renamed the default
theme from "Mumble" to "Default".

When using no theme (The "None" theme) for the application's style, it
would fail to find the necessary icons though.
This is because the fallback theme that is used in this case was still
referring to the old "Mumble" theme that no longer exists.

This commit fixes the issue by changing the name referenced in the
fallback theme to "Default" again.

Fixes #5086
2021-06-02 08:52:40 +02:00
Robert Adam
6e8145aa5c
Merge PR #5077: BUILD(windows): Fix missing include 2021-06-02 08:18:50 +02:00
Robert Adam
e4dc72b7a4 FIX(client, ui): Use proper name for fallback theme
2cd4635e85 has integrated the theme
submodule into the main repository and by doing so renamed the default
theme from "Mumble" to "Default".

When using no theme (The "None" theme) for the application's style, it
would fail to find the necessary icons though.
This is because the fallback theme that is used in this case was still
referring to the old "Mumble" theme that no longer exists.

This commit fixes the issue by changing the name referenced in the
fallback theme to "Default" again.

Fixes #5086
2021-06-02 08:05:28 +02:00
Davide Beatrici
198621f19c FIX(client): Use ReadProcessMemory() instead of Toolhelp32ReadProcessMemory()
I was wrong in d7f0302ce7.

Turns out Toolhelp32ReadProcessMemory() is simply a wrapper for ReadProcessMemory() that takes care of opening an handle to the process and closing it.

For reference: https://github.com/MicrosoftDocs/sdk-api/pull/793
2021-06-02 02:56:05 +02:00
Robert Adam
3a4d9df4ea REFAC(client): Remove unnecessary include
The windows header was included for the definition of M_PI. However
given that we define _USE_MATH_DEFINES globally for all source files and
cmath is included already, this symbol is defined by cmath, making the
windows-specific header superfluous.
2021-06-01 21:10:09 +02:00
Robert Adam
fea45e3e92
Merge PR #5064: MAINT: Integrate theme submodule
Instead the theme is now integrated into the main repository as-is. This
facilitates future work on it as we don't have to work across two
repositories.

While we are fiddling with that anyway, I also created an all-new README with (hopefully)
actually useful instructions for how to edit themes.

NOTE: The history of the theme is available in the original repo (mumble-voip/mumble-theme). It was not integrated into this repository as it would flood the git history with a bunch of commits that don't actually change anything.
Therefore we preferred to cut the history out. Should there be the need for that history, the original repo will stay in place dor that reason.
2021-06-01 21:08:33 +02:00
Robert Adam
28f6f8b2c6
Merge PR #5082: FIX: Deadlock when cancelling AudioWizard
See #5081

The PR is separated in two commits, the first one is the actual fix (should probably be cherry-picked to 1.4.x), the second one is just a minor code refactor, as we are doing aosSource = nullptr; in restartAudio() already.
2021-06-01 19:44:45 +02:00
Magnus Groß
b9c7b31c69
REFAC(audiowizard): Do not unnecessarily reset aosSource twice
The restartAudio() call a few lines down will assign nullptr anyway.
2021-06-01 18:53:24 +02:00
Magnus Groß
6b89e08d5b
FIX(audiowizard): Reset AudioOutput ownership before restartAudio()
The AudioOutputPtr ao holds a reference to the audio output. Calling
wipe() only clears the buffers, but the reference still exists.

When we call restartAudio() without ao going out of scope, then
Audio::stop() will loop endlessly as we are waiting for all audio output
references to clear.

We fix this deadlock by explicitly resetting the shared_ptr ao, such
that it doesn't hold a reference anymore when restartAudio() is called.

Fixes #5081
2021-06-01 18:53:11 +02:00
Robert Adam
48294be31f MAINT: Improved themes README
- Created a new README with instructions for how to change themes
- Changed contents of original README to be purely descriptive of what
the Mumble theme is about
2021-06-01 08:28:20 +02:00
Robert Adam
2cd4635e85 MAINT: Integrate theme submodule
The theme is now integrated into the main repository. This facilitates
future work on it as we don't have to work across two repositories.

The theme is overtaken from https://github.com/mumble-voip/mumble-theme
without any modifications to it. All file from there are copied to this
repo now.

The theme's directory was renamed from "Mumble" to "Default" in order to
a) Make the name more descriptive
b) Avoid conflicts updating already checked out workspaces (git would
report conflicts if the new dir was called the same as the old one)
2021-06-01 08:26:51 +02:00
jisopo
f9ded8415c BUILD(windows): Fix missing include
some of overlay source files such as: amongus, cod2 and se uses
std::unique_ptr
which requires include <memory>
2021-06-01 08:13:16 +02:00
Davide Beatrici
0af1dfb364
Merge PR #5079: FIX(pipewire): Do not initialize stream with 0 channels 2021-06-01 00:40:04 +02:00
Magnus Groß
7174b63f62
FIX(pipewire): Do not initialize stream with 0 channels
If we initialize the stream with 0 channels, the call to connect() will
still succeed. In that case the pipewire callback will crash due to zero
division as chunk->stride and pwo->iChannels will be zero.

We fix this by explicitly initializing the channel number with a sane
value.

Fixes #5075
2021-05-31 22:56:57 +02:00
Robert Adam
adf3859315
Merge PR #4808: FEAT(client): Message Thresholding
This PR adds a new column named "Limit" to the "Messages" settings tab to allow users to turn off message notifications when the server is above a certain number of users
2021-05-31 14:58:09 +02:00
Robert Adam
08270287ee TRANSLATION: Update translation files 2021-05-31 13:54:24 +02:00
John Eskew
6a10b4627f FEAT(client): Add notification thresholding
As requested in #2556, this commit implements the ability to turn off notifications when the server is hosting a number of clients defined by the user.

Implements #2556
2021-05-31 13:54:12 +02:00
Robert Adam
8caf156376
Merge PR #5019: TRANSLATION: Updates from Weblate 2021-05-31 10:27:06 +02:00
Robert Adam
11f7a1c10e REFAC: Use List instead of static array
Co-Authored-By: Nik Reist <zeroability@tutanota.com>
Co-Authored-By: Jan Klass <kissaki@posteo.de>
2021-05-31 10:17:21 +02:00
Hosted Weblate
efa427a031 TRANSLATION: Update Polish translation
Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 99.9% (2044 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-31 08:10:20 +02:00
Hosted Weblate
bd18e2249f TRANSLATION: Update Chinese (Simplified) translation
Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Chinese (Simplified) translation

Currently translated at 100.0% (2045 of 2045 strings)

Co-authored-by: CA_GA_64 <xjdzch@126.com>
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-31 08:10:20 +02:00
Hosted Weblate
c8e05a37e3 TRANSLATION: Update Dutch translation
Currently translated at 100.0% (2045 of 2045 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-31 08:10:20 +02:00
Hosted Weblate
3fe4ee86e4 TRANSLATION: Update Russian translation
Currently translated at 99.9% (2043 of 2045 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-31 08:10:20 +02:00
Hosted Weblate
dc41e09066 TRANSLATION: Update English (United Kingdom) translation
Currently translated at 13.7% (281 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Tomás Correia Marques <tomasmanuelcorreiamarques@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/en_GB/
Translation: Mumble/Mumble Client
2021-05-31 08:10:20 +02:00
Hosted Weblate
4d9275dfd0 TRANSLATION: Update Hungarian translation
Currently translated at 81.4% (1665 of 2045 strings)

TRANSLATION: Update Hungarian translation

Currently translated at 79.7% (1630 of 2045 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-31 08:10:20 +02:00
Hosted Weblate
606907015e TRANSLATION: Update German translation
Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.8% (2041 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Robert Adam <dev@robert-adam.de>
Co-authored-by: VfBFan <drop0815@posteo.de>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/de/
Translation: Mumble/Mumble Client
2021-05-31 08:10:20 +02:00
Hosted Weblate
3bb78c72ce TRANSLATION: Update Turkish translation
Currently translated at 100.0% (2045 of 2045 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-31 08:10:20 +02:00
Hosted Weblate
36a9c9e645 TRANSLATION: Update Korean translation
Currently translated at 87.7% (1795 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 85.5% (1749 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 83.1% (1701 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 81.5% (1668 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 81.4% (1665 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Linmalu(린마루) <gkdwns0103@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ko/
Translation: Mumble/Mumble Client
2021-05-31 08:10:20 +02:00
Hosted Weblate
2d985302e2 TRANSLATION: Update French translation
Currently translated at 93.0% (1903 of 2045 strings)

TRANSLATION: Update French translation

Currently translated at 93.0% (1903 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Maëva Calmettes <maeva.c@protonmail.com>
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-31 08:10:20 +02:00
Robert Adam
6b677cca6b
Merge PR #5062: BUILD(cmake): Rename server to mumble-server
The produced binary as well as the used cmake target was renamed from
"murmurd" and "murmur" respectively to "mumble-server".

The installer code was adapted accordingly.
2021-05-31 08:10:11 +02:00
Robert Adam
bc16d2a058
Merge PR #5063: DOCS(build): Add a missing dependency to static build instructions 2021-05-30 22:02:24 +02:00
Robert Adam
4b1f97b52d
Merge PR #5068: DOCS: Mention BUILD_NUMBER for building installer
The requirement to set the BUILD_NUMBER variable was not mentioned in
the docs for how to build an installer.

Fixes #5060
2021-05-30 18:11:34 +02:00
Robert Adam
0fab63bddb BUILD(cmake): Rename server to mumble-server
The produced binary as well as the used cmake target was renamed from
"murmurd" and "murmur" respectively to "mumble-server".

The installer code was adapted accordingly.
2021-05-30 17:33:23 +02:00
Robert Adam
b1da1760b9 DOCS: Mention BUILD_NUMBER for building installer
The requirement to set the BUILD_NUMBER variable was not mentioned in
the docs for how to build an installer.

Fixes #5060
2021-05-30 16:52:25 +02:00
Robert Adam
1b06272db1
Merge PR #5054: MAINT: Update copyright notice to 2021 (Part III)
The first[1] and second[2] commits did not include all files.

[1] 59ae429
[2] 56db341
2021-05-30 16:10:35 +02:00
Robert Adam
6fad710165
Merge PR #5061: MAINT: Add config for backport CLI
In order to use sqren/backport we need a bit of
configuration in our project but in the end this has the potential to
save use a lot of time when backporting commits to a stable release
series.
2021-05-30 14:54:49 +02:00
Lucius Q. User
388076a497 DOCS(build): Add a missing dependency to static build instructions. 2021-05-30 15:16:00 +03:00
Robert Adam
5f351538a0 MAINT: Add config for backport CLI
In order to use https://github.com/sqren/backport we need a bit of
configuration in our project but in the end this has the potential to
save use a lot of time when backporting commits to a stable release
series.
2021-05-30 13:45:15 +02:00