Klaus Basan
5f1bd14fcf
Ref T773, style
2020-06-12 18:42:31 +01:00
Roland Rossgotterer
15ced5a77f
[FSD] Ignore client query type 'NEWATIS' from private FSD servers
2020-06-12 18:42:30 +01:00
Klaus Basan
0482b9883d
[DB readers] misc fixes found during "datastore down" investigation
...
* added CEntityFlags::AircraftCategoryEntity in config lists
* flag to name
* missed initial reading of categories
* style
2020-06-12 18:42:30 +01:00
Klaus Basan
b4a7d59b7b
Ref T773, allow to "fake" elevations for testing purposes and improved elevation logging in the interpolation log. display
...
* history of requested elevations
* bogus elevations for testing if needed (mostly to test the display)
2020-06-12 18:42:28 +01:00
Klaus Basan
812619470b
Ref T773, style and comments
2020-06-12 18:42:28 +01:00
Klaus Basan
7dcfed613f
[AFV] style: use "m_" prefix as it makes the functions easier to read
2020-06-12 18:42:25 +01:00
Klaus Basan
34817a83d5
[AFV] Guard against "missing" crypto channel (=> ASSERT)
2020-06-12 18:42:24 +01:00
Klaus Basan
481833b003
BLACK_AUDIT_X for killTimer, trace Qt killTimer warnings in "our" code
2020-06-12 18:42:24 +01:00
Mat Sutcliffe
e50bb6d5c7
[xplane] Add monitoring of the number of minutes behind due to low FPS
2020-06-12 18:42:23 +01:00
Mat Sutcliffe
377b2f6a3e
[xplane] Add monitoring of the number of track miles lost due to low FPS
2020-06-12 18:42:23 +01:00
Mat Sutcliffe
4bfa5d5f40
Fix assert due to NaN in CXSwiftBusTrafficProxy::getElevationAtPosition
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
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
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
5542fcd7d3
Unified how settings are read in audio context
2020-01-18 02:46:56 +01:00
Mat Sutcliffe
35cfaebc7d
[xplane] Added display of simulation time ratio in simulator component
2020-01-13 18:53:30 +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
f8e8318902
Log.category for FSD and minor style changes
2020-01-07 19:57:27 +00:00
Mat Sutcliffe
4a0d8e9864
Fixed most Qt 5.14 deprecation warnings
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
Klaus Basan
081e663997
FSD text message
2020-01-07 19:57:24 +00:00
Klaus Basan
30036b6b82
Dot command "help"
2020-01-07 19:57:24 +00:00
Klaus Basan
b3ad7ccdd9
Query real names for ATC stations again,
...
so we learn about changed "persons" (i.e. real name)
see https://discordapp.com/channels/539048679160676382/632279098244333581/655740912336633868
2020-01-07 19:57:24 +00:00
Klaus Basan
524a9b3793
ATC stations, style and minor fixes
2020-01-07 19:57:23 +00:00
Klaus Basan
a6a787fdd7
Metar, slight style adjustments
2020-01-07 19:57:23 +00:00
Klaus Basan
091fa5f338
[Audio] Get/set audio device volume (this is the device's value, NOT the logical AFV value)
2020-01-07 19:57:23 +00:00
Klaus Basan
e1498adc8e
Minor fixes, style
...
* make sure ATC view is updated when disconnected
* prepared rounding, can be enabled at any time
2020-01-07 19:57:22 +00:00
Klaus Basan
8dd0a06c81
[AFV], Ref T731, Ref T739 remember audio settings in launcher
2020-01-07 19:57:22 +00:00
Klaus Basan
b9ea40e8d1
[FSD] wallop message sending incomplete fixed
2020-01-07 19:57:22 +00:00
Klaus Basan
ef4640e66f
[Hotkey] Style
2020-01-07 19:57:21 +00:00
Klaus Basan
9dbb441e44
[FSD] Send auth(entication) messages as direct messages
2020-01-07 19:57:21 +00:00
Klaus Basan
c104e2105c
[FSD] FSD range can be disabled and range restriction only for VATSIM
...
Rational FSC eV does not want restriction
2020-01-07 19:57:21 +00:00
Klaus Basan
42648f0c12
[FSD] Slightly adjusted sending of queued FSD messages
2020-01-07 19:57:21 +00:00
Klaus Basan
c2d2d05566
Log.message
2020-01-07 19:57:21 +00:00
Klaus Basan
64b17b787c
Ref T761, relay original sender AND recipient
...
* display sent messages of partner callsing as send by myself
* allow PMs from partner as normal PMs
2020-01-07 19:57:21 +00:00
Klaus Basan
a54f804cf1
Ref T761, display partner callsign in adv.login screen
...
* added context functions
* UI readonly fields
2020-01-07 19:57:21 +00:00
Klaus Basan
172fa1ddc8
Fix linker error with newer gcc versions
2020-01-07 19:57:21 +00:00
Klaus Basan
4e2a47fc41
Ref T761, use "preset" callsign if available
...
Avoids issue with partner callsign
2020-01-07 19:57:20 +00:00
Klaus Basan
f07ca09424
Ref T761, partner callsign message relay (swift with co-pilot)
...
* handle server error messages correctly as "error"
* (relayed) sender can be ATC or aircraft
* relay private messages correctly
2020-01-07 19:57:20 +00:00
Klaus Basan
34f9fb89d6
[FSD] Start FSD client in own thread (CContinuousWorker)
2020-01-07 19:57:20 +00:00
Klaus Basan
4ef17fed6a
[FSD] Threaded (worker) FSD client, based on CContinuousWorker
...
* locks
* call functions in own thread
2020-01-07 19:57:20 +00:00
Klaus Basan
928a76a042
Minor tweaks for METAR info
2020-01-07 19:57:20 +00:00
Klaus Basan
0876379729
[FSD] Style
2020-01-07 19:57:20 +00:00