Commit Graph

1262 Commits

Author SHA1 Message Date
Mathew Sutcliffe
34c25aee46 refs #628 Use expression SFINAE to simplify the implementation details of CVariant. 2016-04-03 18:17:38 +01:00
Mathew Sutcliffe
7ce1b268df refs #628 Use expression SFINAE and the void_t trick to simplify some type traits. 2016-04-03 18:17:37 +01:00
Mathew Sutcliffe
f159bdb5bf Removed unused code. 2016-04-03 18:17:37 +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
ccbad71f7f Log. string generation in file logger 2016-03-30 18:22:20 +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
bb16d5d069 refs #618, allow to display icon when DB key is set 2016-03-30 18:22:18 +02:00
Klaus Basan
691ffa3417 refs #618, real index for BlackMisc::CPropertyIndex::GlobalIndexCDbOwnModelsComponent 2016-03-30 18:22:17 +02:00
Klaus Basan
353d96514e refs #618, return "good" message for cache setting and added validation log categoriess 2016-03-30 18:22:14 +02:00
Klaus Basan
78b117cc6d refs #618, allow to directly create validation messages
Needed frequently, easier than always to join categories
2016-03-30 18:21:38 +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
4cecd2a4d0 refs #618, allow to set file name for saving in views 2016-03-30 13:41:55 +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
7f2e37fab0 refs #618, images added to resources 2016-03-30 13:41:47 +02:00
Klaus Basan
468182da4c refs #621, URL from local file path 2016-03-30 13:41:45 +02:00
Klaus Basan
703a43c6fb refs #621, allow to load setup from resource dir file
* CValueObjects can be loaded from JSON file
* get bootstrap file location
2016-03-30 13:41:45 +02:00
Klaus Basan
87a0c75f43 refs #621, use getXX for setup members, no idea why I have not used our standard 2016-03-30 13:41:44 +02:00
Klaus Basan
3073710dba refs #619, function to get all ICAO designators as string list 2016-03-30 03:07:18 +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
eda68329f3 refs #624 Updated comment. 2016-03-22 16:03:05 +00:00
Mathew Sutcliffe
5872e96b21 refs #624 Fix cppcheck warnings. 2016-03-22 16:03:02 +00:00
Mathew Sutcliffe
a895cc2c54 refs #624 Removed many workarounds, no longer needed. 2016-03-22 16:02:58 +00:00
Mathew Sutcliffe
187501bb3c refs #624 Modernize how CDictionary selects its default implementation container. 2016-03-22 16:02:55 +00: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
a8fc899219 refs #624 Use std alias traits. 2016-03-22 16:02:48 +00:00
Mathew Sutcliffe
23a7f9b719 refs #624 CLogPattern can use Mixin::HashByTuple because QSet is hashable since Qt 5.5. 2016-03-22 16:02:45 +00:00
Mathew Sutcliffe
4df0f150de refs #624 Removed a \todo which actually didn't make sense. 2016-03-22 16:02:43 +00:00
Mathew Sutcliffe
463a7c776a refs #624 Use lambda init-capture. 2016-03-22 16:02:40 +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
34512cefbe refs #624 Implementation of Optional can always use unrestricted unions. 2016-03-22 16:02:36 +00:00
Mathew Sutcliffe
eb4df2d893 refs #624 Use auto function return type deduction. 2016-03-22 16:02:33 +00:00
Mathew Sutcliffe
4700cb1602 refs #624 Use ref qualifiers. 2016-03-22 16:02:31 +00:00
Mathew Sutcliffe
3001ca1f44 refs #624 Use std::make_unique instead of BlackMisc::make_unique. 2016-03-22 16:02:29 +00:00
Mathew Sutcliffe
bb7cf80a20 Metatuple must ignore CStatusMessage::m_handledByObjects, as it doesn't know about the mutex. 2016-03-22 16:02:26 +00:00
Mathew Sutcliffe
bb1d9edfe9 Fixed missing mutex locks in CStatusMessage. 2016-03-22 00:31:12 +00:00
Mathew Sutcliffe
caa01f846b refs #624, #492 Refactor parts of CLogMessage into base class and use inheriting constructors to unify the construction idiom of CLogMessage and CStatusMessage. 2016-03-22 00:31:09 +00:00
Mathew Sutcliffe
2ce1f3da0a refs #624 Use inheriting constructors in CValueObject. 2016-03-21 02:20:04 +00:00