Commit Graph

63 Commits

Author SHA1 Message Date
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +01:00
Klaus Basan
386a0ccd5d [XPlane] Model set must not contain ACF models
Discussion: see https://discordapp.com/channels/539048679160676382/539064750055751690/648974956306366499
2020-01-07 19:57:22 +00:00
Klaus Basan
f6e27bdf88 No log message if already admitted 2019-09-16 20:29:51 +01:00
Klaus Basan
46f69217c0 Doxygen comments 2019-04-11 22:11:49 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Mat Sutcliffe
8979b5257e Fixed clazy warnings: returning void expression. 2019-02-22 20:23:34 +00:00
Mat Sutcliffe
e32ea65a27 Fixed clazy warnings: fully-qualified signal parameter types. 2019-02-22 20:23:34 +00:00
Klaus Basan
8d3d5743d3 Ref T455, preselect simulator in wizard if there are models 2018-12-10 03:41:16 +01:00
Klaus Basan
53a77813a5 Ref T430, FG support for model loader (dummy loader) and model caches 2018-11-16 02:49:54 +01:00
Klaus Basan
c3fa2ab2f0 Ref T335, set correct model type when saving to caches 2018-09-12 17:40:54 +02:00
Klaus Basan
7d715a909e Ref T335, style and CLANG warnings 2018-09-12 17:40:49 +02:00
Klaus Basan
a8a36591f8 Ref T285, Ref T292 central caches only work in same thread 2018-07-27 23:27:10 +02:00
Klaus Basan
ceaad53375 Ref T292, Ref T285 avoid unnecessary calls of cache synchronize in model set/model caches 2018-07-27 01:13:16 +02:00
Klaus Basan
94e3b89479 Ref T292, Ref T285 model loader and cache improvements
* multi caches also emit when values are set and synchronized
* model loader detects cache changed
* added CCentralMultiSimulatorModelCachesAware
2018-07-26 04:32:40 +02:00
Klaus Basan
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02:00
Klaus Basan
74fa7d7289 Ref T292, Ref T285 signal when "real" loading was started (loading from disk) 2018-07-25 02:37:13 +02:00
Klaus Basan
1d29b6b36f Ref T292, Ref T285 CCentralMultiSimulatorModelCachesProviderBase base class to create model/model set providers 2018-07-25 02:37:01 +02:00
Klaus Basan
b25e4ff3c0 Ref T292, model caches changes
* no longer track "current" simulator, as this resulted in too many signals
* CCentralMultiSimulatorModelCachesProvider keeping all model caches "in one memory location"
* style changes
2018-07-25 02:36:51 +02:00
Klaus Basan
d632d1ad4f Fixes in model loader and caches
* loader/multi cache can clear caches if that is ever needed
* check if cache needs to be synchronized when loaded and if, do it
* emit changed signal if caches are set
2018-07-25 02:36:46 +02:00
Klaus Basan
0023fbb57f Ref T246, function to display model count and timestamp of model/set caches 2018-07-17 19:05:07 +02:00
Klaus Basan
76334b75d1 Ref T246, model loader improvements / renamings 2018-07-17 19:04:55 +02:00
Klaus Basan
f2820d81a4 Ref T286, multi caches/setting utility functions to check other versions 2018-07-09 22:30:34 +02:00
Klaus Basan
ccd7c477e2 Ref T246, unified signal handling in model caches and loader
* setSimulator as checked, simulatorChanged as unchecked version
* some renamings
* made some functions private, turned public slots -> public
2018-02-10 01:33:48 +01:00
Klaus Basan
44b2e27d11 Ref T246, use different caches to remember single/multi simulator selections
* selector UI "can remember"
* different caches
2018-02-09 04:44:02 +01:00
Klaus Basan
f0d2336eb6 Ref T199, all file names of multi simulator caches 2018-01-14 18:47:46 +01:00
Klaus Basan
0975abcc46 Ref T215, remember last server and model as cache value
* also remember last server not VATSIM server
* remember last model used
* server list selector uses remembered value
* login component sets those values
2018-01-13 05:04:11 +01:00
Klaus Basan
8b8bc9b994 Ref T152, unified member usage: this->m_xx -> m_xx 2017-09-24 20:29:07 +01:00
Klaus Basan
725341cdbe Fixed some formatting for T152 (before changing the classes) 2017-09-24 20:29:05 +01:00
Klaus Basan
5b3097a2b0 Ref T28, description for cache 2017-05-05 23:08:18 +01:00
Klaus Basan
4d156ad8fc Ref T28, description for caches 2017-05-05 23:07:51 +01:00
Klaus Basan
0b29ef3f78 Clang warnings 2017-04-18 00:06:32 +01:00
Klaus Basan
2b50fe1fdb refs #906, utility functions in simulator info and model caches 2017-04-18 00:05:08 +01:00
Klaus Basan
ff0c37ff58 refs #889, log categories 2017-04-17 23:56:53 +01:00
Klaus Basan
8e55baaf85 Typos, QStringBuilder 2017-03-01 20:51:39 +01:00
Klaus Basan
73ba4e5ff2 refs #834, improved default value for last set/models simulator
Remark: The bug itself was slightly related to the default value, as only the default loader suffered from a not reset flag
2016-12-15 04:06:20 +01:00
Klaus Basan
2ccf3fd4a2 refs #787, caches/model set loader
* Caches initialized
* simulators with model set
2016-12-13 19:01:27 +01:00
Klaus Basan
f385e46d67 refs #781, added admit functions for model caches
* interface constructor protected
* flag for synchronize in ctor
2016-12-06 09:34:33 +01:00
Klaus Basan
1678ca8919 refs #780, improved model string completion
* added signatures for completer string (when send via context size matters)
* support of all instaled models in completer
* added BLACKMISC_EXPORT in model cache classes
2016-12-06 09:34:31 +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
Mathew Sutcliffe
0ae1e70923 refs #697 Data cache traits renamed with T prefix. 2016-08-03 02:20:27 +01:00
Klaus Basan
85d8d14a48 added "break" 2016-06-15 00:11:17 +02:00
Klaus Basan
dc64e9b6bd allow to reset simulator if not appropriate for some reasons 2016-06-15 00:11:16 +02:00
Klaus Basan
2a99bed0cd refs #656, MS review items https://dev.vatsim-germany.org/issues/656#note-4
Remove defaultValue where not needed
2016-06-08 18:21:03 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Klaus Basan
c39882e5db refs #649, further fixes and improvements
* call of non-virtual function in ctor
* use getCopy
* return number of merged models
* change current simulator in model set loader (fixes infinite loop: change data -> signal -> change data).
2016-06-08 18:20:59 +02:00
Klaus Basan
8673d2eada refs #649, use utility function to emit signal
(can be better traced in debugger)
2016-06-08 18:20:45 +02:00
Klaus Basan
f58b3bf065 refs #649, refs #659 use new timestamp function 2016-06-08 18:20:44 +02:00
Klaus Basan
81d88837f9 refs #649, add.function getSyncronizedValues
Normally getValue should transparently sync. But this force me to make the function non-const.
2016-06-08 18:20:42 +02:00
Klaus Basan
875b311ede refs #649, with #659 deferred caches available
* adjustments to use deferred caches
* removed simulator from CAircraftModelSetLoader`s signature as it was not used
* only change current simulator when explicitly set (avoid unintended setting)
* added function to obtain number of elements from model caches
2016-06-08 18:20:39 +02:00