Commit Graph

31 Commits

Author SHA1 Message Date
Robert
af7dac72f4 FORMAT: Run clang-format 10 on all C/CXX source-files 2020-09-11 18:29:33 +02:00
Popkornium18
f966b3ef37 REFAC(shared): replace NULL with nullptr
This changes all occurances of NULL in the src source
dir to nullptr. Additionally explicit comparisons with NULL were
removed.
2020-07-02 12:19:16 +02:00
Davide Beatrici
4e67a2fafb Auto-update LICENSE.header in source files 2020-01-07 03:09:22 +01:00
Davide Beatrici
15831dbca8 Add missing includes for "no-pch" build
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>").
2019-09-12 22:08:39 +02: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
Davide Beatrici
2c045c85d6 Timer.cpp: Fix missing Boost symbol for MinGW 2017-03-17 19:14:20 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
Mikkel Krautz
aba01d871e Timer: use header-only boost::chrono if it is available.
This re-introduces the functionality of PR #2333 but
ensures that the breakage noted in mumble-voip/mumble#2366
no longer happens.

Fixes mumble-voip/mumble#2366.
2016-07-02 12:16:23 +02:00
Mikkel Krautz
2c3e79126a Timer: use clock_gettime with CLOCK_MONOTONIC if available.
Fixes mumble-voip/mumble#1065
2016-07-02 12:14:57 +02:00
Mikkel Krautz
6ad70e4de0 Timer: revert PR #2333 ("use boost::chrono::steady_clock as the underlyingmonotonic timer.") 2016-07-02 12:14:57 +02:00
Mikkel Krautz
8929c7416f Timer: use boost::chrono::steady_clock as the underlying monotonic timer.
Once we require C++11, we can drop this, and use std::chrono instead.

Fixes mumble-voip/mumble#1065
2016-06-06 22:29:33 +02: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
Benjamin Jemlich
7529297760 Fix uppercase vs lowercase vs PCH include problems 2011-05-15 17:15:54 +02:00
Thorvald Natvig
f3437a6ba7 Update copyright year ranges of dev team. 2011-03-18 05:52:51 +01:00
Martijn Stolk
db2538f371 Overlay: add sorting options, including ability to sort on last state change 2011-03-09 21:57:51 +01:00
Martijn Stolk
6d62ae7237 Overlay: add support for displaying active users
Active users meaning those that are currently talking and users that have
recently talked within a configurable amount of time.
2011-03-09 21:44:55 +01:00
Stefan Hacker
50a136c64f Fix Timer class for systems with unusually high performance frequency numbers or long uptime 2010-12-22 13:20:55 +01:00
Thorvald Natvig
16339bfc91 Update license to 2010 2010-01-05 08:49:22 +01:00
Thorvald Natvig
1260b957fc Speed tests for resamplers 2009-10-27 15:01:46 +01:00
Thorvald Natvig
ac0b3cf4d4 Indenting 2009-03-04 16:32:43 +01:00
Thorvald Natvig
ad2b8e2149 Update copyright for 2009
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1380 05730e5d-ab1b-0410-a4ac-84af385074fa
2009-01-05 15:12:48 +00:00
Thorvald Natvig
dc7e438976 Update copyright for 2008
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@908 05730e5d-ab1b-0410-a4ac-84af385074fa
2008-01-05 16:25:48 +00:00
Thorvald Natvig
0df11b8886 Microbenchmark
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@682 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-03 19:47:44 +00:00
Thorvald Natvig
0ef9c34494 Per-server logging
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@672 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-08-01 21:21:01 +00:00
Thorvald Natvig
5be2268281 IP Binding for murmur
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@649 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-07-20 03:07:22 +00:00
Thorvald Natvig
0147de1a7f Small optimization to win32 timer.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@641 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-07-19 21:33:38 +00:00
Thorvald Natvig
0372cc2540 Use new Timer for murmur
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@635 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-07-19 15:50:36 +00:00
Thorvald Natvig
d4a11186ef Ping measurement in Server Information, and optimized AudioInput->UDP latency.
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@634 05730e5d-ab1b-0410-a4ac-84af385074fa
2007-07-19 14:55:17 +00:00