Commit Graph

3378 Commits

Author SHA1 Message Date
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
Mat Sutcliffe
359bd1ab15 Ref T633 Simplify whitespace in X-Plane flyable model strings. 2019-09-16 22:40:04 +01:00
Mat Sutcliffe
61439a48e0 Inline functions defined in header file, to avoid ODR violation. 2019-09-16 22:40:04 +01:00
Mat Sutcliffe
4ab3e9a03b Ref T682 Don't convert text codec name to lower case, as it is case sensitive. 2019-09-16 22:40:03 +01:00
Mat Sutcliffe
4a7a0a0485 Ref T597 Generic DBus marshalling operators for QFlags. 2019-09-16 22:40:02 +01:00
Klaus Basan
693c94c87a Send FP altitude without unit
https://discordapp.com/channels/539048679160676382/539846348275449887/593211815559823367
https://discordapp.com/channels/539048679160676382/539846348275449887/593063154238619649
2019-09-16 22:40:01 +01:00
Klaus Basan
fba288edc3 Ref T690, aded SVFR and DVFR to FP 2019-09-16 22:40:01 +01:00
Klaus Basan
4ecd8a78ad Handled some potentially "dangerous" parsing issues for VATSIM file (no coordinate)
https://discordapp.com/channels/539048679160676382/539486489977946112/593081121512751116
2019-09-16 22:40:00 +01:00
Roland Rossgotterer
2d8cc4a055 Define static constexpr int in source file
This fixes a linker error.
2019-09-16 22:40:00 +01:00
Klaus Basan
950af0c588 Ref T658, improved matching script
* properties
* functions
* log improved
* fixes
2019-09-16 22:39:56 +01:00
Klaus Basan
f6d078de34 Ref T684, better detection of callsign type for ATC stations
* detection in "CCallsign::unifyCallsign"
* force ATC callsign in nAtisReplyReceived
2019-09-16 22:39:55 +01:00
Klaus Basan
5da74faad0 Ref T684, renamed to "getAirlinePrefix()", as airline comes first 2019-09-16 22:39:54 +01:00
Klaus Basan
6cefb5175d Avoid issues if simulator is NOT yet set in emulateed driver 2019-09-16 22:39:54 +01:00
Klaus Basan
6bc2a15f61 Allow to disable reverse lookup for model string and livery ids 2019-09-16 22:39:53 +01:00
Klaus Basan
ee9f1188d7 Settings for reverse lookup + fixes
Ref T658 related
2019-09-16 22:39:53 +01:00
Klaus Basan
7b6650db32 Ref T658, renamed to "MatchingScriptReturnValues" because it is NO object to be used in matching script 2019-09-16 22:39:52 +01:00
Klaus Basan
4e24edcb0a Ref T658, matching script support for flight number and callsign "as set" 2019-09-16 22:39:52 +01:00
Klaus Basan
bab053a0a2 Ref T683, display ground elevation/CG in simulator live data view 2019-09-16 22:39:52 +01:00
Klaus Basan
fa6101d02b Ref T683, use slow updates in FS9 for thins not to be updated every cycle 2019-09-16 22:39:51 +01:00
Klaus Basan
0360704b0b Ref T683, "updateOwnSituationAndGroundElevation"
* function to use own positions "on ground" to calculate ground elevation
* use this based on settings
* adjusted simulators code
2019-09-16 22:39:50 +01:00
Klaus Basan
e1b0375d68 Ref T683, own aircraft provider CG update 2019-09-16 22:39:50 +01:00
Klaus Basan
daeea07090 Ref T683, style 2019-09-16 22:39:49 +01:00
Klaus Basan
70a350ed66 Ref T683, settings for "record gnd.elevation" (based on own aircraft) 2019-09-16 22:39:32 +01:00
Klaus Basan
71e09b008f Ref T681, renamed to rememberElevationAndSimulatorCG and style 2019-09-16 22:38:08 +01:00
Klaus Basan
d072224a8b Moved XPDR definitions into "actionhotkeydefs.h" 2019-09-16 22:38:07 +01:00
Klaus Basan
017e9402fd Ref T681, use simulator or DB CG as in settings 2019-09-16 22:38:07 +01:00