Commit Graph

9984 Commits

Author SHA1 Message Date
Klaus Basan
fab65c23b1 Ref T554, changed signature to pass model (object) and not only modelstring
Allows to test if data have changed before "remembering them for auto publish"
2019-09-16 22:40:34 +01:00
Klaus Basan
f87004c6c8 Ref T554, improved auto publishing handling during shutdown 2019-09-16 22:40:34 +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
3835c9b0f8 Ref T704, further improved reverse lookup in airspace monitor 2019-09-16 22:40:33 +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
07712c27e8 Ref T704, use "readiness" in airspace monitor to avoid "matching ready" sent twice
* details https://discordapp.com/channels/539048679160676382/539925070550794240/599963898552123394
* also "faster" readiness in some cases as it is discovered if FsInn and ICAO package has been received
2019-09-16 22:40:31 +01:00
Klaus Basan
9965fd039e Ref T704, improved airline prefix parsing (from callsign) 2019-09-16 22:40:31 +01:00
Klaus Basan
a5663914c5 Launcher tools, display FSX/P3D config dirs 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
96fc62e393 Fix wrong call in sample 2019-09-16 22:40:29 +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
18778ed97e Validation for XP model directory in simulator basics 2019-09-16 22:40:28 +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
53d637acb0 Ref T701, use modelset and improved matcher functions in airspace monitor 2019-09-16 22:40:27 +01:00
Klaus Basan
c9ec28442e Ref T701, matcher functions to used model set in matching, and better resolve ambiguous airline ICAOs
* reduce by telephony/airline name
* search in model set first for airline ICAO

Rational: If a user flies with modelset this most likely represents the airlines needed most in his area
2019-09-16 22:40:27 +01:00
Klaus Basan
1d4d3d81d0 Ref T701, comments 2019-09-16 22:40:26 +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
ca23115394 Some weather UI improvements
* added label line to show if weather is on/off
* myself guard (QTimer::singleShot)

Based on Q&A here https://discordapp.com/channels/539048679160676382/539486309882789888/598913115211694111
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
Klaus Basan
ca7f11eb81 Ref T660, fixed and renamed to "getRelativeSubDirectories" plus sample 2019-09-16 22:40:25 +01:00
Klaus Basan
3cb3724556 Status message << overload
https://discordapp.com/channels/539048679160676382/539925070550794240/598604482246475789
2019-09-16 22:40:24 +01:00
Klaus Basan
7c2a3e4142 Launcher Tools Page for utilities which may be helpful
* merged about/news
* tools page
2019-09-16 22:40:24 +01:00
Klaus Basan
70f9420da5 Allow to reset/disable overlay messages with one click 2019-09-16 22:40:23 +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
878a207f85 Ref T660, utility functions 2019-09-16 22:40:23 +01:00
Klaus Basan
b71fb71fdc Log message if qss file can not be opened for write 2019-09-16 22:40:22 +01:00
Klaus Basan
26ddf3a353 Make sure setting to frameless/normal window keeps position and window size 2019-09-16 22:40:22 +01:00
Klaus Basan
3c200034dc Ref T660, add simulator settings in own models/model set component so simulator director can be used for validation 2019-09-16 22:40:22 +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
9a384ebc54 Ref T660, add simulator directory to model view for validation 2019-09-16 22:40:21 +01:00
Klaus Basan
f59b52bd6d Ref T702, hardcoded min.ranges for ATC stations 2019-09-16 22:40:21 +01:00
Klaus Basan
69b3402301 Ref T701, reverse lookup against given model list (which could be the model set) 2019-09-16 22:40:20 +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
e389d5ac83 Ref T701, do NOT use FsInn data if model string iis unknown
* this can overrride "swift livery strings"
* FsInn only is useful with a known model string
2019-09-16 22:40:19 +01:00
Klaus Basan
c4e9114a83 Ref T701, typo 2019-09-16 22:40:18 +01:00
Klaus Basan
e376c18b28 Ref T701, check for model string in reader 2019-09-16 22:40:18 +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
a5a6a111e1 Ref T698, write network statistics as file when logged off from network
* enum to string (VatClientQueryType)
* also trace calls in "chronological order"
* added some more "increaseStatisticsValue" calls
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
5e7c335a86 Ref T698, skip further processing of aircraft parts (config) if aircraft NOT in range 2019-09-16 22:40:16 +01:00