Commit Graph

8294 Commits

Author SHA1 Message Date
Klaus Basan
3dcdd7b2a6 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-07-16 20:22:39 +02:00
Klaus Basan
1fe055545b Ref T554, improved auto publishing handling during shutdown 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
2c62a8abdc Ref T704, further improved reverse lookup in airspace monitor 2019-07-16 20:22:39 +02:00
Klaus Basan
7985ff8b3e Ref T704, moved "ifPossibleReduceNameTelephonyCountry" into airline code list, unified functions 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
aa341ccd7a 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-07-16 20:22:38 +02:00
Klaus Basan
5eec43c03c Ref T704, improved airline prefix parsing (from callsign) 2019-07-16 20:22:38 +02:00
Klaus Basan
e1a66a3849 Launcher tools, display FSX/P3D config dirs 2019-07-16 20:22:38 +02:00
Klaus Basan
16294066c2 New VATSIM COD, allowing id as name, see https://discordapp.com/channels/539048679160676382/539846348275449887/599969308247851018 2019-07-16 20:22:38 +02:00
Klaus Basan
495312019d Smaller improvements in matching messages/style 2019-07-16 20:22:38 +02:00
Klaus Basan
fb4f0f0c20 Fix wrong call in sample 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
57836e7ef7 Validation for XP model directory in simulator basics 2019-07-16 20:22:37 +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
53a9b11575 Status message utility function, overlay frame utility function 2019-07-16 20:22:37 +02:00
Klaus Basan
0be7dafdd2 Renamed function id Directory utils and added string only version 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
c2ddb3c9b3 Ref T701, use modelset and improved matcher functions in airspace monitor 2019-07-16 20:22:37 +02:00
Klaus Basan
b2ea2ba645 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-07-16 20:22:37 +02:00
Klaus Basan
785dc4b33e Ref T701, comments 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
2f9fbbdfa5 Unified weather scenario names in single place 2019-07-16 20:22:37 +02:00
Klaus Basan
6e6c1751ea 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-07-16 20:22:36 +02:00
Klaus Basan
4f42e28213 Consistent default values for weather scenario (avoid empty name) 2019-07-16 20:22:36 +02:00
Klaus Basan
281fa92e83 Ref T660, fixed and renamed to "getRelativeSubDirectories" plus sample 2019-07-16 20:22:36 +02:00
Klaus Basan
d1425f86a3 Status message << overload
https://discordapp.com/channels/539048679160676382/539925070550794240/598604482246475789
2019-07-16 20:22:36 +02:00
Klaus Basan
e764f34738 Launcher Tools Page for utilities which may be helpful
* merged about/news
* tools page
2019-07-16 20:22:36 +02:00
Klaus Basan
cba1d2b4ff Allow to reset/disable overlay messages with one click 2019-07-16 20:22:36 +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
445d0eb0f6 Ref T660, utility functions 2019-07-16 20:22:36 +02:00
Klaus Basan
e081667bef Log message if qss file can not be opened for write 2019-07-16 20:22:36 +02:00
Klaus Basan
90bee84f4b Make sure setting to frameless/normal window keeps position and window size 2019-07-16 20:22:35 +02:00
Klaus Basan
1562c68230 Ref T660, add simulator settings in own models/model set component so simulator director can be used for validation 2019-07-16 20:22:35 +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
20439a90ed Ref T660, add simulator directory to model view for validation 2019-07-11 20:46:35 +02:00
Klaus Basan
0fc48c6bc4 Ref T702, hardcoded min.ranges for ATC stations 2019-07-11 20:46:35 +02:00
Klaus Basan
8c640beec9 Ref T701, reverse lookup against given model list (which could be the model set) 2019-07-11 20:46: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
bfc1c7bda9 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-07-11 20:46:35 +02:00
Klaus Basan
b4cb6606d6 Ref T701, typo 2019-07-11 20:46:35 +02:00
Klaus Basan
576d72ca84 Ref T701, check for model string in reader 2019-07-11 20:46:34 +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
213a4796bd 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-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
e0e5da9142 Ref T698, skip further processing of aircraft parts (config) if aircraft NOT in range 2019-07-11 20:46:34 +02:00