Commit Graph

52 Commits

Author SHA1 Message Date
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
0dd9bce697 refs #793, keep network model (as reverse looked up) 2016-12-06 09:34:53 +01:00
Klaus Basan
0811536e57 refs #791, new ctor by ICAO/livery 2016-12-06 09:34:38 +01:00
Klaus Basan
ff3f04f74c refs #768, allow more detailed tooltips
(makes it sometimes much easier to identify an entity)
2016-12-06 09:34:14 +01:00
Klaus Basan
cda3ece82b refs #773, sent model name to DB
* improved model parsing for FSX family
* improved description for model name

#772 and Ref T1 contain the related backend fixes
2016-10-17 14:34:16 +01:00
Klaus Basan
bf8198e2c2 refs #768, misc adjustments
* changed signature of ownAircraftModelChanged to model
* added function for a reverse lookup of a model (string->model) and use it when model changed
* renamed function to updateByLocalFileNames
2016-10-17 14:34:15 +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
58faed5ea7 refs #745, removed unused hover code
(this was a trial to highlight the drop position, the callback function was kept)
2016-08-27 14:31:42 +02:00
Klaus Basan
4582387684 refs #720, treat auto gen. descriptions as "empty" 2016-08-26 21:05:03 +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
Klaus Basan
e497b43e06 refs #706, model string and DB key utility function 2016-07-14 18:49:20 +02:00
Klaus Basan
64fa88da72 refs #707, renamed to FSInn / FSInnData 2016-07-14 18:49:17 +02:00
Klaus Basan
2dec348c8c Formatting from refs #678 2016-06-25 16:00:36 +02:00
Klaus Basan
54b1234f7f refs #649, refs #658 fixed includes to new subfolders "db"
some style changes in same step
2016-06-08 18:20:23 +02: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
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +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
826662cbb5 refs #638, refs #614, support for military flag and swift livery string
* fixed missing tuple attribute
* improved toQString conversion
2016-04-11 20:57:58 +02:00
Klaus Basan
368d803d42 refs #614, refs #638 removed redundant m_livery from CSimulatedAircraft and improved convertTOQString
* removed some leftovers in simulated aircraft such as virtual functions
* use livery from model instead of keeping a redundant copy
2016-04-11 20:57:54 +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
b1c32dac10 refs #614, allow to merge own models with vPilot rules (this can be used if no DB data are available yet)
* menus
* utility functions
2016-04-11 20:16:05 +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
7d785b4e3b refs #618, allow to filter my include/exclude 2016-03-30 13:41:50 +02:00
Klaus Basan
e03c207324 refs #618, refs #619, utility functions for model/distributor value objects 2016-03-30 03:07:17 +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
Klaus Basan
46d71ed1a2 Some finetuning of columns in views/data displayed
Sorting fixed for model
2016-03-18 01:10:40 +00:00
Klaus Basan
ae43c4038c refs #576, remove models with string by container
(improved CAircraftModel::matchesModelString)
2016-02-05 17:59:56 +01:00
Klaus Basan
6facffc292 refs #573, access to mode (exclude/include)
* in model
* in value object
2016-01-28 16:32:06 +01:00
Klaus Basan
6625b83c5e refs #571, consolidate with own models or DB models when stashed (goal: better defaults)
* improved missing parts updates
* sync. with own and DB models
2016-01-28 16:31:53 +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
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
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
0c94922bd6 refs #501, compareByPropertyIndex (performance for sort) 2015-11-19 21:04:34 +00:00
Mathew Sutcliffe
d13e863218 refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed. 2015-11-19 21:02:16 +00:00
Klaus Basan
3ed2068ff5 refs #452, MS review
https://dev.vatsim-germany.org/issues/452#note-5
2015-11-19 21:00:19 +00: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
Klaus Basan
25fd0f4f2d refs #445, value objects and containers
* common base class for DB based classes
* common base class for DB based containers
* Livery, distributor value class
* adjusted value classes to livery
* utility functions for DB values (blackmisc free functions)
* register new objects with metadata system
2015-11-19 20:57:17 +00:00
Klaus Basan
e04ada3a7c refs #437, remove convertFromCVariant 2015-05-31 01:31:09 +02:00
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +02:00
Roland Winklmeier
1b26311983 Fix license header spelling 2015-04-16 00:59:56 +02:00
Mathew Sutcliffe
9977d97a67 refs #356 Renamed CValueObjectStdTuple to CValueObject. 2015-03-27 23:03:25 +00:00
Mathew Sutcliffe
2a3e0acf23 refs #356 Update base class name in derived class method implementations. 2015-03-27 19:08:52 +00:00
Klaus Basan
89424647aa refs #369, smaller changes
* rendered attribute in CSimulatedAircraft
* Formatting
* contains in CPropertyIndex
* CAircraftModel, new type
2015-03-20 16:31:22 +01:00