Commit Graph

5594 Commits

Author SHA1 Message Date
Klaus Basan
d1157bb5c6 Ref T275, moved "preset" of elevation to situation class (from interpolator) 2018-06-18 03:04:41 +02:00
Klaus Basan
5b171e7b94 Ref T280, fixed usage for aircraft change
* calculate only simple changes (without deviations) if those are not needed
* return "change" object so it can be re-used
2018-06-18 03:04:40 +02:00
Klaus Basan
58b484d997 Ref T275, Ref T280 improved interpolation log and allow to disable all aircraft
* show when interpolation log updates its views (LED)
* allow to disable all aircraft (one can disable all, then just enable one aircraft which is useful for debugging)
2018-06-18 03:04:39 +02:00
Klaus Basan
b1fc56bb57 Minor improvements and style for CRgbColor, faster compare without always convertng to string 2018-06-18 03:04:38 +02:00
Klaus Basan
9438462280 Optimizations for column formatters, use CVariant directly if a value remains const (no need to always contruct CVariant) 2018-06-18 03:04:37 +02:00
Klaus Basan
348d9f1533 Ref T280, interpolation log display shows parts from provider 2018-06-18 03:04:35 +02:00
Klaus Basan
3467bef45c Ref T280, provider improvements
* store the changes per callsign
* aircraft stored per callsign
* moved "guessOnGroundAndUpdateModelCG" down to IRemoteAircraftProvider (from airspace monitor, "one level deeper in base class"
2018-06-18 03:04:34 +02:00
Klaus Basan
d49831abc4 Ref T280, QHash for aircraft and models and some minor improvements
* CValueObject::comparePropertyByIndex
* bool "true" if value has been changed
2018-06-18 03:04:33 +02:00
Klaus Basan
9777bf963c Style 2018-06-18 03:04:32 +02:00
Klaus Basan
fb93d26453 Ref T275, IRemoteAircraftProvider::remoteAircraftParts cutoff time was never used so parameter was removed 2018-06-18 03:04:30 +02:00
Klaus Basan
978fe5eea2 Ref T275, Ref T280 hint for timestamp based list if they are already sorted 2018-06-18 03:04:29 +02:00
Roland Winklmeier
128edcd118 Update libxplanemp 2018-06-18 03:04:27 +02:00
Roland Winklmeier
87ba7183cc Add new command to jump to previous plane in follow plane view
ref T269
2018-06-18 03:04:25 +02:00
Roland Winklmeier
e55103ccdf Rename all variables and functions to be similar to followPlaneView 2018-06-18 03:04:24 +02:00
Roland Winklmeier
10b8cf5fea Add new command to jump to next plane in follow plane view
ref T269
2018-06-18 03:04:22 +02:00
Klaus Basan
6688b56e49 Fixed "SimConnect.lib(commClient.obj) : error LNK2019: unresolved external symbol __imp_CoTaskMemFree" on Win64 systems
* discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1528793410000485
* This problem was obviously related to commit Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
2018-06-18 03:04:20 +02:00
Klaus Basan
2b3b0bd9ee Ref T275, FSX/P3D check if SimObject has been removed 2018-06-18 03:04:19 +02:00
Klaus Basan
c58f02bf41 Ref T275, display elevation cache hits in log display 2018-06-18 03:04:18 +02:00
Klaus Basan
c5fb428fa9 Ref T280, using the QHash<CCallsign, T> definitions to unify use cases 2018-06-14 14:40:16 +02:00
Klaus Basan
edde558f29 Ref T280, definitions for QHash<CCallsign, T> for
* situation
* situation list
* client
* parts
* parts list
* functions to convert standard swift containers into QMap/QHash<CCallign, T>
2018-06-14 14:40:15 +02:00
Klaus Basan
a2838e3b57 Ref T280, clients as callsign map as this is faster 2018-06-13 14:00:33 +02:00
Klaus Basan
70c15f62cd Ref T275, allow to disable airspace watchdog (needed when debugging to avoid timeouts) 2018-06-13 14:00:32 +02:00
Klaus Basan
444c7a18ba Ref T275, use getSimObjectForObjectId / getProbeForObjectId
* added getProbeForObjectId
* used getSimObjectForObjectId where not yet used
2018-06-13 14:00:31 +02:00
Klaus Basan
6f5b4c5de8 Ref T275, used "pending" function (FSX/P3D) to check if we can request position data 2018-06-13 14:00:30 +02:00
Klaus Basan
fb243cca8c Ref T275, log display using aircraft situation change view 2018-06-13 14:00:29 +02:00
Klaus Basan
69e1c3f4c2 Ref T275, CAircraftSituationChange view/model
* added some more indexes
* CAircraftSituationChangeListModel
* CAircraftSituationChangeListView
2018-06-13 14:00:28 +02:00
Klaus Basan
169dca8d84 Ref T275, aligned classes with new "comparePropertyByIndex" in base class 2018-06-13 14:00:27 +02:00
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
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