Commit Graph

5066 Commits

Author SHA1 Message Date
Klaus Basan
c3f3f266d0 Ref T171, interpolator / interpolation logger formatting 2017-10-18 22:58:46 +02:00
Klaus Basan
cbe2cfaded Ref T171, interpolation logger utility function 2017-10-18 22:58:45 +02:00
Klaus Basan
9a672dfec7 Ref T171, modelmatcher log component formatting 2017-10-18 22:58:44 +02:00
Klaus Basan
aa52889767 Ref T171, use callsign completer in history and matcher log
* "private slots" -> "private"
* UI connects as Qt::QueuedConnection
2017-10-18 22:58:44 +02:00
Klaus Basan
a51f696bee Ref T171, callsign completer class
* completer used in 3 places, makes sense to encapsulate as class
* automatically updating from network context
2017-10-18 22:58:43 +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
0f968909e7 Ref T171, formatting 2017-10-18 22:58:41 +02:00
Klaus Basan
a4c7cea793 Ref T171, callsign strings can be (alphabetically) sorted 2017-10-18 22:58:40 +02:00
Klaus Basan
268f6049d3 Ref T171, LED class formatting 2017-10-18 22:58:40 +02:00
Klaus Basan
dd652a755a Ref T171, fixed wrong reset state in LED (always off)
- distinguish between value and state
- protected -> private (no need for protected)
2017-10-18 22:58:39 +02:00
Klaus Basan
c5da828679 Ref T171, typo and formatting for interpolation logger/multi 2017-10-18 22:58:38 +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
22e1a974a1 Ref T171, formatted user 2017-10-18 22:58:33 +02:00
Klaus Basan
500be2f7d1 Improved beautify name function (fixed during T171) 2017-10-18 22:58:32 +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
4cfa6189da Ref T171, added statistics in emulated driver
* UI part
* fixed minor typo
* fixed setting of rendered flag
* UI connections Qt::QueuedConnection
2017-10-18 22:58:28 +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
c553d5cdfd Ref T171, FS9 driver: made "private slots" -> "private" 2017-10-18 22:58:25 +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
3c28f8a2de Ref T171, provider formatting 2017-10-18 22:58:23 +02:00
Klaus Basan
61a23d700b Ref T171, driver formatting 2017-10-18 22:58:22 +02:00
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