Commit Graph

6005 Commits

Author SHA1 Message Date
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
Klaus Basan
b8829cca56 Minor interpolator unit test adjustment 2018-06-13 13:59:34 +02:00
Klaus Basan
eeaa5d8bf6 Ref T270, interpolation log improvements
* last interpolation tab
* display scenery offset
* UI formatting
* using COverlayMessagesFrame
2018-06-13 13:59:33 +02:00
Klaus Basan
04110447c8 Minor UI adjustment for margins 2018-06-13 13:59:32 +02:00
Klaus Basan
240d2777a5 Ref T270, unified some function names in CAircraftParts and set default timestamp values in parts when guessing 2018-06-13 13:59:31 +02:00
Klaus Basan
f82010a1da Ref T270, fixes in interpolator
* interpolatedParts already "logs", do not do it twice
* performance: only recalculate "this->remoteAircraftSituationsAndChange(setup)" when there are new situations, not every interpolation step
2018-06-13 13:59:30 +02:00
Klaus Basan
686b27af6e Ref T270, style 2018-06-13 13:59:28 +02:00
Klaus Basan
38b6e3c997 Unit test to test interpolation setup 2018-06-13 13:59:27 +02:00
Klaus Basan
de0a827f87 Ref T270, also display update aircraft (interpolation) request time
* made some ISimulator functions public, so they can be used in UI
* added members for request times
* better "shutdown" / "disconnect" detection
2018-06-13 13:59:26 +02:00
Klaus Basan
fe8eb89d8b Avoid crash when closing interpolation log display
Remark: This is a hack solving the issue, but it is not clear why it is needed
2018-06-13 13:59:25 +02:00
Klaus Basan
5ff1e82cb7 QTimer::singleShot "guard" 2018-06-13 13:59:24 +02:00
Klaus Basan
b9c3e87394 Ref T270, display average value as double in log display 2018-06-13 13:59:23 +02:00
Klaus Basan
aa7363dcad Ref T270, Ref T268, plugin common / simulator improvements
* connect with "about to quit"
* added interface declarations
* sim statistics, use common function setStatsRemoteAircraftUpdate and double for average values
2018-06-13 13:59:22 +02:00
Klaus Basan
2923df27e2 Use fully qualified names in signals as there was an unrecognized type with Qt::QueuedConnection 2018-06-13 13:59:21 +02:00
Klaus Basan
5d6952031d Formatting 2018-06-13 13:59:20 +02:00
Klaus Basan
d1782cf014 Use encapsulated network setup and display correct server tab, follow up of Ref T272 2018-06-13 13:59:19 +02:00
Klaus Basan
839a836926 Encapsulated last network server used in network setup. Will allow to retrieve ecosystem for T272 2018-06-13 13:59:18 +02:00
Roland Winklmeier
0b607f9e0b Add own aircraft to X-Plane plane view menu
ref T269
2018-06-13 13:59:17 +02:00
Roland Winklmeier
654cc1621e Align the position and surface variable names to plural 2018-06-13 13:59:16 +02:00
Roland Winklmeier
c437c2eabd Simplify the X-Plane traffic plane positions and surfaces API 2018-06-13 13:59:14 +02:00
Roland Winklmeier
33963041cc Implement followAircraft for X-Plane
ref T266
2018-06-13 13:59:13 +02:00
Roland Winklmeier
794137fc94 Align the CSimulatorXPlane API with its base class
Some functions were protected in the base class and in a different order.
This is all corrected now.
2018-06-02 02:08:48 +02:00
Roland Winklmeier
4aaccb44c3 Cleanup the enabled modules in all sub projects
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
8fad39fdaf Jenkins Win64 build warnings 2018-06-01 01:30:55 +02:00
Klaus Basan
efba4d99d3 Ref T213, Ref T271 opt-in for crash dumps 2018-06-01 01:30:53 +02:00
Klaus Basan
c7f77c6892 Load settings before contexts are loaded, see https://swift-project.slack.com/archives/G7GD2UP9C/p1527537764000022
* load local settings before core facade is created
* or load it in the next step, in case there are no contexts
2018-06-01 01:30:50 +02:00
Klaus Basan
4021822753 Setting UI improvement
* pressing shift while clicking the button shows overview
* hint in overview, that there are shortcuts
2018-06-01 01:30:48 +02:00
Klaus Basan
0ef58f03ba Warning if there is no XP-directory 2018-06-01 01:30:45 +02:00
Klaus Basan
7bee8e9ee8 Formatting 2018-06-01 01:30:42 +02:00
Klaus Basan
4788c25ecb Some fixes of status message view
* push_front as default (in most cases we have "latest first"
* as follow up of t270 use CListModelTimestampObjects
2018-06-01 01:30:39 +02:00
Klaus Basan
6deb9042c3 Ref T270, split into CListModelTimestampWithOffsetObjects / CListModelTimestampObjects 2018-06-01 01:30:35 +02:00
Klaus Basan
f7a0c69fc8 Ref T270, push front for sequence and unified "insert" -> "push_back"
Remark: "CSequence::insert" is a synonym "push_back". This makes it clearer that push_back is used.
2018-06-01 01:30:33 +02:00
Klaus Basan
abfa12c1ec Ref T272, skip VATSIM readers if (for sure) connected to an other eco system
Remark: This requires the server (=> ecosystem) to be connected, otherwise VATSIM data (before that connection) are still read as default
2018-06-01 01:30:31 +02:00
Klaus Basan
776a096168 Ref T272, network can add as ECO system provider (the server connected knows its ECO system) 2018-06-01 01:30:29 +02:00
Klaus Basan
4eeaf1adc4 Smaller adjustments of unit test and application 2018-06-01 01:30:26 +02:00
Klaus Basan
90f84149ed Ref T270, changes to context/and interpolation log display so we can display "internals" of airspace monitor 2018-06-01 01:30:24 +02:00
Klaus Basan
27340f6906 Ref T270, access to sim. statistics 2018-05-29 00:56:40 +02:00
Klaus Basan
ac87e648ca Ref T270, fixed provider so signals are correctly emitted 2018-05-29 00:56:39 +02:00
Klaus Basan
65ad35bfab Fixed div. by 0 ("zero") warning 2018-05-29 00:56:38 +02:00
Klaus Basan
8a522b5e6d Ref T270, signal requestedElevation 2018-05-29 00:56:37 +02:00
Klaus Basan
c16f5575f4 Ref T270, models/views for parts and situations
* added base class CListModelTimestampObjects
* added model/view for CAircraftParts
* added model/view for CAircraftSituation
2018-05-29 00:56:36 +02:00
Klaus Basan
117862e756 Ref T270, added CVariant long long functions and used those in formatter 2018-05-26 21:19:22 +02:00
Klaus Basan
06a835a5de Ref T270, added properties for CAircraftSituation 2018-05-26 21:19:21 +02:00
Klaus Basan
464c8dfe83 Formatting 2018-05-26 21:19:20 +02:00
Klaus Basan
f80b2293f5 Scale UI component, used in launcher 2018-05-26 21:19:01 +02:00