Commit Graph

1953 Commits

Author SHA1 Message Date
Roland Winklmeier
321c195f4b Change voice room callsign format to "callsign (userid)"
So far the callsign, was the callsign itself only. However, other VATSIM
clients expect it to include the user id in brackets.

ref T354
2018-10-03 03:03:40 +02:00
Roland Winklmeier
23a1f86834 Connect to remoteHotkeyAction in CContextApplicationProxy::relaySignals
ref T330
2018-10-03 03:03:39 +02:00
Klaus Basan
85f7a37c8b Make sure there are no "illegal" characters in text messages 2018-10-03 03:03:39 +02:00
Klaus Basan
5c165c4fe7 Ref T373, style 2018-09-25 03:47:46 +02:00
Klaus Basan
84970760c1 Ref T373, removed unused function 2018-09-25 03:19:28 +02:00
Klaus Basan
a871579479 Ref T370, added public removeAllRemoteAircraft
* protected clearAllRemoteAircraftData
* ISimulator::clearAllRemoteAircraftData no longer calls clearAllRemoteAircraftData (circular)
2018-09-25 02:14:00 +02:00
Klaus Basan
dcefa88133 Display plugin name if simulator info is not available 2018-09-24 00:51:38 +02:00
Klaus Basan
527f666d1f Ref T370, remove models from FSX/P3D
* clearAllRemoteAircraftData also removes aircraft (from simulator)
* debugVerifyStateAfterAllAircraftRemoved only makes sense if removing aircraft and then emit the messages
2018-09-23 20:12:32 +02:00
Klaus Basan
4dcb2185b4 Ref T367, info objects are also read, as the files are small and sApp->isInternetAccessible() is not fully reliable (Qt Accessibility bug) 2018-09-23 20:12:31 +02:00
Klaus Basan
7ae7d04548 Ref T367, do not read again when info/setup was just read (age) 2018-09-23 20:12:30 +02:00
Klaus Basan
ff2f653aae Style 2018-09-23 20:12:27 +02:00
Klaus Basan
8f286c4475 Ref T367, simplified bootstrap and update info reading 2018-09-22 01:26:41 +02:00
Klaus Basan
8a5112e48d Ref T362, Ref T348 matcher saves removed models (if any) when destructed 2018-09-22 01:26:39 +02:00
Klaus Basan
51973cd2b9 Ref T348, remove from matcher if model failed 2018-09-20 00:47:22 +02:00
Klaus Basan
ae60cf560d Ref T361, better guards for plugin and sGui
No need to create an assert if plugin is not avilable, though the plugin info should be "Unspecified" in that case
2018-09-18 19:23:13 +02:00
Klaus Basan
a9f0cebe13 Ref T345, fixed bug: only one station must be updated with the new message 2018-09-17 18:28:53 +02:00
Klaus Basan
1f3650e7e2 Avoid empty callsign objects 2018-09-17 18:28:51 +02:00
Klaus Basan
57178c75f9 Ref T357, function to copy FSX terrain probe, also in context for remote UI 2018-09-17 18:28:40 +02:00
Klaus Basan
c12e1585fd Allow to save interpolation/rendering setup
- setting trait
- save/load logic in context
- adjusted UI, allow to reset global setup
2018-09-17 18:28:33 +02:00
Klaus Basan
c61171bde3 Use default dtor to avoid CLANG warnings 2018-09-17 18:28:31 +02:00
Klaus Basan
89411d783b Only check listener before starting 2018-09-17 18:28:27 +02:00
Klaus Basan
99313bd272 Ref T353, remove "." from FP route 2018-09-17 18:28:25 +02:00
Klaus Basan
ba7906b0a6 Ref T348, if plugin is unloaded, also fire "simulator disconnected". Also change to Qt::QueuedConnection.
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:13 +02:00
Klaus Basan
da2a7f6506 Ref T348, get specialized settings
Related: Ref T317 Ref T247 Ref T335
2018-09-17 18:28:08 +02:00
Roland Winklmeier
24ebc2ce7f Set the actually opened audio device from vatlib
In the past, the optional arguments currentInput and currentOutput were not
used. Therefore we never knew which device was actually opened by vatlib.
This caused the Audio UI to be completely unsychronized from the reality
when loading swiftgui.

ref T337
2018-09-12 20:30:33 +02:00
Klaus Basan
6f6ec17c3d Ref T335, adjusted consuming "slots" to use disabled flag if adding failed 2018-09-12 20:30:07 +02:00
Klaus Basan
409cc6c164 Ref T335, FSX/P3D improvements
- eceptions for an added object will be handled, retry once, then disable
- add/directly remove agains tried twice, then disabled
- disable aircraft in severe cases
- adjusted signal, indicate aircraft was enabled
2018-09-12 20:28:55 +02:00
Klaus Basan
640e6ab055 Ref T335, reset to model matching aircraft enables again 2018-09-12 17:40:55 +02:00
Klaus Basan
cf738165d3 Ref T335, consolidation of models with "models on disk" yields also a list of removed aircraft 2018-09-12 17:40:53 +02:00
Klaus Basan
68b72d9c5c Ref T335, update "enabled/"rendered" for multiple callsigns 2018-09-12 17:40:52 +02:00
Klaus Basan
1dcedfc540 Minor style fixes 2018-09-12 17:40:48 +02:00
Klaus Basan
a6499751f0 Ref T335, style/messages 2018-09-12 17:40:46 +02:00
Klaus Basan
e1ffa49268 Check for known model so mapping component can check without loaded model set 2018-09-12 17:40:45 +02:00
Klaus Basan
27f2fe1b57 Ref T339, simulator info message (version) for SUP supervisor 2018-09-12 17:40:42 +02:00
Klaus Basan
7e9f3a6c7f Ref T342, distance of airport can be recalculated 2018-09-12 17:40:38 +02:00
Klaus Basan
111eca61ee Ref T345, airspace monitor/context ATIS handling
* using Qt::QueuedConnection
* use new update functions
2018-09-12 17:40:35 +02:00
Klaus Basan
1243d6e93a Ref T323, better parsing of altitude values
- assume "24000" also as FL
- epsilon comparison
- use 0-9 char functions
- style
2018-09-12 17:40:24 +02:00
Roland Winklmeier
4b888d87f5 Add methods to read weather grid from file 2018-09-12 17:40:19 +02:00
Roland Winklmeier
9f1a51fb13 Fix wrong QHash value lookup for voice channels in use 2018-09-12 17:01:53 +02:00
Roland Winklmeier
3804612bed Fix the initial weather request in case last position is null
calculateGreatCircleDistance returns false immediately if any of the
arguments was null.

ref T324
2018-09-12 17:01:51 +02:00
Roland Winklmeier
7a7f1f2df0 Correct the received range of ATIS stations
ATIS stations seem to send 0 NM as their visibility range. That can cause
them to be filtered in the ATC online view.
Overwrite the range value with the default TWR range of 50 NM.
2018-09-12 17:01:50 +02:00
Roland Winklmeier
1e16203d04 Check which voice channel is allocated to COM1
ref T328
2018-09-12 17:01:48 +02:00
Roland Winklmeier
00abf48047 Initialze onGround for VatPilotPosition and VatPilotInterimPosition
This caused some issues in the calculation of the PBH integer and consequently
an offset of about 30 degrees heading.

ref T327
2018-09-12 17:01:44 +02:00
Klaus Basan
a9d728f451 Ref T338, utility functions / parsing
- nthIndexOf
- measurement unit can be parsed case insensitive
- CSimpleCommandParser::remainingStringAfter from n-th space
- improved frequency parsing
2018-09-12 17:01:41 +02:00
Klaus Basan
3d2d999f7a Ref T338, style 2018-09-09 02:55:16 +02:00
Klaus Basan
837288b874 Gracefully shutdown if destructed, slightly related to Ref T315 2018-09-09 02:55:13 +02:00
Klaus Basan
4406174668 Ref T341, crash prevention as seen in https://crashreports.swift-project.org/crashreports/81 2018-09-09 02:53:36 +02:00
Klaus Basan
55690846fe Ref T312, ignore not running listeners checking again via button 2018-09-08 15:36:25 +02:00
Klaus Basan
a2486981bd Style 2018-09-08 15:36:25 +02:00
Klaus Basan
9f5e265c5e Shutdown guard 2018-09-08 15:36:24 +02:00