Commit Graph

134 Commits

Author SHA1 Message Date
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
2aeacf49a7 Issue #114 Use CSetBuilder and CMapBuilder 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
33209fa1eb Use std::as_const (C++17 feature) 2021-07-13 17:56:31 +01:00
Mat Sutcliffe
22301c1a1f Use structured bindings (C++17 feature) 2021-07-13 17:56:29 +01:00
Mat Sutcliffe
d09336bd26 Issue #77 Break redundant cyclic dependencies 2020-12-19 18:50:40 +00:00
Mat Sutcliffe
2c66e2215e Issue #77 Move all methods of CLogUtilities to other classes 2020-12-19 18:50:40 +00:00
Mat Sutcliffe
b81cc9a9dc Issue #77 Break cyclic dependency between CDirectoryUtils and CNetworkUtils by factoring out canPing method 2020-12-19 18:50:39 +00:00
Mat Sutcliffe
b80114213d Issue #77 Move mixin classes to separate files
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Klaus Basan
95ca63ce6d Ref T786, fixed weather sample
* RR found that no alt value means a huge number of grid points is parsed
* see https://discordapp.com/channels/539048679160676382/539925070550794240/701762348506939693
2020-06-12 18:42:51 +01:00
Klaus Basan
e839820940 Check UNC path to avoid "hanging" if other machine is not reachable 2020-06-12 18:42:47 +01:00
Klaus Basan
04562a6651 Style, as_const 2020-06-12 18:42:46 +01:00
Klaus Basan
7f6e3e5378 [Worker] In order to make background validation (worker) stoppable, using an "atomic bool stop flag"
Originally Ref T145, Ref T647
2020-06-12 18:42:36 +01:00
Klaus Basan
049ded16cc Allow some long lasting validation functions to be stopped/interrupted from "outside" 2020-06-12 18:42:35 +01:00
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Klaus Basan
386a0ccd5d [XPlane] Model set must not contain ACF models
Discussion: see https://discordapp.com/channels/539048679160676382/539064750055751690/648974956306366499
2020-01-07 19:57:22 +00:00
Klaus Basan
507e059438 More detailled validation messages "which models look odd" 2019-09-16 22:41:31 +01:00
Klaus Basan
d5a4e3d70d Ref T705, utility functions for NON DB models 2019-09-16 22:40:39 +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
cd63712cd7 Ref T701, reduce by airline name and/or telephony designator if possible 2019-09-16 22:40:27 +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
6e99bf2e02 Ref T701, utility functions 2019-09-16 22:40:19 +01:00
Klaus Basan
f3ec7a8a68 Ref T660, utility functions
* check if model is in path
* addAsValidOrInvalidModel
* set corresponding simulator for validation
* display validation of empty model set
2019-09-16 20:29:57 +01:00
Klaus Basan
8082b4c7df Ref T660, P3D SimObjects folder validation preparations 2019-09-16 20:29:56 +01:00
Klaus Basan
6eb6cea9ad Ref T658, model list utility functions (to be exposed as Js object) 2019-09-16 20:29:53 +01:00
Klaus Basan
e32282ba18 Resolve airline group during reduction 2019-09-16 20:29:33 +01:00
Klaus Basan
213ca4274d Airline group functions 2019-05-23 13:13:00 +02:00
Klaus Basan
3be753a6a7 Allow to update model directories 2019-05-13 11:20:53 +02:00
Klaus Basan
fd1f6bcc84 Utility functions, status messages and model list
Ref T247 follow up
2019-04-11 22:12:17 +01:00
Klaus Basan
fd8cf4337b Allow to validate models against a root directory of the simulator
The XPlane aircraft needs to be inside the XPlane folder

Ref T247 follow up
2019-04-11 22:12:16 +01:00
Klaus Basan
e53e37f770 Load/save invalid models to file, originally Ref T247 2019-04-11 22:11:45 +01:00
Klaus Basan
86f14046bf Improved model validation messages, originally Ref T247 2019-04-11 22:11:44 +01:00
Klaus Basan
54adb40329 Ref T472, further utility functions for category handling 2019-04-11 22:11:40 +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
9cee34f4cc Ref T472, allow to pass already existing values for model parsing
* list to map: toDbKeyValueMap
* categories can also be passed, hence the categories can be seen in model views
2019-02-22 20:36:28 +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
070577dae8 Ref T515, utility functions for modellist, renamed to find "findFsFamilyModels" 2019-02-22 20:35:46 +00:00
Klaus Basan
509a60d06f Ref T524, filter by combined type/manufacturer 2019-02-22 20:35:46 +00:00
Klaus Basan
c80430d780 Ref T515, model list validation messages 2019-02-22 20:35:43 +00:00
Klaus Basan
77e642d42d Ref T515, logic for "isLikely" simulator list moved to model list 2019-02-22 20:35:36 +00:00
Klaus Basan
de680f4fcd Ref T515, further utility functions to validate models 2019-02-22 20:35:34 +00:00
Klaus Basan
107464d92a Ref T515, utility functions for file name/path etc. 2019-02-22 20:35:34 +00:00
Klaus Basan
a90d4465a2 Ref T451, fixed temp. disabled model
* display info message
* aircraft model list implementing ICallsignObjectList (for message)
* fixed wrong flag in requestTempDisable
2019-02-22 20:35:33 +00:00
Klaus Basan
20b83d66eb Ref T509, utility function for ICAO codes 2019-02-22 20:35:29 +00:00
Klaus Basan
c67ca53aa1 Ref T509, utility function 2019-02-22 20:35:28 +00:00
Klaus Basan
58cfdd1bb9 Ref T492, alias in model lists and model
Search for alias and modelstring in matching
2019-02-22 20:35:22 +00:00
Klaus Basan
7be54fde87 Display number of included/DB models in "1st model set wizard" 2019-02-22 20:35:10 +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
Klaus Basan
b648960b59 Ref T451, utility functions 2019-02-22 20:24:04 +00:00