Klaus Basan
cb422d72cf
Misc. style issues interpolation/model adding
2018-11-22 19:55:02 +01:00
Klaus Basan
2ba89ec10c
Cleaner setup load messages
2018-11-22 19:54:52 +01:00
Klaus Basan
dac6a2ca1a
Ref T432, context functions to get ATC stations by COM frequency
2018-11-16 02:49:56 +01:00
Klaus Basan
a6b7b10651
Ref T420, signal when simulator no longer is vital
2018-11-16 02:49:56 +01:00
Klaus Basan
b452cd7530
Ref T410, show number of SB4 packets received under simulator/information
2018-11-16 02:49:55 +01:00
Klaus Basan
3eb46690c0
Removed clamped messages
2018-11-16 02:49:55 +01:00
Mat Sutcliffe
df563d5b29
Fixes needed to compile swift with MSVC with the /permissive- switch
...
which enables more C++ standard conformance.
2018-11-16 02:49:55 +01:00
Klaus Basan
db05388bea
Ref T431, send airline ICAO designator or VDesignator depending on setup
2018-11-16 02:49:54 +01:00
Roland Winklmeier
ee8af9f4c6
Filter other pilots ghost aircraft when flying in shared cockpit mode
...
When flying in shared cockpit mode, both pilots log into the network.
One as pilot to be visible to ATC and other pilots. The other one as
observer. For the observing user, the pilots aircraft needs to be filtered.
Filter algorithm is using the same schema as vPilot does.
ref T427
2018-11-16 02:49:54 +01:00
Roland Winklmeier
420fc40fb2
Remove _OBS callsign suffix when logging in as observer
...
ref T428
2018-11-16 02:49:54 +01:00
Klaus Basan
839c75effc
Ref T429, style and CLANG warnings
2018-11-16 02:49:53 +01:00
Klaus Basan
64b0ec87b1
Ref T423, changed strategy to force position updates
...
* force update for "some time", and remove all sent information
* no longer update some cycles, but for some time
* updated FSX/P3D/XPlane drivers
2018-11-16 02:49:52 +01:00
Klaus Basan
8cf7f676fa
Ref T423, function to recalculate all aircraft (used when aircraft is moved or such)
2018-11-16 02:49:52 +01:00
Klaus Basan
dfd33e40c1
Detect emulated driver before casting to avoid crashs
2018-11-16 02:49:51 +01:00
Klaus Basan
084ade9e2b
Ref T422, context/provider functions for COM, XPDR values
2018-11-16 02:49:51 +01:00
Klaus Basan
951247dc0b
Ref T422, private slots -> private
2018-11-06 01:41:48 +01:00
Klaus Basan
0dbaf989e9
Ref T424, renamed altitude string functions and added "roundedToNearest100ft"
2018-11-06 01:41:48 +01:00
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