Commit Graph

10006 Commits

Author SHA1 Message Date
fridtjof
e6bb01dc85 FIX(client): properly verify certificates when SRV records are used
Previously, Mumble would always use the original hostname when verifying a server certificate. When the actual server hostname (resolved through an SRV record) differs from the original hostname, it should be used instead.

Fixes #3563
2022-07-20 18:48:12 +02:00
Davide Beatrici
ff3d0a6ec8
Merge PR #5739: FIX(client): Register simultaneous mouse button presses separately 2022-07-09 23:05:13 +02:00
Snowknight26
01af7d9ac1 FIX(client): Register simultaneous mouse button presses separately
Prior to the implementaiton of raw mouse input, a low-level mouse hook was used for capturing mouse events. Windows would emit a single WM_* event per button state change. With the move to capturing raw mouse input events, it was expected that this behavior remained, despite now needing to listen for WM_INPUT events.

However, unlike when using the low-level hook, WM_INPUT events can contain data for multiple simultaneous mouse state changes. If this occurred, Mumble would register none of the state changes.

Changing the logic to account for multiple state changes in a single event correctly allows for all states changes to be registered.

Fixes mumble-voip#5706
2022-07-09 12:42:05 -05:00
Robert Adam
414ab61b61
Merge PR #5716: DOCS(winbuild): Add troubleshooting for missing MFC dependency 2022-06-05 20:42:18 +02:00
Jan Klass
84bfd8d332
Merge PR #5719: CI(codeql): Upgrade CodeQL action version v1 -> v2
CodeQL Action v2 was released 2022-03-30.

Deprecation of v1 is scheduled for December 2022. [1]

Fixes a CI warning.

[1] github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1
2022-06-05 19:51:36 +02:00
Davide Beatrici
1fab81a78e
Merge PR #5704: FEAT/REFAC(positional-audio): Rewrite GTAV plugin, define "procid_t" to "uint64_t" 2022-06-05 19:04:10 +02:00
Jan Klass
b925b99bf7 CI(codeql): Upgrade CodeQL version v1 -> v2
CodeQL Action v2 was released 2022-03-30.

Deprecation of v1 is scheduled for December 2022. [1]

[1] https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-06-05 16:12:52 +02:00
Davide Beatrici
5b7f95b54f REFAC(positional-audio): Define "procid_t" as "uint64_t" instead of "uint32_t"
This allows us to take advantage of the full range provided by the plugin API.
2022-06-05 02:48:50 +02:00
Davide Beatrici
799926b8a3 FEAT(positional-audio): Rewrite GTAV plugin to use signatures and game structs
It should now work flawlessly with all variants (Rockstar, Steam, Epic Games).
2022-06-05 02:48:47 +02:00
Davide Beatrici
444094d2de FEAT(positional-audio): Add ProcessBase::peekRIP(), for x64 processes 2022-06-04 22:56:26 +02:00
Robert Adam
448fbe3b53
Merge PR #5715: CHANGE(cli): Fix CLI help typo ‘fir’ -> ‘dir’ -> ‘directory’ 2022-06-04 19:21:37 +02:00
Jan Klass
6410250893 TRANSLATION: Update translation files 2022-06-04 16:21:26 +02:00
Jan Klass
084f23ac36 DOCS(winbuild): Add troubleshooting for missing MFC dependency
Although installing MFC is mentioned in setup_visual_studio.md,
identifying where the header file is expected from is not obvious.

A C++ environment may already be installed without MFC, where the VS setup docs may not be followed/opened before-hand.
2022-06-04 15:17:56 +02:00
Jan Klass
1945cb1fc7 CHANGE(cli): Fix CLI help typo ‘fir’ -> ‘dir’ -> ‘directory’
Use full word directory instead of less expressive ‘dir’.
2022-06-04 08:47:07 +02:00
Robert Adam
dd5df45313
Merge PR #5703: BUILD: Fix missing <cstdint> include 2022-05-27 11:02:38 +02:00
Sergei Trofimovich
b92d82d2b2 BUILD: Fix missing <cstdint> include
Without the change mumble build fails on this week's gcc-13 snapshot as:

    plugins/Module.h:13:9: error: 'uint64_t' does not name a type
       13 | typedef uint64_t procptr_t;
          |         ^~~~~~~~
    plugins/Module.h:12:1: note: 'uint64_t' is defined in header '<cstdint>';
      did you forget to '#include <cstdint>'?
       11 | #include <unordered_map>
      +++ |+#include <cstdint>
       12 |

Co-authored-by: Davide Beatrici <github@davidebeatrici.dev>
2022-05-27 09:02:15 +01:00
Robert Adam
deace4ca92
Merge PR #5681: REFAC(macos,overlay): Remove unused symbol
The cgl symbol was resolved but never used, which triggered a warning
in our macOS CI.
2022-05-25 09:22:29 +02:00
Robert Adam
6032f490c9
Merge PR #5695: MAINT: Avoid Windows screenshots in FreeDesktop AppData 2022-05-25 08:18:46 +02:00
Davide Beatrici
a6fe02ffc6
Merge PR #5686: MAINT(build): Update SHA512 hash in zeroc-ice-mumble portfile 2022-05-24 04:06:54 +02:00
Robert Adam
b255fe58a2
Merge PR #5697: DOCS(build_linux): Added dependency install instructions for OpenSUSE Tumbleweed 2022-05-23 08:20:43 +02:00
powerjungle
453663028b
DOCS(build_linux): Added dependency install instructions for OpenSUSE Tumbleweed 2022-05-22 22:13:47 +02:00
powerjungle
dde8e655b2
DOCS(build_linux): Make all dependencies collapsed 2022-05-22 14:33:56 +02:00
Matthias Mailänder
4bf72492c8 MAINT: Avoid Windows screenshots in FreeDesktop AppData 2022-05-20 10:45:54 +02:00
Robert Adam
fe8f811644
Merge PR #5690: CI(macos): Use correct build env on macOS nightly builds 2022-05-18 11:30:44 +02:00
Robert Adam
de7a0db230 CI(macos): Use correct build env on macOS nightly builds 2022-05-18 09:57:02 +02:00
Robert Adam
e93d486ba6
Merge PR #5677: CHANGE(client): Disable RNNoise by default
n the 1.4.230 release, we enabled RNNoise by default as there have been
lots of reports of how well it works. However, after the release we saw
numerous reports complaining about bad audio quality, which was traced
back to having RNNoise enabled.

For some reason the outcome of having RNNoise enabled is very different
in different scenarios. Sometimes it works miraculously well and other
times it worsens the audio quality to an unbearable level.

There seems to be a higher chance of RNNoise messing up, when using
Windows, but the same effect has also been observed on Linux. It might
also depend on the quality of the used microphone (better quality = less
noise -> RNNoise starts doing weird stuff), but we don't have any
definitive clues yet.

Because of this, we will change the default noise cancelling mode back
to Speex so that everyone for whom RNNoise actually works, cna enable
it, but we don't kill the experience for many folks by using an
unsuitable default value.

Fixes #5448
2022-05-18 09:42:38 +02:00
Robert Adam
c297c7bad3 TEST(client): Adapt settings-serialization test to new defaults 2022-05-18 08:37:08 +02:00
Robert Adam
73adfce79f CHANGE(client): Disable RNNoise by default
In the 1.4.230 release, we enabled RNNoise by default as there have been
lots of reports of how well it works. However, after the release we saw
numerous reports complaining about bad audio quality, which was traced
back to having RNNoise enabled.

For some reason the outcome of having RNNoise enabled is very different
in different scenarios. Sometimes it works miraculously well and other
times it worsens the audio quality to an unbearable level.

There seems to be a higher chance of RNNoise messing up, when using
Windows, but the same effect has also been observed on Linux. It might
also depend on the quality of the used microphone (better quality = less
noise => RNNoise starts doing weird stuff), but we don't have any
definitive clues yet.

Because of this, we will change the default noise cancelling mode back
to Speex so that everyone for whom RNNoise actually works, cna enable
it, but we don't kill the experience for many folks by using an
unsuitable default value.

Fixes #5448
2022-05-18 08:36:45 +02:00
Davide Beatrici
d3c1420cef MAINT(build): Update SHA512 hash in zeroc-ice-mumble portfile
004fe393ef
2022-05-17 20:20:03 +02:00
Robert Adam
8eeb20c76e
Merge PR #5679: FIX(positional-audio): Update GTAV plugin to version 1.59.2612 2022-05-17 13:13:42 +02:00
Magnus Groß
36b58eb688
FIX(positional-audio): Update GTAV plugin to version 1.59.2612 2022-05-17 11:56:45 +02:00
Robert Adam
e90736b591
Merge PR #5682: CI(macos): Use azure-hosted runner
We used to use a self-hosted macOS CI runner but since we were only
using that for Nightly builds, we frequently ran into situations where
some issue was only appearing there which meant that while for the PR
the CI succeeded, it would fail after the change had been merged in.

As this is not a desirable situation, this commit makes sure that we are
using the same macOS runner for all CI runs. For simplicity we are using
the Azure hosted ones for that purpose.
2022-05-17 10:12:53 +02:00
Robert Adam
e99ef2cade REFAC(macos,overlay): Remove unused symbol
The cgl symbol was resolved but never used, which triggered a warning
in our macOS CI.
2022-05-17 09:35:18 +02:00
Robert Adam
8c437640ae CI(macos): Use azure-hosted runner
We used to use a self-hosted macOS CI runner but since we were only
using that for Nightly builds, we frequently ran into situations where
some issue was only appearing there which meant that while for the PR
the CI succeeded, it would fail after the change had been merged in.

As this is not a desirable situation, this commit makes sure that we are
using the same macOS runner for all CI runs. For simplicity we are using
the Azure hosted ones for that purpose.
2022-05-17 09:33:48 +02:00
Robert Adam
fa6a780f1a
Merge PR #5674: CI: Remove x86 Windows build(s), update build environment(s)
f999081 enabled the MySQL plugin for Qt.

Turns out its master dependency (libmysql) cannot be built for x86:
microsoft/vcpkg#11214

This issue leaves us with two choices:

    Get rid of x86 builds altogether.
    x64 builds with MySQL plugin, x86 ones without. Potential confusion.

We asked on our Matrix channel whether anyone used official x86 releases.
Nobody did, which is a very good thing considering x86 (32 bit) CPUs are no more.

In addition to that, Microsoft dropped the platform with Windows 10 2004.
2022-05-17 09:32:51 +02:00
Davide Beatrici
82749a88f0 CI: Update build environment(s) 2022-05-17 08:04:11 +02:00
Davide Beatrici
f669e9d377 CI: Remove x86 Windows build(s)
f999081ab8 enabled the MySQL plugin for Qt.

Turns out its master dependency (libmysql) cannot be built for x86:
https://github.com/microsoft/vcpkg/issues/11214

This issue leaves us with two choices:

1. Get rid of x86 builds altogether.
2. x64 builds with MySQL plugin, x86 ones without. Potential confusion.

We asked on our Matrix channel whether anyone used official x86 releases.
Nobody did, which is a very good thing considering x86 (32 bit) CPUs are no more.

In addition to that, Microsoft dropped the platform with Windows 10 2004.
2022-05-11 09:35:28 +02:00
Davide Beatrici
4f50172c5c
Merge PR #5676: MAINT(vcpkg): Install protobuf 2022-05-11 08:27:26 +02:00
Davide Beatrici
32c8de9d83 MAINT(vcpkg): Install protobuf
It probably used to be a dependency of at least another package we install.
2022-05-11 00:40:58 +02:00
Robert Adam
e1c7ac4388
Merge PR #5671: CI(azure): Switch to using python3 instead of python 2022-05-09 14:49:42 +02:00
Robert Adam
5b29c03f3f CI(azure): Switch to using python3 instead of python 2022-05-09 14:03:31 +02:00
Robert Adam
d16ad421d4
Merge PR #5603: DOCS(build_linux): Added instructions for Debian 2022-05-09 10:07:23 +02:00
Robert Adam
a08d0e4a5c
Merge PR #5667: BUILD(macos): Fix plugins not getting bundled
If the osxdist script was not executed within the build directory, it
would not bundle the built plugins (most notably the Link plugin) as it
was using a relative path and was ignoring the binary dir command-line
option.

This is remedied by this PR.

Fixes #5571
2022-05-08 21:01:57 +02:00
Robert Adam
2d0c6be65b
Merge PR #5650: TRANSLATION: Translations update from Hosted Weblate 2022-05-08 20:41:57 +02:00
Robert Adam
4e2e53d0f9 BUILD(macos): Fix plugins not getting bundled
If the osxdist script was not executed within the build directory, it
would not bundle the built plugins (most notably the Link plugin) as it
was using a relative path and was ignoring the binary dir command-line
option.

This is remedied by this commit.

Fixes #5571
2022-05-08 20:25:43 +02:00
Robert Adam
c4abb61ac4 MAINT: Port osxdist script to Python 3
The script used to package the Mumble DMG file on macOS was still using
Python 2.

The port to Python 3 is performed by this commit.
2022-05-08 20:24:48 +02:00
Hosted Weblate
c920003505
TRANSLATION: Update Russian translation
Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

TRANSLATION: Update Russian translation

Currently translated at 99.9% (2087 of 2088 strings)

Co-authored-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Co-authored-by: Game one <denis.melnyk.2006@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Konstantin Goncharik <botankras@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ru/
Translation: Mumble/Mumble Client
2022-05-08 19:15:34 +02:00
Robert Adam
7394dc6093
Merge PR #5609: BUILD(client): Fix various issues
See individual commits for details

Fixes #5606
2022-05-08 19:15:26 +02:00
Jaggzh
63fe37ac81 DOCS(build_linux): Added instructions for Debian 2022-05-08 09:43:50 +02:00
Robert Adam
d8928227ca
Merge PR #5649: CI: Add dispatch for new releases
This will trigger a workflow in mumble-voip/mumble-docker every time
we release a new version here.
2022-05-08 09:12:03 +02:00