Commit Graph

1576 Commits

Author SHA1 Message Date
Klaus Basan
c54c325cce Ref T118, database writer new simplified slot 2017-10-31 15:39:20 +01:00
Klaus Basan
f14f06317b Ref T118, formatting database writer and utility 2017-10-31 15:39:16 +01:00
Klaus Basan
56fb27b73a Ref T171, no assert when there is function (review of T171) 2017-10-18 22:58:58 +02:00
Klaus Basan
6e39b69933 Ref T171, locker for interpolator/rendering setup.
Actually this was missing, in other parts the lock was already used.
2017-10-18 22:58:52 +02:00
Klaus Basan
dafb3b0569 Ref T171, allow opening the interpolation log dir by command 2017-10-18 22:58:42 +02:00
Klaus Basan
ecc4789855 Ref T171, Ref T136, renaming "swift driver" -> "emulated driver" 2017-10-18 22:58:37 +02:00
Klaus Basan
418d0aa628 Ref T171, Ref T136, removed the remote provider's "remove aircraft part", as it is not used:
* remove is handled by context call logicallyRemoveRemoteAircraft
* so far no need to use the remote provider function
* can be used again whenever needed
2017-10-18 22:58:36 +02:00
Klaus Basan
bef47bf8ed Ref T171, Ref T136, moved statistics counter to base class
* removed from emulated driver
* since we have the remote access providers functions, the counter functions have been moved to the base class. Therby we can use them for all drivers.
2017-10-18 22:58:35 +02:00
Klaus Basan
b5a182a77a Ref T171, Ref T136, not all functions need to bound in remote aircraft provider 2017-10-18 22:58:34 +02:00
Klaus Basan
32398ce90a Ref T171, Ref T136, check remote aircraft provider calls for connection 2017-10-18 22:58:31 +02:00
Klaus Basan
bc5f431953 Ref T171, simulator context formatting 2017-10-18 22:58:29 +02:00
Klaus Basan
8fcfcdaac6 Ref T171, callsign set does not need contains check 2017-10-18 22:58:28 +02:00
Klaus Basan
c882c64824 Ref T171, count of aircraft supporting parts
* added functions in providers, aware class
* some utility functions in aircraft list
2017-10-18 22:58:27 +02:00
Klaus Basan
b6333e69d8 Ref T171, made remote aircraft provider and web service "protected slots" -> "protected"
* Unlike in other cases, the remote aircraft provider slots are also very frequently called. So besides "style", it might be also useful here to avoid the extra MOC layers.
* Also renamed 2 web service signals and made web service connections Qt::QueuedConnection
2017-10-18 22:58:24 +02:00
Klaus Basan
61a23d700b Ref T171, driver formatting 2017-10-18 22:58:22 +02:00
Mathew Sutcliffe
0cf6034a29 Don't use member access notation to call static methods. 2017-10-10 00:56:54 +01:00
Klaus Basan
60656843f8 Ref T169, check minimum mapping tool version
* added min.version in global setup
* check in CSwiftData::checkMinimumVersion
2017-10-10 00:28:29 +01:00
Klaus Basan
6ce80bbd8e Ref T169, formatting 2017-10-10 00:28:27 +01:00
Klaus Basan
193565e27c Ref T129, use new functions in matcher / airspace monitor
* if ICAO codes are unique, directly use those
* if already using a DB object, no need to search further
2017-10-10 00:28:26 +01:00
Klaus Basan
b047004470 Ref T129, added functions for swift DB reader / web data services
* added getAirlineIcaoCodeForUniqueDesignatorOrDefault and getAirlineIcaoCodeForUniqueIataCodeOrDefault from reader/web data services
* rearranged order of functions in ICAO reader
* added some more functions like "containsXX" in reader
2017-10-10 00:28:22 +01:00
Klaus Basan
8df801e7cc Ref T129, use all vatlib VFR types with flight plan value object 2017-10-10 00:28:11 +01:00
Klaus Basan
510666622c Renamed to failoverValidAirlineIcaoDesignator and check airline ICAO designator against swift DB 2017-10-10 00:28:07 +01:00
Klaus Basan
f98b612797 Ref T129, fixed formatting and minor tweaks 2017-10-10 00:28:06 +01:00
Klaus Basan
f95a0b60cc Ref T129, utility function to check airline ICAO against swift DB 2017-10-10 00:28:04 +01:00
Klaus Basan
a070e0e215 Ref T129, fixed typo 2017-10-10 00:28:02 +01:00
Klaus Basan
3c9d454638 Ref T129, return CFlightPlanRemarks from CAirspaceMonitor::tryToGetFlightPlanRemarks, not only string
Uses utility function in CAircraftMatcher
2017-10-10 00:27:59 +01:00
Klaus Basan
3de7d66e65 Ref T129, use map of CFlightPlanRemark instead of 2 individual maps 2017-10-10 00:27:58 +01:00
Klaus Basan
3c24d5c7f9 Ref T129, created CFlightPlanRemarks as value object and removed flight plan utils
* CFlightPlanRemarks supports the functionality of utils, but is also a valid value object
* deleted CFlightPlanUtils .h/.cpp
* CFlightPlan uses CFlightPlanRemarks
* changed classes like VATSIM data reader to use CFlightPlanRemarks (instead of utils)
2017-10-10 00:27:56 +01:00
Klaus Basan
8a4415ce07 Ref T129, parsed flight remarks can be obtained from VATSIM reader 2017-10-10 00:27:53 +01:00
Klaus Basan
34faabb6c5 Ref T129, fixed const correctness in VATSIM data reader 2017-10-10 00:27:51 +01:00
Klaus Basan
0e68bbf851 Ref T129, formatting matcher 2017-10-10 00:27:49 +01:00
Klaus Basan
0d3882032b Ref T129, use utility function in CFlightPlanUtils in VATSIM file reader 2017-10-10 00:27:48 +01:00
Klaus Basan
784cf287f0 Ref T129, extended flight plan utils
* renamed to CFlightPlanUtils::FlightPlanRemarks
* now parsing also SELCAL, airline ICAO
2017-10-10 00:27:46 +01:00
Klaus Basan
21f80ca2e3 Ref T129, formatting VATSIM data reader and minor tweaks 2017-10-10 00:27:44 +01:00
Klaus Basan
b1795c77d8 Ref T129, formatting, removed namespace from signatures when "using namespace" 2017-10-10 00:27:41 +01:00
Klaus Basan
1daa640972 Ref T129, added callsign in flight plan and made flight plan timestamp interface compliant 2017-10-10 00:27:39 +01:00
Klaus Basan
4fc06cf3b0 some vatlib refactoring done along with T129
* removed useless if in CNetworkVatlib::onConnectionStatusChanged
* more frequently used pattern "auto *self = cbvar_cast(cbvar)" -> shorter lines
* added const where applicable
* added callsign hint where applicable
* added missing fromFSD where missing
* using QTimer::singleShot as discussed https://swift-project.slack.com/archives/C04J6J76N/p1506729875000004
2017-10-10 00:27:28 +01:00
Klaus Basan
4be7a61922 Ref T129, prephase formatting 2017-10-10 00:27:27 +01:00
Klaus Basan
27ebf3e43d Ref T168, relay kicked message thru context to UI
* new signal in context, connected with VATLIB
* display in UI
2017-10-10 00:27:23 +01:00
Klaus Basan
2aa5ed431f Ref T167, utility functions in CCoreFacadeConfig and better check in SwiftGuiStd::displayDBusReconnectDialog 2017-10-10 00:27:21 +01:00
Klaus Basan
7a87f986e2 Ref T167, renaming LocalInDBusServer and verifyModelSet 2017-10-10 00:27:17 +01:00
Klaus Basan
988a4791ab Ref T167, improved tryToReconnectWithDBus
* use exit to abort (close might fail)
* core facade init() now private
* CCoreFacade::getDBusAddress
* display DBusAddress
2017-10-10 00:27:14 +01:00
Klaus Basan
ed51d3c5dd Ref T167, allow to re-init facade
(a first approach to reconnect with DBus core)

* Changes are supposed to be backward compliant. Maybe re-init fails, but there should be no regression for the 1st init
* keep config as member to allow restart
* disconnect from DBus before connecting (allows reconnect)
* delete contexts if they are re-created
* function CCoreFacade::tryToReconnectWithDBus
2017-10-10 00:27:06 +01:00
Klaus Basan
9748b5a442 Formatting, comments, Doxygen, minor tweaks 2017-10-10 00:27:03 +01:00
Klaus Basan
c5381b01c6 Ref T166, fixed parse command line: audio context can be empty 2017-09-29 23:26:23 +02:00
Klaus Basan
15e46ba94a Do not trigger loads if they are doomed to fail 2017-09-27 03:01:03 +02:00
Klaus Basan
40bc75a98c Ref T164, show (by LED) when consolidating data
* added LED in info bar
* signal in background updater and
* connecting them
2017-09-26 20:15:28 +02:00
Klaus Basan
3cf97b3f37 Ref T163, using settings descriptions
* renamed to getUnsavedSettingsKeys
* no private slots in close dialog
* use descriptions instead of keys
2017-09-26 20:08:02 +02:00
Klaus Basan
e932f08547 Ref T161, network watchdog calls ping service 2017-09-25 05:23:58 +02:00
Klaus Basan
733ee7853d Ref T160, ping service URL in setup 2017-09-25 05:23:57 +02:00