Commit Graph

8914 Commits

Author SHA1 Message Date
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
Klaus Basan
11187870de Fixed missing compare index, message placeholder, and minor style fixes 2020-01-07 19:57:17 +00:00
Klaus Basan
be9e2a37f3 [Radar] Rotate speed indicator with own heading 2020-01-07 19:57:17 +00:00
Klaus Basan
c187c701d5 [Updater] Trigger download from dialog "download and install" 2020-01-07 19:57:17 +00:00
Klaus Basan
881ec39043 [AFV] Fix aliased frequency handling
* ONLY use HF frequency if stations match and is closest station
* better log messages
2020-01-07 19:46:19 +00:00
Klaus Basan
ae5ede5667 [PQ] Rounding to int as discussed here https://discordapp.com/channels/539048679160676382/623947987822837779/642145431794745344 2020-01-07 19:46:18 +00:00
Klaus Basan
de7174ad49 Ref T747, added toggle normal/minimal
* also provide action for toggle normal/minimal
* reverted "on top" for front/back toggle

based on discussion https://discordapp.com/channels/539048679160676382/539846348275449887/641003058867994634
2020-01-07 19:46:18 +00:00
Klaus Basan
37c21b3dae [FSD] Use correct signals for airspace analyzer
The used ones used the CID, not the callsign
2020-01-07 19:46:18 +00:00
Klaus Basan
68d4ce8a33 Fixed bug in airspace monitor using the wrong timeout value
Remark: mostly uncritical as only the log message was wrong
2020-01-07 19:46:18 +00:00
Klaus Basan
5fea046c0b Style and log messages 2020-01-07 19:46:18 +00:00
Klaus Basan
441ca41ee3 [FS9] Log. messages 2020-01-07 19:46:18 +00:00
Klaus Basan
109827b5c4 Ref T747, combine "on top" with window to front 2020-01-07 19:46:17 +00:00
Klaus Basan
336ad1c160 Fixed ATC callsign detection
* use uc callsign for detection
* added suffix DEP

see https://discordapp.com/channels/539048679160676382/539486309882789888/640324593155964947
2020-01-07 19:46:17 +00:00
Klaus Basan
076813e866 [PTT] Make sure the "other" PTT keys light the LEDs and play notification
Remark: Eventually it would be best to really hook up with audio to
display the PTT key really consumed (instead directly consuming the action)
2020-01-07 19:46:17 +00:00
Klaus Basan
516a7063e5 [UI] avoid "jumping around" if window was resized
* resizing in frameless is subject of QSizeGrip in the status bar
* also make sure resize grip is always aligned to the right QSizePolicy::MinimumExpanding
* the last point still still happens (resize button centered) for an unknown reason
2020-01-07 19:46:17 +00:00
Klaus Basan
d8ec308a3b [DBus] DBus related fixes
* use INT in CAudioDeviceInfo (minimum trouble)
* register metatype
* removed getSimulatorStatusEnum from DBus slots
2020-01-07 19:46:17 +00:00
Klaus Basan
991681a1ea [AFV] Ref T739, changed facade config
* core audio mode is remote
* plus minor style changes
2020-01-07 19:46:17 +00:00
Klaus Basan
b0714d3d80 [AFV] Ref T731, Ref T739 add new dialog in core UI (adv.audio) 2020-01-07 19:46:17 +00:00
Klaus Basan
4e7c490d3b [AFV] Ref T731, Ref T739 audio adv./distributed component as dialog 2020-01-07 19:46:17 +00:00
Klaus Basan
0a1835f1a5 [AFV] Ref T739, register used AFV callsigns
For core/GUI we need to register with 2 different callsigns
2020-01-07 19:46:17 +00:00
Klaus Basan
bb3fefc102 [UI] Volume UI aligned "on top" in cockpit info area 2020-01-07 19:46:17 +00:00
Klaus Basan
2afbdf1228 Ref T747, disable "stay on top" if window is send to back 2020-01-07 19:46:17 +00:00