Commit Graph

1935 Commits

Author SHA1 Message Date
Klaus Basan
c12e1585fd Allow to save interpolation/rendering setup
- setting trait
- save/load logic in context
- adjusted UI, allow to reset global setup
2018-09-17 18:28:33 +02:00
Klaus Basan
c61171bde3 Use default dtor to avoid CLANG warnings 2018-09-17 18:28:31 +02:00
Klaus Basan
89411d783b Only check listener before starting 2018-09-17 18:28:27 +02:00
Klaus Basan
99313bd272 Ref T353, remove "." from FP route 2018-09-17 18:28:25 +02:00
Klaus Basan
ba7906b0a6 Ref T348, if plugin is unloaded, also fire "simulator disconnected". Also change to Qt::QueuedConnection.
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:13 +02:00
Klaus Basan
da2a7f6506 Ref T348, get specialized settings
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:08 +02:00
Roland Winklmeier
24ebc2ce7f Set the actually opened audio device from vatlib
In the past, the optional arguments currentInput and currentOutput were not
used. Therefore we never knew which device was actually opened by vatlib.
This caused the Audio UI to be completely unsychronized from the reality
when loading swiftgui.

ref T337
2018-09-12 20:30:33 +02:00
Klaus Basan
6f6ec17c3d Ref T335, adjusted consuming "slots" to use disabled flag if adding failed 2018-09-12 20:30:07 +02:00
Klaus Basan
409cc6c164 Ref T335, FSX/P3D improvements
- eceptions for an added object will be handled, retry once, then disable
- add/directly remove agains tried twice, then disabled
- disable aircraft in severe cases
- adjusted signal, indicate aircraft was enabled
2018-09-12 20:28:55 +02:00
Klaus Basan
640e6ab055 Ref T335, reset to model matching aircraft enables again 2018-09-12 17:40:55 +02:00
Klaus Basan
cf738165d3 Ref T335, consolidation of models with "models on disk" yields also a list of removed aircraft 2018-09-12 17:40:53 +02:00
Klaus Basan
68b72d9c5c Ref T335, update "enabled/"rendered" for multiple callsigns 2018-09-12 17:40:52 +02:00
Klaus Basan
1dcedfc540 Minor style fixes 2018-09-12 17:40:48 +02:00
Klaus Basan
a6499751f0 Ref T335, style/messages 2018-09-12 17:40:46 +02:00
Klaus Basan
e1ffa49268 Check for known model so mapping component can check without loaded model set 2018-09-12 17:40:45 +02:00
Klaus Basan
27f2fe1b57 Ref T339, simulator info message (version) for SUP supervisor 2018-09-12 17:40:42 +02:00
Klaus Basan
7e9f3a6c7f Ref T342, distance of airport can be recalculated 2018-09-12 17:40:38 +02:00
Klaus Basan
111eca61ee Ref T345, airspace monitor/context ATIS handling
* using Qt::QueuedConnection
* use new update functions
2018-09-12 17:40:35 +02:00
Klaus Basan
1243d6e93a Ref T323, better parsing of altitude values
- assume "24000" also as FL
- epsilon comparison
- use 0-9 char functions
- style
2018-09-12 17:40:24 +02:00
Roland Winklmeier
4b888d87f5 Add methods to read weather grid from file 2018-09-12 17:40:19 +02:00
Roland Winklmeier
9f1a51fb13 Fix wrong QHash value lookup for voice channels in use 2018-09-12 17:01:53 +02:00
Roland Winklmeier
3804612bed Fix the initial weather request in case last position is null
calculateGreatCircleDistance returns false immediately if any of the
arguments was null.

ref T324
2018-09-12 17:01:51 +02:00
Roland Winklmeier
7a7f1f2df0 Correct the received range of ATIS stations
ATIS stations seem to send 0 NM as their visibility range. That can cause
them to be filtered in the ATC online view.
Overwrite the range value with the default TWR range of 50 NM.
2018-09-12 17:01:50 +02:00
Roland Winklmeier
1e16203d04 Check which voice channel is allocated to COM1
ref T328
2018-09-12 17:01:48 +02:00
Roland Winklmeier
00abf48047 Initialze onGround for VatPilotPosition and VatPilotInterimPosition
This caused some issues in the calculation of the PBH integer and consequently
an offset of about 30 degrees heading.

ref T327
2018-09-12 17:01:44 +02:00
Klaus Basan
a9d728f451 Ref T338, utility functions / parsing
- nthIndexOf
- measurement unit can be parsed case insensitive
- CSimpleCommandParser::remainingStringAfter from n-th space
- improved frequency parsing
2018-09-12 17:01:41 +02:00
Klaus Basan
3d2d999f7a Ref T338, style 2018-09-09 02:55:16 +02:00
Klaus Basan
837288b874 Gracefully shutdown if destructed, slightly related to Ref T315 2018-09-09 02:55:13 +02:00
Klaus Basan
4406174668 Ref T341, crash prevention as seen in https://crashreports.swift-project.org/crashreports/81 2018-09-09 02:53:36 +02:00
Klaus Basan
55690846fe Ref T312, ignore not running listeners checking again via button 2018-09-08 15:36:25 +02:00
Klaus Basan
a2486981bd Style 2018-09-08 15:36:25 +02:00
Klaus Basan
9f5e265c5e Shutdown guard 2018-09-08 15:36:24 +02:00
Klaus Basan
fa3555b792 Ref T322, in airspace monitor update ATC station distance 2018-09-08 15:36:22 +02:00
Klaus Basan
be6ae734a0 Ref T322, style/renamings 2018-09-08 15:36:22 +02:00
Klaus Basan
f3f2fa664e Ref T322, ATC station distance can be recalculated when getting ATC stations from network context 2018-09-08 15:36:22 +02:00
Klaus Basan
cacbe6e996 Ref T322, get situation from "own aircraft" context 2018-09-08 15:36:21 +02:00
Klaus Basan
b4e17ed091 Ref T322, renamings 2018-09-08 15:36:21 +02:00
Klaus Basan
09ab653cf9 Reduced number of (unnecessary) network status messages 2018-09-08 15:36:21 +02:00
Roland Winklmeier
14af2dccf0 Use Qt::QueuedConnection to process remote hotkey actions 2018-08-31 20:08:19 +02:00
Roland Winklmeier
b6180d33af Convert private slots to private functions 2018-08-31 20:08:17 +02:00
Roland Winklmeier
2856dad280 Fix hotkey settings not loaded during app start
CInputManager is listening for hotkey settings changes, but it never loaded
the current state during construction and kept an empty setting.

ref T318
2018-08-31 20:08:16 +02:00
Klaus Basan
5096df034b Ref T314, thread CContinuousWorker::finish
- use application thread if there is no owner
- use QPointer for owner
- more detailled error message
2018-08-31 20:08:06 +02:00
Klaus Basan
f6dee9e7ff Ref T308, use optimized version in model reader/performance samples 2018-08-31 20:08:02 +02:00
Klaus Basan
8ba5463d18 Ref T310, renamings 2018-08-28 01:16:24 +02:00
Klaus Basan
2c1055cc2e Ref T312, fixed thread safety of listeners start/stop/check 2018-08-27 18:58:23 +02:00
Klaus Basan
0b0a7783a0 Ref T312, added check listener function in contexts 2018-08-27 18:58:22 +02:00
Klaus Basan
d879aa6012 Ref T312, plugin manager listener chec function (simulator available?) 2018-08-27 18:58:21 +02:00
Klaus Basan
1d7b3bd180 Ref T312, simulator factory not copyable plus check function (bypassing timer) 2018-08-27 18:58:14 +02:00
Klaus Basan
54802e9ea9 Ref T310, added model statistics dialog
* UI for statistics
* renamed to "coverageSummaryForModel"
* model list "htmlStatistics"
2018-08-27 18:58:11 +02:00
Klaus Basan
3ec3bb8e15 Ref T298, split military flag into check for civilian/military
* in military -> only military aircraft?
* in civilian -> only civilian aircraft?
2018-08-26 15:27:03 +02:00