Commit Graph

57 Commits

Author SHA1 Message Date
Klaus Basan
31a824540a refs #632, fixed CAircraftCfgEntries ColumnIndex functions 2016-04-11 20:16:17 +02:00
Klaus Basan
c3355b1c9d refs #614, changed matcher so caches can be used
* provider for cached models
* removed unused dummy
* renamed getDatastoreModels
2016-04-11 20:16:10 +02:00
Klaus Basan
220edf44f9 refs #614, last modifed timestamp from file set in CAircraftModel
* added to model (to display in view)
* derived BlackMisc::ITimestampBased from BlackMisc::ITimestampBased
2016-04-11 20:16:07 +02:00
Klaus Basan
a1d6492ff2 refs #614, moved cache to vPilot reader 2016-04-11 20:16:03 +02:00
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
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
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