Commit Graph

3403 Commits

Author SHA1 Message Date
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
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
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
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
92baa16536 Style 2019-09-16 22:40:13 +01:00
Klaus Basan
be3283305a Ref T417, flight plan follow ups
* fixed eventfilter, only allow ASCII values, disable in read only mode
* set remarks values "from external"
* set SELCAL value
2019-09-16 22:40:13 +01:00
Mat Sutcliffe
35b0836754 Ref T696 Fix number formatting for CTime and CAngle.
- Removed the 'L' in the format strings, so the C locale is used.
- Added `1 + digits` to the `fieldWidth`, as this actually includes the
  decimal point and the digits after it.
2019-09-16 22:40:13 +01:00
Klaus Basan
58b7c875bc Minor performance improvement of subdir check
* follow T689
* no need to always get and init simulator directory as it will not change
2019-09-16 22:40:12 +01:00
Klaus Basan
f827cfc5cd Ref T417, FP UI allow SimBrief download 2019-09-16 22:40:11 +01:00
Klaus Basan
88373744f8 Ref T417, parse SimBrief XML format 2019-09-16 22:40:10 +01:00
Klaus Basan
3f66adfb94 Ref T417, SimBrief data class 2019-09-16 22:40:10 +01:00
Klaus Basan
74be3fa8c2 Added network to UNIT tests (needed for CUrl
Other includes where needed
2019-09-16 22:40:09 +01:00
Klaus Basan
458daa4532 Improved string concat to avoid "//" in paths 2019-09-16 22:40:09 +01:00
Klaus Basan
66f19b29be Ref T554, setting for auto publish (timestamp) 2019-09-16 22:40:07 +01:00
Klaus Basan
16e19ad6d3 Fixed typo, style 2019-09-16 22:40:07 +01:00
Mat Sutcliffe
f95df7455b Improved doxygen comments for CSimulatorInternals. 2019-09-16 22:40:07 +01:00
Mat Sutcliffe
73d3a341da Ref T689 Add validation that XP model directories are within the XP sim directory. 2019-09-16 22:40:06 +01:00
Mat Sutcliffe
668a77d083 Ref T689 Settings validation can produce more descriptive error messages. 2019-09-16 22:40:05 +01:00