Klaus Basan
12403700ea
Distributor value object improvements
2020-06-12 18:42:45 +01:00
Klaus Basan
09d86aceb5
String utils minor improvements
2020-06-12 18:42:45 +01:00
Klaus Basan
92d53a4077
[FG] Do not send modelstring or a shorter livery string for FG
...
* FG does not support modelstrings for "flyable" planes
* remove unused setSimInfo functions, consolidated, cleanup
* simulator dependent "getSwiftLiveryString"
* encapsulated in getConfiguredLiveryString, getConfiguredModelString
* see https://discordapp.com/channels/539048679160676382/567091362030419981/698124094482415616
2020-06-12 18:42:45 +01:00
Klaus Basan
90e77ac9f1
[FS9] Weather grid checks
2020-06-12 18:42:45 +01:00
Klaus Basan
a0b8fbd158
[FS9] Style
2020-06-12 18:42:45 +01:00
Klaus Basan
f507d6d9cb
[FG] Use the same adjustments as in XPlane
...
* no ASSERT for connect checking
* renamed to onDBusServiceUnregistered
2020-06-12 18:42:45 +01:00
Klaus Basan
03dc641a5e
Ref T778, CSimulatorXPlane::handleProbeValue use isWater
2020-06-12 18:42:45 +01:00
Klaus Basan
524fe1a459
[Weather] Style
2020-06-12 18:42:44 +01:00
Klaus Basan
b63e127b13
[AFV] Verbose logging only for dev.builds
2020-06-12 18:42:44 +01:00
Klaus Basan
0e4938ebc5
[XP] Remove ASSERTs from XPlane driver
...
Based on https://discordapp.com/channels/539048679160676382/539486309882789888/697813600903102464
2020-06-12 18:42:44 +01:00
Mat Sutcliffe
22ebf6c5ea
Ref T778 XSwiftBus traffic service prodives water/land flag for elevations
2020-06-12 18:42:44 +01:00
Mat Sutcliffe
7c4fe83799
Ref T778 XSwiftBus service emits a signal when scenery is loaded
2020-06-12 18:42:44 +01:00
Klaus Basan
f68e3c2360
Minor CLANG warnings
2020-06-12 18:42:44 +01:00
Klaus Basan
8206fc6bb9
Ref T778, special terrain probe value handling for XP
...
* only request terrain probe up to a max. distance
* detect "isSuspiciousTerrainValue"
* See also https://discordapp.com/channels/539048679160676382/539925070550794240/696786452855390218
2020-06-12 18:42:44 +01:00
Klaus Basan
cfa96a3aeb
Ref T778, utility functions
2020-06-12 18:42:44 +01:00
Klaus Basan
004173b052
Style
2020-06-12 18:42:44 +01:00
Klaus Basan
9eaeb0f52b
[UI] Menu separator
2020-06-12 18:42:44 +01:00
Klaus Basan
ce9b9e3e5b
[FSD] Gradually increase number of read lines from FSD socket
...
* Avoid overflow by gradually reading more lines
* Also improved sending in the same way
2020-06-12 18:42:44 +01:00
Klaus Basan
b71dfe482c
Ref T778, further elevation verifications
2020-06-12 18:42:44 +01:00
Klaus Basan
bce78aa18e
Ref T778, QReadWriteLock::Recursive
2020-06-12 18:42:44 +01:00
Klaus Basan
1821b6e6c5
Ref T778, added/improved removeElevationValues, cleanElevationValues
2020-06-12 18:42:43 +01:00
Klaus Basan
919b6e9515
Fixed warning message
2020-06-12 18:42:43 +01:00
Klaus Basan
3ff8694718
Ref T778, utility functions geo objects
2020-06-12 18:42:43 +01:00
Klaus Basan
2ace391325
Disable EOL (timebomb)
2020-06-12 18:42:43 +01:00
Klaus Basan
cc59d70694
Updated the JSON files from DB
2020-06-12 18:42:43 +01:00
Klaus Basan
cc887ea0f8
Ref T778, also update sim.data if elevation did change
...
Use ISimulator::isEqualLastSent in equalPbhVectorAltitudeElevation
2020-06-12 18:42:43 +01:00
Klaus Basan
46d417c5a2
Ref T778, style and comments, debug hints
2020-06-12 18:42:43 +01:00
Klaus Basan
829777bf3a
Ref T778, added "likelyOnGroundElevation" as parameter for "ememberElevationAndSimulatorCG"
2020-06-12 18:42:43 +01:00
Klaus Basan
09a2377197
Ref T778, allow to re-calculate all aircraft from the log.display
2020-06-12 18:42:43 +01:00
Klaus Basan
373e45e958
Ref T778, some smaller style fixes/improvements
...
for the "underground" airplanes as reported by AK
This does NOT fix the issue, but minor shortcomings
found during the investigation
* style
* checks for "developer" env.
2020-06-12 18:42:43 +01:00
Klaus Basan
cb814583f6
Ref T783, splitter for ATIS field
2020-06-12 18:42:42 +01:00
Klaus Basan
f56adb7af4
[FSD] Ignore IVAO RegistrationInfo
2020-06-12 18:42:42 +01:00
Klaus Basan
5eaa8db1a2
[FSD] use Serializer::fromQString function, to static_cast
...
see https://discordapp.com/channels/539048679160676382/539925070550794240/694955298217263124
2020-06-12 18:42:42 +01:00
Klaus Basan
81049cd835
[FSD] Adjusted logging of unknown FSD types, queries ....
...
* made those simple log. messages
* only log. those once
See https://discordapp.com/channels/539048679160676382/539925070550794240/694927156748222475
2020-06-12 18:42:42 +01:00
Klaus Basan
299859646a
VATSIM data file parser "fixes"
...
- Limit the number of parser errors going to the log
- stop parsing if no attributes can be obtained (otherwise we see too many parser messages)
2020-06-12 18:42:42 +01:00
Roland Rossgotterer
e997940be9
Update libxplanemp
2020-06-12 18:42:42 +01:00
Klaus Basan
e13dcd7d7d
Fix for graceful shutdown to avoid "nullptr" issue
...
see https://discordapp.com/channels/539048679160676382/539925070550794240/694331123643187232
2020-06-12 18:42:42 +01:00
Klaus Basan
b125d474c7
Keep application in {} block to force deletion of the UI
2020-06-12 18:42:42 +01:00
Klaus Basan
2cb10c1835
Minor fix to avoid issues
2020-06-12 18:42:42 +01:00
Klaus Basan
cb78453e7c
Make sure contexts are "gracefulShutdown"
...
The shutdown was NOT called as it was canceled because of being in shutdown mode
2020-06-12 18:42:42 +01:00
Klaus Basan
53bd5e6be7
Close modal widgets on shutdown and
...
"kill" still floating dock widgets (HACK!)
2020-06-12 18:42:42 +01:00
Klaus Basan
53ed37d7fd
Changed shutdown order in facade
...
* audio first, with disconnect
* then network
rational: logoff from the network first
2020-06-12 18:42:42 +01:00
Klaus Basan
507c9e57d7
Guard to avoid issues during shutdown
2020-06-12 18:42:42 +01:00
Klaus Basan
5e8696464f
Utility functions
2020-06-12 18:42:42 +01:00
Klaus Basan
e8786f9794
Some CDockWidget improvements
...
* save original dock areas
* init dw_InfoBarStatus as it is not part of an info area (which does that)
2020-06-12 18:42:41 +01:00
Mat Sutcliffe
2f1e3f47f9
Track worker construction and destruction
...
Added debug log messages in case a worker still exists when the `qApp` is destroyed.
This would mean that a `quitAndWait` is missing or is being skipped somewhere.
2020-06-12 18:42:41 +01:00
Mat Sutcliffe
e5528288b5
Lifetime management of value cache singletons
...
Hook in to the `destroyed` signal of the `qApp` to destroy the caches.
This ensures any associated workers are quit before application
terminates and kills all the threads.
2020-06-12 18:42:41 +01:00
Mat Sutcliffe
9dbe2f4018
Avoid thread-local storage in CLogCategoryList::fromClass
...
Use an ordinary function-local static variable instead.
This ensures we can still log messages after thread-local storage is cleaned up.
2020-06-12 18:42:41 +01:00
Mat Sutcliffe
e8380173c9
Store CDataCacheSerializer as a pointer for correct lifetime management
2020-06-12 18:42:41 +01:00
Klaus Basan
0ee522426a
Create "shutdown" message to find how far we get if swift hangs during shutdown
2020-06-12 18:42:41 +01:00