Mat Sutcliffe
dc6382d1bd
[qmake] Support for Clang on MinGW
2020-01-25 16:55:51 +00:00
Klaus Basan
08c004e69b
[AFV] Connect the network status change signal on both sides (core+UI),
...
as both sides can have independent audio (AFV) clients
This solves the issue that users have to restart audio on a "remote" swift GUI
2020-01-25 16:55:19 +00:00
Klaus Basan
ecf5d45993
Use qint64 for times as all QTimer values are qint64 (avoid warnings)
2020-01-24 21:11:57 +01:00
Klaus Basan
7f75e7a061
Minor UI fix
2020-01-24 19:43:17 +01:00
Klaus Basan
12f50dc92c
[FSD] Check for empty string in FSD serializer
...
* follow up of Q_UNREACHABLE
* without that check the UNIT test fails, as BLACK_AUDIT is called
2020-01-23 04:08:03 +01:00
Klaus Basan
c46ca3c616
[AFV] restart function
2020-01-22 20:02:01 +01:00
Klaus Basan
5f6912e814
[AFV] deadlock prevention in AFV client,
...
follow up of fixing the loading of audio settings
* use "m_mutexSampleProviders" for finer granularity
* call output/input volume in AFV client thread (avoid potential deadlocks)
* tryLock for a critical part which has caused deadlocks in the past (just precautionary)
remarks:
* mixing QTimer::singleShot and QMutex is mixing two concepts (not good)
* this is just a pragmatic apporach at this time to avoid some noticed issues as the AFVClient was 1st running in the main thread, then was moved into background (improved performance)
2020-01-22 19:47:25 +01:00
Klaus Basan
4d5e3ee0ae
Init context devices deferred as the settings are ONLY available after DBus is initialized
...
* we init in a context constructor
* a this time it is not clear:
** if we will use a DBus scenario
** or standalone scenario
2020-01-22 19:46:14 +01:00
Klaus Basan
4378b6c959
Detect if running with DBus (core + GUI) or just "standalone" (no swift DBus)
2020-01-22 19:46:14 +01:00
Klaus Basan
2704d5e542
minor UI adjustments
2020-01-22 19:46:14 +01:00
Klaus Basan
f9bc5ceec4
Trivial
2020-01-22 19:46:14 +01:00
Klaus Basan
bda20f8ff1
Ignore queries in FSD serializer, follows "Q_UNREACHABLE" fixes
...
See https://discordapp.com/channels/539048679160676382/539925070550794240/669186795790925848
2020-01-22 19:46:14 +01:00
Klaus Basan
bd39b0638c
Q_UNREACHABLE fix, minor style adjustments
2020-01-18 20:15:24 +01:00
Klaus Basan
785dc7f016
[XPlane][FG] Q_UNREACHABLE removal follow up
...
* removed CSimulatorXPlane::connectionFromString as this only works for session DBus
* renamed to "checkConnectionViaSessionBus"
* discussed around here: https://discordapp.com/channels/539048679160676382/539925070550794240/668105458300485652
2020-01-18 18:46:19 +01:00
Klaus Basan
2ff46c5e11
FPS (XPlane) formatting
2020-01-18 02:50:24 +01:00
Klaus Basan
6284ed0c5a
Minor style adjustments
2020-01-18 02:48:28 +01:00
Klaus Basan
5542fcd7d3
Unified how settings are read in audio context
2020-01-18 02:46:56 +01:00
Klaus Basan
455dc23b84
Utility function "isDefault" in settings cache
2020-01-15 02:44:32 +01:00
Klaus Basan
143ac8576a
Log.category for DBus server
2020-01-15 02:44:32 +01:00
Mat Sutcliffe
9dee6acef9
Update libxplanemp
2020-01-13 18:53:31 +00:00
Mat Sutcliffe
0a2001a68e
[xswiftbus] Use std::string_view for performance in CDBusMessage
...
This avoids repeated dynamic memory allocations in dbusMessageHandler
methods and elsewhere due to repeatedly constructing temporary strings.
std::string_view is a C++17 feature but also part of the Library
Fundamentals TS and available in all our compilers.
2020-01-13 18:53:31 +00:00
Mat Sutcliffe
0c444ca45c
[xswiftbus] Using raw string literal delimiter so parentheses can be embedded in the XML
2020-01-13 18:53:31 +00:00
Mat Sutcliffe
cd716bdfd5
[xswiftbus] Added missing method signatures
2020-01-13 18:53:30 +00:00
Mat Sutcliffe
20a2f3b9e7
[XP driver] Using unsigned for timer call counters, to avoid UB on overflow
2020-01-13 18:53:30 +00:00
Mat Sutcliffe
35cfaebc7d
[xplane] Added display of simulation time ratio in simulator component
2020-01-13 18:53:30 +00:00
Klaus Basan
c88b05a734
[AFV] Do not show audio LED on if audio is disabled
2020-01-10 01:26:21 +01:00
Klaus Basan
8c5fe89f6c
[Windows registry] Allow to clean all swift registry entries
...
* for uninstallation
* few users reported a hanging (white screen) swift issue, solved by "cleaning the registry"
see https://discordapp.com/channels/539048679160676382/539925070550794240/664557031784448010
2020-01-09 20:25:59 +01:00
Klaus Basan
e5449347e0
[qss] Format QTableView "corner"
2020-01-07 19:57:28 +00:00
Klaus Basan
9dc85da42d
Text message view, scroll down if sorted by timestamp
2020-01-07 19:57:28 +00:00
Klaus Basan
a1ea9a2e10
Fixed unit test warnings as discussed, see https://discordapp.com/channels/539048679160676382/539925070550794240/663426372651319336
2020-01-07 19:57:28 +00:00
Klaus Basan
8eaa4f7f15
Qt 5.14 hi-res adjustments, as HI-DPI screen handling has changed
...
* see // https://lists.qt-project.org/pipermail/development/2019-September/037434.html
* qss adjustemnts
* larger default sizes for core/launcher/client for 1920x1080 screens
2020-01-07 19:57:28 +00:00
Klaus Basan
2a3fd0e94c
Style
2020-01-07 19:57:28 +00:00
Klaus Basan
72c3abb1e7
[xswiftbus] display FPS in simulator data window
...
* added driver getAverageFPS function
* display in simulator component
2020-01-07 19:57:28 +00:00
Klaus Basan
548a12a502
Style
2020-01-07 19:57:28 +00:00
Klaus Basan
7d068cf979
Fix deprecated in GUI utility class
2020-01-07 19:57:27 +00:00
Klaus Basan
f8e8318902
Log.category for FSD and minor style changes
2020-01-07 19:57:27 +00:00
Mat Sutcliffe
0777d048c6
[installer] OpenSSL 1.1 binaries
2020-01-07 19:57:27 +00:00
Mat Sutcliffe
917cf11ca2
Update externals
2020-01-07 19:57:27 +00:00
Mat Sutcliffe
bb65506d22
Fix version number embedding in Windows EXE and DLL files
...
Remove our Windows resource files (*.rc)
and let qmake generate them instead.
2020-01-07 19:57:27 +00:00
Mat Sutcliffe
f056d4fcd6
New schema for the 4th segment of the swift version number
...
Based on a count of the number of commits since
any of the first 3 segments were changed.
2020-01-07 19:57:26 +00:00
Mat Sutcliffe
516c8a2fce
[xswiftbus] Added FPS monitoring
2020-01-07 19:57:26 +00:00
Mat Sutcliffe
836eb107a3
Smart xswiftbus compatibility check based on git commit SHA-1
...
This is more tolerant that the simple check based on version numbers.
Different versions can be compatible if they have the same SHA-1 when
considering only those files that can influence xswiftbus.
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
48d1521d3a
Correct filename extension
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
4a0d8e9864
Fixed most Qt 5.14 deprecation warnings
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
010aaf58b5
Enable deprecation warnings on MSVC
...
So we get these warnings when compiling on Windows.
They are already enabled on Unix.
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
af9c1852cc
Enable ISO C++ conformance mode for MSVC compiler
...
This avoids triggering a regression in compiler version 19.24.28314
(VS 2019 16.4.2 / VS 2019 C++ component v14.24)
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
fdce6824d2
Added missing includes
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
25946d1141
QDataStream has operators for enums since Qt 5.14
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
1f0c65135d
Use qmake $$files function to match wildcards
...
See https://bugreports.qt.io/browse/QTBUG-81003
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
dfdc468f9f
Using Qt 5.14.0
2020-01-07 19:57:24 +00:00