Lars Toenning
bcc4bdd31e
Add SPDX identifiers for REUSE compliance
...
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com >
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650
clang-format src
2023-04-18 16:07:19 +02:00
Mat Sutcliffe
57d32da826
Use nested namespaces (C++17 feature)
2021-09-18 15:07:48 +01:00
Mat Sutcliffe
a22591c8c0
Issue #77 Move CMultiAircraftModelLoaderProvider into a new module
...
This breaks the cyclic dependencies between IAircraftModelLoader and its subclasses.
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
63e8de8f00
Issue #77 getLogCategories returns a simple QStringList instead of our own class
2020-12-19 18:50:34 +00:00
Mat Sutcliffe
b80114213d
Issue #77 Move mixin classes to separate files
...
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Roland Rossgotterer
264002cb63
Style and formatting
2019-04-11 22:11:57 +01:00
Lars Toenning
0fa989c2f1
Basic model loader implementation for FG
2019-04-11 22:11:52 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
02f638501e
Ref T529, model loader improvements
...
* XP loader improved progress messages
* added LoadingFailed
* use "Qt::QueuedConnection" for CMultiAircraftModelLoaderProvider
In some cases the loading progress signal was not send properly changing to Qt::QueuedConnection has solved the issue
2019-02-22 20:36:06 +00:00
Klaus Basan
001d90bd6b
Ref T529, using sort order in model loader
2019-02-22 20:36:04 +00:00
Klaus Basan
2d30c1cce8
Style
2019-02-22 20:35:59 +00:00
Mat Sutcliffe
fe7a45afcf
Ref T516 Update CStatusMessage call sites to use new syntax.
2019-02-22 20:35:51 +00:00
Klaus Basan
474b1aad6c
Ref T514, signal/slot for model loading progress displayed in UI
2019-02-22 20:35:32 +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
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
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
94bf4b2249
Ref T292, Ref T285 added signal in loader for "disk loading" and fixed displaying of "already loading" messages
2018-07-25 02:37:14 +02:00
Klaus Basan
5953bbe4c6
Ref T292, model loader improvements
...
* CMultiAircraftModelLoaderProvider keeping all model loaders in memory (alzy init)
* using CCentralMultiSimulatorModelCachesProvider
* adjusted to changes such as "ModelsFor" renaming
* parent QObject for model loaders
2018-07-25 02:36:52 +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
235332bada
Ref T246, model loader must not fire signal if cache is changed elsewhere
2018-07-17 19:05:11 +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
80cee12fdb
Ref T246, utility for 1st model set directory
...
* remove empty enries in directories
* allow to add directory
* detect same directories and avoid duplicates
2018-07-14 19:45:21 +02:00
Klaus Basan
ac406d43f6
Ref T286, renaming / adding utility functions in simulator info
2018-07-09 22:30:24 +02:00
Klaus Basan
640ec3a573
Ref T252, send all loading status messages as list
2018-02-22 01:26:23 +01:00
Klaus Basan
d64ddfa8af
Ref T246, functions to access values of model loader/models component
...
* direct access to simulator settings
* load models for simulator
2018-02-09 04:44:04 +01:00
Klaus Basan
2f0253b3eb
Ref T118, support multiple model directories
...
* this was recently discussed https://swift-project.slack.com/archives/C04J6J76N/p1508430536000065
* for config parser already implemented
* for XP the loading from multiple dirs still needs to be implemented (see todo)
2017-10-31 15:39:15 +01:00
Klaus Basan
24802b6f7f
Ref T118, init model directories (fixes the issue that no directory was found when triggered from context menu)
2017-10-31 15:39:14 +01:00
Klaus Basan
66624e064d
Ref T118, "protected slots" -> "protected"
2017-10-31 15:39:12 +01:00
Klaus Basan
e269ce5bd8
Ref T152, do not start loading if the model dir does not exists/is empty
2017-09-24 20:29:06 +01:00
Klaus Basan
725341cdbe
Fixed some formatting for T152 (before changing the classes)
2017-09-24 20:29:05 +01:00
Klaus Basan
c3ed0bc394
Ref T28, removed areModelFilesUpdated and info if loading was from cache
...
* removed CacheUntilNewer
* did not really work and had some problems
* cache timestamp not really a good value to compare with
* too slow with remote file
2017-05-05 23:08:04 +01:00
Klaus Basan
ff0c37ff58
refs #889 , log categories
2017-04-17 23:56:53 +01:00
Klaus Basan
5a91f561be
refs #888 , loadingFinished with CStatusMessage
2017-03-01 20:51:40 +01:00
Klaus Basan
61e7f23847
refs #858 , todo review (demoted, commented)
2017-02-24 00:09:00 +00:00
Klaus Basan
0acbeed141
refs #834 , reset the loading flag (was missing and the bug itself)
2016-12-15 04:06:21 +01:00
Klaus Basan
ed7963e551
#447 , consider cache changed signal in order to avoid issue mentioned here
...
https://dev.vatsim-germany.org/issues/447#note-11
2016-12-13 19:01:41 +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
5789120ecc
refs #555 , load models from directory
...
* file dialog
* adjusted signatures to pass directory
2016-08-26 21:05:42 +01:00
Klaus Basan
e3fc72d775
refs #720 , fixed: display all models when only selected models are consolidated
...
* in same step fixed location of error message
* minor renaming
2016-08-26 21:05:06 +01:00
Klaus Basan
019b623f43
refs #720 , adjusted model loader
...
* callback function to data consolidation (so I can refer to consolidation in BlackCore)
* use status message in parser
* avoid duplicate keys (WOAI has ambiguous model strings which are to be excluded)
2016-08-26 21:04:21 +01:00
Mathew Sutcliffe
8275b0d9bf
refs #697 BlackMisc settings renamed and reorganized.
2016-08-03 02:19:08 +01:00
Klaus Basan
554d1add79
refs #676 , allow 1..n model directories
...
* adjusted loaders
* changed settings
2016-06-23 20:13:29 +02:00
Klaus Basan
bc344c73fc
refs #585 , adjusted loaders
...
* use paths from settings
* no longer pass model directory and exclude directories
2016-06-15 00:11:26 +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
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
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
43f9515eaa
refs #641 , moved last simulator selection to caches
...
* removed from component cache
* kept renamed component caches as stubs for later usage
refs #646 , removed gui state cache as it causes build issues on Jenkins
(idea was to keep the classes as stubs for later usage)
2016-05-07 20:11:41 +02:00