Commit Graph

5222 Commits

Author SHA1 Message Date
Klaus Basan
2dfb6770da Ref T129, improved flight plan remarks parsing
* unit tests
* improved parsing
* return value objects instead of just strings where applicable
2017-10-10 00:28:24 +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
3fb2f88032 Ref T129, some more utility functions for aviation value objects
* removed static variables from SELCAL
* more finder functions for airline ICAO list
* check for IATA code
* unify callsign now public
2017-10-10 00:28:20 +01:00
Klaus Basan
686cb03170 Ref T129, SELCAL class improvements
* unify string to also allow strings like AB-FG as input
* removed static variables, replaced by "our normal static const &" style
2017-10-10 00:28:18 +01:00
Klaus Basan
6fbf601aea Ref T129, SELCAL class formatting 2017-10-10 00:28:16 +01:00
Klaus Basan
d6aa535236 Fixed minor UI issues in keypad area 2017-10-10 00:28:14 +01:00
Klaus Basan
9ce37d94be Ref T129, flight plan component formatting 2017-10-10 00:28:12 +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
3d541a8dd1 Ref T129, SVFR/VFR discussion
* utility functions in flight plan class
* adjusted flight plan component and client
2017-10-10 00:28:09 +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
7b212c65bb Ref T129, formatting and optimized CVoiceCapabilities 2017-10-10 00:28:01 +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
27281e438d Ref T129, aircraft ICAO and parsed remarks can be obtained from flight plan 2017-10-10 00:27:54 +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
3b842679e7 Ref T129, flight plan list 2017-10-10 00:27:43 +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
5f75943bbb Ref T129, removed CAircraft/CAircraftList as no longer existing 2017-10-10 00:27:37 +01:00
Klaus Basan
db9236a266 Ref T129, formatting aircraft parts/situation 2017-10-10 00:27:36 +01:00
Klaus Basan
bfa3908a99 Ref T129, utility function for timestamp based interface 2017-10-10 00:27:34 +01:00
Klaus Basan
ba8d0c1f64 Ref T129, formatted aircraftmodel and simulated aircraft 2017-10-10 00:27:32 +01:00
Klaus Basan
9b51ec251c Ref T129, force callsign type "Aircraft" for model 2017-10-10 00:27:30 +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
e5d07128ae Ref T168, UI updates made Qt::QueuedConnection 2017-10-10 00:27:25 +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
0179e6e757 Ref T167, toggle DBus led if core is not available 2017-10-10 00:27:13 +01:00
Klaus Basan
fb5b94e29f Follow up of T167, "private slots" -> "private" 2017-10-10 00:27:10 +01:00
Klaus Basan
8b1ef20146 Ref T167, in swift GUI
* removed isContextNetworkAvailableCheck / isContextAudioAvailableCheck
* replaced those by displayDBusReconnectDialog
* using a counter to ignore some errors before showing re-connect dialog
2017-10-10 00:27:07 +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
f815f7734d Ref T166, use command input in main keypad area 2017-09-29 23:26:23 +02:00
Klaus Basan
706a1b7b3d Ref T166, adjusted core to use changed connect lep_CommandLineInput 2017-09-29 23:26:22 +02:00
Klaus Basan
92bb17364a Ref T166, command input uses history line edit
* tooltip handling
* emit commandEntered
2017-09-29 23:26:21 +02:00
Klaus Basan
3ca352a2a1 Ref T166, identifier can be set
(in case an identifier from a higher level should be set)
2017-09-29 23:26:19 +02:00
Klaus Basan
a196015b73 Ref T165, using CGuiApplication::distributionInfoAvailable is redundant, the cache changed signal is enough
* distribution info avaialble signal no longer needs flag
* some functions can be removed
2017-09-29 23:26:18 +02:00