Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-16FORMAT: Run clang-format 10 on all source filesRobert Adam
2021-03-06REFAC: Use namespace for QtUtilsRobert Adam
2021-03-06REFAC(client): Remove global "g" macroRobert Adam
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.
2021-03-02MAINT: Update copyright notice to 2021Robert Adam
This was done by running scripts/updateLicenseHeaders.py and then manually editing the LICENSE file.
2021-01-04FIX(client,ui): Crash by pressing Esc in nickname dialogRobert Adam
When having the dialog open that allows to set a custom nickname to another client (UserLocalNicknameDialog) pressing Esc would crash Mumble. This is due to the Esc key triggering the dialog's reject() function in which the dialog's smart-pointer object is removed from a global list and therefore goes out of scope. This results in the dialog getting deleted, but since this is done in a member function of the dialog, there is still code accessing the now deleted object (in Qt's internals) and this is causing the segmentation fault. The fix is to use a custom deleter function for the dialog pointer that instead of using delete on it, calls deleteLater() on it. Thus the deletion of the object is left to Qt which can then do it at a point at which it is done with it. As this is something that could get useful in other locations as well, the custom deleter function was outsourced into its own file. Fixes #4666
2020-12-20FEAT(client): Add possibility to set nicknametandunn
As requested in #3967 this commit implements the ability to set nicknames for other users when connected to the same server. The change is added to the client database by the user id for persistence. In order to set a nickname, a user can right click on that user and click Set Nickname. This opens a window where the user can enter the new nickname. If the text field is cleared, no nickname is displayed. Implements #3967