Commit Graph

121 Commits

Author SHA1 Message Date
Mat Sutcliffe
f228055229 Use fallthrough attribute (C++17 feature) 2021-07-13 17:56:29 +01:00
Mat Sutcliffe
2c66e2215e Issue #77 Move all methods of CLogUtilities to other classes 2020-12-19 18:50:40 +00:00
Mat Sutcliffe
371c1f4f7c Issue #77 Break cyclic dependency between CLogCategory and numerous classes 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00: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
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Klaus Basan
2156eb1831 [Matcher] do not ASSERT without modelstring, try default model or give up 2020-06-12 18:42:50 +01:00
Klaus Basan
2607ebd7c6 Ref T776, renamed some matching settings
* the forced values did not force anything
* also adjusted UI form
2020-06-12 18:42:38 +01:00
Klaus Basan
14ab60cb73 Guarding by "hasWebDataServices" 2020-06-12 18:42:33 +01:00
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Klaus Basan
e9f8be013c [FSD] Style and minor fix, check for network ICAO 1st and not for simulator model (correct display) 2020-01-07 19:57:19 +00:00
Klaus Basan
8194726857 [Matching] Improved family matching (correct "add" results) 2020-01-07 19:46:16 +00:00
Klaus Basan
f602fa50cf [Matching] Only try to resolve against FP data if there are remarks 2020-01-07 19:05:43 +00:00
Klaus Basan
2fed1e7e99 Ref T730, style 2019-10-11 18:59:59 +01:00
Klaus Basan
b87d0f5f15 Ref T705, use model set for reverse lookup
* allow finding model string from set, for NON DB models
* pass model set as parameter
2019-09-16 22:40:40 +01:00
Klaus Basan
9b5ffdf924 Ref T704, moved "ifPossibleReduceNameTelephonyCountry" into airline code list, unified functions 2019-09-16 22:40:33 +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
07712c27e8 Ref T704, use "readiness" in airspace monitor to avoid "matching ready" sent twice
* details https://discordapp.com/channels/539048679160676382/539925070550794240/599963898552123394
* also "faster" readiness in some cases as it is discovered if FsInn and ICAO package has been received
2019-09-16 22:40:31 +01:00
Klaus Basan
7ee2814c73 Smaller improvements in matching messages/style 2019-09-16 22:40:30 +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
c9ec28442e Ref T701, matcher functions to used model set in matching, and better resolve ambiguous airline ICAOs
* reduce by telephony/airline name
* search in model set first for airline ICAO

Rational: If a user flies with modelset this most likely represents the airlines needed most in his area
2019-09-16 22:40:27 +01:00
Klaus Basan
69b3402301 Ref T701, reverse lookup against given model list (which could be the model set) 2019-09-16 22:40:20 +01:00
Klaus Basan
e389d5ac83 Ref T701, do NOT use FsInn data if model string iis unknown
* this can overrride "swift livery strings"
* FsInn only is useful with a known model string
2019-09-16 22:40:19 +01:00
Klaus Basan
c4e9114a83 Ref T701, typo 2019-09-16 22:40:18 +01:00
Klaus Basan
950af0c588 Ref T658, improved matching script
* properties
* functions
* log improved
* fixes
2019-09-16 22:39:56 +01:00
Klaus Basan
5da74faad0 Ref T684, renamed to "getAirlinePrefix()", as airline comes first 2019-09-16 22:39:54 +01:00
Klaus Basan
6bc2a15f61 Allow to disable reverse lookup for model string and livery ids 2019-09-16 22:39:53 +01:00
Klaus Basan
7b6650db32 Ref T658, renamed to "MatchingScriptReturnValues" because it is NO object to be used in matching script 2019-09-16 22:39:52 +01:00
Klaus Basan
ab5fc6f0ee Ref T658, adjusted matching with script
* return values changed
* pass in model and matched model
* JavaScript objects for web services, model set
* allow to pass back a model
2019-09-16 20:29:54 +01:00
Klaus Basan
c33dfce481 Category matcher using full model set and also reduced models
* Based on FS report here: https://swift-project.slack.com/archives/G96QTUBEG/p1559071176005100
* Return reduced models and not full set if no category matching applies
2019-09-16 20:29:47 +01:00
Klaus Basan
56d72b94c1 Improved matching logging 2019-09-16 20:29:45 +01:00
Klaus Basan
cec768b9a4 T658, matching script for network entry 2019-09-16 20:29:39 +01:00
Klaus Basan
e32282ba18 Resolve airline group during reduction 2019-09-16 20:29:33 +01:00
Klaus Basan
767961dfa8 Ref T658, matching script QObject 2019-05-23 13:12:58 +02:00
Klaus Basan
475d23c3da Ref T658, moved entry script in own function and adjusted airspace monitor 2019-05-23 13:12:58 +02:00
Klaus Basan
0b4427e39d Ref T658, matching script 2019-05-23 13:00:26 +02:00
Klaus Basan
23342bea3c Improved matching log 2019-05-13 11:20:54 +02:00
Klaus Basan
3c23fdb461 Ref T650, better log messages 2019-05-13 11:20:52 +02:00
Klaus Basan
0d2e6dd997 Ref T566, configurable matching log in matcher/simulator components
* log flag/enum in own file
* pass "what to log" as parameter
2019-04-11 22:12:13 +01:00
Klaus Basan
50d886791a Ref T566, matching log flag/enum to decide what is being logged 2019-04-11 22:12:12 +01:00
Klaus Basan
0732c32922 Typo, style 2019-04-11 22:12:01 +01:00
Klaus Basan
6e0d855bf7 Style 2019-04-11 22:11:45 +01:00
Klaus Basan
3a10483379 Ref T472, added a 1st version of glider category matching 2019-04-11 22:11:41 +01:00
Klaus Basan
c899bfbea7 Minor tweak remove redundant "/' and string message improvements 2019-04-11 22:11:40 +01:00
Klaus Basan
859a418691 Ref T566, added "short log" parameter 2019-04-11 22:11:39 +01:00
Klaus Basan
503bbf3a26 Ref T472, initial version of category matcher 2019-04-11 22:11:35 +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
49b89ab0a4 Ref T524, use pseudo family in matcher 2019-02-22 20:35:46 +00:00
Klaus Basan
d12f164d26 Ref T515, consolidated removed and disabled models, only use "disaabled" 2019-02-22 20:35:44 +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