Commit Graph

6452 Commits

Author SHA1 Message Date
Roland Winklmeier
5dfdbb3621 Fix doxygen getting confused 2018-08-25 22:12:07 +02:00
Roland Winklmeier
d5a37a9d9e Fix hidden member from base class 2018-08-25 22:12:07 +02:00
Roland Winklmeier
84dcc53dc0 Misc clang warning fixes 2018-08-25 22:12:07 +02:00
Roland Winklmeier
5e38936fd2 Fix weak vtables 2018-08-25 22:12:06 +02:00
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
5cc8249b38 Add X-Plane utils unit test 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
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