Commit Graph

3429 Commits

Author SHA1 Message Date
Klaus Basan
6e90ec5c72 Ref T709, added settings for lights and message box margins 2019-09-16 22:41:18 +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
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
Klaus Basan
741843d0c6 Make sure listener does NOT restart when settings are updated, but DBus address did not change (set member correctly) 2019-09-16 22:41:14 +01:00
Klaus Basan
add649c321 Ref T709, improved normalization and space pressed handling, unit test 2019-09-16 22:41:14 +01:00
Klaus Basan
e62aa6fb2f Ref T715, setting for "night texture"
* settings class
* UI
2019-09-16 22:41:12 +01:00
Klaus Basan
b60f84244b Ref T609, renamed to Transmit/Receive for COM sync. 2019-09-16 22:41:06 +01:00
Klaus Basan
447152bd13 Ref T709, only update settings if changed 2019-09-16 22:41:04 +01:00
Klaus Basan
77883edf9c Ref T709, bool return value if settings changed 2019-09-16 22:41:03 +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
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
5ebf119acb Ref T709, added "follow aircraft distance" and timestamp, removed old settings 2019-09-16 22:40:57 +01:00
Klaus Basan
d1db1943ae Ref T709, display settings as string/QString (for logging) 2019-09-16 22:40:56 +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
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
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
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
Klaus Basan
e5205bef1f Avoid scientific notation in fraction part 2019-09-16 22:40:43 +01:00
Klaus Basan
eb014639fe Reselect ATC station if data are updated, and update the ATIS info 2019-09-16 22:40:40 +01:00
Klaus Basan
b87d0f5f15 Ref T705, use model set for reverse lookup
* allow finding model string from set, for NON DB models
* pass model set as parameter
2019-09-16 22:40:40 +01:00
Klaus Basan
1f148cf7f8 Ref T705, remember matching script directories 2019-09-16 22:40:39 +01:00
Klaus Basan
d5a4e3d70d Ref T705, utility functions for NON DB models 2019-09-16 22:40:39 +01:00
Klaus Basan
1e5ef15e40 Ref T659, some utility functions and style adjustments for login dialog 2019-09-16 22:40:37 +01:00
Klaus Basan
ac22e1d17d Ref T554, check function for auto publishing 2019-09-16 22:40:35 +01:00
Klaus Basan
3e6c4f2ef1 Improved MS registry reading
* also read if compiled without support for this simulator (makes sense for tools/mapping)
* check if directory exists
2019-09-16 22:40:34 +01:00
Klaus Basan
9b5ffdf924 Ref T704, moved "ifPossibleReduceNameTelephonyCountry" into airline code list, unified functions 2019-09-16 22:40:33 +01:00
Klaus Basan
1b4aa1162a Style, typo 2019-09-16 22:40:33 +01:00
Klaus Basan
4237839bbd Ref T704, split matching utils for logging in aviation context 2019-09-16 22:40:32 +01:00
Klaus Basan
9965fd039e Ref T704, improved airline prefix parsing (from callsign) 2019-09-16 22:40:31 +01:00
Klaus Basan
737aabb745 New VATSIM COD, allowing id as name, see https://discordapp.com/channels/539048679160676382/539846348275449887/599969308247851018 2019-09-16 22:40:30 +01:00
Klaus Basan
7ee2814c73 Smaller improvements in matching messages/style 2019-09-16 22:40:30 +01:00
Klaus Basan
b76d89bf27 Ref T660, make sure all file paths (for FSX/P3D) are Qt standard (not Windows native) 2019-09-16 22:40:29 +01:00
Klaus Basan
5799e31d27 XPlane sub directory check (model dirs in XPlane dir), unified with settings is valid 2019-09-16 22:40:28 +01:00
Klaus Basan
ac2d665c6b Status message utility function, overlay frame utility function 2019-09-16 22:40:28 +01:00
Klaus Basan
cb77279b4d Renamed function id Directory utils and added string only version 2019-09-16 22:40:27 +01:00
Klaus Basan
cd63712cd7 Ref T701, reduce by airline name and/or telephony designator if possible 2019-09-16 22:40:27 +01:00
Klaus Basan
0767deb41d Ref T701, IAircraftModelSetProvider 1st version
* added to matcher
* and simulator context
* in facade changed init order, as we need getCContextOwnAircraft() / getCContextSimulator()

Remark: Need 2 contexts is not ideal, but accepted for the moment
2019-09-16 22:40:26 +01:00
Klaus Basan
9ac457edb3 Unified weather scenario names in single place 2019-09-16 22:40:25 +01:00
Klaus Basan
edbdcf3437 Consistent default values for weather scenario (avoid empty name) 2019-09-16 22:40:25 +01:00