Commit Graph

5465 Commits

Author SHA1 Message Date
Klaus Basan
ee8ea8e599 Ref T228, some renamings 2018-01-30 20:29:20 +01:00
Klaus Basan
558f3c3e56 Ref T228, key needs to be added, not description 2018-01-30 20:29:18 +01:00
Klaus Basan
ceedfdcc58 Minor UI adjustments 2018-01-30 20:29:10 +01:00
Roland Winklmeier
4baba3ffbe Fix repository.callsign in .arcconfig
Summary:
The callsign had a leading 'r' which doesn't belong to the callsign itself.
This prevented arc to properly identify the destination repository.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D72
2018-01-29 12:17:24 +01:00
Roland Winklmeier
2bb3bb3cf8 Ignore yet another FSinn P2P packet 2018-01-29 12:17:24 +01:00
Roland Winklmeier
7c903001d5 Raw FSD message component and dialog
Maniphest Tasks: T222
2018-01-29 12:17:24 +01:00
Roland Winklmeier
704068d299 Add methods to receive and write raw FSD messages
This commit adds methods to register for live FSD message reception. The
amount of traffic can be quite high, therefore no normal signal is used -
which would be available via DBus. Instead one has to connect manually
by passing a functor. This guarantees that we communicate only in-process.
If someone tries to connect on the proxy side, the connection will fail.
This needs to be handled properly in client code.
This commit also adds a method to write the FSD message to a selected file.

Maniphest Tasks: T222
2018-01-26 12:40:36 +01:00
Roland Winklmeier
7b9ad0ea07 Add CRawFsdMessage
Maniphest Tasks: T222
2018-01-22 14:23:23 +01:00
Roland Winklmeier
2b2813af20 Send correct SimType to FSD server depending which plugin is loaded 2018-01-22 14:08:32 +01:00
Roland Winklmeier
7edcc02f15 Return the plugin info of the emulated simulator rather than emulated itself 2018-01-22 14:07:02 +01:00
Roland Winklmeier
656805c485 Fix typo 2018-01-17 14:27:24 +01:00
Roland Winklmeier
d046738574 Convert private slots to private 2018-01-17 14:27:24 +01:00
Roland Winklmeier
fe8c0026e0 Create symbols also on Linux platform 2018-01-17 14:24:39 +01:00
Klaus Basan
42e5b06926 Ref T172, disabled x-dependency between type and eco system
This makes it impossible to set some combinations
2018-01-17 05:02:09 +01:00
Klaus Basan
c42b325d54 Watchdog allows to obtain info string about the statistics 2018-01-17 05:00:09 +01:00
Klaus Basan
95e28b0f89 Status bar can elide messages 2018-01-17 03:33:45 +01:00
Klaus Basan
519fce5a7a Ref T219, override pilot if valid / not only if having credentials
Remark: Also overrides if there is no password
2018-01-17 03:33:43 +01:00
Klaus Basan
3375ca1b25 Ref T219, renaming buttons/function to "override" 2018-01-17 03:33:41 +01:00
Klaus Basan
18c7d7cf59 Use overlay messages for validation 2018-01-17 03:33:39 +01:00
Klaus Basan
977130ce52 Overlay messages
* setReducedInfo, no timestamp/category
* color as parameter for shadow
2018-01-17 03:33:37 +01:00
Klaus Basan
fff9585c5d Minor UI adjustments 2018-01-17 03:33:35 +01:00
Klaus Basan
2026491d9a Ref T213, DSGVO 2018-01-15 23:00:59 +01:00
Klaus Basan
f17e57bd51 Minor style fixes 2018-01-15 23:00:56 +01:00
Klaus Basan
f049900e1f Ref T223, use const values for standard pressure
* standardISASeaLevelPressure
* use static const values for standard pressure
* minor formatting
2018-01-15 23:00:34 +01:00
Klaus Basan
56adde399e Entry check 2018-01-15 22:50:37 +01:00
Klaus Basan
632e0207ce Ref T224, improved check of DB data availability in swift GUI
* some renamings
* check for empty caches as well
* using fixed timestamp checks
* display info about loading objects
2018-01-15 22:50:35 +01:00
Klaus Basan
d2389c15cc Ref T224, allow to check for empty caches 2018-01-15 22:50:33 +01:00
Klaus Basan
2a2a5e1349 Ref T224, info object reader fixes
* caches need to be obtained from the respective readers
* BLACK_VERIFY to detect problems
* fixed masking which was wrong (did mask by info object)
2018-01-15 22:50:30 +01:00
Klaus Basan
0fa4bf1e9d Ref T207, workaround for Q_ASSERT issue described in T207 2018-01-15 22:50:28 +01:00
Klaus Basan
8bb47a555c Formatting comments and "private slots" -> "private" 2018-01-15 22:50:26 +01:00
Roland Winklmeier
de4fe44156 Fix sending the correct pressure altitude for a pilot position
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.

Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01:00
Roland Winklmeier
51a90a9a71 Differentiate between true and pressure altitude
Altitude can have different meanings in aviation. So far all our
altitudes were true altitudes. But now we also require pressure altitude
including a conversion method between the two.

Maniphest Tasks: T223
2018-01-15 22:43:08 +01:00
Klaus Basan
718d5abf90 Ref T219, unified selector namings and keep editable even without DB completer data.
Also "private slots" -> "private"
2018-01-14 18:47:50 +01:00
Klaus Basan
1b1c4e588c Ref T199, do not use hardcoded names of file names 2018-01-14 18:47:48 +01:00
Klaus Basan
f0d2336eb6 Ref T199, all file names of multi simulator caches 2018-01-14 18:47:46 +01:00
Klaus Basan
47778acf81 Ref T199, utility file functions 2018-01-14 18:47:44 +01:00
Klaus Basan
be58262f0f Ref T199, do not display 0 timestamp and re-display timestamp after copy 2018-01-14 18:47:41 +01:00
Klaus Basan
eac422f853 Ref T199, bootstrap (aka setup) cache explicitly initialized
* initMultiSimulatorCache
* initCaches detecting bootstrap and init via high level functions
2018-01-14 18:47:39 +01:00
Klaus Basan
312d01d35b Ref T199, also cache files can be loaded
* unwrap cache JSON object
* parameter to control if cache format is allowed
2018-01-14 18:47:37 +01:00
Klaus Basan
922f12f141 Ref T199, sync. caches of setup reader 2018-01-14 18:47:35 +01:00
Klaus Basan
6785529916 Stylesheet adjustments 2018-01-14 18:47:33 +01:00
Klaus Basan
3e1573e6b4 Ref T199, improved copy dialog
* filter disabling or hiding can be toggled
* bootstrap file can be shown/hidden
* fixed naming typo "setCacheMode"
2018-01-14 18:47:30 +01:00
Klaus Basan
826760e347 Bootstrap file name encapsulated 2018-01-14 18:47:28 +01:00
Klaus Basan
7dd77b8ca3 Ref T220, use improved version of screen geometry detection
* use cmd.line argument to skip restoring if needed
* close splash screen as last
* log metrics info
2018-01-14 18:47:26 +01:00
Klaus Basan
350a75d672 Formatting 2018-01-14 18:47:24 +01:00
Klaus Basan
8e130aa895 Ref T220, cmd.line option for window resizing 2018-01-14 18:47:22 +01:00
Klaus Basan
ef25192424 Ref T220, register main widget 2018-01-14 18:47:20 +01:00
Klaus Basan
89bd648021 Ref T220, some changes in gui utility
* use qreal font metrics
* pixel ratio
2018-01-14 18:47:17 +01:00
Klaus Basan
604c3eb088 Added unit test based on discussion here
https://swift-project.slack.com/archives/G7GD2UP9C/p1515602377000431
2018-01-14 18:47:15 +01:00
Klaus Basan
48a85f80a8 Ref T220, min. height for Login Network component 2018-01-14 18:47:10 +01:00