Commit Graph

198 Commits

Author SHA1 Message Date
Klaus Basan
f3ef7ad7ea refs #614, renamed to CAircraftModelSetLoader and detect changes in cache 2016-04-11 20:16:26 +02:00
Klaus Basan
7ed2cc649b refs #614, removed IModelMappingsProvider + adjustments 2016-04-11 20:16:25 +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
31a824540a refs #632, fixed CAircraftCfgEntries ColumnIndex functions 2016-04-11 20:16:17 +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
057c88b0f2 refs #614, using threadsafe version of getCopy and Doxygen 2016-04-11 20:16:11 +02:00
Klaus Basan
c3355b1c9d refs #614, changed matcher so caches can be used
* provider for cached models
* removed unused dummy
* renamed getDatastoreModels
2016-04-11 20:16:10 +02:00
Klaus Basan
220edf44f9 refs #614, last modifed timestamp from file set in CAircraftModel
* added to model (to display in view)
* derived BlackMisc::ITimestampBased from BlackMisc::ITimestampBased
2016-04-11 20:16:07 +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
a1d6492ff2 refs #614, moved cache to vPilot reader 2016-04-11 20:16:03 +02:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
126ad26261 refs #618, clang fixes
* use own default constructor error: default initialization of an object of const type 'const BlackMisc::CIcon' without a user-provided default constructor static const CIcon empty;
* same for CDbOwnModelsComponent()
* fixed guard
2016-03-30 18:22:27 +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
62789cfc14 refs #618, model set loader (not to be confused with model loader) 2016-03-30 13:42:00 +02:00
Klaus Basan
5651ec0f80 refs #619, removed redundant set method for cache in loader 2016-03-30 13:41:59 +02:00
Klaus Basan
50ac317065 refs #618, unified naming in model list + minor adjustments 2016-03-30 13:41:58 +02:00
Klaus Basan
b871e7b1e3 refs #619, simulator info list + fix in distributor list 2016-03-30 13:41:56 +02:00
Klaus Basan
5dc976caca refs #619, allow to directly manipulate cache in loader 2016-03-30 13:41:54 +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
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
83d7b7ceef refs #619, adjusted model loader / implementing classes
* init data based on last setup
* init changed some signatures
2016-03-23 03:24:59 +01:00
Klaus Basan
7714f5db9f refs #619, utility functions simulator info 2016-03-23 03:24:58 +01:00
Klaus Basan
69b205cc14 refs #619, allow exclude dirs in file utils searches for newest files 2016-03-23 03:24:55 +01:00
Klaus Basan
4087d63d9c refs #619, change model loader to use caches (one per simulator)
* removed caching from GUI component
* added caches in model loader
* adjusted samples
2016-03-23 03:24:54 +01:00
Mathew Sutcliffe
a1861c69f0 refs #624 Some more occurrences of constexpr. 2016-03-22 16:02:53 +00:00
Mathew Sutcliffe
6f1cf8e3d7 refs #624 Replace typedef with using. 2016-03-22 16:02:50 +00:00
Mathew Sutcliffe
3c2285e46b refs #624 Use generic lambda to reduce redundancy in relation to CWorker::thenWithResult. 2016-03-22 16:02:38 +00:00
Mathew Sutcliffe
eb4df2d893 refs #624 Use auto function return type deduction. 2016-03-22 16:02:33 +00:00
Mathew Sutcliffe
3001ca1f44 refs #624 Use std::make_unique instead of BlackMisc::make_unique. 2016-03-22 16:02:29 +00: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
3b0267b9fe Renamed description for generated vPilot rules 2016-03-18 01:09:48 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Roland Winklmeier
17324f718d Replace fatals by warnings in CAircraftModelLoaderXPlane
The warning message is there in order to tell developers that one of the
rare cases not yet implemeneted were called. This should not cause
the application to stop.

refs #574, #582
2016-02-21 20:16:50 +01:00
Roland Winklmeier
b185d10463 Simplify XPlane CSL model strings
Before this change, the model strings were assembled via some
relatives pathes - long and very hard to read. Now it is assembled
via the pattern

<package root dir> <dir> ... <objectname> <texturename>

<package root dir> = the parent directory of xsb_aircrafts.txt
<dir> ... = directory hierarchy down to the object file

refs #574
2016-02-21 20:16:48 +01:00
Roland Winklmeier
d8eda7ea4b Improve ModelLoader to find and parse XPlane flyable planes
refs #582
2016-02-21 20:16:37 +01:00
Roland Winklmeier
7cac547f1e Utility method to get XPlane root directory 2016-02-16 21:09:30 +01:00
Roland Winklmeier
bd251b5de6 Fix license headers 2016-02-16 20:01:21 +01:00
Roland Winklmeier
7953d550ea Fix linux clang errors and warnings
refs #596
2016-02-15 18:35:34 +01:00
Mathew Sutcliffe
451b90e4f9 refs #584 Moved make_unique to makeunique.h 2016-02-08 17:28:22 +00:00
Roland Winklmeier
055e4aae17 Fix source code not in sync with doxygen doc
refs #544
2016-02-08 01:53:17 +01:00
Roland Winklmeier
794bf0cd74 Fix doxygen copydoc documentation
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code

refs #544
2016-02-08 01:53:17 +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
afac4b06bc Tweaks
* use current view
* normalize designator and only use when valid
2016-02-05 18:00:19 +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
c54dd8560d refs #577, filter for aircraft model
* allow to filter by distributor
* filter by simulator on change
2016-02-05 17:59:59 +01:00