Commit Graph

53 Commits

Author SHA1 Message Date
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
Klaus Basan
6fdddf8f93 refs #618, allow to update/add models based on model string
* functionality in list
* access via view
* fixed count for changed objects in datastoreobjectlist (now detects replacements)
2016-03-30 13:41:53 +02:00
Klaus Basan
c339a3d1e0 refs #619, use a combined cache class
* moved caches to blackmisc
* used CModelCaches in loader
* applied changes in simulator specific loader classes
* renamed find function to findFirstByModelStringOrDefault
* made merge function static so it can be used elsewhere
2016-03-30 13:41:51 +02:00
Klaus Basan
93176b5bd4 refs #619, enhance local model data with DB data (if possible)
* use new slot syntax on menu actions
* allow reload from disk and reload from cache
* added utility functions for model/modellist
2016-03-30 03:07:07 +02:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Klaus Basan
3096e9954e refs #576, no airline validation with color liveries and no exclusion of special designators 2016-02-05 18:00:21 +01:00
Klaus Basan
2498a1ad71 refs #576, refs #588 improved finders and default selection
* IATA code for airlines
* selection for airline designator returns list not single object
* misc finder functions for airline list
* formatting, use MS override Doxygen style
2016-02-05 18:00:16 +01:00
Klaus Basan
b4dc21eeb4 refs #568, improved validation and handling
* invalid models can be highlighted on stash
* selection mode can be toggled between single/multi selection (where applicable)
* color for highlighting can be set
* finetuning of menus
2016-01-28 16:31:50 +01:00
Klaus Basan
72256cf86f refs #568, specialized lists (timestamp, DB objects, model list)
* remaned to latest/oldestObject
* JSON functions with prefix
* remove by keys
* only add models with model string to QStringList
2016-01-28 16:31:38 +01:00
Klaus Basan
5ab0173508 refs #527, JSON reading of value objects
* renamed simkey to modelstring
* allow parsing of stub objects (only foreign keys, not denormalized)
2016-01-28 16:31:29 +01:00
Klaus Basan
4e0e2cddf8 refs #561, Compressed JSON format for model
* based on RI DB keys
* utility functions
2016-01-28 16:28:01 +01:00
Klaus Basan
3387caabdc refs #562, allow to validate models
* GUI part
* allow to merge a list of messages into one
* validation function
2016-01-28 16:27:32 +01:00
Klaus Basan
1601ca62fd refs #535, updated aircraft model / view
* add functions to apply changes to selected objects
* allow to highlight models by their model strings
* Utility function to show which parts come from DB
* model strings can be obtained sorted/unsorted
2015-12-20 16:59:51 +01:00
Klaus Basan
a863f99c9d refs #533, fixes "CContextSimulator::ps_addRemoteAircraft is never called"
* reordered use of fireDelayedReadyForModelMatching
* better calls / params depending on received packet(FSInn / Icao code)
* fixed search in DB data
* works now with and without DB data present
2015-12-08 20:14:09 +01:00
Klaus Basan
8f85c54989 refs #538, Formatting, minor tweaks, comments
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Klaus Basan
ae24700299 refs #452, adjusted aircraft/aviation classes
* support for loading from datastore
* improved timestamp handling
* new color and country classes
* new attributes
* updates for missing parts in CUser
2015-11-19 20:58:48 +00:00