Klaus Basan
1b7f1b1662
Minor reader formatting/comments
2019-02-22 20:36:07 +00:00
Klaus Basan
f78d13047e
Ref T472, support for category in ICAO reader
2019-02-22 20:35:56 +00:00
Klaus Basan
bada0c2f59
Ref T472, style
2019-02-22 20:35:55 +00:00
Mat Sutcliffe
077fd8c35a
Ref T525 Avoid directly calling getLogCategories.
2019-02-22 20:35:52 +00:00
Mat Sutcliffe
fe7a45afcf
Ref T516 Update CStatusMessage call sites to use new syntax.
2019-02-22 20:35:51 +00:00
Klaus Basan
070577dae8
Ref T515, utility functions for modellist, renamed to find "findFsFamilyModels"
2019-02-22 20:35:46 +00:00
Klaus Basan
25df1921eb
Style
2019-02-22 20:35:33 +00:00
Klaus Basan
58cfdd1bb9
Ref T492, alias in model lists and model
...
Search for alias and modelstring in matching
2019-02-22 20:35:22 +00:00
Klaus Basan
003ad0f0de
Ref T490, "ps_read" replacement
2019-02-22 20:35:03 +00:00
Klaus Basan
efb1ac46f2
Ref T489, added "parsing" state for entity read states
2019-02-22 20:35:02 +00:00
Klaus Basan
8c3faa4ca9
Ref T489, support download progress in our readers
...
* signal for download progress per entity (DB reader)
* ProgressSlot
* changed signatures for ProgressSlot
2019-02-22 20:35:00 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Mat Sutcliffe
bd9948bbff
Ref T486 Using QMetaObject::invokeMethod with pointer-to-member-function (or functor).
2019-02-22 20:34:53 +00:00
Mat Sutcliffe
d6b5dca6b2
Return a default-constructed QString instead of implicitly converting an empty string literal.
2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d
When calling arg() on a QString constructed from a literal, use QStringLiteral.
2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
2019-02-22 20:23:46 +00:00
Klaus Basan
a1bea413f4
Style
2018-12-10 03:41:15 +01:00
Klaus Basan
3c20590293
Allow a forced update of the setup reader
...
When the network is down it can happen the bootstrap file request is not yet timed out but we use our own time out.
In that case we check the cached data upfront by faking a failed web read.
2018-12-05 04:03:43 +01:00
Klaus Basan
d704a8aeab
Simulator update returns info what was updated
2018-11-29 20:54:25 +01:00
Klaus Basan
e7e82c3ab1
Style, minor fixes
2018-11-25 18:26:45 +01:00
Klaus Basan
9dfc3808c1
Ref T367, Ref T400 global setup flags for web and file reading
2018-11-04 17:42:41 +01:00
Mat Sutcliffe
62634e1e0e
Ref T314 Style: correct parameter name.
2018-10-05 17:39:56 +02:00
Klaus Basan
4dcb2185b4
Ref T367, info objects are also read, as the files are small and sApp->isInternetAccessible() is not fully reliable (Qt Accessibility bug)
2018-09-23 20:12:31 +02:00
Klaus Basan
ff2f653aae
Style
2018-09-23 20:12:27 +02:00
Klaus Basan
cf738165d3
Ref T335, consolidation of models with "models on disk" yields also a list of removed aircraft
2018-09-12 17:40:53 +02:00
Klaus Basan
9f5e265c5e
Shutdown guard
2018-09-08 15:36:24 +02:00
Klaus Basan
09ab653cf9
Reduced number of (unnecessary) network status messages
2018-09-08 15:36:21 +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
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
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
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
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
f1312bbb50
Style
2018-08-21 22:10:27 +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
c0ca56ee93
Ref T295, fix for the "no network config" issue
...
* details: https://stackoverflow.com/questions/51686943/no-qnetworkconfiguration-although-i-can-connect-to-wifi
* network accessibility check can be disabled if network config looks suspicious
* using QNetworkConfigurationManager
2018-08-09 01:25:18 +02:00
Klaus Basan
c282d4e1f8
Ref T295, network watchdog optimizations
...
* constructor can pass network accessibility as default
* ping URL now constructed in global setup
* watchdog will prevent unnecessary signals by checking if state has really changed (there are redundant QAM signals for QNetworkAccessManager::networkAccessibleChanged)
* refactorings, thread checks
2018-07-31 01:43:32 +02:00
Klaus Basan
106ef6709e
Ref T285, Ref T292 improved background updater
...
* use atomic members (precaution)
* refactoring
2018-07-27 23:31:29 +02:00
Klaus Basan
e1c7edb24d
No BLACK_VERIFY if base url function
2018-07-27 04:19:27 +02:00
Klaus Basan
0c4a2209f2
Ref T292, Ref T285 fixed CBackgroundDataUpdater::syncDbEntity which was called always with model entity
2018-07-27 01:18:37 +02:00
Klaus Basan
c7e6f79a07
Ref T292, Ref T285 avoid unnecessary calls of cache synchronize in DB readers
...
Rational: Normally calling synchronize multiple times does not matter. However, it can time out if the cache is in use (e.g. saving) and create an exception. This exception is just unwanted "noise".
2018-07-27 01:11:34 +02:00
Klaus Basan
efbd24e10e
Model reader refactorings
2018-07-26 22:32:10 +02:00
Klaus Basan
1fd7ad6891
Ref T292, Ref T285 background updater improvements
...
* less cycles
* message history
* more detailed status messages
2018-07-26 21:43:51 +02:00
Klaus Basan
f36ebbfa83
Doxygen and style
2018-07-25 02:37:12 +02:00
Klaus Basan
35a1a715d8
Ref T246, allow to load DB data per entity from resource files
2018-07-17 19:05:02 +02:00
Klaus Basan
ead1a93597
Style
2018-07-09 22:30:54 +02:00
Klaus Basan
f252729fdd
Network watchdog improvements
...
- QPointer checks
- renamings
- count failed pings
2018-07-09 22:30:46 +02:00
Klaus Basan
40582fcf59
Some smaller fixes in prephase of T285
2018-06-27 12:49:15 +02:00