Roland Winklmeier
e2f7ea87a3
[MacOS] Write dbus session launchd script during installation
...
DBus session needs to be started from a central place. On Mac OS, the
recommended solution is launchd service since all dbus clients will query
launchd for the session address first. All other solutions would be hacky.
With this script, launchd will start dbus-daemon on demand and provide
the enviromental variable DBUS_LAUNCHD_SESSION_BUS_SOCKET.
We put this into the user launch agents folder to make it a user session.
ref T170
2017-10-13 17:01:08 +02:00
Roland Winklmeier
79dcbd98a2
Remove the required installation by a privileged user
...
This was required by a wrong owner ship configuration on Mac OS slave.
ref T170
2017-10-13 17:01:07 +02:00
Roland Winklmeier
2d56d969a2
Move DBus binaries into externals
...
ref T170
2017-10-13 17:01:06 +02:00
Roland Winklmeier
17ed39827a
Generate DBus session.conf from template for each platform individually
...
Before this commit we used to have a static session.conf. But the session
configuration needs to be different for Mac OS and Windows. Our static
one was Windows only. This caused the packaged DBus daemon to fail on
Mac OS.
This commit solves this by generating the config file at qmake time with
special configuration for each operating system.
ref T170
2017-10-13 16:55:23 +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
5682c9cb58
Ref T169, set http USER-AGENT version in a defined way, so we can use it for checks at the backend
2017-10-10 00:28:35 +01:00
Klaus Basan
bcd103a869
Ref T169, removed function which was not implemented
2017-10-10 00:28:32 +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
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