Klaus Basan
ffc903de34
Ref T367, Ref T400 style
2018-11-04 17:42:41 +01:00
Klaus Basan
fd9744c73d
Ref T397, using receivedPositionFixTsAndGetOffsetTime for normal and interim positions
2018-11-04 17:42:41 +01:00
Klaus Basan
9dd06c4c84
Ref T397, fixed "disable" for fast positions
2018-11-04 17:42:41 +01:00
Klaus Basan
00d859d5b3
Ref T297, style and remarks for T297
2018-11-04 17:42:41 +01:00
Klaus Basan
dec0b12ea2
Ref T397, checks on vector to find root cause NaN/inf issue
...
* sometimes very large numbers (xxE38) in vector
* sometimes vectors which look correct, but exceed [-1,1]
2018-11-04 17:42:40 +01:00
Roland Winklmeier
832082c5bc
Delay creating input devices to when required
...
Every first call to CInputManager::instance() was automatically creating
the low level input devices. This was not always desired and therefore
creation is now explicit via function.
Unit tests do not need the devices created. In contrast, Windows unit tests
failed since Windows didn't like the Jenkins service childs to allocate
DInput devices.
T391
2018-10-07 16:17:28 +02:00
Klaus Basan
1280359fe1
Style
2018-10-07 16:17:27 +02:00
Roland Winklmeier
c42900f959
Release input devices when application is shutdown
...
If they are released with the deallocation of CInputManager, we might
run into global deallocation hell.
Also on Windows release all DirectX devices before COM library is closed.
ref T391
2018-10-07 16:17:26 +02:00
Klaus Basan
df08923455
Ref T384, context isOnlineStation
2018-10-05 17:39:59 +02:00
Klaus Basan
7300a2af1f
Ref T384, get closest ATC stations online
2018-10-05 17:39:59 +02:00
Klaus Basan
1195eba417
Ref T385, OBS aircraft callsign
...
* in CAirspaceMonitor::onIcaoCodesReceived we know we deal with aircraft only and explicitly deal with it
* in other cases we can not tell if we deal with aircraft/ATC callsign for sure, we ignore invalid callsigns
2018-10-05 17:39:59 +02:00
Klaus Basan
df4ef3f52d
Sending wallop message
2018-10-05 17:39:59 +02:00
Klaus Basan
e82695e6ae
Ref T384, style
2018-10-05 17:39:58 +02:00
Roland Winklmeier
ed80bc90a8
Correct the NetworkVatlib ATIS and password regular expressions
...
The password one was not matching if the integers had multiple digits.
The ATIS one was matching on every random 'z' in any ATIS line.
ref T380
2018-10-05 17:39:58 +02:00
Roland Winklmeier
ebe23a694b
Fix GCC7 fallthrough warnings
2018-10-05 17:39:58 +02:00
Roland Winklmeier
c0d9aacbb1
Update to new vatlib
2018-10-05 17:39:58 +02:00
Klaus Basan
ec32e3163b
Ref T380, test function and UI (internals) to test ATIS
2018-10-05 17:39:57 +02:00
Klaus Basan
756ee18410
Ref T379, to improve reset models added "setAircraftEnabledFlag" to just set the flag, not sending signals causing removed aircraft
2018-10-05 17:39:57 +02:00
Klaus Basan
2eb1316f80
Ref T372, always store fast position updates
2018-10-05 17:39:57 +02:00
Klaus Basan
5af029467e
Ref T362, Ref T348 improved matcher saves removed models (if any) when destructed and improved UI
2018-10-05 17:39:57 +02:00
Klaus Basan
e668be9259
Ref T372, clear also fast position receivers when aircraft is removed
2018-10-05 17:39:56 +02:00
Mat Sutcliffe
62634e1e0e
Ref T314 Style: correct parameter name.
2018-10-05 17:39:56 +02:00
Mat Sutcliffe
f42d42487d
Ref T314 Change CApplication::m_networkWatchDog from a smart pointer to a raw pointer.
...
Attempting to manage a worker's lifetime with a smart pointer is a mistake.
It can lead to double-delete or premature-delete bugs, and race conditions.
Workers self-manage their own lifetimes.
2018-10-05 17:39:56 +02:00
Klaus Basan
b5a270dc09
Ref T376, context support for CVoiceSetup
2018-10-05 17:39:55 +02:00
Klaus Basan
a475d12339
Ref T376, voice (vatlib) getter/setter for CVoiceSetup
2018-10-05 17:39:55 +02:00
Klaus Basan
e51bbd1f5d
Ref T376, adjusted CServer class ctor
2018-10-05 17:39:55 +02:00
Klaus Basan
b5cf65cefa
Ref T376, renamed server settings file
2018-10-05 17:39:55 +02:00
Klaus Basan
c34339cd9b
Ref T376, removed former audio settings
2018-10-05 17:39:55 +02:00
Roland Winklmeier
28b404d065
Make Vatsim Voice UDP port configurable and 3290 the default
2018-10-05 17:39:55 +02:00
Roland Winklmeier
28302feea0
Remove unnecessary updating of voice room callsigns
...
The voice room callsign will be set from the current context values right
before a new connection is made. Therefore all updates in between are not
necessary and can be removed.
ref T354
2018-10-03 03:03:40 +02:00
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