Klaus Basan
9c01983f25
[Mappimg tool] Clear "own models" if there are NO models and hence NO "models changed" signal
2020-06-12 18:42:39 +01:00
Klaus Basan
8c2d2b0667
Floating dock widget close issue with Qt 5.14.1
...
see https://discordapp.com/channels/539048679160676382/539846348275449887/691667651285483564
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
1e789c0951
MacOS specific message
2020-06-12 18:42:39 +01:00
Klaus Basan
4d75c1576e
[XPlane] Avoid elevation requests and minor style fixes in XPlane driver
2020-06-12 18:42:39 +01:00
Klaus Basan
651e6bdacf
Stop audio output for SELCAL player during shutdown
2020-06-12 18:42:39 +01:00
Klaus Basan
6841297c6e
Ref T776, matching flag "ForceModeFlag"
2020-06-12 18:42:39 +01:00
Klaus Basan
fd3ad207bd
[XSwiftBus] Allow to write an updated xswiftbus.conf file
...
In a distributed core/UI swift we need to write on XPlane side
2020-06-12 18:42:39 +01:00
Klaus Basan
80e97f749f
[XSwiftBus] Misc. style fixes
2020-06-12 18:42:38 +01:00
Klaus Basan
db81acf574
[XSwiftBus] Added missing return
...
https://discordapp.com/channels/539048679160676382/539925070550794240/689926933642870868
2020-06-12 18:42:38 +01:00
Klaus Basan
3d1dad989e
[TCAS] Fixed "mixed" values for debug/TCAS xswiftbus.conf file
...
Also only update if simulator XPlane is not connected, otherwise values are updated there
This allows to update the values BEFORE XPlane starts and avoids a restart
2020-06-12 18:42:38 +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
1da66ce6e9
[Worker] Stop timer in correct thread
2020-06-12 18:42:38 +01:00
Klaus Basan
5718f95819
Tone player "myself" guard
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
f840244bdb
[FSD] Adjust UNIT tests for *-1 fix
2020-06-12 18:42:38 +01:00
Klaus Basan
e9decab36a
Avoid ERROR: Missing XSWIFTBUS_COMMIT variable
...
see discussion: https://discordapp.com/channels/539048679160676382/539925070550794240/687795747403595847
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
Lars Toenning
38a7542265
[FG] Fix compiler warning
2020-06-12 18:42:37 +01:00
Lars Toenning
469a057a86
[FG] Fetching elevation from sim
2020-06-12 18:42:37 +01:00
Lars Toenning
22a70e083e
[FG] Enhancing version compatibility check
2020-06-12 18:42:37 +01:00
Lars Toenning
42fd0ed86e
Add support for non multi-arch linux distros
2020-06-12 18:42:37 +01:00
Lars Toenning
4a7af7ee3d
[FG] Sending AI ground speed to FG
2020-06-12 18:42:37 +01:00
Lars Toenning
8053504acb
[FG] Getting ground elevation
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
Mat Sutcliffe
9aac7576c1
[xswiftbus] Fixed line number counting in config parser
2020-06-12 18:42:37 +01:00
Mat Sutcliffe
a6eaa57f05
[xswiftbus] Fixed wrong error message in config parser
2020-06-12 18:42:36 +01:00
Mat Sutcliffe
e6207198ad
[xswiftbus] Fixed wrong config variable name
2020-06-12 18:42:36 +01:00
Klaus Basan
3174e15b53
[XSwiftBus] Add timestamp for logger
2020-06-12 18:42:36 +01:00
Mat Sutcliffe
99033f8538
Update libxplanemp
2020-06-12 18:42:36 +01:00
Klaus Basan
7f6e3e5378
[Worker] In order to make background validation (worker) stoppable, using an "atomic bool stop flag"
...
Originally Ref T145, Ref T647
2020-06-12 18:42:36 +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
687d003bb9
Settings style
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
93652ccd43
String utils, "const QChar &char"
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
57153d45d7
Ref T773, style
2020-06-12 18:42:35 +01:00
Klaus Basan
b0d5b3c6d1
[Worker] Log. how long it takes to quitAndWait a worker
...
* sometimes the shutdown sequence of swift takes extremly long, this is to identify which workers are affected
* reduced "wait time"
* function so each worker can have its own "wait" time
* for a worker there are 2 "waits", the quitAndWait of the worker and the wait of CRegularThread (dtor)
Originally Ref T145, T647
2020-06-12 18:42:35 +01:00
Klaus Basan
049ded16cc
Allow some long lasting validation functions to be stopped/interrupted from "outside"
2020-06-12 18:42:35 +01:00
Klaus Basan
f3bfaa3179
Minimal string concat improvements
2020-06-12 18:42:35 +01:00
Klaus Basan
b1d1880d43
Emulated driver: Use QPointer for widget as the widget can be deleted elsewhere as well
2020-06-12 18:42:35 +01:00
Klaus Basan
3ffedd16ec
Ref T733, allow to save/load a flight plan template
2020-06-12 18:42:35 +01:00
Klaus Basan
59f8a7f88b
Ref T773, [FG] avoid "NaN" elevations
2020-06-12 18:42:35 +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
08186e6559
Ref T773, log.categories for XSwiftBusProxy
2020-06-12 18:42:35 +01:00
Klaus Basan
08ef16e1a9
Ref T773, check for "nan" for elevations
2020-06-12 18:42:35 +01:00