Commit Graph

9088 Commits

Author SHA1 Message Date
Klaus Basan
8e89488bae Guard 2020-06-12 18:42:34 +01:00
Klaus Basan
3b73f6aa25 Ref T773, adjust skip values (speed/radius) 2020-06-12 18:42:34 +01:00
Klaus Basan
e21dab0605 Ref T773, if possible skip update of situations with elevation in interpolator 2020-06-12 18:42:34 +01:00
Klaus Basan
181c2b8061 Ref T773, improved info texts and statistics values 2020-06-12 18:42:34 +01:00
Klaus Basan
f2096bd826 Ref T773, style 2020-06-12 18:42:34 +01:00
Klaus Basan
e611f5109d Clearer message text 2020-06-12 18:42:34 +01:00
Klaus Basan
ab41c1e930 Ref T773, utility functions to clean cache and find max. elevation 2020-06-12 18:42:34 +01:00
Klaus Basan
466c761616 Ref T773, gcc/clang warnings
Remark: "assuming signed overflow does not occur when assuming that (X - c) > X is always false"
2020-06-12 18:42:33 +01:00
Klaus Basan
4120a2c77d Ref T773, use "on ground" cached elevations for situations in simulator and airspace monitor 2020-06-12 18:42:33 +01:00
Klaus Basan
55b28e24a6 Ref T773, average elevation from cached (on ground) elevations 2020-06-12 18:42:33 +01:00
Klaus Basan
33b1e26460 Ref T773, cache ground elevations for "on ground" planes separately
Rational:

* Those values represent taxiways and runways
* we cache those longer and keep more

It is much more likely we need/can use these values
2020-06-12 18:42:33 +01:00
Klaus Basan
b128d40342 Ref T773, return flag if elevation was set for a ground position 2020-06-12 18:42:33 +01:00
Klaus Basan
a7ae5290d0 Utility function 2020-06-12 18:42:33 +01:00
Klaus Basan
25b30ccf34 Ref T773, style/typo 2020-06-12 18:42:33 +01:00
Klaus Basan
ee421fe33c Ref T773, also log. middle position (2nd) - useful for spline 2020-06-12 18:42:33 +01:00
Klaus Basan
5604cff6bf Ref T773, audit "null" elevation if tried to be stored 2020-06-12 18:42:33 +01:00
Klaus Basan
14ab60cb73 Guarding by "hasWebDataServices" 2020-06-12 18:42:33 +01:00
Klaus Basan
70e08fdf8b Ref T773, allow to clear/write log. from interpolation UI via buttons 2020-06-12 18:42:33 +01:00
Klaus Basan
33b3cd5461 Ref T773, elevation handling style and minor improvements 2020-06-12 18:42:32 +01:00
Klaus Basan
287d96afea Ref T773, added "hasMeanSeaLevelValue" and consistently use it 2020-06-12 18:42:32 +01:00
Klaus Basan
9f911b7e55 Ref T773, use the callback for testing in emulated driver (same code as XPlane et.al.) 2020-06-12 18:42:32 +01:00
Klaus Basan
0ccc7a9cba Ref T773, log.elev.info as well 2020-06-12 18:42:32 +01:00
Klaus Basan
c57ed26880 Ref T773, improved start/stop in log.display 2020-06-12 18:42:32 +01:00
Klaus Basan
1d9fd71305 Ref T773, log.categories for log.display and messages if logging starts 2020-06-12 18:42:32 +01:00
Klaus Basan
af12325856 Ref T773, always set setup for interpolation logger 2020-06-12 18:42:32 +01:00
Klaus Basan
a629b70724 Ref T773, clear log when written, set object name for logger 2020-06-12 18:42:31 +01:00
Klaus Basan
f6c5e6f3cb [FSD] Demote ASSERT to VERIFY 2020-06-12 18:42:31 +01:00
Klaus Basan
60b556f118 Ref T773, allow to set test elevation (from log.display) 2020-06-12 18:42:31 +01:00
Klaus Basan
5f1bd14fcf Ref T773, style 2020-06-12 18:42:31 +01:00
Mat Sutcliffe
f4f34341e6 [xswiftbus] getElevationAtPosition also returns latitude and longitude 2020-06-12 18:42:31 +01:00
Mat Sutcliffe
74d5afd123 [xswiftbus] Fixed inverted value of terrain probe enabled setting 2020-06-12 18:42:31 +01:00
Mat Sutcliffe
ecc38fede7 [XP driver] Fixed failure to find CSL package in certain directory layouts
Issue reported by Richard Åsberg on Discord. If one package is located
two subdirectories below the parent directory of another, the first one
might not be loaded.
2020-06-12 18:42:31 +01:00
Klaus Basan
7efebad51a Menu item to reset all dock widgets' settings 2020-06-12 18:42:30 +01:00
Klaus Basan
1d5bbb6747 [5.14.1] UI fixes
* restore settings, 1st toogle, then frameless, THEN restore geometry
* closeEvent: toggleFloating, then close
* setOffsetWhenFloating, also pass "frameless", if ever needed
2020-06-12 18:42:30 +01:00
Mat Sutcliffe
c3fb91e165 [qmake] skip some steps during QtCreator initial parse phase 2020-06-12 18:42:30 +01:00
Mat Sutcliffe
8da9561e91 [qmake] Added warning when 4th version part schema logic fails 2020-06-12 18:42:30 +01:00
Klaus Basan
4183a67e1f Dock widget minor style issues 2020-06-12 18:42:30 +01:00
Klaus Basan
62e74092ba Remove Qt::QueuedConnection from addAction
* the parameter is actually the shortcut, not the connection type
* caused odd characters in Qt 5.14.1 context menu
2020-06-12 18:42:30 +01:00
Klaus Basan
8f4c4a249c [5.14.1] UI adjustments
* OS native check of screen resolution (Qt free, experimental)
* changed rounding
* use string for scale factor so we can use fractions as 2/3
* utility functions to clean numbers, parse fractions

It looks like:

* my WIN10 scaling is 250%
* obviously swift rounds that to 3 (device ratio)
* now using FLOOR policy down-rounding to 2
* rational: scaling up (scale factor) is better as down-scaling as the factors would be clearer
* 2->3 1.5, but 3->2 means 0.66667
2020-06-12 18:42:30 +01:00
Klaus Basan
52de67a72f Guard for "CLoginComponent::onWebServiceDataRead" 2020-06-12 18:42:30 +01:00
Klaus Basan
86c8568bf2 Fixes some CLANG warnings (QtC IDE checks, nevertheless does not harm to fix them) 2020-06-12 18:42:30 +01:00
Roland Rossgotterer
15ced5a77f [FSD] Ignore client query type 'NEWATIS' from private FSD servers 2020-06-12 18:42:30 +01:00
Klaus Basan
0482b9883d [DB readers] misc fixes found during "datastore down" investigation
* added CEntityFlags::AircraftCategoryEntity in config lists
* flag to name
* missed initial reading of categories
* style
2020-06-12 18:42:30 +01:00
Mat Sutcliffe
39907bf7ea [XP driver] fixed bug that inverted engines on/off state 2020-06-12 18:42:30 +01:00
Mat Sutcliffe
5acb7c52b5 Update Qt version 2020-06-12 18:42:29 +01:00
Roland Rossgotterer
5366e2e1cf Revert 8c7475f620 after upgrade to Qt 5.14.0 2020-06-12 18:42:29 +01:00
Roland Rossgotterer
f60a44ea1e [FS9] Fix double deletion of CFs9Host
CFs9Host was guarded by a QSharedPointer plus it had a QObject parent.
2020-06-12 18:42:29 +01:00
Roland Rossgotterer
23c41a408b Separate debug info for MinGW builds 2020-06-12 18:42:29 +01:00
Roland Rossgotterer
6f55d8cb8a MinGW no longer uses the debug suffix. MSVC is the only one > Qt 5.14 2020-06-12 18:42:29 +01:00
Klaus Basan
655209333c [FS family] follow up of the log. message changes,
display a confirmation if user wants to see all the details

Based on RPs comment here: https://discordapp.com/channels/539048679160676382/594962359441948682/674013220687577109
2020-06-12 18:42:29 +01:00