Commit Graph

8611 Commits

Author SHA1 Message Date
Klaus Basan
73b8e606e2 Ref T709, further aircraft camera pos. checks and init zoom to 1.0
Attempts to avoid the follow aircraft crash
2019-09-16 22:41:02 +01:00
Klaus Basan
4a0101feed Ref T709, update labels every n-th frame 2019-09-16 22:41:02 +01:00
Klaus Basan
01f90fc9bf Ref T709, check position for "follow aircraft" 2019-09-16 22:41:01 +01:00
Klaus Basan
f9c87326fb Ref T709, changed to settings provider
* CPlugin is the provider
* it is "kept" in DBus object for traffic, service, weather
2019-09-16 22:41:01 +01:00
Klaus Basan
97926eee26 Ref T709, removed unused includes and style 2019-09-16 22:41:01 +01:00
Klaus Basan
006fbc88ae 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-09-16 22:41:01 +01:00
Klaus Basan
7004e85117 Ref T709, ctor from JSON string 2019-09-16 22:41:00 +01:00
Klaus Basan
9982f9cfb9 Ref T709, update function where only changed members are changed 2019-09-16 22:41:00 +01:00
Klaus Basan
f6ad82daab Minor UI tweak 2019-09-16 22:40:59 +01:00
Klaus Basan
e7d39a2cd7 MacOsX logging for mic. request
https://discordapp.com/channels/539048679160676382/567983892791951374/604797145928826880
2019-09-16 22:40:59 +01:00
Klaus Basan
bbf341743e Ref T709, changed to MACRO INFO_LOG 2019-09-16 22:40:59 +01:00
Klaus Basan
e0a654ccd8 Minor UI tweak 2019-09-16 22:40:59 +01:00
Klaus Basan
34aa8333cc Ref T709, sync Qt free timestamp after parsing with swift version 2019-09-16 22:40:58 +01:00
Klaus Basan
04e57df5f7 Ref T709, virtual function for timestamp setting 2019-09-16 22:40:58 +01:00
Klaus Basan
1440c4d2e9 Ref T709, changed to "static" settings as it needs to be used in static functions such as "CTraffic::preferences" 2019-09-16 22:40:57 +01:00
Klaus Basan
f2f9ee8818 Ref T709, changed settings component to "new" TXSwiftBusSettings 2019-09-16 22:40:57 +01:00
Klaus Basan
5ebf119acb Ref T709, added "follow aircraft distance" and timestamp, removed old settings 2019-09-16 22:40:57 +01:00
Klaus Basan
8845d1d35c Ref T709, style 2019-09-16 22:40:57 +01:00
Klaus Basan
cbd93da1c6 Ref T709, send XSwiftBusSettings when driver is connected
* send from swift -> XPlane side
* also send if settings on swift side are updated
2019-09-16 22:40:56 +01:00
Klaus Basan
d1db1943ae Ref T709, display settings as string/QString (for logging) 2019-09-16 22:40:56 +01:00
Klaus Basan
6a2f08b49f Ref T709, UNIT test for JSON settings 2019-09-16 22:40:56 +01:00
Klaus Basan
dd6e14e2c8 Ref T709, UI for XPlane settings (plugin config window) 2019-09-16 22:40:55 +01:00
Klaus Basan
49a9a767a3 Ref T709, change XPlane driver to TXSwiftBusSettings, send/receive functions 2019-09-16 22:40:55 +01:00
Klaus Basan
60305d461f Ref T709, style 2019-09-16 22:40:55 +01:00
Klaus Basan
33cd96c2e3 Allow to test an ASSERT (like the crashdump test) 2019-09-16 22:40:54 +01:00
Klaus Basan
f6690136f2 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-09-16 22:40:54 +01:00
Klaus Basan
94f519961b Ref T709, added XSwiftBus settings class als based on the same Qt free base class
In order to compile included the cpp file
2019-09-16 22:40:53 +01:00
Klaus Basan
246ed0d955 Ref T709, in order to use BLACK_METAMEMBER(dBusServer) with std::string added all opertors 2019-09-16 22:40:53 +01:00
Klaus Basan
81c832457e Ref T709, based on the Qt free base class, added swift compliant settings class 2019-09-16 22:40:53 +01:00
Klaus Basan
a809679b34 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-09-16 22:40:52 +01:00
Klaus Basan
cc4b8b61ae Ref T709, move case insensitive compare to utils (so it can be used elsewhere) 2019-09-16 22:40:52 +01:00
Klaus Basan
14bb3ea249 Ref T709, style 2019-09-16 22:40:51 +01:00
Klaus Basan
71db57de0c Ref T709, added rapid JSON 2019-09-16 22:40:51 +01:00
Klaus Basan
9b424d7287 Clang warnings (QtC) static_cast 2019-09-16 22:40:51 +01:00
Roland Rossgotterer
6cb5478c5c Synchronize radar screen with own aircraft heading
ref T653
2019-09-16 22:40:51 +01:00
Roland Rossgotterer
8c7475f620 Necessary fixes for custom Qt 5.12.3 built on Linux 2019-09-16 22:40:50 +01:00
Klaus Basan
ca1b0a930b Model directory settings add. info 2019-09-16 22:40:50 +01:00
Klaus Basan
ed2762fd40 Improved model file timestamp handling 2019-09-16 22:40:49 +01:00
Klaus Basan
b213f594c7 Fixed wrong airline in reverse lookup
* Air Arabia bug
* see https://discordapp.com/channels/539048679160676382/568904623151382546/608611828578254859
2019-09-16 22:40:48 +01:00
Klaus Basan
740cb5a536 Feature request based on new VATSIM code of conduct, allow empty homebase 2019-09-16 22:40:47 +01:00
Mat Sutcliffe
4030a1a730 [Jenkinsfile] Check that submodules contain a branch pointing to HEAD with the same name as the superproject branch. 2019-09-16 22:40:46 +01:00
Mat Sutcliffe
b36172437b Ref T710 Propagate libxplanemp CSL load error messages as swift validation errors. 2019-09-16 22:40:45 +01:00
Klaus Basan
5b5e139d10 Fix for index issue
https://discordapp.com/channels/539048679160676382/568904623151382546/604778928787161099
https://discordapp.com/channels/539048679160676382/567983892791951374/593854116992778263

5   org.qt-project.QtCore         	0x0000000104efe2c2 qt_assert_x(char const*, char const*, char const*, int) + 80
6   libblackcore.0.9.2.dylib      	0x0000000102ad79f1 BlackCore::Vatsim::CVatsimDataFileReader::parseVatsimFile(QNetworkReply*) + 13633 (qstringliteral.h:100)
2019-09-16 22:40:45 +01:00
Klaus Basan
076aa9113e [git] ignore file 2019-09-16 22:40:45 +01:00
Klaus Basan
6a782c2010 [icons] Ref T707, GAE icons 2019-09-16 22:40:45 +01:00
Klaus Basan
82812e6630 Ref T706, staggered queires for ATC and aircraft
* avoid overlapping responses: https://discordapp.com/channels/539048679160676382/539925070550794240/603176348445442058
* potential: avoid traffic overload (forcible logoff)
2019-09-16 22:40:45 +01:00
Klaus Basan
f40dbb6c81 Parse WGS coordinates 2019-09-16 22:40:44 +01:00
Mat Sutcliffe
7ea9e7c2b2 Adjusted CRange nested typedefs, and protection against T700 2019-09-16 22:40:44 +01:00
Mat Sutcliffe
dd86be3335 String simplification (accent removal) using Unicode decomposition 2019-09-16 22:40:44 +01:00
Mat Sutcliffe
cb8eb6569e Improved the readability of the loadCslPackages function.
Summary:
In this function, a local class `Prefix` is used to represent the path
of a CSL package and to test whether a model path is a subpath of that
path. To avoid false positives, a trailing `/` character is appended.

This lead to confusing code where a `/` is appended in the first loop
and then chopped in the second loop. Instead, encapsulate the append
and the chop inside the `Prefix` class.

Differential Revision: https://dev.swift-project.org/D107
2019-09-16 22:40:43 +01:00