Commit Graph

1122 Commits

Author SHA1 Message Date
Klaus Basan
f986e9ca8b Style 2020-01-07 19:46:15 +00:00
Klaus Basan
9a4fe0ea48 Ref T732, improved simulator type resolution for network 2019-10-11 19:00:19 +01:00
Klaus Basan
b408c8ffed Style 2019-09-16 22:41:38 +01:00
Roland Rossgotterer
e8b14c435f Check that X-Plane OBJ8 file exists 2019-09-16 22:41:33 +01:00
Roland Rossgotterer
e0b52db77a [MinGW] Fix many unresolved symbols 2019-09-16 22:41:33 +01:00
Klaus Basan
79c947f8fa Style 2019-09-16 22:41:32 +01:00
Klaus Basan
507e059438 More detailled validation messages "which models look odd" 2019-09-16 22:41:31 +01:00
Klaus Basan
7b8db694cc Use BLACK_AUDIT_X because this is a check for external data 2019-09-16 22:41:31 +01:00
Klaus Basan
009719a7be Ref T681, fixed handling of CG from DB
* consider settings
* remember DB CG data correctly
2019-09-16 22:41:28 +01:00
Klaus Basan
083293c016 Style 2019-09-16 22:41:28 +01:00
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
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
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
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
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
d5a4e3d70d Ref T705, utility functions for NON DB models 2019-09-16 22:40:39 +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
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
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
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
242bea3636 Ref T660, FSX path handling
* exclude paths from exclude patterns
* check for *air file
* use absolute paths
2019-09-16 22:40:23 +01:00
Klaus Basan
5bd3507ed9 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-09-16 22:40:21 +01:00
Klaus Basan
b3af9bc356 Ref T660, also use relative paths in add-on.xml 2019-09-16 22:40:19 +01:00
Klaus Basan
6e99bf2e02 Ref T701, utility functions 2019-09-16 22:40:19 +01:00
Klaus Basan
ea7b3316c9 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-09-16 22:40:18 +01:00
Klaus Basan
891a058f17 Ref T698, enable network stats for restricted distributions 2019-09-16 22:40:17 +01:00
Klaus Basan
25dc43f19c Log all FSX/P3D config files read 2019-09-16 22:40:17 +01:00
Klaus Basan
419b837b65 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-09-16 22:40:16 +01:00
Klaus Basan
821e7e73c9 Ref T698, added remote aircraft context to network class 2019-09-16 22:40:15 +01:00
Klaus Basan
66f19b29be Ref T554, setting for auto publish (timestamp) 2019-09-16 22:40:07 +01:00