Commit Graph

5094 Commits

Author SHA1 Message Date
Klaus Basan
d74bd4e7c3 Ref T118, "ZZZZ" ICAO from DB passes validation 2017-10-31 15:39:18 +01:00
Klaus Basan
11f15c6692 Ref T176, clear old messages when publishing
(no idea why I have originally kept them)
2017-10-31 15:39:17 +01:00
Klaus Basan
f14f06317b Ref T118, formatting database writer and utility 2017-10-31 15:39:16 +01:00
Klaus Basan
dd9cff778f Ref T118, "private slots" -> "private" 2017-10-31 15:39:15 +01:00
Klaus Basan
2f0253b3eb Ref T118, support multiple model directories
* this was recently discussed https://swift-project.slack.com/archives/C04J6J76N/p1508430536000065
* for config parser already implemented
* for XP the loading from multiple dirs still needs to be implemented (see todo)
2017-10-31 15:39:15 +01:00
Klaus Basan
24802b6f7f Ref T118, init model directories (fixes the issue that no directory was found when triggered from context menu) 2017-10-31 15:39:14 +01:00
Klaus Basan
14c912e2aa Ref T118, utility functions support multiple directories 2017-10-31 15:39:13 +01:00
Klaus Basan
66624e064d Ref T118, "protected slots" -> "protected" 2017-10-31 15:39:12 +01:00
Klaus Basan
e920dc77b8 Ref T118, formatting 2017-10-31 15:39:12 +01:00
Klaus Basan
c6d184cd3b Ref T118, fix for simconnect.h not including windows.h 2017-10-31 15:39:11 +01:00
Klaus Basan
41f5999094 Ref T118, changed to P3D v4.1 2017-10-31 15:39:10 +01:00
Klaus Basan
eab2f0d72a Ref T118, added P3D v4.1 x64 libs 2017-10-31 15:39:09 +01:00
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