Commit Graph

2983 Commits

Author SHA1 Message Date
Klaus Basan
88aee2db1a Macthing settings key lc 2018-08-31 20:08:09 +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
260585e35c Ref T308, performance optimized fromDatabaseJsonCaching
* maps for id/object
* caching fromDatabaseJsonCaching
* fixed CAircraftModel::fromDatabaseJson wrong prefix
2018-08-29 03:08:23 +02:00
Klaus Basan
c43fba9abd Ref T308, style 2018-08-29 03:08:21 +02:00
Klaus Basan
0da824a5d2 Ref T308, using QStringBuilder in simulator info 2018-08-29 03:08:20 +02:00
Klaus Basan
84bf19697c Ref T310, utility functions for statistics (incl.renaming) 2018-08-28 01:15:49 +02:00
Klaus Basan
d212d16929 String format 2018-08-27 18:58:13 +02:00
Klaus Basan
fd751e66c2 Faster QString handling in aircraft ICAO code 2018-08-27 18:58:12 +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
09e8b3ffcf Completer sort order and ICAO code string building 2018-08-26 15:27:04 +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
4098cc843f Ref T306, remember directories value class 2018-08-26 15:27:00 +02:00
Klaus Basan
19b1345766 Ref T308, check parsing of YYYYmmdd strings (length) 2018-08-26 15:26:59 +02:00
Klaus Basan
302e9fc9d0 Use QStringBuilder in livery 2018-08-26 15:26:59 +02:00
Klaus Basan
653911e042 StringBuilder in CCountry + style 2018-08-26 15:26:57 +02:00
Klaus Basan
2fcb5fd304 Fixed missing compare index + style for matching statistics 2018-08-26 15:26:57 +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
1b72333b05 Trial to fix worker's finish "deleteLater" 2018-08-26 15:26:55 +02:00
Klaus Basan
a640343433 Ref T298, exclude models from matching configurable 2018-08-26 15:26:53 +02:00
Klaus Basan
109c1554f9 Ref T298, exclude models 2018-08-26 15:26:53 +02:00
Klaus Basan
7cbbb1d933 Improved thread info (for debugging) 2018-08-26 15:26:51 +02:00
Klaus Basan
1755463ec4 Improved way to get situation with altitude offset 2018-08-26 15:26:51 +02:00
Klaus Basan
956ffd949d Style 2018-08-26 15:26:49 +02:00
Klaus Basan
d010f6f15a Utility functions to improve resolution in auto stash component 2018-08-26 15:25:08 +02:00
Roland Winklmeier
5dfdbb3621 Fix doxygen getting confused 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
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