Mat Sutcliffe
de037af702
[xplane] Allow disabling terrain probe for diagnosing performance issues
2020-06-12 18:42:24 +01:00
Mat Sutcliffe
e50bb6d5c7
[xplane] Add monitoring of the number of minutes behind due to low FPS
2020-06-12 18:42:23 +01:00
Mat Sutcliffe
377b2f6a3e
[xplane] Add monitoring of the number of track miles lost due to low FPS
2020-06-12 18:42:23 +01:00
Mat Sutcliffe
3a73933cf1
[xswiftbus] Stop logging probe failures after a certain number
...
To avoid flooding the log with messages.
2020-06-12 18:42:22 +01:00
Mat Sutcliffe
90b307d868
[xswiftbus] log message when terrain probe fails to find ground elevation
2020-06-12 18:42:22 +01:00
Mat Sutcliffe
e1a894f81a
[xswiftbus] use $$files in qmake so files show up in VS IDE solution explorer
2020-06-12 18:42:22 +01:00
Klaus Basan
143ac8576a
Log.category for DBus server
2020-01-15 02:44:32 +01:00
Mat Sutcliffe
9dee6acef9
Update libxplanemp
2020-01-13 18:53:31 +00:00
Mat Sutcliffe
0a2001a68e
[xswiftbus] Use std::string_view for performance in CDBusMessage
...
This avoids repeated dynamic memory allocations in dbusMessageHandler
methods and elsewhere due to repeatedly constructing temporary strings.
std::string_view is a C++17 feature but also part of the Library
Fundamentals TS and available in all our compilers.
2020-01-13 18:53:31 +00:00
Mat Sutcliffe
0c444ca45c
[xswiftbus] Using raw string literal delimiter so parentheses can be embedded in the XML
2020-01-13 18:53:31 +00:00
Mat Sutcliffe
cd716bdfd5
[xswiftbus] Added missing method signatures
2020-01-13 18:53:30 +00:00
Mat Sutcliffe
35cfaebc7d
[xplane] Added display of simulation time ratio in simulator component
2020-01-13 18:53:30 +00:00
Mat Sutcliffe
f056d4fcd6
New schema for the 4th segment of the swift version number
...
Based on a count of the number of commits since
any of the first 3 segments were changed.
2020-01-07 19:57:26 +00:00
Mat Sutcliffe
516c8a2fce
[xswiftbus] Added FPS monitoring
2020-01-07 19:57:26 +00:00
Mat Sutcliffe
836eb107a3
Smart xswiftbus compatibility check based on git commit SHA-1
...
This is more tolerant that the simple check based on version numbers.
Different versions can be compatible if they have the same SHA-1 when
considering only those files that can influence xswiftbus.
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
48d1521d3a
Correct filename extension
2020-01-07 19:57:25 +00:00
Klaus Basan
60ba3ca67f
[xswiftbus] Protected destructor to avoid GCC/Clang warning
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
0f6b7d910e
Ref T723 [xswiftbus] Expose configuration to enable/disable TCAS traffic
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
8d204cded1
Ref T723 [xswiftbus] Expose configuration for render phase debug messages
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
95d273442c
Update libxplanemp
2020-01-07 19:57:24 +00:00
Klaus Basan
222d0af93b
[XSwiftBus] Ref T740, apporach to improve XPlane TX/RX sync.
2020-01-07 19:05:40 +00:00
Mat Sutcliffe
6b8ea11365
Update libxplanemp.
2019-10-23 00:38:25 +02:00
Mat Sutcliffe
05b3a6d56d
Macro hygiene.
2019-10-23 00:38:25 +02:00
Klaus Basan
85a3a0ee99
Style
2019-09-16 22:41:36 +01:00
Roland Rossgotterer
e0b52db77a
[MinGW] Fix many unresolved symbols
2019-09-16 22:41:33 +01:00
Klaus Basan
369e69e610
[libxplanemp] functions to debug the render phases, can be used as needed
2019-09-16 22:41:32 +01:00
Klaus Basan
902d18339a
Improved manual changing of aircraft and reset
...
* deferred adding and reset
* HTML overlay messages
* debug code for DBus messages
2019-09-16 22:41:32 +01:00
Klaus Basan
0e3cba35ff
Minor style changes
2019-09-16 22:41:31 +01:00
Klaus Basan
153602d99e
[libxplanemp] Different containers for render and TCAS planes
2019-09-16 22:41:28 +01:00
Klaus Basan
f8c73c772a
Continue to send CTraffic values if a plane is NOT found, do NOT return
2019-09-16 22:41:27 +01:00
Klaus Basan
9ec1d54908
Ref T610, added COM async getter functions and bundled async calls
...
* reduced the number of async XSwiftBus calls by getting multiple values at once
* the concept was already used for getOwnAircraftSituationDataAsync
* now also used for COM, parts, model and lights
* As Qt restricts to 8 parameters not further bundled
* new COM1 getter functions for receive/volume/transmit
2019-09-16 22:41:26 +01:00
Klaus Basan
d1fac2e1a4
Ref T610, support for XPlane COM volume and receive/transmit
...
* proxy and
* DBus service functions
2019-09-16 22:41:26 +01:00
Klaus Basan
62f5ddab99
Follow aircraft allow to zoom in/out
...
* renamed sniffer
* ignore keystrokes if NO aircraft is followed
* allow to zoom in/out my multiplying the distance
2019-09-16 22:41:25 +01:00
Klaus Basan
0d29471144
Reset keydown (follow aircraft) if mouse no longer moves
2019-09-16 22:41:25 +01:00
Klaus Basan
713972ad7c
Checks to avoid issues during the XPlane startup.
...
Those here are precautionary.
2019-09-16 22:41:25 +01:00
Klaus Basan
3ea8f9c24f
Log starting of the XSwiftPlugin
...
Rational: If XPlane crashes before that log it is most likely something else
Remark: Logger macros using namespace, so they can be used outside XSwiftBus
2019-09-16 22:41:24 +01:00
Klaus Basan
eed46f47a9
[libxplanemp] Fix for the TCAS crash and wrong TCAS distance
...
Closing the gaps:
* Pro: The dataref list is being cleaned up and no "0" entries are needed
* Con: A blip can be re-assigned, maybe loosing map "follow aircraft"
See also https://discordapp.com/channels/539048679160676382/539925070550794240/613834869713272845
2019-09-16 22:41:24 +01:00
Klaus Basan
55d0eb97d0
Ref T709, also log model name (so we can see if a particular model causes a crash)
2019-09-16 22:41:21 +01:00
Klaus Basan
2793502839
[libxplanemp] Ref T715, draw translucent (blend) part after lights (as in the original code)
2019-09-16 22:41:20 +01:00
Klaus Basan
8a6a4ae7d1
Ref T709, use std::advance for message iterator
2019-09-16 22:41:20 +01:00
Klaus Basan
aa765e9adb
Style
2019-09-16 22:41:20 +01:00
Klaus Basan
fab6e677a8
Ref T709, updated XSwiftBus service and messages to support settings
2019-09-16 22:41:19 +01:00
Klaus Basan
0da1881003
Ref T709, added support for taxi lights in XPlane, using the "bundle lights" flag
2019-09-16 22:41:19 +01:00
Klaus Basan
024360a5df
Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor
2019-09-16 22:41:18 +01:00
Klaus Basan
0b728053f0
Ref T709, smaller style changes
2019-09-16 22:41:17 +01:00
Klaus Basan
d947baf344
Ref T709, doxygen
2019-09-16 22:41:17 +01:00
Mat Sutcliffe
7295ac5331
Ref T709 Encapsulate the CSettingsProvider pointer in a CSettingsAware base class.
2019-09-16 22:41:17 +01:00
Mat Sutcliffe
463ed4bfbd
Ref T709 Made settings provider non-static.
2019-09-16 22:41:16 +01:00
Mat Sutcliffe
349da3633b
Ref T709 Prevent instantiation of CXSwiftBusSettingsQtFree, to avoid slicing.
...
- Constructors and destructor are protected.
- Therefore destructor doesn't need to be virtual.
- objectUpdated is pure virtual, so the class is abstract.
- Both derived classes are declared final.
2019-09-16 22:41:16 +01:00
Mat Sutcliffe
2e571b72fd
Update libxplanemp.
2019-09-16 22:41:15 +01:00