Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
Mathew Sutcliffe
451b90e4f9 refs #584 Moved make_unique to makeunique.h 2016-02-08 17:28:22 +00: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
afac4b06bc Tweaks
* use current view
* normalize designator and only use when valid
2016-02-05 18:00:19 +01:00
Klaus Basan
bc65cde182 Specific fix for KB, which will be removed later 2015-12-08 20:14:21 +01:00
Klaus Basan
291c95160f Doxygen fixes refs #544 2015-12-08 20:14:17 +01:00
Klaus Basan
a2b413c8e1 refs #522, consolidate mutable / make mutable thread safe
* removed mutable wherever possible in GUI classes
* in vPilotReader also renamed some functions and some minor improvements
2015-11-26 01:33:35 +01:00
Roland Winklmeier
6474261c3c Remove unnecessary includes 2015-11-19 21:07:00 +00:00
Klaus Basan
23b310ac9b Formatting, typos 2015-11-19 21:06:11 +00:00
Klaus Basan
dff7ed5a90 refs #478 minor improvements
* updated / clean-up of global property indexes
* beta test function in CProject
* typo in math utils
2015-11-19 21:03:17 +00:00
Roland Winklmeier
94901b7846 refs #487 Finish IAircraftModelLoader::createModelLoader factory method 2015-11-19 21:03:03 +00:00
Mathew Sutcliffe
108c6f7db5 refs #452 Fixed clang error. 2015-11-19 21:02:22 +00:00
Klaus Basan
8dba22f7f0 refs #452, updated vPilot reader/sets
* Using ITimestampBased
* removed mapping / unsing CAircraftModel
* graceful shutdown in reader
2015-11-19 20:59:07 +00:00
Klaus Basan
5223d2fbd8 refs #452, improved FSX aircraft cfg data / cfg parser
* new attributes (e.g. "created by")
* conversion to CAircraftModel
* using interface in CAircraftCfgParser
* new utility methods in FS utility class
* adjusted model mappings provider
2015-11-19 20:59:04 +00:00
Mathew Sutcliffe
56d8bf4651 refs #457 Workaround GCC 4.7.2 internal compiler error. 2015-11-19 20:58:25 +00:00
Mathew Sutcliffe
f50400bd94 refs #457 Use cases for CWorker non-void tasks and thenWithResult(). 2015-11-19 20:58:24 +00:00
Klaus Basan
6ccc23fb32 refs #445, vPilot rules
* value classes
* reader for rules
* mapping provider using the rules reader
2015-11-19 20:57:21 +00:00
Roland Winklmeier
b28634e586 refs #444 Move CAircraftMatcher into Simulation namespace
It used to be before in FsCommon namespace, however it does not
have any MSFS specific implementation any more and is used by
xplane driver as well.
2015-11-19 20:57:07 +00:00
Mathew Sutcliffe
a4ca75c5c7 refs #438 Use compare_exchange_strong to avoid spurious failures. 2015-06-06 18:02:15 +01:00
Klaus Basan
5faa0d144c refs #438, gcc fix std::atomic<InitState> 2015-06-05 02:29:44 +02:00
Klaus Basan
dbce887946 refs #438, allow to stop and reinit parser/matcher
* plugin changes, mapper/parser will be stopped.
  make sure worker is properly shutdown
* restarted FS/FSX. Allow to reset mapper/parser data from store
2015-06-05 01:35:23 +02:00
Klaus Basan
8e56a14caf refs #438, allow to cancel parser
* added flag for parsing success
* unload driver cancels parsing
* assert for invoke
* using waitForFinished
2015-06-03 16:25:53 +02:00
Mathew Sutcliffe
6a2af9d387 Fixed broken include guard, detected by clang. 2015-05-31 21:00:16 +01:00
Mathew Sutcliffe
d4c5dff17a qint32 -> int replacements to make implementations consistent with headers. 2015-05-31 17:27:05 +01:00
Klaus Basan
e04ada3a7c refs #437, remove convertFromCVariant 2015-05-31 01:31:09 +02:00
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +02:00
Roland Winklmeier
74dd50b787 refs #409 Remove obsolete code 2015-05-28 22:46:26 +02:00
Roland Winklmeier
ddb02608e0 refs #409 aircraft model matcher 2015-05-28 21:34:04 +02:00
Roland Winklmeier
9e274badf1 refs #409 Rename ISimulatorModelMappings to IModelMappingsProvider
The reason is that the previous name sounded more like a value
object. But instead it does read the mappings from somwhere.
2015-05-28 21:33:56 +02:00
Roland Winklmeier
6275e06b4f refs #409 CAircraftCfgParser to parse aircraft.cfg files
Previously value class CAircraftCfgEntriesList was in charge of
parsing the cfg files. Moving it into its own class breaks up some
coupling issues.
2015-05-28 21:33:54 +02:00
Roland Winklmeier
f27d003f61 refs #409 Read FS9 installation directory from registry 2015-05-25 20:43:00 +02:00
Klaus Basan
bad3ed3ea8 refs #415, mixin style lists 2015-05-18 20:33:34 +02:00
Klaus Basan
104122023c Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied 2015-05-17 20:29:06 +02:00
Mathew Sutcliffe
b65232b202 MS & KB workshop: ICAO class renamings. 2015-05-12 22:47:54 +01:00
Klaus Basan
66075ca0d0 refs #361, some own ini reader got lost in master, re-applied changes 2015-05-12 21:03:36 +01:00
Mathew Sutcliffe
6b40cde862 refs #413 Make all value class methods non-virtual.
toCVariant() and convertFromCVariant() are now deprecated,
use CVariant::from() and CVariant::to() instead.
2015-05-12 20:37:47 +01:00
Mathew Sutcliffe
b64ae55a86 refs #413 Access control of convertToQString changed from protected to public. 2015-05-12 20:37:43 +01:00
Roland Winklmeier
a089d3641d refs #403 add BlackMisc shared library build 2015-05-05 21:34:19 +02:00
Michał Garapich
985a1caecf refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/ 2015-04-07 19:22:37 +02:00
Mathew Sutcliffe
2363fab8c1 refs #396 move Blackmisc PQ classes into subfolder 2015-04-07 19:22:30 +02:00
Klaus Basan
32f60722c8 refs #396, move subproject BlackSim into BlackMisc::Simulation
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00