Commit Graph

4817 Commits

Author SHA1 Message Date
Klaus Basan
4166982954 Ref T118, allow to just provide an id (from backend) and set the entity on swift side
* added getDistributorForDbKey
* added fillInMissingAircraftAndLiveryEntities
* fromDbJson function adjusted
2017-10-31 15:39:26 +01:00
Klaus Basan
585d82f84b Minor UI formatting 2017-10-31 15:39:25 +01:00
Klaus Basan
622101f113 Ref T118, formatted CDistributor 2017-10-31 15:39:24 +01:00
Klaus Basan
bd2b6ebbd8 Ref T118, adjust model dirs if sim directory changes 2017-10-31 15:39:23 +01:00
Klaus Basan
58c4e36413 Ref T118, settings simulator formatting 2017-10-31 15:39:23 +01:00
Klaus Basan
53b31600a5 Ref T118, minor fix to allow easy testing of the multinline issue 2017-10-31 15:39:22 +01:00
Klaus Basan
28c4f14026 Ref T118, background updater subscribes simplified published models signal
* direct consolidation after models have been published
* renamed some syncModelOrModelSetCacheWithDbData variables
2017-10-31 15:39:21 +01:00
Klaus Basan
c54c325cce Ref T118, database writer new simplified slot 2017-10-31 15:39:20 +01:00
Klaus Basan
5612033924 Minor fixes, formatting, static const 2017-10-31 15:39:19 +01:00
Klaus Basan
e25a3bdc93 Ref T118, aircraft ICAO formatting 2017-10-31 15:39:19 +01:00
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
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