Klaus Basan
f8d59e7b04
[Worker] Use "m_validator->quitAndWait()" as validator now can "stop" long lasting functions
2020-06-12 18:42:40 +01:00
Klaus Basan
17ab66e50a
[FSD] Added "FSD" as prefix for messages
2020-06-12 18:42:40 +01:00
Klaus Basan
077677134c
[FSD] Clearer "too many lines" message
2020-06-12 18:42:40 +01:00
Klaus Basan
15353a1f1d
Based on the Linux crash, already added some newer SIMS
2020-06-12 18:42:39 +01:00
Klaus Basan
76e42cc16e
Minor fixes related to the SSL lib issue
...
https://discordapp.com/channels/539048679160676382/539925070550794240/691469857891418202
2020-06-12 18:42:39 +01:00
Klaus Basan
2607ebd7c6
Ref T776, renamed some matching settings
...
* the forced values did not force anything
* also adjusted UI form
2020-06-12 18:42:38 +01:00
Klaus Basan
5b3c011a15
Added "url" to signature "dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number, const QUrl &url)"
...
Allows to write log. messages with URL
2020-06-12 18:42:38 +01:00
Klaus Basan
7f4a68eb45
[WASAPI] another WASAPI fix trial
...
* disabled the initWindowsAudioDevices call as it seems to be pointless
* changed the order in CContextAudioBase::initVoiceClient
* init CAudioDeviceInfoList::allDevices BEFORE CAfvClient
see https://discordapp.com/channels/539048679160676382/539925070550794240/687769623827185671
2020-06-12 18:42:37 +01:00
Klaus Basan
24f3750843
[FSD] Use *-1 instead of "~" (not) for P/B inversion
...
* see discussion https://discordapp.com/channels/539048679160676382/539925070550794240/687390301530095634
* we now use *-1 inversion, not "~" (vPilot also uses *-1)
* rational: with "~" 0 becomes -1 (that is why we saw so many -1 P/B values on ground)
2020-06-12 18:42:37 +01:00
Klaus Basan
5decc7d917
[FSD] Use qFuzzyCompare for double comparison
...
fixes "warning: comparing floating point with == or != is unsafe"
2020-06-12 18:42:37 +01:00
Klaus Basan
84ae160b14
PBH, minor style adjustments
2020-06-12 18:42:37 +01:00
Klaus Basan
9bcc16b94e
Ref T773, validate received network data again
...
* ff no ICAO data are received, the model is not "ready for matching"
* in that case we verify the situation and query ICAO data again
* now we have to verify again, to see if the 2nd query suceeded (otherwise dangling)
2020-06-12 18:42:36 +01:00
Klaus Basan
2999aebf37
Ref T773, allow to update CG per model string
...
* needed if CG is overridden by "dot command"
* update all existing aircraft (in range) if changing CG per modelstring
* made "overriddenCGorDefault" public so it can be checked if overridden
* use overridden value in CContextSimulator::xCtxAddedRemoteAircraftReadyForModelMatching
* allow to clear overridden values
2020-06-12 18:42:36 +01:00
Klaus Basan
53d08384da
Ref T773, use complete string as modelstring for "cg" dot command
...
Example: "B773 B773_RR SDM"
2020-06-12 18:42:36 +01:00
Klaus Basan
ec92b6dc46
Ref T773, use closest positions for average height/elevation values
...
Testing with XPlane:
* even in EDDF the field elevations vary from 353-368ft, which means a difference of 15ft or 4m
* that means it is important to use the closest values
2020-06-12 18:42:36 +01:00
Klaus Basan
a5f4705bb1
Ref T773, style (simulator)
2020-06-12 18:42:35 +01:00
Klaus Basan
acd5ee5a3c
Ref T773, use correct transfer, avoid continously transferring because of wrong coordinates
...
* do not use own situation as reference for ground plane, but original coordinates of ground elv. position
* some functions renamed
2020-06-12 18:42:35 +01:00
Klaus Basan
271c6c4825
[AFV] Map reader, break while loop if application shuts down
2020-06-12 18:42:34 +01:00
Klaus Basan
fe1e976093
Ref T773, style
2020-06-12 18:42:34 +01:00
Klaus Basan
8e89488bae
Guard
2020-06-12 18:42:34 +01:00
Klaus Basan
181c2b8061
Ref T773, improved info texts and statistics values
2020-06-12 18:42:34 +01:00
Klaus Basan
f2096bd826
Ref T773, style
2020-06-12 18:42:34 +01:00
Klaus Basan
4120a2c77d
Ref T773, use "on ground" cached elevations for situations in simulator and airspace monitor
2020-06-12 18:42:33 +01:00
Klaus Basan
33b1e26460
Ref T773, cache ground elevations for "on ground" planes separately
...
Rational:
* Those values represent taxiways and runways
* we cache those longer and keep more
It is much more likely we need/can use these values
2020-06-12 18:42:33 +01:00
Klaus Basan
14ab60cb73
Guarding by "hasWebDataServices"
2020-06-12 18:42:33 +01:00
Klaus Basan
70e08fdf8b
Ref T773, allow to clear/write log. from interpolation UI via buttons
2020-06-12 18:42:33 +01:00
Klaus Basan
33b3cd5461
Ref T773, elevation handling style and minor improvements
2020-06-12 18:42:32 +01:00
Klaus Basan
287d96afea
Ref T773, added "hasMeanSeaLevelValue" and consistently use it
2020-06-12 18:42:32 +01:00
Klaus Basan
a629b70724
Ref T773, clear log when written, set object name for logger
2020-06-12 18:42:31 +01:00
Klaus Basan
f6c5e6f3cb
[FSD] Demote ASSERT to VERIFY
2020-06-12 18:42:31 +01:00
Klaus Basan
60b556f118
Ref T773, allow to set test elevation (from log.display)
2020-06-12 18:42:31 +01:00
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