Commit Graph

68 Commits

Author SHA1 Message Date
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
Klaus Basan
05fb937df1 More detailed info about excluded models 2018-02-11 19:46:57 +01:00
Klaus Basan
e001b0338f Ref T242, utility functions for matching
* search among airline aircraft
* improved logging information
* search among airline ICAO aircraft (which aircraft does the airline use?)
* check ecosystem before merging with VATSIM data
2018-02-09 04:43:47 +01:00
Klaus Basan
10f942e702 Formatting, minor tweaks 2018-02-09 04:43:45 +01:00
Klaus Basan
23cd247bd8 Ref T247, utility functions to validate model set 2018-02-07 02:41:44 +01:00
Klaus Basan
84ea7faaca Ref T242, utility functions for improved matching 2018-02-05 03:45:38 +01:00
Klaus Basan
909342e172 Ref T201, formatting 2017-12-21 19:47:39 +01:00
Klaus Basan
0d3dcdae83 Ref T182, added coverageSummary / count functions 2017-11-10 19:28:15 +01:00
Klaus Basan
9048ff0977 Ref T182, aircraft ICAO, airline ICAO and livery also contribute to scoring log messages 2017-11-09 04:42:20 +01:00
Klaus Basan
31e47f013c Ref T182, matching log can be used with calculateScore 2017-11-09 04:42:15 +01:00
Klaus Basan
8e9411edb1 Ref T182, utility functions for model/model list 2017-11-09 04:42:05 +01:00
Klaus Basan
384c186fce Ref T111, removed as requested in review by MS 2017-09-24 19:51:19 +01:00
Klaus Basan
b1295cd457 Ref T111, added utility functions used for swift plugin (dummy driver)
* new reader functions
* plugin info
2017-09-24 19:51:04 +01:00
Klaus Basan
03a551d016 Ref T109, new utility functions for reverse lookup 2017-09-24 19:50:58 +01:00
Klaus Basan
94c9886c35 Based on discussion around T107 and slack
* Use CJsonScope scope("MetaData") for stacktrace
* added Q_UNUSED(scope) to avoid QtC warnings
2017-09-24 19:50:37 +01:00
Klaus Basan
0c336952d2 Ref T26, Ref T27, utility functions in "value object" classes 2017-06-27 20:50:31 +02:00
Klaus Basan
5558cee4d8 Ref T67, utility functions for simulator info/model list 2017-05-09 19:13:45 +02:00
Mathew Sutcliffe
e3fe8ec39f refs #937 Resolved clazy warnings: miscellaneous. 2017-04-19 19:31:50 +01:00
Klaus Basan
fce4cb8a4d refs #827, preferColorLiveries as parameter for scoreFull
flag will be set in aircraft matcher
2017-04-17 23:59:33 +01:00
Klaus Basan
88a5b54ef6 refs #827, use matching logs (CMatchingUtils) with score functions 2017-04-17 23:59:26 +01:00
Klaus Basan
2a083f9113 refs #849, utility functions in model list added 2017-01-10 23:46:56 +00:00
Mathew Sutcliffe
bbdbd26f82 refs #815 Throw CJsonException when required JSON objects are not found. 2017-01-10 23:46:33 +00:00
Klaus Basan
06ccf46eb1 refs #829, utility function 2016-12-13 19:02:14 +01:00
Klaus Basan
7b11b1fb54 refs #828, added function to generate HTML file with matrix
* added utility functions
* adjusted existing functions
2016-12-13 19:02:07 +01:00
Klaus Basan
3b25781a06 refs #825, utility functions
* allow to prefer color liveries (idea: when no airline is found, a neutral livery looks better)
* pick randomly among equal scores
2016-12-13 19:02:00 +01:00
Klaus Basan
630ec78d38 refs #820, utility functions for score and groupBy 2016-12-13 19:01:43 +01:00
Klaus Basan
6befaa32d5 refs #797, added support for combined type
* adjusted log messages
* aligned name to combined type
2016-12-13 19:01:40 +01:00
Mathew Sutcliffe
45bb9a2737 refs #784 Use CMemoTable to implement a compact JSON schema for CAircraftModelList. 2016-12-13 19:00:17 +01:00
Klaus Basan
9deedf1e10 refs #789, improvements when addressing FSX driver issue
* added new utility funtion is model list / aircraft list
* added setters/getters for CSimConnectObject
* added setters/getters for InterpolationStatus / PartsStatus
* added CSimConnectObjects (better encapsulation)
2016-12-06 09:47:04 +01:00
Klaus Basan
1ba42714ed refs #768, fixed capture as discussed
https://dev.vatsim-germany.org/issues/768#note-10
2016-12-06 09:33:53 +01:00
Klaus Basan
7279772cab refs #768, changes to QSet<QString>
* based on review https://dev.vatsim-germany.org/issues/768#note-5
* changed a few signatures to QSet<QString>
2016-12-06 09:33:42 +01:00
Klaus Basan
11e32a065e refs #743, utility functions and formatting / typos
* simulator info for FS family / as set
* fixed synchronized typo
* info string for caches
* getter for cached models from the loaders
* get all FS family models (FSX/P3D/FS9) from list
2016-10-17 14:33:58 +01:00
Klaus Basan
0846a8773a refs #755, validation also for "distributors from DB"
* validation now in webdataservices (so it can check against DB data)
* utility functions
2016-09-19 16:18:50 +02:00
Klaus Basan
cbc095d230 refs #755, restore distributor order when consolidating with DB data
(formerly order was overridden)
2016-09-19 16:18:43 +02:00
Klaus Basan
da343d81c1 refs #720, allow to publish when there are errors, but some models pass validation
* return valid and invalid models
* return value "success" when there are any valid models
2016-08-26 21:05:02 +01:00
Klaus Basan
364914cc31 refs #720, file name handling in models
* normalize file name before writing to DB
* use local file paths for local models
* display "C" for color liveries
2016-08-26 21:05:00 +01:00
Klaus Basan
f9922353c4 refs #720, improved distributor and airline/livery detection
* mark data read from DB (req. for string key where existing key value is not reliable indicator for DB data)
* detect distributors by part of model string
* use a simplified name (no spaces, no special characters) to find a match
* allow to obtain model strings (=keys) as set and list
2016-08-26 20:54:52 +01: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
Klaus Basan
1bb6f98e56 refs #641, using IOrderable and some formatting 2016-05-05 20:49:23 +02:00
Klaus Basan
5d39c906e4 refs #640, support for simulator in distributor
* changed backend (JSON) and added support for simulator data
* get distributors by simulator
* renamed to setSimulator / getSimulator
2016-05-05 20:49:18 +02:00
Klaus Basan
ddc7347927 refs #643, moved aircraft model icon loading to model class
* removed iconForModel from interface and aircraft config parser
* CPixmap support for loading pixmap from file
* Access to model of model set loader by model string
* icon path as member of CAircraftModel
2016-05-05 20:49:16 +02:00
Klaus Basan
1b0dda74a3 refs #614, renamed function and helper function 2016-04-11 20:19:46 +02:00
Klaus Basan
a07af2b781 refs #614, formatting and new functions for list/value objects
* find by aircraft family
* name completer sorting
2016-04-11 20:16:23 +02:00
Klaus Basan
a5d0453019 refs #614, changed matcher and applied changes
* new function in model list
* removed all models in matcher, only provider data will be used
2016-04-11 20:16:14 +02:00
Klaus Basan
780d8a05e8 refs #618, functions / class to get simulator distribution of a model set
Find out for which simulators the model set is etc.
2016-03-30 18:22:19 +02:00
Klaus Basan
50ac317065 refs #618, unified naming in model list + minor adjustments 2016-03-30 13:41:58 +02:00