Commit Graph

24 Commits

Author SHA1 Message Date
Robert Adam
249d2c6298 MAINT: Update copyright headers to 2023 2023-01-08 15:54:35 +01:00
Robert Adam
d100ff1467 MAINT: Update copyright to 2022 2022-01-04 20:17:33 +01:00
Robert Adam
c5dbe6803d FIX(client): Sort users case-insensitively
In #4875 we changed the comparing between users to be locale-unaware.
During this change, the sorting was made case-sensitive, whereas before
it (potentially) was not.

However, intuitively a user will expect a case-insensitive ordering of
users in the UI. The only problem with that is that a case-insensitive
comparison will not yield a strong ordering between users that use
usernames that only differ in casing (e.g. "tom" and "Tom").

In order to avoid this problem, we now first perform a case-insensitive
comparison and fall back to a case-sensitive one, should the first
comparison yield "equal".

Fixes #5293
2021-11-03 14:55:16 +01:00
Robert
56db3410c5 MAINT: Update copyright notice to 2021 (Part II)
Apparently the first commit (59ae429972)
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.
2021-04-09 15:41:49 +02:00
Robert Adam
8a3847c7d3 FIX(client, ui): Ordering of Users inconsistent
If two persons are reading out the users in a channel in the order they
are rendered, chances are that they will read the names in a different
order. This is because the ordering of users takes the currently used
locale into account that can differ from machine to machine.

This is an inconsistency that one probably does not expect.

Therefore this commit changes back to using a lexicographical comparison
that should be the same on all machines, regardless of the locale.

Fixes #4873
2021-03-18 09:11:30 +01:00
Robert Adam
59ae429972 MAINT: Update copyright notice to 2021
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
2021-03-02 10:15:01 +01:00
Robert
af7dac72f4 FORMAT: Run clang-format 10 on all C/CXX source-files 2020-09-11 18:29:33 +02:00
Davide Beatrici
4e67a2fafb Auto-update LICENSE.header in source files 2020-01-07 03:09:22 +01:00
Davide Beatrici
5a07244a44 Don't include PCH headers directly
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."
2019-09-12 00:13:35 +02:00
Davide Beatrici
b427333257 Auto-update LICENSE.header in source files 2019-01-25 04:56:19 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Mikkel Krautz
395c084b7a src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Benjamin Jemlich
07737a314c Fix include guards and PCH includes 2011-11-09 00:12:10 +01:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Stefan Hacker
576c9eedfa Fix regression in user sorting 2010-11-20 16:15:22 +01:00
Stefan Hacker
ce8cedf771 Unify User/ClientUser sorting. Fix "usernames in overlay are in different order" #3110572 . Fix other sorting issues. Fix OverlayTest compilation. 2010-11-18 02:16:33 +01:00
arrai
3ef3ea8df9 Add recording state handling to the client 2010-08-16 01:20:13 +02:00
Benjamin Jemlich
d556ca3ce0 priority speaker - client side 2010-03-30 11:28:25 +02:00
Thorvald Natvig
16339bfc91 Update license to 2010 2010-01-05 08:49:22 +01:00
Thorvald Natvig
d41afda372 Move mumble/murmur specific state out of User 2009-08-21 02:22:43 +02:00
Thorvald Natvig
fe479036ba Show suppress state in client 2009-07-21 15:19:57 +02:00
Thorvald Natvig
866a66d339 ifdef out module-specific parts of shared code 2009-07-13 16:37:39 +02:00
Thorvald Natvig
51120fe838 s/Player/User/ 2009-05-02 17:52:14 +02:00