Commit Graph

113 Commits

Author SHA1 Message Date
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
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
462172a87f Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
0002752fa6 Ref T441, find model string duplicates 2018-11-26 06:26:45 +01:00
Klaus Basan
1f1fa6d7aa Ref T441, model list utility functions 2018-11-25 18:21:52 +01:00
Klaus Basan
5e99e557c6 Ref T362, Ref T348 model/view adjustments
* remove model string
* start directory for file dialog
2018-09-22 01:26:38 +02:00
Klaus Basan
136370fc63 Ref T348, remove by model string 2018-09-20 00:47:20 +02:00
Klaus Basan
c11a38dbde Ref T348, file handling in aircraft model (renaming)
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:09 +02:00
Klaus Basan
c675ef5c32 Ref T335, misc. improvements of value classes/list
- verifyModelData
- setModelType
- getCallsignsAsString
2018-09-12 17:40:51 +02:00
Klaus Basan
260585e35c Ref T308, performance optimized fromDatabaseJsonCaching
* maps for id/object
* caching fromDatabaseJsonCaching
* fixed CAircraftModel::fromDatabaseJson wrong prefix
2018-08-29 03:08:23 +02:00
Klaus Basan
c43fba9abd Ref T308, style 2018-08-29 03:08:21 +02:00
Klaus Basan
84bf19697c Ref T310, utility functions for statistics (incl.renaming) 2018-08-28 01:15:49 +02:00
Klaus Basan
54802e9ea9 Ref T310, added model statistics dialog
* UI for statistics
* renamed to "coverageSummaryForModel"
* model list "htmlStatistics"
2018-08-27 18:58:11 +02:00
Klaus Basan
109c1554f9 Ref T298, exclude models 2018-08-26 15:26:53 +02:00
Klaus Basan
3f5a12de8b Ref T298, matcher improvements
* better messages
* clear messages when restarted
* better usage of setup flags
2018-08-16 14:43:31 +02:00
Klaus Basan
68607a3cb8 Ref T298, better string handling/messages 2018-08-09 01:25:30 +02:00
Klaus Basan
f7a0c69fc8 Ref T270, push front for sequence and unified "insert" -> "push_back"
Remark: "CSequence::insert" is a synonym "push_back". This makes it clearer that push_back is used.
2018-06-01 01:30:33 +02:00
Klaus Basan
50a625d2bc Ref T267, allow to call "convertFromMemoizedJson", but also convert via "convertFromJson"
The variant convertFromMemoizedJson trait did already do something similar, calling "convertFromJson" if the memoized version is not avilable. Now the function also "decides" based on the passed data itself.
2018-05-18 00:25:08 +02:00
Klaus Basan
a8ab2a37b8 Ref T261, CG in aircraft model 2018-05-08 16:06:42 +02:00