Commit Graph

6801 Commits

Author SHA1 Message Date
Klaus Basan
985674f1cf Ref T514, do not skip reading when aircraft.cfg is found
* check for directories not need to be parsed
* do not skip reading
2019-02-22 20:35:32 +00:00
Klaus Basan
474b1aad6c Ref T514, signal/slot for model loading progress displayed in UI 2019-02-22 20:35:32 +00:00
Klaus Basan
f8ee2acf5d Ref T430, context menus in mapping tool for FG 2019-02-22 20:35:32 +00:00
Klaus Basan
257c8ea9f9 Ref T472, aircraft category value object and list 2019-02-22 20:35:31 +00:00
Klaus Basan
e8e516cc3d Hide STEALTH login mode 2019-02-22 20:35:31 +00:00
Klaus Basan
b706af4767 Ref T506, better highlite SUP messages
* use stylesheet with properties
* QSS
2019-02-22 20:35:31 +00:00
Klaus Basan
6e1640e1dd Ref T509, sort before displaying 2019-02-22 20:35:30 +00:00
Klaus Basan
0a1a23512e Ref T509, Qwt adjustments in model statistics 2019-02-22 20:35:30 +00:00
Klaus Basan
77a0d628f2 Use Qwt from externals 2019-02-22 20:35:30 +00:00
Klaus Basan
935cffe250 Ref T509, Qwt adjustments in model statistics 2019-02-22 20:35:29 +00:00
Klaus Basan
dba043c23f Ref T509, changed to Qwt (instead of QChart) using bar chart 2019-02-22 20:35:29 +00:00
Klaus Basan
3fa25798ce Ref T509, added ICAO graph 2019-02-22 20:35:29 +00:00
Klaus Basan
20b83d66eb Ref T509, utility function for ICAO codes 2019-02-22 20:35:29 +00:00
Klaus Basan
80a36f4346 Ref T509, added a first version of QChart for distributors 2019-02-22 20:35:28 +00:00
Klaus Basan
1652fb7074 Ref T509, style 2019-02-22 20:35:28 +00:00
Klaus Basan
c67ca53aa1 Ref T509, utility function 2019-02-22 20:35:28 +00:00
Klaus Basan
66c2059538 swift data UI style 2019-02-22 20:35:28 +00:00
Klaus Basan
e84de3e476 Ref T506, fixing background color for statistics dialog 2019-02-22 20:35:27 +00:00
Klaus Basan
b110c6aaad Avoid ASSERT as reported in SLACK:
".. when time allows, can you have a look into the crashreports related to https://swift-project.sp.backtrace.io/dashboard/swift-project/project/testing/debugger/30"
2019-02-22 20:35:27 +00:00
Klaus Basan
3c0c61ae19 Ref T489, better progress indication in DB load dialog 2019-02-22 20:35:27 +00:00
Klaus Basan
fee2f8c5a0 Ref T506, context menu for user view -> COM text messages 2019-02-22 20:35:27 +00:00
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
0eed065e84 Fixed typo in filename. 2019-02-22 20:35:20 +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
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