Commit Graph

243 Commits

Author SHA1 Message Date
Mat Sutcliffe
22ebf6c5ea Ref T778 XSwiftBus traffic service prodives water/land flag for elevations 2020-06-12 18:42:44 +01:00
Mat Sutcliffe
7c4fe83799 Ref T778 XSwiftBus service emits a signal when scenery is loaded 2020-06-12 18:42:44 +01:00
Roland Rossgotterer
e997940be9 Update libxplanemp 2020-06-12 18:42:42 +01:00
Klaus Basan
87a9059a05 [XSwiftBus] Fix, write the string not the enum value 2020-06-12 18:42:40 +01:00
Klaus Basan
fd3ad207bd [XSwiftBus] Allow to write an updated xswiftbus.conf file
In a distributed core/UI swift we need to write on XPlane side
2020-06-12 18:42:39 +01:00
Klaus Basan
80e97f749f [XSwiftBus] Misc. style fixes 2020-06-12 18:42:38 +01:00
Klaus Basan
db81acf574 [XSwiftBus] Added missing return
https://discordapp.com/channels/539048679160676382/539925070550794240/689926933642870868
2020-06-12 18:42:38 +01:00
Klaus Basan
e9decab36a Avoid ERROR: Missing XSWIFTBUS_COMMIT variable
see discussion: https://discordapp.com/channels/539048679160676382/539925070550794240/687795747403595847
2020-06-12 18:42:38 +01:00
Lars Toenning
42fd0ed86e Add support for non multi-arch linux distros 2020-06-12 18:42:37 +01:00
Mat Sutcliffe
9aac7576c1 [xswiftbus] Fixed line number counting in config parser 2020-06-12 18:42:37 +01:00
Mat Sutcliffe
a6eaa57f05 [xswiftbus] Fixed wrong error message in config parser 2020-06-12 18:42:36 +01:00
Mat Sutcliffe
e6207198ad [xswiftbus] Fixed wrong config variable name 2020-06-12 18:42:36 +01:00
Klaus Basan
3174e15b53 [XSwiftBus] Add timestamp for logger 2020-06-12 18:42:36 +01:00
Mat Sutcliffe
99033f8538 Update libxplanemp 2020-06-12 18:42:36 +01:00
Klaus Basan
57153d45d7 Ref T773, style 2020-06-12 18:42:35 +01:00
Klaus Basan
6221102b97 Minor follow up of "settings" for terrain probe (style) 2020-06-12 18:42:34 +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
4ca3a925ce [xswiftbus] FramePeriodSampler: hook into a different render phase
Was previously using cockpit phase,
which wouldn't work when the view was external.
2020-06-12 18:42:24 +01:00
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