Commit Graph

39 Commits

Author SHA1 Message Date
Klaus Basan
b3af9bc356 Ref T660, also use relative paths in add-on.xml 2019-09-16 22:40:19 +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
3510e20290 Ref T660, FSX/P3D config file functions 2019-09-16 20:29:59 +01:00
Klaus Basan
8082b4c7df Ref T660, P3D SimObjects folder validation preparations 2019-09-16 20:29:56 +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
407aaba746 Ref T515, improved messages 2019-02-22 20:35:54 +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
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
61629231ff Ref T365, utility functions 2018-09-22 01:26:34 +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
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
b01119cc1b Ref T252, utility functions for simulator directories 2018-02-16 12:13:53 +01:00
Klaus Basan
50eb93cf40 Ref T229, do not display a directory if same as default
* component: made overlay compliant
* sim.dir can be empty on a machine where no simulator is installed
* formatting
* utility functions
2018-01-30 20:30:12 +01:00
Klaus Basan
0f8bbbbfc2 Ref T210, adjusting classes to use new functions 2017-12-21 19:49:52 +01:00
Klaus Basan
929e2883d0 refs #921, renaming follow ups 2017-04-18 00:06:34 +01:00
Klaus Basan
b0fe4ce930 refs #911, allow to set model dir relative to simulator directory
* utility functions in simulator info
* and fscommonutil
* and button in UI to set default
2017-04-18 00:05:15 +01:00
Klaus Basan
1c96d30bcd refs #911, added P3D exclude directories 2017-04-18 00:00:43 +01:00
Klaus Basan
8e55baaf85 Typos, QStringBuilder 2017-03-01 20:51:39 +01:00
Klaus Basan
a210b029f1 Fixed issues shown by new cppcheck rules
#831
2017-01-10 23:44:56 +00:00
Roland Winklmeier
0c51323db0 Fix incorrect include in fscommonutil.cpp 2016-08-08 11:23:07 +02:00
Klaus Basan
80ee210701 refs #585, improved FS utils
* added registry keys and support for P3D and steam
* only determine paths once (static const)
2016-06-15 00:11:23 +02:00
Klaus Basan
875b311ede refs #649, with #659 deferred caches available
* adjustments to use deferred caches
* removed simulator from CAircraftModelSetLoader`s signature as it was not used
* only change current simulator when explicitly set (avoid unintended setting)
* added function to obtain number of elements from model caches
2016-06-08 18:20:39 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
bc65cde182 Specific fix for KB, which will be removed later 2015-12-08 20:14:21 +01:00
Klaus Basan
5223d2fbd8 refs #452, improved FSX aircraft cfg data / cfg parser
* new attributes (e.g. "created by")
* conversion to CAircraftModel
* using interface in CAircraftCfgParser
* new utility methods in FS utility class
* adjusted model mappings provider
2015-11-19 20:59:04 +00:00
Roland Winklmeier
f27d003f61 refs #409 Read FS9 installation directory from registry 2015-05-25 20:43:00 +02:00
Klaus Basan
32f60722c8 refs #396, move subproject BlackSim into BlackMisc::Simulation
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00