Klaus Basan
2b8e388ba1
Ref T423, force update if simulator was paused or interrupted before
...
* force full updates for some cycles "m_updateAllRemoteAircraftCycles"
* only use "emitSimulatorCombinedStatus" to emit changed simulator status
* renamed to "finishUpdateRemoteAircraftAndSetStatistics"
* override "forced" in "getInterpolationSetupConsolidated"
This addresses the issue that aircraft appear below ground after moving the aircraft
2018-11-06 01:41:47 +01:00
Klaus Basan
4d7ca00324
Ref T421, interpolation log message follow up, deprecated "clampedLog"
2018-11-05 01:39:51 +01:00
Klaus Basan
4172701586
Ref T422, functions to toggle/set XPDR mode
2018-11-05 01:39:51 +01:00
Klaus Basan
17382a0019
Ref T401, update functions for crashpad info in CApplication
2018-11-04 17:43:06 +01:00
Klaus Basan
03691b4700
Ref T421, function to get interpolation messages from the simulator context
2018-11-04 17:42:47 +01:00
Klaus Basan
93bcbc0755
Ref T421, function to get interpolation messages from the simulator drivers
2018-11-04 17:42:47 +01:00
Klaus Basan
7788410a8d
Ref T412, Ref T227, cross context signals
2018-11-04 17:42:47 +01:00
Klaus Basan
cd76d5f635
Style
2018-11-04 17:42:47 +01:00
Klaus Basan
167355337e
Ref T412, Ref T227, own aircraft positions and state detection
...
* keep history of own positions
* detect moved aircraft
* relay signals via proxy
2018-11-04 17:42:47 +01:00
Klaus Basan
75d57b4afa
Ref T413, application context "identifable"
2018-11-04 17:42:47 +01:00
Klaus Basan
31e836bb87
Ref T413, application context "getApplicationIdentifier" to get remote identifier
2018-11-04 17:42:46 +01:00
Klaus Basan
60144ad7b1
Ref T409, use new livery string to resolve model/livery/ICAO
2018-11-04 17:42:45 +01:00
Klaus Basan
1b316cd6a6
Ref T409, matcher lookup functions for ids
2018-11-04 17:42:45 +01:00
Klaus Basan
3fc0f34646
Ref T409, network vatlib, remove "colon"/send special string if there is no model string
2018-11-04 17:42:45 +01:00
Klaus Basan
11c5ded3b5
Minor UI/style fixes
2018-11-04 17:42:45 +01:00
Klaus Basan
53b3241483
Ref T409, mark client as "swift" client
2018-11-04 17:42:45 +01:00
Klaus Basan
ab4b4c5067
Style
2018-11-04 17:42:45 +01:00
Klaus Basan
9293989a78
Doxygen comments
2018-11-04 17:42:45 +01:00
Klaus Basan
e727b29753
No "exit" (qFatal) for unknown VATLIB error, just error
...
Rational: Why shutdown the client in that very case, terminate connection is enough
2018-11-04 17:42:44 +01:00
Klaus Basan
d7380966de
Style
2018-11-04 17:42:44 +01:00
Klaus Basan
259aab3c10
Ref T397, Ref T297 split "isInterimPositionUpdateEnabledForServer" into 2 functions and ignore incoming interim positions if disabled
2018-11-04 17:42:44 +01:00
Klaus Basan
e4e39b6579
Added comments
2018-11-04 17:42:44 +01:00
Klaus Basan
cc4aec8f3c
Ref T412, added "movedAircraft" and fixed missing relay of proxy signals
2018-11-04 17:42:44 +01:00
Klaus Basan
74ef1e039c
Ref T397, Ref T297 dynamic offset times
...
* calculate avaerage time
* and use that to decide offset time
2018-11-04 17:42:44 +01:00
Klaus Basan
35b8b29d10
Ref T410, preparation and UI adjustments
...
Foo
2018-11-04 17:42:43 +01:00
Klaus Basan
4a82621a1d
Ref T400, swift needs to start even without network connection, especially for mapping tool
...
* count errors and call "manageSetupAvailability" to update cache availability
* minor adjustments
2018-11-04 17:42:43 +01:00
Roland Winklmeier
1addcf631a
Refactor the remote hotkeys to avoid round trips
...
The previous implementation was hard to follow and maintain. Instead of
doing intentional rounds trips, we use now a two way approach. GUI is
automatically forwarding remote actions by calling "callHotkeyActionRemotely"
through DBus. Core on the other hand, emits a signal "remoteHotkeyAction"
that is processed in a different function in GUI.
On both sides, actions from the same local machine are filtered.
ref T402
2018-11-04 17:42:42 +01:00
Roland Winklmeier
294b854ed8
Adjust to the VATSIM policy to skip the last 5 kHz in 25 kHz spacing
...
When receiving a radio message, round to the closest frequency.
When sending them, remove the last 5 kHz if existing.
ref T399
2018-11-04 17:42:42 +01:00
Roland Winklmeier
f6ea2a9107
Move CInputManager from singleton to CApplication member
...
The main reason why CInputManager was singleton is the easy access across
the code. That had the negative side effect that time of destruction was
at a very late stage of the shutdown and could not be controlled by us.
My moving it to CApplication, the access is equally easy (using sApp) and
allows to be cleaned up properly during graceful shutdown.
ref T391
2018-11-04 17:42:42 +01:00
Klaus Basan
705a56b1cb
Ref T401, adjusted settings used in components
2018-11-04 17:42:42 +01:00
Klaus Basan
47b12b66cf
Ref T367, Ref T400 setup reader improvements
...
- guards for Qtimer::singleShot
- check empty URLs
- only skip reading if already loaded from web
2018-11-04 17:42:41 +01:00
Klaus Basan
fe99eb261b
Ref T367, Ref T400 signal and read handling
...
* connect this->setupHandlingCompleted directly with reader + renaming
* do not waitForSetup if request already failed
2018-11-04 17:42:41 +01:00
Klaus Basan
9dfc3808c1
Ref T367, Ref T400 global setup flags for web and file reading
2018-11-04 17:42:41 +01:00
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