Klaus Basan
cfa96a3aeb
Ref T778, utility functions
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
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
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
bb0ef86044
Remove unnecessary header file not being available in MinGW
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
Klaus Basan
605ccdbaa8
Fix ASSERT if there are NO tab names (which can be configured)
...
* report https://discordapp.com/channels/539048679160676382/539486489977946112/692165190103466005
* use fallback search
* add tooltips
2020-06-12 18:42:40 +01:00
Klaus Basan
7d4e897b88
[AFV] Displayed sync. (integrated with COM unit) flag in cockpit
2020-06-12 18:42:40 +01:00
Mat Sutcliffe
1b2f470cd6
Reorder crashpad crash simulation in VERIFY/AUDIT
...
so it happens after the log message rather than before
2020-06-12 18:42:40 +01:00
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
21068427b0
Demoted to BLACK_VERIFY_X (no ASSERT)
2020-06-12 18:42:39 +01:00