Commit Graph

7351 Commits

Author SHA1 Message Date
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
Klaus Basan
d28b09141b PTT click sound as a follow up of Ref T494 2019-02-22 20:35:08 +00:00
Klaus Basan
427c23c5e4 Ref T494, play notification for callsign mentioned
* added audio settings in text message component
* play sound for callsign mentioned in text body
2019-02-22 20:35:08 +00:00
Klaus Basan
90b893c62a Ref T494, moved audio settings Trait directly info BlackMisc settings file 2019-02-22 20:35:07 +00:00
Klaus Basan
13647329f9 Ref T494, fixed voiceroom member updates
* changedUrl was actually equal URL, no idea how this ever did work out
* unnecessary redundant updates of voice room members fixed
2019-02-22 20:35:07 +00:00
Klaus Basan
3be93ab753 Ref T494, audio settings for notification
* use new sounds
* fixed bug that changes of notifications were never set in settings
* play sound if box is checked (how hoes it sound?)
2019-02-22 20:35:07 +00:00
Klaus Basan
3137af30bb Ref T494, detect callsign in text message 2019-02-22 20:35:07 +00:00
Klaus Basan
f8c17e10e8 Ref T494, CNotificationSounds refactring
* use Q_DECLARE_FLAGS NotificationFlag/Notification for sounds, not the weird version from very early swift days
* splt into h/cpp files
* added new sounds
2019-02-22 20:35:06 +00:00
Klaus Basan
dc8ea83839 Ref T494, added new sounds 2019-02-22 20:35:06 +00:00
Klaus Basan
80ed972e53 Ref T494, style
* removed some old "foreach" loops
* fixed some CLANG warnings
2019-02-22 20:35:05 +00:00
Klaus Basan
cb084427ec Unified "simplification" to ASCII only for text messages
Based on the codepage discussion of text messages

* in text message value object still store the unicode string
* the text is only "cleaned" up and Qt "simplified" (do not confuse with conversion to ASCII)
* only place where we simplify to ASCII only is
** in VATLIB
** or the utility
2019-02-22 20:35:05 +00:00
Klaus Basan
1e35519a0d Added some resources (URLs) after the text message discussion 2019-02-22 20:35:05 +00:00
Klaus Basan
03ac54cefa Ref T491, style/minor tweaks 2019-02-22 20:35:05 +00:00
Klaus Basan
e810dfecf5 Ref T489, display read state in model component for livery, airline, aircraft
* similar to model component
* distributor/countries too few data to benefit, hence not implemented
2019-02-22 20:35:04 +00:00
Klaus Basan
ea7694248e Ref T491, prevent standard message tab from closing, search tabs from right to left 2019-02-22 20:35:04 +00:00
Klaus Basan
7a6a822432 Typo fixed, displaying station name on wrong tab 2019-02-22 20:35:04 +00:00