Commit Graph

1918 Commits

Author SHA1 Message Date
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
Klaus Basan
1b92144f40 Use Qt::QueuedConnection for reader -> UI component signal/slots
For DB load overview also text descriptions (long/short) are adjusted
2018-08-26 15:27:03 +02:00
Klaus Basan
cb351aca1a Ref T298, improved/fixed re-matching (match all aircraft again)
- reset to network model (otherwise we match "matched model" -> "matched model")
- renamed/added functions doMtachingAgain/doMatchinsAgain in contexts
2018-08-26 15:26:56 +02:00
Klaus Basan
a975ee9ca4 Ref T398, matcher configurable exclusion 2018-08-26 15:26:54 +02:00
Klaus Basan
5b7ec38b0a Clear state of Network VATLIB 2018-08-26 15:26:52 +02:00
Klaus Basan
bcce4c3bc2 fixed typo ("," -> ";") 2018-08-26 15:26:52 +02:00
Klaus Basan
7cbbb1d933 Improved thread info (for debugging) 2018-08-26 15:26:51 +02:00
Klaus Basan
956ffd949d Style 2018-08-26 15:26:49 +02:00
Klaus Basan
48738c87ab Keyboard and input manager cleanup/style 2018-08-22 12:32:06 +02:00
Klaus Basan
12f6e006ab Ref T308, loading JSON from DB optimizations
- info about time consumed for parsing (so we can benchmark)
- using the "optimized" YYYYmmdd parsing
2018-08-22 12:31:54 +02:00
Klaus Basan
183280fa75 Ref T308, using an optimized (faster) function for YYYYmmdd string parsing
Ref T309, found that QDateTime::fromString returns a QDateTime object with local timestamp. Using a optimized version returns UTC objects now.

- The bug was found writing a unit test for Ref T308
- Slack: https://swift-project.slack.com/archives/G7GD2UP9C/p1534848725000100
2018-08-22 12:31:53 +02:00
Klaus Basan
b4946bc46d Better consolidation message 2018-08-21 22:10:32 +02:00
Klaus Basan
fcbca7b0b0 Ref T308 prephase, meaasure model parsing ttime 2018-08-21 22:10:31 +02:00
Klaus Basan
3f1e2940a2 Ref T295, 2nd connect check if one failed
Experimental: See if this finds false warnings
2018-08-21 22:10:30 +02:00
Klaus Basan
b610ff1087 Ref T301, core ping fix https://swift-project.slack.com/archives/G7GD2UP9C/p1534677752000100
Identifier list was filled and more and more identifiers got checked via DBus

- identifier set if only one unique identifer is needed
- using set avoids duplicates and fixes the bug
- restart time if registered, no need to check again
2018-08-21 22:10:28 +02:00
Klaus Basan
f1312bbb50 Style 2018-08-21 22:10:27 +02:00
Klaus Basan
d7b1ed8d31 Hint for simulator if network is connected (slightly related T307) 2018-08-19 14:31:56 +02:00
Klaus Basan
cbb0805c7e Style 2018-08-19 14:31:47 +02:00