Commit Graph

157 Commits

Author SHA1 Message Date
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
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
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
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
e779f0518c Ref T660, also use relative paths in add-on.xml 2019-07-11 20:46:35 +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
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
50610390c2 Ref T660, FSX/P3D config file functions 2019-06-09 01:02:46 +02:00
Klaus Basan
210e01a77d Ref T660, P3D SimObjects folder validation preparations 2019-06-05 20:08:59 +02:00
Klaus Basan
3be753a6a7 Allow to update model directories 2019-05-13 11:20:53 +02:00
Klaus Basan
0360b298d6 Better log message 2019-05-13 11:20:40 +02:00
Mat Sutcliffe
c05a32dbd4 Ref T545 Using constructor inheritance in derived container classes. 2019-04-12 13:30:51 +01:00
Klaus Basan
d51b26cf8d Aligned signatures for context and dialog to use sim.directory in validator
Ref T247 follow up
2019-04-11 22:12:17 +01:00
Klaus Basan
86f14046bf Improved model validation messages, originally Ref T247 2019-04-11 22:11:44 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
001d90bd6b Ref T529, using sort order in model loader 2019-02-22 20:36:04 +00:00
Klaus Basan
407aaba746 Ref T515, improved messages 2019-02-22 20:35:54 +00:00
Mat Sutcliffe
077fd8c35a Ref T525 Avoid directly calling getLogCategories. 2019-02-22 20:35:52 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Klaus Basan
610e1559e1 Ref T515, improved FS validation and messages 2019-02-22 20:35:46 +00:00
Klaus Basan
f3dd2425ee Ref T515, validate aircraft config values 2019-02-22 20:35:35 +00:00
Klaus Basan
de680f4fcd Ref T515, further utility functions to validate models 2019-02-22 20:35:34 +00:00
Klaus Basan
985674f1cf Ref T514, do not skip reading when aircraft.cfg is found
* check for directories not need to be parsed
* do not skip reading
2019-02-22 20:35:32 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
50cc9c32d6 Ref T365, find add-on SimObjects
* utility function to compare directories
* parse "add-on.xml"
* use add-on SimObject paths for P3D as default
2018-12-10 03:41:15 +01:00
Klaus Basan
82467da45b Ref T436, correct file name handling (UNC) and validate FSX position 2018-11-22 19:55:03 +01:00
Klaus Basan
3f8ea99d14 FSUIPC Clang fixes 2018-11-22 19:55:02 +01:00
Klaus Basan
cb422d72cf Misc. style issues interpolation/model adding 2018-11-22 19:55:02 +01:00
Klaus Basan
61629231ff Ref T365, utility functions 2018-09-22 01:26:34 +02:00
Klaus Basan
5f5113ed47 Removed "ok" flag from "performParsing" as this can be concluded from messages 2018-09-18 02:34:06 +02:00
Klaus Basan
57178c75f9 Ref T357, function to copy FSX terrain probe, also in context for remote UI 2018-09-17 18:28:40 +02:00
Klaus Basan
849bc0b9d0 Ref T348, style 2018-09-17 18:28:15 +02:00
Klaus Basan
13ebf6bafe Ref T348, updated utility functions in CSimConnectObject/CAircraftCfgEntriesList, also fixed bug that type need to be updated to probe setting when aircraft changes
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:14 +02:00
Klaus Basan
64f8420b32 Ref T348, allow to parse a single "aircraft.cfg" file
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:12 +02:00
Klaus Basan
a07d18aa44 Ref T348, util function to correct FSX/P3D model path
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:07 +02:00
Klaus Basan
b5aeffc31b Aircraft parser (FSX/P3D) added "sim.cfg" files as filter plus style 2018-09-08 15:36:24 +02:00
Roland Winklmeier
a60ee4a7dd Use override for destructors 2018-08-25 22:12:06 +02:00
Klaus Basan
183280fa75 Ref T308, using an optimized (faster) function for YYYYmmdd string parsing
Ref T309, found that QDateTime::fromString returns a QDateTime object with local timestamp. Using a optimized version returns UTC objects now.

- The bug was found writing a unit test for Ref T308
- Slack: https://swift-project.slack.com/archives/G7GD2UP9C/p1534848725000100
2018-08-22 12:31:53 +02:00
Klaus Basan
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02:00
Klaus Basan
74fa7d7289 Ref T292, Ref T285 signal when "real" loading was started (loading from disk) 2018-07-25 02:37:13 +02:00
Klaus Basan
40c0c6ae35 Ref T292, adjusted the specific model loaders
* no longer using "std::unique_ptr"
* QObject parent
* Style
2018-07-25 02:36:55 +02:00
Klaus Basan
76334b75d1 Ref T246, model loader improvements / renamings 2018-07-17 19:04:55 +02:00
Klaus Basan
69193f089a Minor tweaks, style 2018-06-25 02:04:35 +02:00
Roland Winklmeier
4aaccb44c3 Cleanup the enabled modules in all sub projects
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
eb815ab987 Ref T261, improved value classes 2018-05-08 16:06:49 +02:00