Klaus Basan
1b9a79fe1b
Ref T171, emulated driver formatting
2017-10-18 22:58:21 +02:00
Roland Winklmeier
e271e6e0fd
fix cppcheck warning
2017-10-18 22:58:21 +02:00
Roland Winklmeier
ab1a200e78
Remove the DBus LaunchAgent when uninstalling
...
ref T174
2017-10-18 22:58:20 +02:00
Roland Winklmeier
fb47a5356a
Install libdbus-1 into xswiftbus on Mac OS
...
ref T174
2017-10-18 22:58:19 +02:00
Roland Winklmeier
6d8c833464
Preserve symbolic links while installing Qt frameworks
...
ref T174
2017-10-18 22:58:18 +02:00
Mathew Sutcliffe
c6c2c86d30
Install DBus dependencies alongside XSwiftBus on Windows
...
Summary:
XSwiftBus needs to be able to locate dbus-1-3.dll, expat.dll, and dbus-daemon.exe.
We simply need to install them in the same folder as XSwiftBus itself (as we already do with blackmisc.dll).
Then we need to install session.conf in a share/dbus-1 subfolder where dbus-daemon.exe can find it.
Reviewers: rwinklmeier
Reviewed By: rwinklmeier
Subscribers: jenkins
Tags: #swift_pilot_client
Differential Revision: https://dev.swift-project.org/D54
2017-10-16 14:08:52 +01:00
Roland Winklmeier
396931804f
Fix getSwiftShareDirImpl on Mac OS
2017-10-13 17:01:09 +02:00
Roland Winklmeier
366548cf7a
Remove the test connection and custom launch of dbus daemon
...
We cannot easily launch the dbus session ourselves since all other
applications don't know how to connect to it. We need to rely on the
supported solutions on different platforms. If the session bus is not
available, the workarounds would be huge to manually launch it and tell
all clients the session address.
ref T170
2017-10-13 17:01:09 +02:00
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