Commit Graph

6049 Commits

Author SHA1 Message Date
Klaus Basan
de3cb71706 Ref T275, general improvement in value object added comparePropertyByIndex 2018-06-13 14:00:26 +02:00
Klaus Basan
db8939c499 Ref T275, isShuttingDownOrDisconnected as stricter check 2018-06-13 14:00:25 +02:00
Klaus Basan
44f01d8d97 Ref T275, asynchronous version triggerUpdateRemoteAircraftFromSimulator and only fast updates for moving aircraft 2018-06-13 14:00:24 +02:00
Klaus Basan
d71138cee1 Fixed missing compare for ITimestampWithOffsetBased 2018-06-13 14:00:23 +02:00
Klaus Basan
a27f2b3a9c Style, typos 2018-06-13 14:00:21 +02:00
Klaus Basan
39943c1365 Ref T275, adjusted log display to use ISimulator::getStatisticsSimulatorSpecific 2018-06-13 14:00:20 +02:00
Klaus Basan
4975ecd712 Ref T275, improved tracing for FSX
* getStatisticsSimulatorSpecific for simulator specific traces/logs
* trace CSimulatorFsxCommon::SimConnectProc times
* trace which receive id is handled in SimConnectProc
* allow to limit aircraft updates (max FPS)
* handle airport updates outside SimConnectProc
2018-06-13 14:00:19 +02:00
Klaus Basan
bdf58ff538 Ref T275, utility functions to trace request ids 2018-06-13 14:00:18 +02:00
Klaus Basan
bf0db64f65 Improved METAR string building
* use static const arg1s (not always create temp. arg strings)
* use QStringBuilder to concatenate several parts at once
* done during Ref T275, but not really related
2018-06-13 14:00:17 +02:00
Klaus Basan
cd148c7dc4 Update submodules 2018-06-13 14:00:16 +02:00
Klaus Basan
0143eaaae2 Threaded reader must not override severity of validation message 2018-06-13 14:00:15 +02:00
Klaus Basan
3f67900b65 Formatter with improved NULL value handling 2018-06-13 14:00:14 +02:00
Klaus Basan
71a5d638cb UI aircraft component reduced airport update frequency 2018-06-13 14:00:13 +02:00
Klaus Basan
81f6799e0b UI interpolation setup form using radio buttons instead of combobox 2018-06-13 14:00:12 +02:00
Klaus Basan
88b2da94a3 Ref T275, elevation plane improvements
* setRadiusOrMinimum
* ASSERT if there is no radius
2018-06-13 14:00:11 +02:00
Klaus Basan
4393bdeb77 Ref T275, CTokenBucket further improvements
* allow to use extrenal timestamp for replenishment
* only replenish if there are not enough tokens "in stock"
2018-06-13 14:00:10 +02:00
Klaus Basan
0f931eeeb3 Ref T268, moved changeRemoteAircraftModel/Enabled to CSimulatorCommon and removed duplicated code 2018-06-13 14:00:09 +02:00
Klaus Basan
de4c7852a6 Style, formatting 2018-06-13 14:00:08 +02:00
Klaus Basan
f728efb3be Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
Remark: See also https://swift-project.slack.com/archives/G7GD2UP9C/p1528277800000196
2018-06-13 14:00:07 +02:00
Klaus Basan
78747782e4 Ref T270, Ref T275 FSX/P3D .pro files adjusted 2018-06-13 14:00:06 +02:00
Klaus Basan
11aa3052f7 Ref T270, Ref T275 FSX/P3D auto trace sendId
In case of problems sendId tracing is automatically switched on for some tome
2018-06-13 14:00:05 +02:00
Klaus Basan
a01d18dfa8 Ref T270, further tracing stats (max, current ....) 2018-06-13 14:00:04 +02:00
Klaus Basan
46a3f925a9 UI improvements
* mapping component does not need extra identifier as it uses "Identifiable"
* misc smaller adjustments
2018-06-13 14:00:03 +02:00
Klaus Basan
0849359722 Ref T275, adjusted token bucket to work (better) with ms (milli seconds) intervals 2018-06-13 14:00:02 +02:00
Klaus Basan
00a897f29c Better altitude null message 2018-06-13 14:00:01 +02:00
Klaus Basan
fe396e19aa Ref T275, interpolator improvements
* flags for same parts/situation status
* transfer elevation (Ref T273) from previous situation
* preset elevation based on network situations if possible
* set elevation info
* function CInterpolator::initInterpolatedSituation
2018-06-13 13:59:59 +02:00
Klaus Basan
6c0c925fa2 Ref T273, Ref T275 compare equal parts/situation functions 2018-06-13 13:59:58 +02:00
Klaus Basan
8f336a9631 Ref T273, Ref T275 FSX/P3D uses simulator common function to skip sending equal parts/situations 2018-06-13 13:59:57 +02:00
Klaus Basan
f3edf14186 Ref T273, Ref T275 XPlane uses simulator common function to skip sending equal parts/situations 2018-06-13 13:59:56 +02:00
Klaus Basan
1f00c71fea Ref T246, allow to copy model set or create 1st model set as dialog from mapping tool 2018-06-13 13:59:55 +02:00
Klaus Basan
0f83b1560c Ref T131, added a warning messages about conflicts using XSwiftBus 2018-06-13 13:59:54 +02:00
Klaus Basan
bc7a9ca40e Emulated driver UI, messages in splitter 2018-06-13 13:59:53 +02:00
Klaus Basan
6ed541b6ab Ref T243, Ref T273, added info about elevation (where did we obtain it?) 2018-06-13 13:59:52 +02:00
Klaus Basan
f3a7eef458 Increased number of cycles when displaying interpolation log. in simulator 2018-06-13 13:59:51 +02:00
Klaus Basan
6664e8a8ca As another improvement of voice testing beautified/simplified audio UI a bit 2018-06-13 13:59:50 +02:00
Klaus Basan
b257c693ff Ref T243, Ref T273, improved elevation fetching
* slightly shorter lock time
* transfer elevation from last situation
2018-06-13 13:59:49 +02:00
Klaus Basan
a3b8d776a0 Ref T273, high level functions to compare "equal" situations
Remark: "==" compares a lot of attributes, those will only compare values to determine equal PBH/vector ...
2018-06-13 13:59:48 +02:00
Klaus Basan
6f8d980d2c Exclude some more cmd line args. from being passed from launcher 2018-06-13 13:59:47 +02:00
Klaus Basan
c6f3d4e2f2 Ref T270, mark interpolator as unit test
* if we use "recycled" parts, we have to store also the last status
* mark unit test so "recycling" is disabled
* status flag for "reused"
2018-06-13 13:59:46 +02:00
Klaus Basan
84428b1284 Ref T270, log display can trigger display in sim and further improvements
* log display can trigger displayed log in simulator
* check prerequisites for log and display overlay
* made component identifiable
* pre-load parts
2018-06-13 13:59:45 +02:00
Klaus Basan
c750ad1dfc As a follow up of voice testing
* allow to directly go from ATC component to audio component (control volume)
* reordered keypad a bit
* audio setup, "private slots" -> "private"
2018-06-13 13:59:44 +02:00
Klaus Basan
6fb620a8f6 Clearer warning 2018-06-13 13:59:43 +02:00
Klaus Basan
c518c3d0b0 Ref T270, made lights comparable and use it with parts 2018-06-13 13:59:42 +02:00
Klaus Basan
532adef747 Ref T270, some formatter improvements
* return info about wrong type in string formatter
* style
2018-06-13 13:59:41 +02:00
Roland Winklmeier
990035dd6a Update externals
* vatlib 0.9.8 (without opus codec)
2018-06-13 13:59:40 +02:00
Klaus Basan
181ed36f3d Ref T270, interpolator optimization by passing aircraft number
Rational: Except for FS9 we interpolate all aircraft in one loop at the same time. This can cause that some steps are always done at the same time for all aircraft of that loop. By passing the number we can more equally distribute such tasks, avoiding peaks.
2018-06-13 13:59:39 +02:00
Klaus Basan
d39978a1d0 Style 2018-06-13 13:59:38 +02:00
Klaus Basan
f6a598fe45 Ref T270, adjusted emulated so it can update interpolation statistics 2018-06-13 13:59:37 +02:00
Klaus Basan
2b9d9027a0 Ref T270, performance improvement by keeping less elevations cached
Rational: the idea was to keep track of ground elevations of all aircraft and hence using them for other aircraft on ground. But the "hit" ratio is bad, so we only keep a small number of elevations ("the last ones") and use those. The size of the cache is dynamically adjusted. Not moving aircraft are still found in that much smaller list.
2018-06-13 13:59:36 +02:00
Klaus Basan
87b96f8910 Cleanup: toFormattedQString was not really used and just redirecting toQString
* marked deprecated
* and replaced by toQString
2018-06-13 13:59:35 +02:00