Commit Graph

42 Commits

Author SHA1 Message Date
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +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
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
Roland Winklmeier
b140e0e193 Add P3D 64 bit SDK build version config 2018-10-05 17:39:58 +02:00
Klaus Basan
b4f39f6226 Changed order of platform and version plus cast to int 2018-08-07 20:41:05 +02:00
Klaus Basan
5966a1ead4 Display platform in title bar (easier to identify screenshot) 2018-07-27 23:33:14 +02:00
Klaus Basan
78861166ad Ref T289, minor adjustments 2018-07-11 23:48:38 +02:00
Klaus Basan
301eb79eca Renamings and adjustments of developer flag 2018-01-30 20:34:50 +01:00
Klaus Basan
3fb0685d53 Minor tweaks, formatting 2018-01-14 18:46:47 +01:00
Klaus Basan
81ae6464ad Ref T199, platform string from build config 2017-12-25 13:04:30 +01: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
340dad19a3 Ref T203, platform guessing no longer required here (=> CPlatform)
Timestamp conversion to 4th segment can be used from elsewhere
2017-12-21 19:48:17 +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
Roland Winklmeier
d7d4fdff2c Align the full version schema across all artifacts
Summary:
The version number used for packaging symbols and xswiftbus was not the
full one including the timestamp.
This change adds the last commit timestamp (in contrast to the build
timestamp used before) as regular part of the version number. This helps
us to also keep the version number consistent with the content across all
installers. The version number will change only, if the last commit was
modified and not with each different build.
In the end, all jenkins jobs building from the same commit should produce
artifacts with the same version everywhere.

ref T204

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Maniphest Tasks: T204

Differential Revision: https://dev.swift-project.org/D68
2017-12-01 08:13:44 +01:00
Klaus Basan
bcd103a869 Ref T169, removed function which was not implemented 2017-10-10 00:28:32 +01:00
Klaus Basan
97f687077c Ref T135, utility functions for platform guessing and channels
* using QSet
* platform guessing
* Doxygen
* word size in CBuildConfig
* renamed to BlackMisc::Db::TDistributionsInfo
2017-09-24 20:29:14 +01:00
Klaus Basan
adb7d42b63 Adjusted EOL 2017-09-24 20:29:12 +01:00
Klaus Basan
caf358401f Ref T103, executable file path moved to CDirectoryUtils::executableFilePath 2017-09-24 19:49:56 +01:00
Klaus Basan
debd9c802f Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Klaus Basan
9ad721b77a Ref T99, use new icon names
* use icon id list from directory for performance
* some minor adjustments
2017-09-24 19:49:26 +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
Klaus Basan
f69c1e7c3f refs #935, adjusted 4th segment of version to timestamp since 2010
slack discussion/meeting 20170413
2017-04-19 19:31:14 +01:00
Klaus Basan
dcf0fa6b5a refs #902, refs #921, own version parsing (4th segment) 2017-04-18 00:07:29 +01:00
Klaus Basan
f85501c7bf refs #921, use QVersionNumber
* CVersion removed
* remaining utility functions moved to CBuildConfig
* patch version -> micro version (Qt naming)
* using classes adjusted
2017-04-18 00:06:58 +01:00
Klaus Basan
7cd49d38d9 refs #921, support for 4 segment version number 2017-04-18 00:06:29 +01:00
Roland Winklmeier
15b50791ef Add build time and git head strings to CBuildConfig
refs #902
2017-04-17 23:59:59 +01:00
Klaus Basan
347b54171b refs #891, added dir / config for P3D plugin 2017-04-17 23:57:13 +01:00
Mathew Sutcliffe
53fc629490 Removed outdated precompiled header stuff. 2017-02-28 22:34:52 +00:00
Mathew Sutcliffe
75293f2c27 Generated sources are not distributable products. 2017-02-28 22:34:51 +00:00
Klaus Basan
5d81b23386 refs #883, some UI finetuning / Doxygen comments 2017-02-24 15:21:57 +00:00
Klaus Basan
dd37945625 refs #883, added new "directories"
* directories for in buildconfig/globalsetup
* renamed to CBuildConfig::getSwiftShareDir
2017-02-24 15:21:47 +00:00
Klaus Basan
a57b83f9de refs #879, moved testdata into small files
motivated by MS comment
2017-02-24 15:21:39 +00:00
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Roland Winklmeier
f5058574d0 Add isVatsimVersion to build configuration
This build configuration enables Vatsim specific features.

refs #860
2017-02-24 00:09:24 +00:00
Klaus Basan
8488909a44 refs #828, added HTML template 2016-12-13 19:02:06 +01:00
Klaus Basan
65950e4518 refs #758, updated bootstrap file and removed old URLs
* replaced some hardcoded URLs
* removed swiftTeamDefaultServers()
* bootstrap.json
2016-12-06 09:33:41 +01:00
Klaus Basan
09d74c48b8 Changed some default URL to https://datastore.swift-project.org 2016-09-19 16:18:55 +02:00
Roland Winklmeier
06d858c57f Change installer directory "data" to "share"
refs #671
2016-07-15 21:06:57 +02:00
Klaus Basan
988251b079 refs #661, default value for enabled simulators 2016-06-08 18:20:28 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00