Commit Graph

5232 Commits

Author SHA1 Message Date
Roland Winklmeier
d47801c5ba Automatically update shared files during jenkins build
Summary:
This change adds an automatic shared files update step during the jenkins
build. This guarantees, that we always have the latest DB data packaged
into the installers.
The updated files will be written into the source directory, so install
step will automatically pick up the updated ones.

ref T158

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Maniphest Tasks: T158

Differential Revision: https://dev.swift-project.org/D56
2017-10-28 20:34:17 +02:00
Roland Winklmeier
8c62cf80a2 Make sure that all linux externals are packaged into installer
Summary:
Those libraries are in externals since a while, but were not yet packaged
into the Linux installer.

ref T46

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Maniphest Tasks: T46

Differential Revision: https://dev.swift-project.org/D55
2017-10-23 12:02:51 +02:00
Mathew Sutcliffe
a8d2c05f99 Ref T111 Fixed mistake detected by Clang warning. 2017-10-19 00:37:07 +01:00
Mathew Sutcliffe
3523944782 Ref #136 Restored asserts for preconditions in X-Plane driver
now that the precondition violations have been fixed.
2017-10-18 23:24:43 +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
bf390f592a Ref T171, formatting of some existing completers
* private slots -> private
* this->m_ -> m_
* removed unused utility function (model string completer)
2017-10-18 22:58:57 +02:00
Klaus Basan
73c76155f7 Ref T171, move completer utility function in own class 2017-10-18 22:58:56 +02:00
Klaus Basan
d348226283 Ref T171, use a shared completer for callsign completion
* CSharedStringListCompleter utility class supporting timestamp checks
* avoid unnecessary DBus transfer
* less memory consumption

Remark: No totally clear if a QCompleter can be shared, but I have not noticed a problem so far
2017-10-18 22:58:56 +02:00
Klaus Basan
1155bf3ed2 Ref T171, interpolator log
* set interpolator type spline or linear
* set some detail values for spline log
* removed unused variable
2017-10-18 22:58:54 +02:00
Klaus Basan
7b50917410 Ref T171, fetch interpolator values in emulated driver.
This allows to test and monitor the interpolator in the emulated driver.

* UI allows to start/stop interpolator logging
* Fetch data from interpolator
2017-10-18 22:58:53 +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
0340de5e14 Ref T171, utility functions for interpolator hints/setup 2017-10-18 22:58:51 +02:00
Klaus Basan
b8000f1779 Ref T171, wrapper (which can be used for QMap/QHash) for CInterpolatorMulti 2017-10-18 22:58:50 +02:00
Klaus Basan
584fe51161 Ref T171, set object name for driver 2017-10-18 22:58:49 +02:00
Klaus Basan
807ceb16ac Ref T173, unregister a DBus service before connecting
* In case there is a crash and we reconnect, the old service might be still registered
* "private slots" -> "private"
2017-10-18 22:58:48 +02:00
Klaus Basan
5dd83a16c4 Ref T171, interpolation logger pattern functions 2017-10-18 22:58:47 +02:00
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