Commit Graph

7942 Commits

Author SHA1 Message Date
Robert Adam
ec51a41cfe
Merge pull request #171: PulseAudio: Cork audio input when it isn't needed 2020-03-02 14:41:14 +01:00
Colin Stagner
7d0b933a7e PulseAudio: cork input when it is not required
When self-muted or deafened, "cork" the audio input. Corking
instructs the audio source to stop producing audio samples which—
when the user is muted—are not needed and would never be
transmitted.

Without samples to process, the input DSP doesn't run. Corking can
halve mumble's CPU consumption when muted, but your mileage may
vary.

This patch adds the MainWindow::corkAudioInputStream() signal to
request changes in the corking state. Other audio backends could
be modified to connect to this signal.
2020-03-01 21:47:49 +01:00
Robert Adam
5a4f5297a3
Merge pull request #3929: Improve channel password handling 2020-02-28 19:18:48 +01:00
Robert Adam
81c0e93d92 UI: Show lock icons next to enter restricted channels (either a locked or an unlocked one, depending on whether the user can enter the channel or not) 2020-02-28 18:41:00 +01:00
Robert Adam
3a3644b5ef Theme (Mumble): Updated submodule to include new images 2020-02-28 18:41:00 +01:00
Robert Adam
047c5c03e7 Theme (Classic): Added icons for locked and unlocked lock 2020-02-28 18:41:00 +01:00
Robert Adam
dfa90fc173 src/mumble/Messages.cpp: Include hint that adding access tokens might grant enter rights to the channel, in the permission denied message, if the denied permission is ENTER and the channel has (to the client's knowledge) enter restrictions 2020-02-28 18:41:00 +01:00
Robert Adam
69fe7c6909 Protocol: Added fields 'is_enter_restricted' and 'can_enter' to the ChannelState message in order for the protocol to be able to tell clients about which channels they will be able to enter 2020-02-28 18:41:00 +01:00
Robert Adam
7f7cc6c553 ACL: Added isPassword() function and made use of it in ACLEditor 2020-02-28 18:41:00 +01:00
Robert Adam
84735650d5
Merge pull request #3978: Fixups for #3927 2020-02-27 18:30:22 +01:00
Robert Adam
b0270e0562
Merge pull request #3958: Replace deprecated constructs 2020-02-27 17:03:04 +01:00
Robert Adam
2fe853b042 murmur/Messages.cpp: Use const reference in foreach loop 2020-02-27 16:04:24 +01:00
Robert Adam
cb00b828e1 murmur/Messages.cpp: Formatted class-member initializer list 2020-02-27 16:04:00 +01:00
Robert Adam
51683978d3 mumble/ServerHandler.cpp: Use const reference instead of copy in foreach-loop 2020-02-27 16:03:09 +01:00
Robert Adam
d4d02487f3 Group.h: Fixed typo in comment 2020-02-27 15:56:51 +01:00
Robert Adam
f53d935312 murmur/Messages.cpp: Added periods to the end of sentences in comments 2020-02-27 15:53:26 +01:00
Robert Adam
4d1f98b485 Mumble.proto: Fixed comment formatting 2020-02-27 15:50:53 +01:00
Robert Adam
59b7013539 Qt: Use QAtomicInteger::loadRelaxed() instead of QAtomicInteger::load()
for Qt 5.14 and higher
2020-02-27 15:31:35 +01:00
Robert Adam
c6a0984383 Qt: Adapted to use range-based constructors for lists/vectors/sets for
Qt 5.14 and higher

Qt 5.14 introduces a bunch of range-based constructors for the various
collection-classes that are now to be preferred over the generic
toList(), toSet(), toXY() functions
2020-02-27 15:29:48 +01:00
Robert Adam
85c1e8c9cf Qt: Removed QPainter::HighQualityAntialiasing as it is obsolete 2020-02-27 15:29:25 +01:00
Robert Adam
260f665bcf mumble/Audio.cpp: Use QElapsedTimer instead of QTime as the latter appears to be deprecated 2020-02-27 15:26:45 +01:00
Robert Adam
b263b91340 Qt: Replaced deprecated sprintf() by asprintf() for Qt 5.5 and higher
See https://stackoverflow.com/questions/12746885/why-use-asprintf-instead-of-sprintf
for a reason why sprintf() has been deprecated in favor of asprintf()
2020-02-27 15:27:45 +01:00
Robert Adam
85d793eece ProtoBuf: Replaced ByteSize() with ByteSizeLong() for Protobuf 3.4 and
higher
2020-02-27 15:26:45 +01:00
Robert Adam
8bb5cafcac Merge PR #3927: Added support for temporary access tokens 2020-02-08 14:02:29 +01:00
Robert Adam
cdee0b772d
Merge PR #3957: Improve Azure-Pipelines Windows build 2020-01-30 21:56:09 +01:00
Robert Adam
abc3b916ef scripts/azure-pipelines/install-environment.ps1: Increase the performance of the Invoke-WebRequest by disabling the 'progressbar' 2020-01-30 18:49:26 +01:00
Robert Adam
897860207f scripts/azure-pipelines/install-environment.ps1: Surround Invoke-WebRequest with try/catch to display error message on failure 2020-01-30 18:47:56 +01:00
Davide Beatrici
281fe9e5f3
Merge PR #3956: Ensure CI reflects the actual build status 2020-01-28 23:33:46 +01:00
Robert Adam
30a6b52277 scripts/travis-ci/script.bash: Remove && operator as this breaks the intention of bash's -e flag 2020-01-28 13:30:13 +01:00
Robert Adam
0ad3b54ebd scripts/azure-pipelines/build_install-environment_macos.bash: Remove && operator as this breaks the intention of bash's -e flag 2020-01-28 13:29:02 +01:00
Robert Adam
87ed3ac88b scripts/azure-pipelines/build_linux.bash: Remove && operator as this breaks the intention of bash's -e flag 2020-01-28 13:28:11 +01:00
Robert Adam
d688d76ad8 scripts/azure-pipelines/build_macos.bash: Remove && operator as this breaks the intention of bash's -e flag 2020-01-28 13:20:49 +01:00
Robert Adam
ce40787cc5
Merge PR #3613: Update SimpChinese installer and qt translation 2020-01-28 12:58:15 +01:00
Robert Adam
fd87fd22c8
Added aliases of Robert Adam 2020-01-28 12:47:16 +01:00
Robert Adam
d7a6c3c2cd
Merge branch 'master' into patch-1 2020-01-28 12:40:41 +01:00
deluxghost
16a9b5c79d Update zh_CN translation for installer and qt 2020-01-28 12:39:24 +01:00
Robert Adam
98f76de015 mumble/main.cpp: Always use bundled translations, if they are specified to overwrite Qt-translations 2020-01-28 12:39:24 +01:00
Robert Adam
e011be055c Added configuration file for specifying whether a provided qt-translation should be used as a fallback only or whether it should override an existing Qt translation 2020-01-28 12:39:24 +01:00
Robert Adam
1ffbbc44d1
Merge PR #3955: Allow bundled translations to overwrite Qt's 2020-01-28 12:28:35 +01:00
Robert Adam
80c879b898 mumble/main.cpp: Always use bundled translations, if they are specified to overwrite Qt-translations 2020-01-28 08:38:40 +01:00
Robert Adam
ea1ff86c1e Added configuration file for specifying whether a provided qt-translation should be used as a fallback only or whether it should override an existing Qt translation 2020-01-28 08:15:38 +01:00
Robert Adam
72e1f47b7b
Merge PR #3939: Transifex translation update 2020-01-20 19:26:30 +01:00
MumbleTransifexBot
6ec5b40cf0 Transifex translation update
Mode: default
Minimum percent translated: 0
Matched 44 languages
2020-01-20 19:24:40 +01:00
Robert Adam
f384cca9de
Create no-response.yml
This is the configuration file for the no-response-bot
2020-01-19 20:22:55 +01:00
Robert Adam
bf8223ed26
Merge PR #3946: Created issue templates 2020-01-19 17:25:31 +01:00
Robert Adam
a176d67fb8 Created issue templates 2020-01-19 17:22:47 +01:00
Raven
4b8dcf4ba2
Merge PR #3934: Add possibility to log, before g.l is available 2020-01-18 19:32:59 +01:00
Davide Beatrici
4823452027 Translation update
Updating 'mumble_en.ts'...
    Found 1722 source text(s) (1 new and 1721 already existing)
2020-01-18 18:42:23 +01:00
Robert Adam
2d401567b1 src/mumble/Audio.cpp: Turned warning about Opus-error into actual Log-msg that will be shown in the UI
Fixes #3672.
2020-01-18 18:41:56 +01:00
Robert Adam
b16951a4b0 Logging: Implemented framework for deferred log messages that can be used as long as there is no Log instance available 2020-01-18 18:41:56 +01:00