Commit Graph

7380 Commits

Author SHA1 Message Date
Klaus Basan
33a3984588 Approach to fix "Q_ASSERT(found != end1);" assert as reported by RP
https://swift-project.slack.com/archives/G96QTUBEG/p1546880962000700
2019-02-22 20:35:27 +00:00
Klaus Basan
ed2acf4d74 Ref T506, warning if widget too small for overlay messages 2019-02-22 20:35:26 +00:00
Klaus Basan
8bb1915d97 Ref T506, partially reverted QDockWidget overlay messages
* for some reasons overlay message do not work with COverlayMessagesDockWidget when floating
* so using COverlayMessagesFrame for ATC/Cockpit again
* COverlayMessagesFrame does not have the issue with floating
2019-02-22 20:35:26 +00:00
Klaus Basan
dda468b899 Removed slots in cockpit component 2019-02-22 20:35:26 +00:00
Klaus Basan
f2722d78f7 Ref T506, only use displayInInfoWindow if not an overlay text message widget 2019-02-22 20:35:25 +00:00
Klaus Basan
3c314e9882 Ref T506, use overlay text messages if those are available 2019-02-22 20:35:25 +00:00
Klaus Basan
377e21ce6a Ref T506, removed unused ctor 2019-02-22 20:35:25 +00:00
Klaus Basan
0a8247cc12 Ref T506, for some reasons "pressed" sometimes fired twice, used "released"
Remark: No idea why this happened, but using "released" solved the issue
2019-02-22 20:35:25 +00:00
Klaus Basan
a08b2fff3c Ref T506, SUP text message with red close buttons 2019-02-22 20:35:24 +00:00
Klaus Basan
8696f45a7c Ref T506, make dock widget overlay message compliant
* overlay widget can used that functionality directly
* no need to use COverlayMessagesFrame
* added COverlayMessagesDockWidget
2019-02-22 20:35:24 +00:00
Klaus Basan
d6f3932e5b Ref T506, init text message overlay in cockpit/ATC component 2019-02-22 20:35:24 +00:00
Klaus Basan
eddaeddfc4 Ref T506, style 2019-02-22 20:35:24 +00:00
Klaus Basan
6a9bde5095 DEnglish 2019-02-22 20:35:23 +00:00
Klaus Basan
f6ce579f67 Ref T506, allow to init overlay messages, passivate text messages, improved tab widget selection 2019-02-22 20:35:23 +00:00
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