Commit Graph

8486 Commits

Author SHA1 Message Date
Klaus Basan
3d8bc7b8c7 Ref T609, renamed to Transmit/Receive for COM sync. 2019-08-11 23:15:58 +01:00
Klaus Basan
98b31b9674 Ref T609, allow to get COM unit from own aircraft context 2019-08-11 23:15:57 +01:00
Klaus Basan
143a3a6006 Ref T609, style 2019-08-11 23:15:57 +01:00
Klaus Basan
45427f5ef3 Ref T709, add colon for "swiftbus:" log messages 2019-08-11 23:15:57 +01:00
Klaus Basan
d090295471 Ref T709, check on screen w/h and report warning instead of info. Also log missing traffic object. 2019-08-11 23:15:56 +01:00
Klaus Basan
6be0586fbc Ref T709, normalize degrees to +/i180degs 2019-08-11 23:15:56 +01:00
Klaus Basan
5e9be9e96e Ref T709, return 0 if there is no camera position (nullptr) 2019-08-11 23:15:55 +01:00
Klaus Basan
917d9bb3e7 Ref T709, style 2019-08-11 23:15:55 +01:00
Klaus Basan
cd06c52cb7 Ref T709, only update settings if changed 2019-08-11 23:15:55 +01:00
Klaus Basan
5a8f41611b Ref T709, changed DBus function to get/setSettingsJson, disambiguate from get/setSettings (returning CSettings) 2019-08-11 23:15:54 +01:00
Klaus Basan
392c821841 Ref T709, bool return value if settings changed 2019-08-11 23:15:54 +01:00
Klaus Basan
423d9e3e73 UI tweak minimum button width 2019-08-11 23:15:54 +01:00
Klaus Basan
761c45c547 Ref T709, further aircraft camera pos. checks and init zoom to 1.0
Attempts to avoid the follow aircraft crash
2019-08-11 23:15:54 +01:00
Klaus Basan
972cca9fed Ref T709, update labels every n-th frame 2019-08-11 23:15:53 +01:00
Klaus Basan
034cd0c8f3 Ref T709, check position for "follow aircraft" 2019-08-11 23:15:53 +01:00
Klaus Basan
384b50ff80 Ref T709, changed to settings provider
* CPlugin is the provider
* it is "kept" in DBus object for traffic, service, weather
2019-08-11 23:15:52 +01:00
Klaus Basan
ba7b97df11 Ref T709, removed unused includes and style 2019-08-11 23:15:52 +01:00
Klaus Basan
c97f1974d7 Ref T709, settings provider to get settings
* allows to use the provider without and overhead
* single source, can be made threadsafe

Signed-off-by: Klaus Basan <klaus.basan@klausbasan.de>
2019-08-11 23:15:52 +01:00
Klaus Basan
cb4d291621 Ref T709, ctor from JSON string 2019-08-11 23:15:51 +01:00
Klaus Basan
3eb53aec82 Ref T709, update function where only changed members are changed 2019-08-11 23:15:51 +01:00
Klaus Basan
15c8207dee Minor UI tweak 2019-08-11 23:15:51 +01:00
Klaus Basan
9540355446 MacOsX logging for mic. request
https://discordapp.com/channels/539048679160676382/567983892791951374/604797145928826880
2019-08-11 23:15:50 +01:00
Klaus Basan
5170f3b500 Ref T709, changed to MACRO INFO_LOG 2019-08-11 23:15:50 +01:00
Klaus Basan
bc39ec5e44 Minor UI tweak 2019-08-11 23:15:50 +01:00
Klaus Basan
203f442e43 Ref T709, sync Qt free timestamp after parsing with swift version 2019-08-11 23:15:49 +01:00
Klaus Basan
93804bb479 Ref T709, virtual function for timestamp setting 2019-08-11 23:15:49 +01:00
Klaus Basan
4f08fd1083 Ref T709, changed to "static" settings as it needs to be used in static functions such as "CTraffic::preferences" 2019-08-11 23:15:49 +01:00
Klaus Basan
3b5d4b7582 Ref T709, changed settings component to "new" TXSwiftBusSettings 2019-08-11 23:15:48 +01:00
Klaus Basan
c0b4d38331 Ref T709, added "follow aircraft distance" and timestamp, removed old settings 2019-08-11 23:15:48 +01:00
Klaus Basan
a5cefcf18c Ref T709, style 2019-08-11 23:15:47 +01:00
Klaus Basan
f2bf038501 Ref T709, send XSwiftBusSettings when driver is connected
* send from swift -> XPlane side
* also send if settings on swift side are updated
2019-08-11 23:15:47 +01:00
Klaus Basan
42eb5477ec Ref T709, display settings as string/QString (for logging) 2019-08-11 23:15:47 +01:00
Klaus Basan
31cb96c0cc Ref T709, UNIT test for JSON settings 2019-08-11 23:15:46 +01:00
Klaus Basan
f416285c62 Ref T709, UI for XPlane settings (plugin config window) 2019-08-11 23:15:46 +01:00
Klaus Basan
dab3e03d0b Ref T709, change XPlane driver to TXSwiftBusSettings, send/receive functions 2019-08-11 23:15:46 +01:00
Klaus Basan
81577d29c5 Ref T709, style 2019-08-11 23:15:45 +01:00
Klaus Basan
e50f3cc371 fixup! Ref T659, UI changed for modelstring/livery and checkboxes to decide if those 2019-08-11 23:15:45 +01:00
Klaus Basan
b0efdd78ec Allow to test an ASSERT (like the crashdump test) 2019-08-11 23:15:45 +01:00
Klaus Basan
44d8e043e0 Ref T709, added DBus signatures and use CSettings class in service class
* CSettings objects will be shared among all services (traffic, weather, service)
* It is "global" for plugin
2019-08-11 23:15:44 +01:00
Klaus Basan
2d2eca6ccd Ref T709, added XSwiftBus settings class als based on the same Qt free base class
In order to compile included the cpp file
2019-08-11 23:15:44 +01:00
Klaus Basan
03aca5d2a8 Ref T709, in order to use BLACK_METAMEMBER(dBusServer) with std::string added all opertors 2019-08-11 23:15:43 +01:00
Klaus Basan
56c07ab881 Ref T709, based on the Qt free base class, added swift compliant settings class 2019-08-11 23:15:43 +01:00
Klaus Basan
4e3fb5d189 Ref T709, added Qt free base class for settings which can be used on XSwiftBus and swift side
This has to be "Qt free"
2019-08-11 23:15:43 +01:00
Klaus Basan
6793fbdc43 Ref T709, move case insensitive compare to utils (so it can be used elsewhere) 2019-08-11 23:15:43 +01:00
Klaus Basan
2a92ad63ab Ref T709, style 2019-08-11 23:15:42 +01:00
Klaus Basan
8c65753951 Ref T709, added rapid JSON 2019-08-11 23:15:42 +01:00
Klaus Basan
73808d696e Clang warnings (QtC) static_cast 2019-08-11 23:15:13 +01:00
Roland Rossgotterer
3cf6f6efde Synchronize radar screen with own aircraft heading
ref T653
2019-08-11 12:10:31 +02:00
Roland Rossgotterer
309cca9bde Necessary fixes for custom Qt 5.12.3 built on Linux 2019-08-11 12:10:21 +02:00
Klaus Basan
f57a1164c8 Model directory settings add. info 2019-08-11 11:41:21 +02:00