Commit Graph

9202 Commits

Author SHA1 Message Date
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
Klaus Basan
6eb767f938 Minor style, typo 2020-06-12 18:42:41 +01:00
Klaus Basan
e6a12d45c4 Ref T778, improved "canLikelySkipNearGround" in airspace monitor
* use CAircraftIcaoCode::guessModelParameters as this gives us an impression of speed
* use "breakable" do/while block / fewer nested "if" levels
2020-06-12 18:42:41 +01:00
Klaus Basan
5bc09ed2c8 [PQ] added static "parsedFromString" 2020-06-12 18:42:41 +01:00
Klaus Basan
1642502aae Distributor filter improvements
* if all or none simulator is selected do not filter
* also select if there is no (NULL) simulator
2020-06-12 18:42:41 +01:00
Klaus Basan
00b2034b2d Disabled AFV client project for the moment
Very detailed discussion here: https://discordapp.com/channels/539048679160676382/539925070550794240/692788603935260693
2020-06-12 18:42:41 +01:00
Klaus Basan
cfb2fa9d22 Split "Display and rendered" aircraft,
just to avoid accidentally disabling aircraft when using "follow"
2020-06-12 18:42:41 +01:00
Klaus Basan
dab907df8c Graceful shutdown of SELCAL player with audio context 2020-06-12 18:42:41 +01:00
Klaus Basan
87a9059a05 [XSwiftBus] Fix, write the string not the enum value 2020-06-12 18:42:40 +01:00
Roland Rossgotterer
77138f7788 Disable crashpad on Linux until the segfault is investigated 2020-06-12 18:42:40 +01:00
Roland Rossgotterer
bb0ef86044 Remove unnecessary header file not being available in MinGW 2020-06-12 18:42:40 +01:00
Roland Rossgotterer
fb7a2a7013 Update externals 2020-06-12 18:42:40 +01:00
Roland Rossgotterer
f98e8f00e1 Add missing linker library 2020-06-12 18:42:40 +01:00
Roland Rossgotterer
f7cd840d42 Workaround GCC 8.1 internal compiler error 2020-06-12 18:42:40 +01:00
Klaus Basan
82f7771882 Set "ft" as default unit for altitude formatter
See https://discordapp.com/channels/539048679160676382/539486489977946112/692158405145788437
2020-06-12 18:42:40 +01:00