Commit Graph

5223 Commits

Author SHA1 Message Date
Roland Winklmeier
b952c60f04 Adjust artifacts filenames to schema type-os-version.extension 2017-12-08 12:36:12 +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
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
Roland Winklmeier
d8c156a762 Fix building a bitrock installer with MinGW binaries
Summary:
This simply fixes the errors, one will see if an installer is created after
a MinGW build. This does not change the fact that a MinGW installer is
not supported and not necessary. The installed software will not be able
to run due to missing dependencies. But the installer can be created and
executed for testing.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D67
2017-12-01 08:09:58 +01:00
Roland Winklmeier
bd1d4eecf6 Remove the left over install workaround for win32-g++
Summary:
This workaround is no longer necessary and was forgotten to be removed
with the rest of those workarounds.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D66
2017-12-01 08:06:06 +01:00
Mathew Sutcliffe
27dc7ad329 Update libxplanemp. 2017-11-23 22:25:17 +00:00
Mathew Sutcliffe
047b9279b6 Provide CMessageBase::log for logging with severity configurable as parameter
Summary: Ref T198

Reviewers: kbasan, #swift_developers

Reviewed By: kbasan

Subscribers: jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T198

Differential Revision: https://dev.swift-project.org/D64
2017-11-23 22:15:46 +00:00
Mathew Sutcliffe
c5a3db49b0 Request own aircraft info upon connecting to XSwiftBus
Summary:
Ref T83
Also removed an unused parameter of the "own aircraft changed" signal of XSwiftBus.

Reviewers: #swift_developers, rwinklmeier

Reviewed By: #swift_developers, rwinklmeier

Subscribers: jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T83

Differential Revision: https://dev.swift-project.org/D63
2017-11-23 22:15:41 +00:00
Mathew Sutcliffe
3969245a55 Removed "string trick" in CPropertyIndex
Summary:
Ref T187
Using QVector as this is Qt's recommended container type.

Reviewers: #swift_developers, kbasan

Reviewed By: #swift_developers, kbasan

Subscribers: jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T187

Differential Revision: https://dev.swift-project.org/D62
2017-11-23 22:15:37 +00:00
Mathew Sutcliffe
fcb6cf1a52 Removed type erasure in containers
Summary:
Refs T196
Using QVector as this is Qt's recommended container type.

Reviewers: #swift_developers, rwinklmeier

Reviewed By: #swift_developers, rwinklmeier

Subscribers: rwinklmeier, jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T196

Differential Revision: https://dev.swift-project.org/D61
2017-11-23 22:15:23 +00:00
Mathew Sutcliffe
921ef30eda Use C++14 features to simplify our container base classes
Summary: Using C++14 function return type deduction we can simplify the CRTP in CContainerBase etc.

Reviewers: #swift_developers, rwinklmeier

Reviewed By: #swift_developers, rwinklmeier

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D65
2017-11-23 21:59:09 +00:00
Roland Winklmeier
c553d24d0e Move GFS weather data url into global setup
Summary:
The GFS weather data url so far was hard coded. With this commit, it is
moved into the global setup (bootstrap file).
Also the url type was changed from QUrl to CUrl, which simplified the
generation of the url including its query by using CUrl::appendQuery().
Finally it fixes sampleweatherdata, which did not have a CApplication yet.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T151

Differential Revision: https://dev.swift-project.org/D57
2017-11-20 15:57:08 +01:00
Roland Winklmeier
4001fad023 fixup! Upgrade to MSVC 2017 2017-11-17 16:06:32 +01:00
Roland Winklmeier
7cd4c415fa Upgrade Qt to v5.9.2 2017-11-16 14:16:47 +01:00
Roland Winklmeier
ed31ca542c Reformat util.py to use 4 space indentation 2017-11-16 14:16:47 +01:00
Roland Winklmeier
ae88a091e6 Upgrade to MSVC 2017
For 32 bit we still use the binary compatible MSVC 2015 prebuilt Qt binaries.
For 64 bit, we change to the MSVC 2017 prebuilt binaries.
Redistributables are in no packaged from MSVC 2017 installs.
2017-11-16 14:16:47 +01:00
Mathew Sutcliffe
e8219efdde Removed own implementation of std::index_sequence that was needed for GCC 4.9. 2017-11-14 17:51:09 +00:00
Mathew Sutcliffe
0b67466480 Removed workarounds in metaclass system that were needed for GCC 4.9 and old MSVC. 2017-11-14 17:51:07 +00:00
Mathew Sutcliffe
77b6a1ccb0 Removed workarounds that were needed to support GCC 4.9. 2017-11-14 17:51:04 +00:00
Mathew Sutcliffe
3ae5e274ee Removed workarounds that were needed to support older versions of MSVC. 2017-11-14 17:51:02 +00:00
Mathew Sutcliffe
f841f5f091 Bump version number. 2017-11-14 17:37:14 +00:00
Mathew Sutcliffe
0cae43197c Consume all console output of ping process, to avoid noise in test output. 2017-11-12 21:20:09 +00:00
Mathew Sutcliffe
c28d9702f4 Fixed failing test, that was caused by T180 formatting change.
DBus registered objects need fully qualified type names in method signatures.
2017-11-12 21:18:35 +00:00
Mathew Sutcliffe
a7124ec589 Removed unused code. 2017-11-12 13:48:09 +00:00
Mathew Sutcliffe
e0d9fb9df1 Ref T185 Enable spline interpolation with only one position update,
by just copying it three times, so planes can be rendered without waiting for more updates.
2017-11-12 13:48:07 +00:00
Mathew Sutcliffe
2f54e00d65 Ref T184 Minor optimization in CTokenBucket: avoid converting interval to seconds
every time a token is consumed, by doing the conversion once in the constructor.
2017-11-12 13:48:05 +00:00
Mathew Sutcliffe
23becf9619 Ref T184 Use CTokenBucket to throttle identical log messages. 2017-11-12 13:48:04 +00:00
Mathew Sutcliffe
dbb67b385b Ref T184 Moved CTokenBucket from BlackCore to BlackMisc. 2017-11-12 13:48:02 +00:00
Mathew Sutcliffe
7328d48e59 Ref T184 Optimization: getSelectedDockInfoArea iterates over all info areas in linear O(n) time.
There is no need to do this in isSelectedDockWidgetInfoArea, as it can be checked in constant O(1) time.
This method was occupying a significant proportion of the CPU time of swift.
2017-11-12 13:48:00 +00:00
Mathew Sutcliffe
3e47bdcebc Ref T184 Minor simplification. 2017-11-12 13:47:59 +00:00
Mathew Sutcliffe
cd13d18b00 Ref T184 Cache the result of QHostInfo::localHostName as it is expensive to call. 2017-11-12 13:43:28 +00:00
Klaus Basan
878498cc9d Ref T184, formatting 2017-11-12 04:21:56 +01:00
Klaus Basan
9a2c4573dc Ref T184, only search in own direct children
https://swift-project.slack.com/archives/C04J6J76N/p1510427932000021

* CInfoArea::findOwnDockWidgetInfoAreas
* CInfoArea::findOwnChildInfoAreas
2017-11-12 04:21:55 +01:00
Klaus Basan
e9e2ac1e03 Ref T189, minor UI fixes for mapping component 2017-11-11 02:36:37 +01:00
Klaus Basan
2458a67ed5 Ref T182, formatting 2017-11-10 19:31:15 +01:00
Klaus Basan
8e029af3c2 Ref T182, log delta time for matching 2017-11-10 19:28:18 +01:00
Klaus Basan
f7c714b153 Ref T180, FSX/P3D driver formatting 2017-11-10 19:28:17 +01:00
Klaus Basan
6fcfd80067 Ref T182, log categories are automatically added in CMatchingUtils 2017-11-10 19:28:16 +01:00
Klaus Basan
0d3dcdae83 Ref T182, added coverageSummary / count functions 2017-11-10 19:28:15 +01:00
Klaus Basan
9a5a80146c Ref T182, added CCountPerSimulator::toQString 2017-11-10 19:28:13 +01:00
Klaus Basan
868ae7ec74 Ref T180, stop requesting data when aircraft is removed 2017-11-09 20:02:58 +01:00
Klaus Basan
cd838b2cb6 Ref T180, function to stop requesting remote aircraft data
Also added details to trace function
2017-11-09 20:02:57 +01:00
Klaus Basan
f21f3719a4 Ref T180, toggleTabBarPosition still requires old slot style 2017-11-09 20:02:56 +01:00
Klaus Basan
fd4ac74738 Ref T180, renaming for request remote aircraft data 2017-11-09 20:02:55 +01:00
Klaus Basan
fd0eec689f Ref T180, trace parts and positions even if the object is not yet used with simulator
* interpolator will be prefilled with data
* in case the used SimObject is created, it can already use earlier position/parts updates
2017-11-09 20:02:55 +01:00
Klaus Basan
02c45588c3 Ref T180, CSimConnectObject improvements / added CSimConnectObject::getInterpolatedParts 2017-11-09 20:02:54 +01:00
Klaus Basan
fa50e6a8ea Ref T180, formatting 2017-11-09 20:02:40 +01:00
Klaus Basan
4cb404c91d Ref T184, formatting 2017-11-09 04:42:23 +01:00
Klaus Basan
67711ba55e Ref T184, private/protected slots -> private/protected 2017-11-09 04:42:23 +01:00