Klaus Basan
0851b8c994
refs #868 , added xplaneDir utility function to remove boilerplate code
...
and using CFileUtils::appendFilePaths to concat file paths
2017-04-17 23:58:48 +01:00
Klaus Basan
99c792dd4b
Refs #868 Use CXPlaneUtil::xplaneRootDir() in the X-Plane plugin
2017-04-17 23:58:46 +01:00
Michał Garapich
f25d569ae8
refs #868 Add CXPlaneUtil::xplane11Dir()
2017-04-17 23:58:45 +01:00
Klaus Basan
5a91f561be
refs #888 , loadingFinished with CStatusMessage
2017-03-01 20:51:40 +01:00
Klaus Basan
8e55baaf85
Typos, QStringBuilder
2017-03-01 20:51:39 +01:00
Roland Winklmeier
d8de6bc398
Fix CXPlaneUtil::xplane10Dir() on Mac OS
...
Q_OS_UNIX is also defined on Mac OS, therefore the Q_OS_OSX branch
was never reached.
This concludes the test of this function on Mac OS and the todos
can be removed.
2017-02-24 00:18:20 +00:00
Mathew Sutcliffe
6c36cd202b
refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude.
2017-01-10 23:44:34 +00:00
Roland Winklmeier
db6b3b07fa
Ignore empty lines and comments when parsing xsb_aircraft.txt
2016-12-13 18:32:26 +00:00
Mathew Sutcliffe
78099c0ebe
refs #824 X-Plane model loader: set exclude flag for flyable aircraft.
2016-12-13 19:01:59 +01:00
Klaus Basan
02798a7f2b
refs #822 , set file ts in parser/modelloader
2016-12-13 19:01:52 +01:00
Mathew Sutcliffe
520f593d51
refs #747 It must be possible to load CSL models from a user-supplied directory.
2016-09-02 00:57:01 +01:00
Mathew Sutcliffe
87eeac4e15
refs #710 Simple algorithms to replace several regular expressions.
2016-08-30 04:02:00 +01:00
Klaus Basan
227190ab42
Minor adjustments
...
* ignore empty root dir
* check for empty context
2016-08-26 21:05:43 +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
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
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
1ef1cc0021
refs #585 , adjusted XP utils
2016-06-15 00:11:24 +02:00
Roland Winklmeier
3e4e49a6b6
Set last modification timestamp when loading X-Plane models
...
This feature was already implemented for MS Flight Simulator model
loaders and missing in the X-Plane model loader.
2016-05-24 16:59:16 +02:00
Roland Winklmeier
d0313c7524
Style
2016-05-20 01:31:26 +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
0f5d2a29a8
refs #655 , Change signature (order) of setProperty/compareProperty
2016-05-13 16:44:17 +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
Klaus Basan
5d39c906e4
refs #640 , support for simulator in distributor
...
* changed backend (JSON) and added support for simulator data
* get distributors by simulator
* renamed to setSimulator / getSimulator
2016-05-05 20:49:18 +02:00
Klaus Basan
ddc7347927
refs #643 , moved aircraft model icon loading to model class
...
* removed iconForModel from interface and aircraft config parser
* CPixmap support for loading pixmap from file
* Access to model of model set loader by model string
* icon path as member of CAircraftModel
2016-05-05 20:49:16 +02:00
Klaus Basan
abca1fde52
refs #614 , use interfaces from last step to reuse mergeWithDb data in multiple components
...
* adjusted menus
* adjusted loaders and components
2016-04-11 20:22:18 +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
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
Roland Winklmeier
17324f718d
Replace fatals by warnings in CAircraftModelLoaderXPlane
...
The warning message is there in order to tell developers that one of the
rare cases not yet implemeneted were called. This should not cause
the application to stop.
refs #574 , #582
2016-02-21 20:16:50 +01:00
Roland Winklmeier
b185d10463
Simplify XPlane CSL model strings
...
Before this change, the model strings were assembled via some
relatives pathes - long and very hard to read. Now it is assembled
via the pattern
<package root dir> <dir> ... <objectname> <texturename>
<package root dir> = the parent directory of xsb_aircrafts.txt
<dir> ... = directory hierarchy down to the object file
refs #574
2016-02-21 20:16:48 +01:00
Roland Winklmeier
d8eda7ea4b
Improve ModelLoader to find and parse XPlane flyable planes
...
refs #582
2016-02-21 20:16:37 +01:00
Roland Winklmeier
7cac547f1e
Utility method to get XPlane root directory
2016-02-16 21:09:30 +01: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
Mathew Sutcliffe
81fd3ef1d9
refs #552 CCoordinateGeodetic: added methods to get/set n-vector as doubles, to avoid narrowing.
2015-12-13 16:38:29 +00:00
Mathew Sutcliffe
ca18f98c43
refs #484 Added value class for working with X-Plane nav data, CNavDataReference.
2015-11-19 21:05:05 +00:00
Roland Winklmeier
4fc2db14ca
refs #487 Implement IAircraftModelLoader for XPlane
2015-11-19 21:03:06 +00:00
Roland Winklmeier
35cb4e2067
refs #487 add XPlane path utilities
2015-11-19 21:03:01 +00:00