Commit Graph

1895 Commits

Author SHA1 Message Date
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
Klaus Basan
dc534fc88c Ref T298, improved matching log messages 2018-08-17 01:43:07 +02:00
Klaus Basan
a230f65f19 fixed gnd.flag message 2018-08-16 21:49:14 +02:00
Klaus Basan
83e2fcf85e FSX listener adjustments, timer requires "this" parent here
https://swift-project.slack.com/archives/G7GD2UP9C/p1534445228000100
2018-08-16 21:08:02 +02:00
Klaus Basan
5ff5c18b32 Avoid Qt warning of unused cmd.line argument (QCommandLineParser: option not defined)
Log msg: QCommandLineParser: option not defined: "clientIdAndKey"
2018-08-16 14:44:04 +02:00
Klaus Basan
9be7572c36 Network VATLIB refactoring
* use qit64 for timestamp related integers
* use valueInteger for PQ integer values (rounding)
2018-08-16 14:44:03 +02:00
Klaus Basan
60baa12c9d Ref T298, better ICAO family resolution
B737/DLH searched but B738/DLH present (same family but not same ICAO)
2018-08-16 14:44:01 +02:00
Klaus Basan
3f5a12de8b Ref T298, matcher improvements
* better messages
* clear messages when restarted
* better usage of setup flags
2018-08-16 14:43:31 +02:00
Klaus Basan
baea17c0f1 Ref T298, matching messages can be deleted 2018-08-16 14:34:02 +02:00
Klaus Basan
755455e8a4 Style, in CGuiApplication sGui can be used as guard (no QPointer needed) 2018-08-16 14:33:54 +02:00
Klaus Basan
0327776edd Ref T295, based on bug report of RP (no WIFI detected) creating a network report
* network report when starting swift
* also ignore inactive configs when checking for "the bearer bug"

references:
https://stackoverflow.com/questions/51824242/disable-qt-bearer-management-at-runtime
https://swift-project.slack.com/archives/G7GD2UP9C/p1534181224000115
https://swift-project.slack.com/archives/G96QTUBEG/p1534162173000320
2018-08-16 14:33:52 +02:00
Klaus Basan
60b3ed65ab Ref T301, application contexts pings (by re-registering) identifiers again. By that it can be detected if the GUI is crashed
* ping timer in proxy
* utility function in timestamp list
* adjusted UI component displaying identifiers in core
2018-08-13 02:59:44 +02:00
Klaus Basan
7b360e03cc Ref T301, make login mode via contexts available 2018-08-13 02:59:43 +02:00
Klaus Basan
9bb3f98489 Style 2018-08-13 02:59:35 +02:00
Klaus Basan
9894ec59b8 Ref T298, matcher uses "pick strategy" and cascade reduction when scoring 2018-08-11 00:54:51 +02:00
Klaus Basan
92880bce7f DBus test (GUI + core) fixes
* removed unused signals
* marked relayParentSignals as deprecated, currently not used
2018-08-09 01:41:23 +02:00
Klaus Basan
5b44f55435 Ref T298, prepared function to "redo" a mapping 2018-08-09 01:39:30 +02:00
Klaus Basan
8f9cc645e9 Ref T298, matching setup changed signal in contexts/matcher 2018-08-09 01:39:27 +02:00
Klaus Basan
6548c71521 Synchronize model set in simulator context and improved setting of model set in matcher (ignored when same simulator) 2018-08-09 01:39:19 +02:00
Klaus Basan
6897abe912 Style, singleShot guard, Doxygen 2018-08-09 01:38:52 +02:00
Klaus Basan
b5ed7ccd0b Ref T298, matcher improvements by using setup
* setup configurable
* made some functions "static" (future perspective threadsafe)
* score/reduction use some reduction functions upfront
2018-08-09 01:25:36 +02:00
Klaus Basan
d78a7e639a Improved default for matching messages based on model set size 2018-08-09 01:25:34 +02:00
Klaus Basan
68607a3cb8 Ref T298, better string handling/messages 2018-08-09 01:25:30 +02:00
Klaus Basan
d310c9c843 Ref T298, model matching settings trait and used settings in simulator context 2018-08-09 01:25:28 +02:00