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
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
89411d783b
Only check listener before starting
2018-09-17 18:28:27 +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
6f6ec17c3d
Ref T335, adjusted consuming "slots" to use disabled flag if adding failed
2018-09-12 20:30:07 +02:00
Klaus Basan
640e6ab055
Ref T335, reset to model matching aircraft enables again
2018-09-12 17:40:55 +02:00
Klaus Basan
68b72d9c5c
Ref T335, update "enabled/"rendered" for multiple callsigns
2018-09-12 17:40:52 +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
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
Roland Winklmeier
9f1a51fb13
Fix wrong QHash value lookup for voice channels in use
2018-09-12 17:01:53 +02:00
Roland Winklmeier
1e16203d04
Check which voice channel is allocated to COM1
...
ref T328
2018-09-12 17:01:48 +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
55690846fe
Ref T312, ignore not running listeners checking again via button
2018-09-08 15:36:25 +02:00
Klaus Basan
f3f2fa664e
Ref T322, ATC station distance can be recalculated when getting ATC stations from network context
2018-09-08 15:36:22 +02:00
Klaus Basan
cacbe6e996
Ref T322, get situation from "own aircraft" context
2018-09-08 15:36:21 +02:00
Roland Winklmeier
14af2dccf0
Use Qt::QueuedConnection to process remote hotkey actions
2018-08-31 20:08:19 +02:00
Klaus Basan
0b0a7783a0
Ref T312, added check listener function in contexts
2018-08-27 18:58:22 +02:00
Klaus Basan
cb351aca1a
Ref T298, improved/fixed re-matching (match all aircraft again)
...
- reset to network model (otherwise we match "matched model" -> "matched model")
- renamed/added functions doMtachingAgain/doMatchinsAgain in contexts
2018-08-26 15:26:56 +02:00
Klaus Basan
956ffd949d
Style
2018-08-26 15:26:49 +02:00
Klaus Basan
b610ff1087
Ref T301, core ping fix https://swift-project.slack.com/archives/G7GD2UP9C/p1534677752000100
...
Identifier list was filled and more and more identifiers got checked via DBus
- identifier set if only one unique identifer is needed
- using set avoids duplicates and fixes the bug
- restart time if registered, no need to check again
2018-08-21 22:10:28 +02:00
Klaus Basan
d7b1ed8d31
Hint for simulator if network is connected (slightly related T307)
2018-08-19 14:31:56 +02:00
Klaus Basan
cbb0805c7e
Style
2018-08-19 14:31:47 +02:00
Klaus Basan
a230f65f19
fixed gnd.flag message
2018-08-16 21:49:14 +02:00
Klaus Basan
baea17c0f1
Ref T298, matching messages can be deleted
2018-08-16 14:34:02 +02:00
Klaus Basan
60b3ed65ab
Ref T301, application contexts pings (by re-registering) identifiers again. By that it can be detected if the GUI is crashed
...
* ping timer in proxy
* utility function in timestamp list
* adjusted UI component displaying identifiers in core
2018-08-13 02:59:44 +02:00
Klaus Basan
7b360e03cc
Ref T301, make login mode via contexts available
2018-08-13 02:59:43 +02:00
Klaus Basan
9bb3f98489
Style
2018-08-13 02:59:35 +02:00