Commit Graph

8935 Commits

Author SHA1 Message Date
Klaus Basan
2a34786039 [Hotkey] Display hotkey name plus device name in hotkey model, resize view if new key has been added or removed 2020-01-07 19:57:22 +00:00
Klaus Basan
ef4640e66f [Hotkey] Style 2020-01-07 19:57:21 +00:00
Klaus Basan
9dbb441e44 [FSD] Send auth(entication) messages as direct messages 2020-01-07 19:57:21 +00:00
Klaus Basan
7c7ed41f05 Improved log.message if model file is NOT available 2020-01-07 19:57:21 +00:00
Klaus Basan
c104e2105c [FSD] FSD range can be disabled and range restriction only for VATSIM
Rational FSC eV does not want restriction
2020-01-07 19:57:21 +00:00
Klaus Basan
42648f0c12 [FSD] Slightly adjusted sending of queued FSD messages 2020-01-07 19:57:21 +00:00
Klaus Basan
c2d2d05566 Log.message 2020-01-07 19:57:21 +00:00
Mat Sutcliffe
555e6b2cde [radar] Ensure the target's heading indicator is not a child of an item that ignores transformations 2020-01-07 19:57:21 +00:00
Klaus Basan
9aca949aea No notifications for own send messages 2020-01-07 19:57:21 +00:00
Klaus Basan
64b17b787c Ref T761, relay original sender AND recipient
* display sent messages of partner callsing as send by myself
* allow PMs from partner as normal PMs
2020-01-07 19:57:21 +00:00
Klaus Basan
a54f804cf1 Ref T761, display partner callsign in adv.login screen
* added context functions
* UI readonly fields
2020-01-07 19:57:21 +00:00
Klaus Basan
172fa1ddc8 Fix linker error with newer gcc versions 2020-01-07 19:57:21 +00:00
Klaus Basan
4e2a47fc41 Ref T761, use "preset" callsign if available
Avoids issue with partner callsign
2020-01-07 19:57:20 +00:00
Klaus Basan
36d77b7785 Ref T761, avoid to override aircraft callsign from the (standard) login component
* set input field to callsign if network is connected
* this sets the callsign of the adv. login component in case it was used
2020-01-07 19:57:20 +00:00
Klaus Basan
f07ca09424 Ref T761, partner callsign message relay (swift with co-pilot)
* handle server error messages correctly as "error"
* (relayed) sender can be ATC or aircraft
* relay private messages correctly
2020-01-07 19:57:20 +00:00
Klaus Basan
22d8b52fe8 [FS9] Minor style fixes 2020-01-07 19:57:20 +00:00
Klaus Basan
34f9fb89d6 [FSD] Start FSD client in own thread (CContinuousWorker) 2020-01-07 19:57:20 +00:00
Klaus Basan
4ef17fed6a [FSD] Threaded (worker) FSD client, based on CContinuousWorker
* locks
* call functions in own thread
2020-01-07 19:57:20 +00:00
Klaus Basan
f620147fe6 [FSD] Thread utility function to "call function in its own thread" 2020-01-07 19:57:20 +00:00
Klaus Basan
928a76a042 Minor tweaks for METAR info 2020-01-07 19:57:20 +00:00
Klaus Basan
0876379729 [FSD] Style 2020-01-07 19:57:20 +00:00
Klaus Basan
efee7968dc [AFV] Using the aliased frequencies can be enabled/disabled
* flag
* "dot command"
* register audio "dot commands" for audio
2020-01-07 19:57:20 +00:00
Klaus Basan
84cfec81e7 Register "dot commands" for help (CCommandInput) 2020-01-07 19:57:20 +00:00
Klaus Basan
72334af1e8 [Notification] Make sure no sound is stopped in QTimer::singleShot which is no longer playing 2020-01-07 19:57:20 +00:00
Klaus Basan
3a4f114308 [FSD] In order to get the UNIT tests working, we need to call the "FSD direct message" send function
* added sendDirectMessage and renamed other function to sendQueudedMessage
* UNIT tests call "direct message" sending
* minor style changes
2020-01-07 19:57:20 +00:00
Klaus Basan
f6f719a67e [FSD] "dot" command to restrict max. range for FSD positions
Allows to limit the range in which we handle FSD positions
(This also means FSD planes range)
2020-01-07 19:57:19 +00:00
Klaus Basan
2adf169a0e [FSD] Do not send all FSD messages at once, but equally distributed one-by-one
Rational: The idea is to distribute the messages, so we also get equally distributed responses
2020-01-07 19:57:19 +00:00
Klaus Basan
02e1427210 [FSD] Preparations of FSD send message for queued messages
* messageToFSDString function
* sendMessageString in FSDClient to send the message itself
2020-01-07 19:57:19 +00:00
Klaus Basan
f38bfc5cf9 [FSD] Style 2020-01-07 19:57:19 +00:00
Klaus Basan
59c6a7ad93 [FSD] Avoid that all matchings are triggered "at the same time"
* the signal from CAirspaceMonitor is connected internally
* this signal is closely related to receive the FSD ICAO data
* and then it is emitted from the context again but staggered
2020-01-07 19:57:19 +00:00
Klaus Basan
0fd1e34d03 [FSD] Verify we really have FSD ICAO data
Problem: Sometime there are aircraft without ICAO daza

* check that we really have received ICAO data
* if not, query data again
* if nothing helps, use data as best guessed (by flightplan data)
2020-01-07 19:57:19 +00:00
Klaus Basan
e9f8be013c [FSD] Style and minor fix, check for network ICAO 1st and not for simulator model (correct display) 2020-01-07 19:57:19 +00:00
Klaus Basan
ff2ab95367 Style 2020-01-07 19:57:19 +00:00
Klaus Basan
5bd64b1a2f [FSD] Made those send functions "real" private which are only used with the UNIT test 2020-01-07 19:57:19 +00:00
Klaus Basan
8c8073ca0e [FSD] Correctly named ProController (message type) 2020-01-07 19:57:19 +00:00
Klaus Basan
14192585e2 [FSD] Correctly set queried frequency 2020-01-07 19:57:19 +00:00
Klaus Basan
325c869413 [FSD] Style 2020-01-07 19:57:18 +00:00
Klaus Basan
45c44eb0bf Typo 2020-01-07 19:57:18 +00:00
Mat Sutcliffe
90b57d82f4 [installer] Change "swift is still running" to simply wait until swift has quit 2020-01-07 19:57:18 +00:00
Klaus Basan
8633502cdb [FSD]FSD improvements and fixes
* Ignore new unused messages
* Correctly increase statistic
2020-01-07 19:57:18 +00:00
Klaus Basan
857d5eb005 [FSD] Overload prevention
* only allow aircraft to be added based on new positions, NOT on received ICAO data anymore
* hardcoded max.range

Discussion: https://discordapp.com/channels/539048679160676382/539925070550794240/643163521999306832
2020-01-07 19:57:18 +00:00
Klaus Basan
911b23e29d [FSD] Style 2020-01-07 19:57:18 +00:00
Klaus Basan
123387f1a7 Style 2020-01-07 19:57:18 +00:00
Klaus Basan
99a02c9b04 [FSD] minor fix "else if" 2020-01-07 19:57:18 +00:00
Klaus Basan
42eaeac1b9 [Performance] reduce number of status message updates 2020-01-07 19:57:18 +00:00
Klaus Basan
9d53696417 {FSD] Improved FSD socket handling
* restricter number of lines handled at once
* messageTypeToString
* add parsing to statistics
2020-01-07 19:57:18 +00:00
Klaus Basan
3705818445 Style 2020-01-07 19:57:18 +00:00
Klaus Basan
964948e3e8 [Performance] Load indicator in views
* Only use load indicator (per default) for DB object views
* In any case disable load indicator for status messages
2020-01-07 19:57:17 +00:00
Klaus Basan
ad18149c14 [FSD] Style 2020-01-07 19:57:17 +00:00
Klaus Basan
702ca31b38 [FSD] Smaller fixes, style 2020-01-07 19:57:17 +00:00