Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Mat Sutcliffe
bd9948bbff
Ref T486 Using QMetaObject::invokeMethod with pointer-to-member-function (or functor).
2019-02-22 20:34:53 +00:00
Klaus Basan
0970dbdcfc
Ref T451, disable model (in model set) functions for context
2019-02-22 20:24:05 +00:00
Klaus Basan
d89b217e9b
PQ parsing using "best guess" strategy as default plus renamings
2019-02-22 20:23:54 +00:00
Mat Sutcliffe
d6b5dca6b2
Return a default-constructed QString instead of implicitly converting an empty string literal.
2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d
When calling arg() on a QString constructed from a literal, use QStringLiteral.
2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
2019-02-22 20:23:46 +00:00
Mat Sutcliffe
ca813a1814
Fixed clazy warning: missing emit keyword.
2019-02-22 20:23:42 +00:00
Mat Sutcliffe
a65be602bb
Fixed clazy warnings: provide receiver object argument to signal/slot connection.
2019-02-22 20:23:40 +00:00
Mat Sutcliffe
26376a5fa1
Macro definitions should be after includes, not before.
2019-02-22 20:23:39 +00:00
Mat Sutcliffe
4344ca1a77
Suppressed clazy false positives: method potentially mismarked as slot.
2019-02-22 20:23:39 +00:00
Mat Sutcliffe
8979b5257e
Fixed clazy warnings: returning void expression.
2019-02-22 20:23:34 +00:00
Mat Sutcliffe
e40af8132c
Fixed clazy warnings: missing Q_OBJECT.
2019-02-22 20:23:33 +00:00
Klaus Basan
c591728e88
Aircraft ICAO code of own model is wrong
...
Although the reverse lookup of a model is correct, it's aircraft ICAO code is wrong
Issues found
* in the driver the ICAO code is permanently overridden -> commented out
* there are two contexts, own aircraft and simulator, but only one uses reverse lookup -> now both
* using Qt::QueuedConnection for context -> GUI
2018-12-11 00:51:31 +01:00
Roland Rossgotterer
060c3ee492
Remove the warning about conflicting X-Plane plugins
...
This warning got superseded by the return value from CTraffic::acquireMultiplayerPlanes. All plugins can live side by side as long as nobody else has multiplayer planes acquired. If so, we warn the user directly and tell him the plugin name.
2018-11-29 20:54:26 +01:00
Klaus Basan
62860eb30b
Ref T436, allow to set a global offset altitude for testing (example: ".altos ? -10m")
2018-11-23 02:43:11 +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
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
4172701586
Ref T422, functions to toggle/set XPDR mode
2018-11-05 01:39:51 +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
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
53b3241483
Ref T409, mark client as "swift" client
2018-11-04 17:42:45 +01:00
Klaus Basan
9293989a78
Doxygen comments
2018-11-04 17:42:45 +01:00
Klaus Basan
cc4aec8f3c
Ref T412, added "movedAircraft" and fixed missing relay of proxy signals
2018-11-04 17:42:44 +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
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
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
df4ef3f52d
Sending wallop message
2018-10-05 17:39:59 +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
b5a270dc09
Ref T376, context support for CVoiceSetup
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
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
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
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
57178c75f9
Ref T357, function to copy FSX terrain probe, also in context for remote UI
2018-09-17 18:28:40 +02:00