Commit Graph

1119 Commits

Author SHA1 Message Date
Klaus Basan
cdea5086de More detailled validation messages "which models look odd" 2019-09-05 23:28:13 +02:00
Klaus Basan
294391a8d5 Use BLACK_AUDIT_X because this is a check for external data 2019-09-05 23:28:13 +02:00
Klaus Basan
c26b6f7c85 Ref T681, fixed handling of CG from DB
* consider settings
* remember DB CG data correctly
2019-08-29 00:03:58 +02:00
Klaus Basan
dd01cd1fbc fixup! Ref T681, settings for CG from DB 2019-08-28 02:51:33 +02:00
Klaus Basan
ce57af5a3d Style 2019-08-28 02:51:33 +02:00
Klaus Basan
807e87af7c Ref T709, added settings for lights and message box margins 2019-08-15 23:08:19 +02:00
Klaus Basan
14e396bce0 Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor 2019-08-15 20:32:57 +02:00
Mat Sutcliffe
dbba3ccf6f 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-08-12 22:39:14 +01:00
Klaus Basan
d5b1eab55a Make sure listener does NOT restart when settings are updated, but DBus address did not change (set member correctly) 2019-08-11 23:16:08 +01:00
Klaus Basan
4830bbc646 Ref T709, improved normalization and space pressed handling, unit test 2019-08-11 23:16:08 +01:00
Klaus Basan
a596121ea2 Ref T715, setting for "night texture"
* settings class
* UI
2019-08-11 23:16:07 +01:00
Klaus Basan
cd06c52cb7 Ref T709, only update settings if changed 2019-08-11 23:15:55 +01:00
Klaus Basan
392c821841 Ref T709, bool return value if settings changed 2019-08-11 23:15:54 +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
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
c0b4d38331 Ref T709, added "follow aircraft distance" and timestamp, removed old settings 2019-08-11 23:15:48 +01:00
Klaus Basan
42eb5477ec Ref T709, display settings as string/QString (for logging) 2019-08-11 23:15:47 +01:00
Klaus Basan
81577d29c5 Ref T709, style 2019-08-11 23:15:45 +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
1efe1e7a72 Improved model file timestamp handling 2019-08-11 11:41:05 +02:00
Klaus Basan
7689a9d900 Fixed wrong airline in reverse lookup
* Air Arabia bug
* see https://discordapp.com/channels/539048679160676382/568904623151382546/608611828578254859
2019-08-11 11:40:59 +02:00
Klaus Basan
a8a9d29fa7 Ref T705, use model set for reverse lookup
* allow finding model string from set, for NON DB models
* pass model set as parameter
2019-07-20 14:23:46 +02:00
Klaus Basan
d43a0afa48 Ref T705, utility functions for NON DB models 2019-07-20 14:19:10 +02:00
Klaus Basan
37dde7acf9 Ref T554, check function for auto publishing 2019-07-16 20:22:39 +02:00
Klaus Basan
80f7e1526b Improved MS registry reading
* also read if compiled without support for this simulator (makes sense for tools/mapping)
* check if directory exists
2019-07-16 20:22:39 +02:00
Klaus Basan
ce33709254 Style, typo 2019-07-16 20:22:39 +02:00
Klaus Basan
02e87026aa Ref T704, split matching utils for logging in aviation context 2019-07-16 20:22:38 +02:00
Klaus Basan
aff27b250d Ref T660, make sure all file paths (for FSX/P3D) are Qt standard (not Windows native) 2019-07-16 20:22:38 +02:00
Klaus Basan
a12700111a XPlane sub directory check (model dirs in XPlane dir), unified with settings is valid 2019-07-16 20:22:37 +02:00
Klaus Basan
38b68d76cc Ref T701, reduce by airline name and/or telephony designator if possible 2019-07-16 20:22:37 +02:00
Klaus Basan
f4a19c99a1 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-07-16 20:22:37 +02:00
Klaus Basan
0012237ac0 Ref T660, FSX path handling
* exclude paths from exclude patterns
* check for *air file
* use absolute paths
2019-07-16 20:22:36 +02:00
Klaus Basan
0cda787f7f Ref T660, unify FSX and P3D directory generation (from config files)
* removed unused functions
* sxSimObjectsDirPlusAddOnXmlSimObjectsPaths
* use simulator directory for FSX (same as P3D)
* renamings
2019-07-16 20:22:35 +02:00
Klaus Basan
e779f0518c Ref T660, also use relative paths in add-on.xml 2019-07-11 20:46:35 +02:00
Klaus Basan
fdb55e939f Ref T701, utility functions 2019-07-11 20:46:35 +02:00
Klaus Basan
440d9333c4 Flight plan fixes based on https://discordapp.com/channels/539048679160676382/539486309882789888/597133111272275970
* improved setting of combox value, fixed wrong text
* do NOT emit signals when same index
* getOwnCallsign
* do NOT used cache FPs for own aircraft
2019-07-11 20:46:34 +02:00
Klaus Basan
fab0de3450 Ref T698, enable network stats for restricted distributions 2019-07-11 20:46:34 +02:00
Klaus Basan
e88520109f Log all FSX/P3D config files read 2019-07-11 20:46:34 +02:00
Klaus Basan
8a138d8a4c P3D/FSX parser, skip reading of aircraft.cfg/sim.cfg files
* actually only aircraft.cfg files should be considered
* we also read sim.cfg files (Robinson)
* results in a lot of trash

https://discordapp.com/channels/539048679160676382/594962359441948682/596359689260761089
2019-07-11 20:46:34 +02:00
Klaus Basan
c78b42d5ea Ref T698, added remote aircraft context to network class 2019-07-11 20:46:34 +02:00
Klaus Basan
f06eb1bc7f Ref T554, setting for auto publish (timestamp) 2019-06-30 23:52:18 +02:00
Klaus Basan
1cd7496a78 Fixed typo, style 2019-06-30 23:52:18 +02:00
Mat Sutcliffe
8d99ae90dd Improved doxygen comments for CSimulatorInternals. 2019-06-29 15:34:00 +01:00
Mat Sutcliffe
982861f132 Ref T689 Add validation that XP model directories are within the XP sim directory. 2019-06-26 22:08:51 +01:00
Mat Sutcliffe
aa9e2b70cc Ref T689 Settings validation can produce more descriptive error messages. 2019-06-26 22:08:50 +01:00
Mat Sutcliffe
33f7334eac Ref T633 Simplify whitespace in X-Plane flyable model strings. 2019-06-26 22:08:48 +01:00