Commit Graph

2756 Commits

Author SHA1 Message Date
Roland Winklmeier
4cf3bc580f Use case sensitive name of Windows header files 2018-08-25 22:12:06 +02:00
Roland Winklmeier
a60ee4a7dd Use override for destructors 2018-08-25 22:12:06 +02:00
Roland Winklmeier
9b3b645c12 Use nullptr 2018-08-25 22:12:05 +02:00
Roland Winklmeier
d4608e6a5b Result of comparison of unsigned enum expression >= 0 is always true 2018-08-25 22:12:04 +02:00
Roland Winklmeier
4b160fe42c Fix wrong type 2018-08-25 22:12:04 +02:00
Roland Winklmeier
93d30e844a Use const ref to avoid copies 2018-08-25 22:12:04 +02:00
Roland Winklmeier
3267d1ec38 Fix implicit conversion warning 2018-08-25 22:12:03 +02:00
Roland Winklmeier
29e50ee516 Fix missing function argument 2018-08-25 22:12:03 +02:00
Roland Winklmeier
bd9f00f819 Fix missing include 2018-08-25 22:12:03 +02:00
Roland Winklmeier
ca9a2e5fd1 Fix floating point comparison 2018-08-25 22:12:03 +02:00
Roland Winklmeier
08e06c6ed1 Fix float to double conversion 2018-08-25 22:12:02 +02:00
Roland Winklmeier
77ce9f8b8a Split the giant test binaries into smaller unit tests
This is an intermediate step to have smaller unit tests. It is a trade off
between having many many test executables compared to a few bigger ones. But
this comes a lot closer to what QtTest is meant to be used.
2018-08-25 22:12:01 +02:00
Roland Winklmeier
a19ccabf35 Refactor shared X-Plane model parser in common header only functions
ref T290
2018-08-24 21:27:00 +02:00
Klaus Basan
9ec59514dc Small improvements of auto stash component
- airline can be set in model
- fallback if there is no airline, but livery code
2018-08-22 12:32:07 +02:00
Klaus Basan
433818ca4f Ref T308, if QDateTime is invalid (normal state) setting a offset turns it into a valid timestamp of 1970 (which is wrong) 2018-08-22 12:32:01 +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
d3c3fe2566 Thread priority to string 2018-08-21 22:10:34 +02:00
Klaus Basan
fcbca7b0b0 Ref T308 prephase, meaasure model parsing ttime 2018-08-21 22:10:31 +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
9df19fb064 Fixed pitch in interpolation setup 2018-08-19 14:31:54 +02:00
Klaus Basan
cbb0805c7e Style 2018-08-19 14:31:47 +02:00
Klaus Basan
6807eb8d35 Application info: Checking if directory exists (swift version exists) plus fixes in property functions 2018-08-17 02:25:43 +02:00
Klaus Basan
dc534fc88c Ref T298, improved matching log messages 2018-08-17 01:43:07 +02:00
Klaus Basan
359d56b6f6 Weather uses null altitude, https://swift-project.slack.com/archives/G7GD2UP9C/p1534378412000100 2018-08-16 14:44:14 +02:00
Klaus Basan
e21328a5a6 Style 2018-08-16 14:44:11 +02:00
Klaus Basan
200152da18 Self include fixed 2018-08-16 14:44:10 +02:00
Klaus Basan
660a1adb71 Numeric double cast/comparison 2018-08-16 14:44:09 +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
f2b6b093e4 Ref T298, matcher setup improvements (score only) 2018-08-16 14:34:00 +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
35f15b302b Added transparent icons 2018-08-13 23:52:43 +02:00
Klaus Basan
018a60f23c Ref T304, array index fix if "7za.exe" is not available 2018-08-13 23:52:39 +02:00
Klaus Basan
30ba404043 Ref T304, "no throw" JSON functions 2018-08-13 02:59:50 +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
38e2a3ee3d Ref T301, some transponder code style fixes 2018-08-13 02:59:38 +02:00
Klaus Basan
2461cfb0ba Ref T302, register metadata functions 2018-08-13 02:59:37 +02:00
Klaus Basan
9bb3f98489 Style 2018-08-13 02:59:35 +02:00
Klaus Basan
3aadef458d Ref T298, utility functions for matcher setup and more attributes to configure matching
* pick strategy if multiple there are multiple similar results
* ordered results
2018-08-11 00:54:48 +02:00
Klaus Basan
ee181d6425 PQ string parsing improvements 2018-08-09 03:43:57 +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
e114c8c99c Context menu of simulated aircraft view now handled in view directly
* removed duplicated code in mapping/aircraft component
* view can be used with context menu without further signals
2018-08-09 01:41:21 +02:00
Klaus Basan
79a133892b Fix for context menu of aircraft view as reported in slack
* reported: https://swift-project.slack.com/archives/G7GD2UP9C/p1533749013000483
* logic moved to view
* removed no longer required code
2018-08-09 01:41:10 +02:00
Klaus Basan
fe4fd31688 Renamed to FullInterpolation (formerly VtolInterpolation) 2018-08-09 01:39:21 +02:00
Klaus Basan
6897abe912 Style, singleShot guard, Doxygen 2018-08-09 01:38:52 +02:00
Klaus Basan
6db9083c03 Added icons for simulators 2018-08-09 01:25:52 +02:00
Roland Winklmeier
461d146619 Test port number string conversion to short instead of int
Port numbers have a small range and are typically expressed as short ints.
Therefore test the string conversion to short instead.
2018-08-09 01:25:49 +02:00