Commit Graph

7516 Commits

Author SHA1 Message Date
Klaus Basan
419f8c0907 Dock widget fixmes 2019-02-22 20:35:23 +00:00
Klaus Basan
f684c44c1d XSwiftBus check 2019-02-22 20:35:23 +00:00
Klaus Basan
58cfdd1bb9 Ref T492, alias in model lists and model
Search for alias and modelstring in matching
2019-02-22 20:35:22 +00:00
Klaus Basan
80e925fe80 Ref T492, added model alias 2019-02-22 20:35:22 +00:00
Klaus Basan
49a49f48ee Minor UI adjustments 2019-02-22 20:35:22 +00:00
Roland Rossgotterer
845c7ddf59 Add swift_crashpad_handler to Linux installer
Summary:
swift_crashpad_handler for Linux was part of externals but was never copied to out/
and also never copied into the installer.

Reviewers: #gatekeepers

Differential Revision: https://dev.swift-project.org/D96
2019-02-22 20:35:22 +00:00
Roland Rossgotterer
27b857abc4 [XSwiftBus] Remove unconditional socket error handling
Summary:
Socket errors are handled in libdbus conditionally. There was no need to set an error
on any kind of error code.
This caused libdbus to drop our P2P connection, since MacOS regularly raised
EAGAIN warning on the socket which seems to be expected behavior.

Reviewers: #gatekeepers

Maniphest Tasks: T513

Differential Revision: https://dev.swift-project.org/D95
2019-02-22 20:35:21 +00:00
Mat Sutcliffe
e5ed034023 Pruned gitignore files. 2019-02-22 20:35:21 +00:00
Mat Sutcliffe
e374573536 Update externals flags. 2019-02-22 20:35:21 +00:00
Mat Sutcliffe
86b236e366 [Jenkinsfile] Slack notification: use STAGING_REF if available, instead of branch name. 2019-02-22 20:35:21 +00:00
Mat Sutcliffe
b213a90741 [Jenkinsfile] Reverted "Run arc patch when triggered by Differential."
Not needed when using a staging repository.
2019-02-22 20:35:20 +00:00
Mat Sutcliffe
0eed065e84 Fixed typo in filename. 2019-02-22 20:35:20 +00:00
Mat Sutcliffe
8b48c05809 Update templight support. 2019-02-22 20:35:20 +00:00
Roland Rossgotterer
05e07e05fe Fix call to removed variable 2019-02-22 20:35:19 +00:00
Roland Rossgotterer
64ff167be1 Add symbol files individually to tar file instead of symbol directory
Summary:
In the previous attempt, the parent directory was added to the tar file with it being renamed to ".".
So it still had a directory and was not a flat tar file. Instead add all files from the symbol path individually.

Reviewers: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D86
2019-02-22 20:35:19 +00:00
Roland Rossgotterer
56aa383a45 Leave MacOS shared library symbol filenames untouched 2019-02-22 20:35:18 +00:00
Roland Rossgotterer
6d905f2132 Fix crash and memory leaks in MacOS' keyboard implementation 2019-02-22 20:35:18 +00:00
Roland Rossgotterer
9a7af86a5e Loop over the container itself instead of a temporary value list 2019-02-22 20:35:17 +00:00
Roland Rossgotterer
8df4024bde Regularly update X-Plane simulated aircraft
The simulated aircraft object has been set only once for each X-Plane aircraft as soon as adding to the simulator succeeded. Any updates to transponder codes, modes etc. were missed and never updated.
To make sure we always have the latest information available, we update all known X-Plane aircraft every second in the slow timer tasks.

Manifest Tasks: T502
2019-02-22 20:35:17 +00:00
Roland Rossgotterer
db8285868b Write breakpad symbols into a flat directory structure
Symbol files were never copied one to one to a break server. Therefore
setting up the required directory structure is not necessary.
In contrast, backtrace.io wants a tarball without any subdirs.
2019-02-22 20:35:17 +00:00
Roland Rossgotterer
4c99ac4fa9 Fix typo 2019-02-22 20:35:17 +00:00
Roland Rossgotterer
94c2859e18 Replace QDBusConnection::localMachineId with QSysInfo::machineUniqueId()
QSysInfo::machineUniqueId() was added in Qt 5.11 and is using DBus independent unique machine ids everywhere except on Linux. This prevents running into an assert in case DBus is not properly installed at a very early stage of the application without any chance to give the user a warning and handle it gracefully.
2019-02-22 20:35:16 +00:00
Roland Rossgotterer
f9a215a336 Increase ATIS range to be equal with APP/DEP having 150 nm
Summary: The previous 50 nm were too short.

Maniphest Tasks: T481

Differential Revision: https://dev.swift-project.org/D83
2019-02-22 20:35:16 +00:00
Roland Rossgotterer
90bc693509 Handle a hypothetical relative humidity of 0.0 %
Summary:
The formular to calculate the dew point is not defined for relative
humidity of 0.0 %. It is every unlikely to ever happen in real world
weather, but is handled just in case by using the smallest possible
numerical double value.

Reviewers: #swift_pilot_client

Maniphest Tasks: T406

Differential Revision: https://dev.swift-project.org/D82
2019-02-22 20:35:16 +00:00
Roland Rossgotterer
3db811f11d Handle initial null position from CCoordinateDialog
Summary:
CCoordinateDialog is setup with an initial null position. The user has to manually set one in case own aircraft position is de-selected to proceed with weather fetching. Previously the null position was accepted and passed on to the weather request with undefined results.

Reviewers: #swift_pilot_client

Maniphest Tasks: T406

Differential Revision: https://dev.swift-project.org/D81
2019-02-22 20:35:16 +00:00
Mat Sutcliffe
96b77c64d8 [Jenkinsfile] Shebang needed for bash to recognise the here-string syntax. 2019-02-22 20:35:15 +00:00
Mat Sutcliffe
e7582f2f3c Move function-scope static QThreadStorage objects to namespace scope
to ensure destruction after all function-scope statics and avoid warning
"thread exited after QThreadStorage destroyed".
2019-02-22 20:35:15 +00:00
Mat Sutcliffe
1493106970 Style: removed outdated comments and includes. 2019-02-22 20:35:15 +00:00
Mat Sutcliffe
e61cdda8cf [Jenkinsfile] Use 'master' node for steps that don't actually compile code.
This avoids unnecessary delays by reducing contention with the 'linux' node
when multiple branches are building.
2019-02-22 20:35:14 +00:00
Mat Sutcliffe
ac91c8fa09 [Jenkinsfile] Using scm.branches for Slack as BRANCH_NAME is only available in multi-branch jobs. 2019-02-22 20:35:14 +00:00
Mat Sutcliffe
cec893cc27 [Jenkinsfile] Added an emoji in slack notification message. 2019-02-22 20:35:14 +00:00
Mat Sutcliffe
f86e938943 [Jenkinsfile] Extra info in Slack notification for Differential builds. 2019-02-22 20:35:14 +00:00
Mat Sutcliffe
836c38e50e [Jenkinsfile] Post comment on Differential revision when build finishes. 2019-02-22 20:35:13 +00:00
Mat Sutcliffe
0e9cc15070 [Jenkinsfile] Adjust control flow to report build outcome via Harbormaster. 2019-02-22 20:35:13 +00:00
Mat Sutcliffe
8aabb6cc21 [Jenkinsfile] Constrain abortion of previous running builds triggered by Differential. 2019-02-22 20:35:13 +00:00
Mat Sutcliffe
21cf4de84f [Jenkinsfile] Run arc patch when triggered by Differential. 2019-02-22 20:35:12 +00:00
Mat Sutcliffe
0880a8166a [Jenkinsfile] Style changes. 2019-02-22 20:35:12 +00:00
Mat Sutcliffe
1f83d677f3 Changed BLACK_FALLTHROUGH to Q_FALLTHROUGH(). 2019-02-22 20:35:12 +00:00
Mat Sutcliffe
0c5442d59c Fixed unintentional fallthrough in switch statement. 2019-02-22 20:35:12 +00:00
Mat Sutcliffe
afd9541eb3 Removed workaround for MinGW 5.3. 2019-02-22 20:35:11 +00:00
Mat Sutcliffe
4d4d7a7854 Added missing override keyword. 2019-02-22 20:35:11 +00:00
Mat Sutcliffe
66a06427f9 Ref T495 Using QThreadStorage because thread_local caused a static destruction order fiasco. 2019-02-22 20:35:11 +00:00
Mat Sutcliffe
80308b85d5 Changed QOverload to qOverload. 2019-02-22 20:35:11 +00:00
Mat Sutcliffe
03e68de890 Removed workarounds for old versions of MSVC. 2019-02-22 20:35:10 +00:00
Klaus Basan
b5ffa57fe8 Ref T444, Ref T471 style/comment 2019-02-22 20:35:10 +00:00
Klaus Basan
7be54fde87 Display number of included/DB models in "1st model set wizard" 2019-02-22 20:35:10 +00:00
Klaus Basan
2de192600f Reduced hard coded stylesheet values
* disabled hardcoded wizard pages style sheet
* adjusted style sheet
* fixed QMneu issue: https://stackoverflow.com/questions/53991839/qt-5-12-menu-items-with-unwanted-extra-space
* tagged remaining ones as "\fixme hardcoded"
2019-02-22 20:35:10 +00:00
Klaus Basan
cd095dbb3f Misc. smaller UI adjustments/style 2019-02-22 20:35:09 +00:00
Klaus Basan
e85680f1b0 Improved livery filter bar and filer, accept virtual airline designators 2019-02-22 20:35:09 +00:00
Klaus Basan
8bb7eb5d2b Minor wizard UI adjustments 2019-02-22 20:35:09 +00:00