Commit Graph

6436 Commits

Author SHA1 Message Date
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
Roland Winklmeier
597283dde1 Only link to SimConnect SP1 and XPack
SimConnect RTM is missing two important symbols:
- SimConnect_Text
- SimConnect_SubscribeToFacilities

Therefore remove it from the probing list.
2018-08-22 13:23:10 +02:00
Roland Winklmeier
53bb5aa9d9 Fix clang warnings 2018-08-22 13:23:10 +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
48738c87ab Keyboard and input manager cleanup/style 2018-08-22 12:32:06 +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
536cf15d37 Ref T307, style/messages 2018-08-22 12:31:59 +02:00
Klaus Basan
a1470200eb Ref T307, using "isReadyToSend" to detect if we can send AI object updates 2018-08-22 12:31:58 +02:00
Klaus Basan
4850e20160 Ref T307, request/object id are DWORD (unsigned) 2018-08-22 12:31:56 +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
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
a06fb10adb UI fixes for LED 2018-08-21 22:10:26 +02:00
Klaus Basan
93a56d6633 Navigator improvements
- auto focus
- tooltip for buttons
- style
2018-08-21 22:10:25 +02:00
Klaus Basan
44d9fa35a4 Ref T307, logAndTraceSendId as traceable function for SimConnect calls
* ts for tracing now time + offset
* SimConnect calls will be traced
2018-08-21 22:10:24 +02:00
Klaus Basan
3a7519f4bd Ref T307, style 2018-08-21 22:10:23 +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
9df19fb064 Fixed pitch in interpolation setup 2018-08-19 14:31:54 +02:00
Klaus Basan
bc02463fe1 Minor fix for simulator basic settings https://swift-project.slack.com/archives/G96QTUBEG/p1534614558000100 2018-08-19 14:31:52 +02:00
Klaus Basan
b79aa0601c Wizard fixes as discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1534597257000200
- improved message for initial data loading
- Simulator wizard page before 1st model set page
- 1st model set component, forced directory loading (and not just displaying model cache)
2018-08-19 14:31:49 +02:00
Klaus Basan
cbb0805c7e Style 2018-08-19 14:31:47 +02:00
Klaus Basan
e17c49ec0f Fixed login screen, the pilot section was accidentally shifted into another widget 2018-08-17 13:27:36 +02:00
Klaus Basan
71847f9316 Shutdown check 2018-08-17 13:25:42 +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
418769ccf8 Matching log can be enabled from login screen
* own enable UI component
* adjusted login and matcher UI component
2018-08-17 01:41:32 +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
15500c41db XPlane Clang/PQ integer fixes 2018-08-16 14:44:15 +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
7d2c063aba Clang QtC warnings fixed for FSX common 2018-08-16 14:44:13 +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
3a09749103 UI for FSX settings adjustments 2018-08-16 14:44:08 +02:00
Klaus Basan
65dc4bec6b Fixed tab order of settings 2018-08-16 14:44:06 +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
ef32ec266e Ref T298, matching form added new ttributes 2018-08-16 14:34:01 +02:00
Klaus Basan
f2b6b093e4 Ref T298, matcher setup improvements (score only) 2018-08-16 14:34:00 +02:00
Klaus Basan
f9b2304e1a Added P3D v4.3 libs 2018-08-16 14:33:59 +02:00