Commit Graph

1849 Commits

Author SHA1 Message Date
Klaus Basan
b5ed7ccd0b Ref T298, matcher improvements by using setup
* setup configurable
* made some functions "static" (future perspective threadsafe)
* score/reduction use some reduction functions upfront
2018-08-09 01:25:36 +02:00
Klaus Basan
d78a7e639a Improved default for matching messages based on model set size 2018-08-09 01:25:34 +02:00
Klaus Basan
68607a3cb8 Ref T298, better string handling/messages 2018-08-09 01:25:30 +02:00
Klaus Basan
d310c9c843 Ref T298, model matching settings trait and used settings in simulator context 2018-08-09 01:25:28 +02:00
Klaus Basan
0b952e7336 Ref T298, get/set matching setup in context plus some minor style fixes 2018-08-09 01:25:24 +02:00
Klaus Basan
264ef7f5cb Ref T298, move matcher setup into BlackMisc::Simulation 2018-08-09 01:25:20 +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
b671c2a0a5 Style, removed redundant CForm overrides 2018-08-07 20:41:06 +02:00
Klaus Basan
d05b4da2a9 Ref T299, renaming 2018-08-07 20:41:04 +02:00
Roland Winklmeier
10a0575a80 Fix clang static analyzer warnings 2018-08-07 20:40:56 +02:00
Klaus Basan
08113e8c1d Ref T298, adjusting used aircraft matcher (using setup) 2018-08-07 20:40:29 +02:00
Klaus Basan
3d19de1331 Ref T298, matching setup (settings), making the matching configurable 2018-08-07 20:40:20 +02:00
Klaus Basan
dd687b7d90 Cppcheck and unit test fixes 2018-08-07 20:39:06 +02:00
Klaus Basan
fe99eb0fed Style and some view columns/UI renamings 2018-08-01 03:06:26 +02:00
Klaus Basan
418584c5e3 Style 2018-08-01 03:06:16 +02:00
Klaus Basan
c8fc50e787 Ref T296, adding scenery offset as situation member plus utility functions
* frontOrNull/backOrNull
* added offset in model
* style/renaming
2018-07-31 01:43:36 +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
1b973c4796 Ref T295, moved getDbClientPingServiceUrl to global setup 2018-07-31 01:43:28 +02:00
Klaus Basan
fbfbdedb65 Ref T294, display simulator internals correctly
* view rows not selectable
* added settings to ISimulator
* ISimulator implements initSimulatorInternals() and sets default values
* also display plugin name
* XPlane using initSimulatorInternals()
2018-07-31 01:43:27 +02:00
Klaus Basan
5966a1ead4 Display platform in title bar (easier to identify screenshot) 2018-07-27 23:33:14 +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
1746388560 Ref T292, Ref T285 use CEntityFlags::isFinishedReadState to also check against restricted read plus refactoring 2018-07-27 04:02:50 +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
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02:00
Klaus Basan
f36ebbfa83 Doxygen and style 2018-07-25 02:37:12 +02:00
Klaus Basan
9ee2ff056e Ref T292, Ref T285 replaced model set loader in matcher 2018-07-25 02:37:09 +02:00
Klaus Basan
4ded1636a5 Ref T292, Ref T285 replaced model set loader in context 2018-07-25 02:37:08 +02:00
Klaus Basan
ada0e34738 Ref T268, also "signal" received elevation if not updated in provider 2018-07-19 02:52:12 +02:00
Klaus Basan
88098dddf7 Ref T268, allow to log loopback situations
* those are situations reported back from simulator
* and can be logged
2018-07-19 02:52:06 +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
d0adcc98cb Ref T289, merge CSimulatorCommonn/ISimulator 2018-07-12 18:29:36 +02:00
Klaus Basan
78861166ad Ref T289, minor adjustments 2018-07-11 23:48:38 +02:00
Klaus Basan
a5acd0a1ec Ref T268, elevation handling improvements
* utility functions
* made storeAircraftSituation virtual and return Aviation::CAircraftSituation
* coordinate toQString in deg/rad
2018-07-11 23:44:11 +02:00
Klaus Basan
226abd0d38 Ref T268, allow to reset last sent values from log. display for testing 2018-07-10 17:17:35 +02:00
Klaus Basan
c8aabd675e Guard QTime::singleShot in CWebDataServices 2018-07-10 17:17:33 +02:00
Klaus Basan
29536dac4d Ref T268, simulator improvements
* use virtual function to emit setup signal
* callback public so it can be used from "log display" for testing
* sim. environment provider statistics
2018-07-10 17:17:29 +02:00
Klaus Basan
51ad984200 Ref T268, consider "blinking" in simulator common 2018-07-10 17:17:27 +02:00
Klaus Basan
1428d39f4b Ref T268, airspace monitor also consider closest elevations (from same callsign situations) 2018-07-10 17:17:26 +02:00
Klaus Basan
ead1a93597 Style 2018-07-09 22:30:54 +02:00
Klaus Basan
e904a288ad Ref T268, statistics functions moved to interface 2018-07-09 22:30:52 +02:00
Klaus Basan
98106be4ad Stricter "connect" check in airspace monitor 2018-07-09 22:30:50 +02:00
Klaus Basan
f252729fdd Network watchdog improvements
- QPointer checks
- renamings
- count failed pings
2018-07-09 22:30:46 +02:00
Klaus Basan
898b7354f4 Ref T268, utility function to get situations which do not require "near ground interpolation" 2018-07-09 22:30:43 +02:00
Klaus Basan
a2bca21715 Ref T286, moved server settings into "network" namespace (not VATSIM specific) 2018-07-09 22:30:33 +02:00
Klaus Basan
2da0186dd2 Ref T286, "humanReadable" functions 2018-07-09 22:30:32 +02:00
Klaus Basan
50858a33e4 Special names for CMD args so it can be debugged if something goes wrong 2018-07-09 22:30:25 +02:00