Age | Commit message (Collapse) | Author |
|
|
|
Apparently the first commit (59ae429972c16c377135bcccfee646b7df446933)
did not include all files.
Furthermore the used script tended to produce funny results in certain
cases. This has been fixed and as a result thereof a few more changes
were made in this second run.
|
|
Defining a macro (global namespace) named "g" as a shortcut for
accessing the Global struct never was a good idea. In order to avoid the
problems this created (you must never name a variable "g" or include
Global.h before a header that may have such a variable), the macro was
removed and was instead replaced with a static function Global::get()
that returns a reference to the Global struct.
Just as with the old g macro, the existence of the respective pointer is
not explicitly checked before dereferencing. It is assumed that
everywhere where it is used, the Global struct has already been created.
|
|
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
|
|
|
|
This changes all occurances of NULL and Q_NULLPTR in the mumble source
dir to nullptr. Additionally comparisons with NULL were changed to `if
(pointer)` if it would not be confusing. (e.g. booleans as parameters `
setEnabled(pointer != nullptr)`)
|
|
|
|
This commit adds all the missing includes when the PCH header is not used.
Also, some includes are reordered and/or made consistent (e.g. "#include <QtEndian>" -> "#include <QtCore/QtEndian>").
|
|
According to Qt's documentation the PCH header doesn't need to be included.
From https://doc.qt.io/qt-5/qmake-precompiledheaders.html:
"To make your project use precompiled headers, you only need to define the PRECOMPILED_HEADER variable in your project file."
"qmake will handle the rest, to ensure the creation and use of the precompiled header file. You do not need to include the precompiled header file in HEADERS, as qmake will do this if the configuration supports precompiled headers."
|
|
|
|
|
|
It turns out that TextToSpeech attempts to set the volume on its engines
near initialization time.
This made our lazy-initialization pretty much useless.
This commit tries to remedy that by storing the last value passed to setVolume.
It then uses that stored value the first time speech-dispatcher is initialized.
As a result, we only initialize speech-dispatcher in say(), not setVolume().
|
|
This commit should ensure that Mumble does not spawn
instances of the speech-dispatcher daemon for users that do not
use Text-to-Speech.
|
|
|
|
|
|
TTS language.
This commit adds code to TextToSpeech_unix to set
the desired TextToSpeech language that speech-dispatcher
should use.
In addition, this commit also adds a new setting,
"tts/language". This is a BCP 47-style language code
that TTS engines will attemp to adhere to.
I put it in, to allow users to still be able to use
an English TTS engine, while using Mumble in another
language.
For now, "tts/language" is a hidden setting -- it has
no UI to configure it.
Fixes mumble-voip/mumble#2066
|
|
Based on initial patch by Timo Gurr <timo.gurr@gmail.com>
|
|
|
|
|
|
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1380 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1002 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
(CONFIG+=no-whatver)
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@989 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@975 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@908 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@898 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@732 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@731 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@629 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@489 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@474 05730e5d-ab1b-0410-a4ac-84af385074fa
|
|
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@445 05730e5d-ab1b-0410-a4ac-84af385074fa
|