Commit Graph

114 Commits

Author SHA1 Message Date
Roland Rossgotterer
8656131eb1 Remove all obsolete vatlib voice classes 2019-10-11 19:00:31 +01:00
Mat Sutcliffe
db146435fd Added a new clazy warning. 2019-09-16 22:41:15 +01:00
Mat Sutcliffe
6f9f6ccc9d Extra ccache options to allow sharing caches between different Jenkins jobs. 2019-09-16 22:40:05 +01:00
Roland Rossgotterer
fec6f3b0ad Improve binary symbolification
Summary:
Backtrace accepts a wide range of native debugging formats, e.g. PDB, dSYM, ELF files. Instead of converting to an intermediate format being breakpad sym files, package and upload the native formats directly.
Also reduce the list of debugging symbols to a reasonable minimum. Sample and test symbols are not required.

Reviewers: #gatekeepers, msutcliffe

Reviewed By: #gatekeepers, msutcliffe

Subscribers: msutcliffe

Maniphest Tasks: T588

Differential Revision: https://dev.swift-project.org/D102
2019-05-13 11:20:46 +02:00
Mat Sutcliffe
bb59007656 D99 Enable compiler caches 2019-04-12 13:30:48 +01:00
Mat Sutcliffe
08b1141072 D98 Split up releaseWithDebugInfo and profileRelease as 2 separate configs 2019-04-12 13:30:48 +01:00
Mat Sutcliffe
5de96382bc [qmake] Removed MSVC 2015 workaround. 2019-02-22 20:36:32 +00:00
Roland Rossgotterer
e0d04e7b92 Use optimize_debug configuration as default for MinGW build
Without that configuration set, linking time is super long.
2019-02-22 20:35:49 +00:00
Mat Sutcliffe
e374573536 Update externals flags. 2019-02-22 20:35:21 +00:00
Mat Sutcliffe
8b48c05809 Update templight support. 2019-02-22 20:35:20 +00:00
Roland Rossgotterer
d639187f91 Convert static common simulator plugins to shared ones
Test Plan:
- Check that the new shared libraries are packaged in all platform installers.
- check that plugins are loaded properly on all platforms.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Maniphest Tasks: T471

Differential Revision: https://dev.swift-project.org/D79
2019-02-22 20:34:50 +00:00
Mat Sutcliffe
9f7e5bba5a Fixed bugs in config.pri 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
036d608a74 Update to new clazy warnings. 2019-02-22 20:23:29 +00:00
Mat Sutcliffe
b82ab1e3c2 Added support for using address sanitizer with clang-cl. 2019-02-22 20:23:28 +00:00
Mat Sutcliffe
4c3aba20dd With clang-cl use /W4 instead of -Wall -Wextra.
This is due to a change in the behaviour of clang-cl in LLVM 6.0
where `-Wall` became a synonym for `-Weverything` to be more like
the behaviour of `/Wall` in the Microsoft compiler. `/W4` is the
new way to spell `-Wall -Wextra`.
2019-02-22 20:23:27 +00:00
Mat Sutcliffe
4c0bbbae25 Fixed warnings reported by Clang on Windows. 2019-02-22 20:23:27 +00:00
Mat Sutcliffe
9d7af08f3d Removed workarounds no longer needed. 2019-02-22 20:23:26 +00:00
Mat Sutcliffe
307e170d5f Integrate swift version numbering into the json config system. 2019-02-22 20:23:26 +00:00
Mat Sutcliffe
82679a3010 Replace qmake variable BLACK_CONFIG with a system based on json files.
The config is loaded from json files by qmake, and we define the qmake
function `swiftConfig` for checking whether a feature is enabled.
This function can be directly used in `buildconfig_gen.cpp.in`,
so the trick with C++ comment tokens in variables is not needed.
2019-02-22 20:23:25 +00:00
Mat Sutcliffe
188d3d914e Added constexpr specifier where possible in CBuildConfig.
This necessitated moving some function definitions into a .inc file
that is included by buildconfig.h, as constexpr functions must be defined
in the header. This new file is added to the list of QMAKE_SUBSTITUTES.
2019-02-22 20:23:23 +00:00
Mat Sutcliffe
df563d5b29 Fixes needed to compile swift with MSVC with the /permissive- switch
which enables more C++ standard conformance.
2018-11-16 02:49:55 +01:00
Mat Sutcliffe
919a31b250 Work around a qmake bug that was causing empty directories to be created
in the root C:\ directory when using the MSVC solution generator.
2018-11-16 02:49:55 +01:00
Klaus Basan
180214e4f0 Ref T404, fixed the UTF issues for hotkeys
* QStringLiteral expects UTF16 for MSVC compilers
* we use descriptive names now
* UTF flag for MSVC compilers
* added the SLACK discussion as comment under https://dev.swift-project.org/T404
2018-11-16 02:49:53 +01:00
Roland Winklmeier
bd3710b40c Enable P3D config for MinGW builds 2018-11-16 02:49:51 +01:00
Roland Winklmeier
f63008dd3f Load P3D 64 bit SimConnect shared library at runtime
This aligns the behavior and concept with the 32 bit FSX version. SimConnect
is loaded at runtime, depending on the version being selected.
It also adds a featuren to change the P3D SimConnect version at runtime by
unloading the previous and loading a new one.

ref T349
2018-11-16 02:49:51 +01:00
Klaus Basan
d4d397164d Version 0.8.7 2018-11-04 17:42:44 +01:00
Roland Winklmeier
b140e0e193 Add P3D 64 bit SDK build version config 2018-10-05 17:39:58 +02:00
Klaus Basan
94e06e23e9 Using P3D 4.2 sinConnect x64 2018-10-05 17:39:57 +02:00
Klaus Basan
096ddd4027 Adjust time bomb 2018-09-01 00:25:33 +02:00
Roland Winklmeier
be14be1e7c Disable MinGW debug optimizations 2018-08-31 20:08:15 +02:00
Klaus Basan
3ce6e230b2 Bumped version to 0.8.6 2018-08-27 18:58:25 +02:00
Roland Winklmeier
b16af78142 Load SimConnect dynamically at runtime.
Previously the FSX/P3D driver tried to link a very specific SimConnect version
from the Windows Assembly cache. This caused issues with machines
which did not have this specific version of SimConnect in the assembly
cache since drivers refused to load without much information. Having a different
version of SimConnect in the assembly cache or even in the bin folder did
not help.
To fix this problem, SimConnect is now loaded and resolved manually at
runtime. This allows to try loading different versions from the assembly
cache or prefer to load the shipped one.
For this, the manifests are linked into the binary's resource section and
activated manually before loading. This has the positive effect, that
loading errors can be handled by code instead of raising a cryptic error and
aborting.
2018-07-12 18:29:45 +02:00
Roland Winklmeier
e7cfae4fcc Bump minor version number 2018-06-18 03:04:28 +02:00
Roland Winklmeier
6a19f7c334 Update externals 2018-05-08 16:06:31 +02:00
Roland Winklmeier
87bb9e28cd Fix MinGW build without any optimizations
Building without any optimizations disabled implicit inlining of
MetaClass::getMemberList() and we ended up with many undefined symbols.
2018-05-04 23:03:33 +02:00
Roland Winklmeier
be82b95605 Don't build P3D driver with MinGW 64 bit for now 2018-04-05 02:53:11 +02:00
Klaus Basan
0390ed83f8 Ref T210, removed branch flags
Our distribution concept allows dynamic assigments of the distribution.
So a particular version can change its stability.
2017-12-21 19:49:41 +01:00
Klaus Basan
c5f57a6bd1 Ref T197, P3D x86 build
* pro files
* description
2017-12-21 19:46:14 +01:00
Roland Winklmeier
925c3d6210 Limit crashpad's INCLUDEPATH to blackcore
Summary:
Only blackcore includes the headers of crashpad. It is therefore
not necessary to add this include paths globally for all projects.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D70
2017-12-08 00:48:58 +01:00
Roland Winklmeier
f53ec46d20 Change the operating system name from OSX to MacOS everywhere
Summary:
- Changed the name in all build artifacts
- Everywhere in C++

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Maniphest Tasks: T205

Differential Revision: https://dev.swift-project.org/D69
2017-12-06 22:50:19 +01:00
Mathew Sutcliffe
f841f5f091 Bump version number. 2017-11-14 17:37:14 +00:00
Klaus Basan
adb7d42b63 Adjusted EOL 2017-09-24 20:29:12 +01:00
Mathew Sutcliffe
e98662d530 Allow setting VATSIM key on qmake commandline.
Summary: By qualifying the key with `isEmpty` it prevents overwriting a value specified on the commandline.

Reviewers: rwinklmeier

Reviewed By: rwinklmeier

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D51
2017-09-24 19:53:40 +01:00
Roland Winklmeier
7317ddd155 Add first batch of configuration tests
Summary:
Configuration tests check whether all mandatory dependencies to build
swift are met. They can also be used to check optional dependencies, which
results in certain features to be enabled or disabled.
This first batch tests for mandatory libraries libpng, zlib and OpenGL.
If this is not tested and some libraries are missing, the developer will
be notified very late in the build.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, jenkins

Differential Revision: https://dev.swift-project.org/D34
2017-09-24 19:49:30 +01:00
Mathew Sutcliffe
1400f38aa9 Add missing PRE_TARGETDEPS in simulator plugin projects
Summary:
This fixes issue reported by Klaus in Slack:
> when I change something in the plugin driver, I always have to rebuild the plugins before I can debug again.

Also refactored `libraries.pri` to remove duplication.

Reviewers: #swift_pilot_client, rwinklmeier

Reviewed By: #swift_pilot_client, rwinklmeier

Subscribers: kbasan, jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D31
2017-09-24 19:49:18 +01:00
Roland Winklmeier
984b30aef3 Enable P3D-v4 64 bit build
Summary:
This commit enables P3D-v4 for 64 bit including all dependent libraries.
Those binaries are not yet installed, since they are considered
experimental.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Differential Revision: https://dev.swift-project.org/D30
2017-09-24 19:49:16 +01:00
Roland Winklmeier
a00108af35 Make FSUIPC optional
Summary:
If FSUIPC is configured, its support will be enabled in swift
and disabled otherwise.

Ref T91

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, jenkins, kbasan

Maniphest Tasks: T91

Differential Revision: https://dev.swift-project.org/D28
2017-06-27 13:28:01 +02:00
Mathew Sutcliffe
87aa25a351 Bump version number again. 2017-06-20 18:01:29 +01:00
Roland Winklmeier
f1f7ee4709 Build with VATSIM support per default with hardened vatlib
The hardened vatlib requires to use server type VATSIM (which configures
the VATSIM protocol in vatlib) to connect to VATSIM servers. Using
any other server type will from now on fail to connect to VATSIM.
Since unit tests regularly run tests against the server running on VATGER, this has to be enabled
change the default server type to VATSIM by enabling SwiftVatsimSupport.
2017-05-30 13:03:33 +02:00
Mathew Sutcliffe
04af0e8af3 Bump version number. 2017-05-14 17:21:40 +01:00