Commit Graph

1242 Commits

Author SHA1 Message Date
Roland Rossgotterer
9d1299741e [GFS] Use Pressure at MSL instead of surface
Pressure at surface level was the wrong value. All barometers and
altimeters use pressure reduced to mean sea level. Reading that value
from GFS instead returns much more reasonable values.

ref T537
2019-02-22 20:36:20 +00:00
Klaus Basan
9db56d3fd4 Ref T515, default for validation at startup as result of testing with FSC
* validation faster as expected
* and appreciated by users

https://swift-project.slack.com/archives/G96QTUBEG/p1548796738056900
2019-02-22 20:36:08 +00:00
Klaus Basan
02f638501e Ref T529, model loader improvements
* XP loader improved progress messages
* added LoadingFailed
* use "Qt::QueuedConnection" for CMultiAircraftModelLoaderProvider

In some cases the loading progress signal was not send properly changing to Qt::QueuedConnection has solved the issue
2019-02-22 20:36:06 +00:00
Klaus Basan
001d90bd6b Ref T529, using sort order in model loader 2019-02-22 20:36:04 +00:00
Klaus Basan
286b03602f Ref T529, use order for background validation 2019-02-22 20:36:03 +00:00
Klaus Basan
aa47d7bb03 Ref T529, style 2019-02-22 20:36:01 +00:00
Klaus Basan
f363d4f41b Ref T529, use no sort order as workaround for validation messages
This will be superseded later by `IOrderable`
2019-02-22 20:36:01 +00:00
Klaus Basan
2d30c1cce8 Style 2019-02-22 20:35:59 +00:00
Klaus Basan
a8c586e174 Ref T515, adjust timestamps so validation messages keep order 2019-02-22 20:35:55 +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
Roland Rossgotterer
6aa1402303 Improve XP model loader messages
Change the severity to Error for parser errors and raise a prominent popup with all collected issues.
Also be more explicit from which file and line the error came from.

Maniphest Tasks: T462
2019-02-22 20:35:51 +00:00
Roland Rossgotterer
6ea8d16460 Fix CAircraftModelLoaderXPlane::performParsing to accept multiple dirs
This implements an old todo from KB.
2019-02-22 20:35:50 +00:00
Roland Rossgotterer
5181855b59 Update loading progress while parsing X-Plane models
Maniphest Tasks: T517
2019-02-22 20:35:50 +00:00
Klaus Basan
610e1559e1 Ref T515, improved FS validation and messages 2019-02-22 20:35:46 +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
998f0344fa Ref T515, retrieve last validation results in distributed swift setup 2019-02-22 20:35:42 +00:00
Klaus Basan
9623b7a1da Ref T515, set failover and "modelSetRemoveFailedModel" in combination 2019-02-22 20:35:42 +00:00
Klaus Basan
6470c61d0a Ref T515, added failover flag for addingRemoteModelFailed
* adjusted signatures
* renamings and minor style adjustments
2019-02-22 20:35:41 +00:00
Klaus Basan
0ac6739377 Ref T515, context function "isValidationInProgress" 2019-02-22 20:35:40 +00:00
Klaus Basan
da92f3885c Ref T515, settings for matching (run validation) 2019-02-22 20:35:38 +00:00
Klaus Basan
0bcd47b277 Ref T515, background validation for models (in simulator context) 2019-02-22 20:35:37 +00:00
Klaus Basan
4be8ff9e3d Ref T515, use model utils for validation 2019-02-22 20:35:36 +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
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
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
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
Klaus Basan
474b1aad6c Ref T514, signal/slot for model loading progress displayed in UI 2019-02-22 20:35:32 +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
80e925fe80 Ref T492, added model alias 2019-02-22 20:35:22 +00:00
Mat Sutcliffe
80308b85d5 Changed QOverload to qOverload. 2019-02-22 20:35:11 +00:00
Klaus Basan
7be54fde87 Display number of included/DB models in "1st model set wizard" 2019-02-22 20:35:10 +00:00
Klaus Basan
5c785643c7 Ref T484, string improvements 2019-02-22 20:35:00 +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
Klaus Basan
93cf349a04 Ref T451, context menu in views (simulated aircraft/model) to disable model 2019-02-22 20:24:03 +00:00
Klaus Basan
da0e021332 Ref T265, Ref T430, Ref T473 parts added to mapping UI 2019-02-22 20:23:58 +00:00
Klaus Basan
ecb77191e5 Ref T265, Ref T430, Ref T473 "supported parts" in model
* added part member
* unified parsing from DB "CAircraftModel::fromDatabaseJsonBaseImpl"
2019-02-22 20:23:57 +00:00
Klaus Basan
2d3e2e2d99 Ref T265, Ref T430, Ref T473 functions renamed 2019-02-22 20:23:55 +00:00
Klaus Basan
7ded12a965 Ref T265, Ref T430, Ref T473 DB model changes/JSON changes 2019-02-22 20:23:52 +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