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
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
31c86da50b
refs #568 , only one IDatastoreObjectList by making the key type a template parameter
2016-01-28 16:31:54 +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
9f646f215c
refs #571 , allow to select distributor by key or alias
...
* removed redundant getId function
* functions for completer
2016-01-28 16:31:52 +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