Commit Graph

50 Commits

Author SHA1 Message Date
Mat Sutcliffe
689997e3f1 Issue #77 Move class to sampleblackmiscsim because it is only used there 2020-08-28 00:45:27 +01:00
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Klaus Basan
947e393b03 [P3D] Support for v5, wrong path used for validation
* guess version in validation
* changed some values to v5 as default
* search also for future versions of P3D (e.g. v5)
2020-06-12 18:42:56 +01:00
Roland Rossgotterer
9fa3221abc Replace deprecated endl with Qt::endl 2020-06-12 18:42:54 +01:00
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Klaus Basan
0767deb41d Ref T701, IAircraftModelSetProvider 1st version
* added to matcher
* and simulator context
* in facade changed init order, as we need getCContextOwnAircraft() / getCContextSimulator()

Remark: Need 2 contexts is not ideal, but accepted for the moment
2019-09-16 22:40:26 +01:00
Klaus Basan
3510e20290 Ref T660, FSX/P3D config file functions 2019-09-16 20:29:59 +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
31ba0c1520 Ref T437, samples for FSUIPC 2018-11-23 02:14:51 +01:00
Klaus Basan
6c1a882231 Ref T365, samples for addon/fsx config files 2018-09-22 01:26:36 +02:00
Klaus Basan
cbb0805c7e Style 2018-08-19 14:31:47 +02:00
Klaus Basan
6548c71521 Synchronize model set in simulator context and improved setting of model set in matcher (ignored when same simulator) 2018-08-09 01:39:19 +02:00
Klaus Basan
08113e8c1d Ref T298, adjusting used aircraft matcher (using setup) 2018-08-07 20:40:29 +02:00
Roland Winklmeier
4aaccb44c3 Cleanup the enabled modules in all sub projects
Most modules were just enabled to add include path for dependent headers
2018-06-02 02:08:46 +02:00
Klaus Basan
1387573e5b Ref T112, moved simulator settings in subdir/settings namespace 2017-09-24 19:51:46 +01:00
Roland Winklmeier
cf2c0d0f35 Use qt.conf to override plugin path on Mac OS
Summary:
QCoreApplication::addLibraryPath is called before QCoreApplication
was constructed and this caused the returned string to be different
depending from which working directory it was called and not always
the intended binary path.
Using qt.conf has a fixed prefix relative to the binary path
inside the application bundle and therefore is easier to be used
with a relative path.

Reviewers: kbasan, msutcliffe

Reviewed By: msutcliffe

Differential Revision: https://dev.swift-project.org/D18
2017-05-05 23:08:40 +01:00
Roland Winklmeier
a3bc5c2936 Add <swiftInstall>/bin to library lookup paths
Summary:
This change adds <swiftInstall>/bin to the library lookup paths.
Without, QFactoryLoader is not able to find the Qt plugins
on Mac OS since on this platform the hard coded path defaults to
'foo.app/Contents/MacOS' for app bundles.
This change also adds the installation of QtPrintSupport framework which
is a dependency from cocoa platform plugin.

ref T48

Reviewers: kbasan, msutcliffe

Reviewed By: kbasan

Subscribers: jenkins

Maniphest Tasks: T48

Differential Revision: https://dev.swift-project.org/D15
2017-05-05 22:40:43 +01:00
Mathew Sutcliffe
b7f69c6887 refs #937 Resolved clazy warnings: unnecessary memory allocation. 2017-04-19 19:31:39 +01:00
Klaus Basan
cfca78ec2a refs #849, aircraft matcher
* support for statistics entries
* when setting models, corresponding simulator can be set
2017-01-10 23:47:05 +00:00
Klaus Basan
b69008e0b3 refs #829, consolidated settings for simulator/messages
* move traits from blackcore to blackmisc
* renamed CSimulatorSettings/Messages
2016-12-13 19:02:13 +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
e87df66590 refs #585, adjusted samples to use settings 2016-06-15 00:11:27 +02:00
Roland Winklmeier
45b0503896 Include Mac OS X platform in installer project
refs #615
2016-05-20 01:40:04 +02:00
Roland Winklmeier
364b16346d Fix samples header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:32:14 +02:00
Klaus Basan
1953665c40 refs #637, move matcher to blackcore
(access to sApp/web services)
2016-04-11 20:24:57 +02:00
Klaus Basan
7ed2cc649b refs #614, removed IModelMappingsProvider + adjustments 2016-04-11 20:16:25 +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
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
Klaus Basan
7a38afe8c3 refs #485, adjusted samples 2016-03-18 01:08:07 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Roland Winklmeier
17fc3c4ce8 Disable app_bundles on OS X 2016-02-22 01:00:15 +01:00
Roland Winklmeier
866c8d2db6 Add samples to doxygen group 'samples' and subgroups
refs #594
2016-02-16 20:01:42 +01:00
Roland Winklmeier
1ea2f34f75 Fix doxygen documentation in src, samples and tests
refs #594
2016-02-16 20:01:33 +01:00
Roland Winklmeier
bd6f0d0f25 Use namespace BlackSample in samples
refs #594
2016-02-16 20:01:28 +01:00
Mathew Sutcliffe
abea471b5a Fixed samples project names in QtCreator. 2015-12-12 04:47:34 +00:00
Roland Winklmeier
7ece093ee9 Refactor qmake SUBDIRS structure
The big swift.pro is refactored by the correct usage of SUBDIRS
template. The following additional changes are made:
- Removed '_' from all targets and folder names
- Aligned parent folder and target name

refs #461
2015-11-23 09:50:44 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Roland Winklmeier
5eddef0f12 Add install targets
refs #486
2015-11-19 21:07:14 +00:00
Mathew Sutcliffe
6b75de0b3f refs #482 Project files changed to use new qmake feature files and build directory structure. 2015-11-19 21:02:41 +00:00
Klaus Basan
3e1e1070c1 refs #452 updated tests/samples to reflect previous changes 2015-11-19 20:59:21 +00:00
Klaus Basan
3c9f95356e refs #445, samples for vPilot rules
* new samples for vPilot rules
* also adjusted other samples to latest changes (livery, new readers)
2015-11-19 20:57:23 +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
Roland Winklmeier
5ccd49722a refs #409 adapt samples to use CAircraftMatcher 2015-05-28 22:46:13 +02:00
Roland Winklmeier
4147829488 refs #409 Add RW's FS9 path to directory selection 2015-05-28 21:34:10 +02:00
Mathew Sutcliffe
b65232b202 MS & KB workshop: ICAO class renamings. 2015-05-12 22:47:54 +01:00
Roland Winklmeier
793fcbfd15 refs #403 refactor project files
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +02:00
Klaus Basan
313c5f5638 refs #361, own reader to fix unbalanced " issue
* some functions renamed
* move some code from .h to .cpp
* adjusted samples
2015-04-08 23:03:26 +02:00
Klaus Basan
0ab755d510 refs #396 subfolders and renamed callsign list to callsign set
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +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