Commit Graph

3501 Commits

Author SHA1 Message Date
Klaus Basan
541ce76fb6 [AFV] Ref T730, check for same device 2019-10-13 16:47:41 +02:00
Klaus Basan
e455d153ee [AFV] Ref T730, make sure device is "valid" 2019-10-13 16:47:40 +02:00
Klaus Basan
30baa12a86 Ref T730, CPP check issues fixed 2019-10-11 19:40:41 +01:00
Klaus Basan
e109106102 Ref T739, functions to register devices (will be used by DBus/proxy) 2019-10-11 19:00:53 +01:00
Mat Sutcliffe
57ff07592a [AFV] CInputManager stores icon indexes instead of QPixmap instances
The GUI converts icon indexes to QPixmap indexes when needed.
This fixes the context unittest that was broken by audio context changes.
2019-10-11 19:00:52 +01:00
Klaus Basan
47475f1a18 Ref T730, allow to specify a default value -> findByNameOrDefault 2019-10-11 19:00:50 +01:00
Klaus Basan
1ceac51771 Encode HTML messages, reported as bug in Discord 2019-10-11 19:00:49 +01:00
Klaus Basan
8a2d3458b4 Ref T739, MacOS only mic. access style using #ifdef
Although not required, "hide" mm code on other platforms
(avoid CLANG warnings in QtC)
2019-10-11 19:00:49 +01:00
Roland Rossgotterer
18821c2a30 Fix networkOperationToString 2019-10-11 19:00:45 +01:00
Klaus Basan
2123529fd8 Ref T730, Ref T731 update voice server setup to AfV URLs (formerly UDP ports) 2019-10-11 19:00:45 +01:00
Klaus Basan
c842820267 Ref T730, consider settings for clikc/block sounds and log categories 2019-10-11 19:00:45 +01:00
Klaus Basan
9bbc993a62 Ref T730, make owner of thread available (ASSERT checks etc.) 2019-10-11 19:00:44 +01:00
Klaus Basan
f69edff5c0 Ref T730, context shutdown
* virtual function for "about to shutdown"
* graceful shutdown
2019-10-11 19:00:43 +01:00
Klaus Basan
857e3581b0 Ref T730, style
* set object name
* use m_XYZ member name
2019-10-11 19:00:43 +01:00
Klaus Basan
b802933422 Ref T730, use an event loop with parent "this"
* central function to get QEventLoop (this can also be used to set a timeout)
* do NOT use sApp as parent -> parent must be in same thread
2019-10-11 19:00:43 +01:00
Roland Rossgotterer
edb7a4795e [MacOS] Fix error when copying externals again to build dir 2019-10-11 19:00:41 +01:00
Mat Sutcliffe
641238116a Fix VS IDE warning/tip
No need to return value from CUrl::appendQuery.
2019-10-11 19:00:40 +01:00
Mat Sutcliffe
9aabd5db04 [FSD] Superfluous parentheses 2019-10-11 19:00:39 +01:00
Mat Sutcliffe
077476c138 [FSD] Style 2019-10-11 19:00:39 +01:00
Mat Sutcliffe
2dbc347bd7 [FSD] Doxygen 2019-10-11 19:00:38 +01:00
Klaus Basan
7e36e67f89 Ref T739, removed voice room value objects 2019-10-11 19:00:35 +01:00
Klaus Basan
ea8e27cc9b Ref T730, obtain duration from "swift modified" QNetworkReply 2019-10-11 19:00:34 +01:00
Klaus Basan
ff6b7f8deb Ref T730, added deleteResourceFromNetwork and modified CSlot (directly accept object witb std::function) 2019-10-11 19:00:34 +01:00
Klaus Basan
6e9fa0b2ad Ref T730, style 2019-10-11 19:00:33 +01:00
Roland Rossgotterer
18ec101391 Don't push duplicated audio devices into the list 2019-10-11 19:00:32 +01:00
Roland Rossgotterer
a2e3700739 Replace QAudioDeviceInfo with CAudioDeviceInfo where possible
QAudioDeviceInfo is a low level technical class, which shouldn't be used in higher level code. Remove it from all APIs
where possible and just create it in order to interface with QAudio
2019-10-11 19:00:31 +01:00
Roland Rossgotterer
c759d45bb0 [AFV] Remove obsolete VVL device index from CAudioDeviceInfo 2019-10-11 19:00:31 +01:00
Klaus Basan
5c56715c28 Ref T730, add AFV test server in "test server list" 2019-10-11 19:00:23 +01:00
Klaus Basan
30158975b6 Ref T731, correctly set "disable VHF simulation" checkbox 2019-10-11 19:00:23 +01:00
Klaus Basan
09b38b4e6d Ref T730, function to check range for input/output volume 2019-10-11 19:00:22 +01:00
Klaus Basan
9a4fe0ea48 Ref T732, improved simulator type resolution for network 2019-10-11 19:00:19 +01:00
Klaus Basan
b207c9c944 Ref T730, adjusted audio settings for new notification sounds
* utility functions, find most appropriate file
* PTT blocked, removed voice rooms
2019-10-11 19:00:16 +01:00
Klaus Basan
dcfe275cc1 Ref T730, adjusted airspace monitor and ATC model
* added cross coupled in model
* "disabled" onAtisVoiceRoomReceived
2019-10-11 19:00:14 +01:00
Klaus Basan
5eb3dee829 Ref T730, FSD callsign string function, addressing the "*EDDF_TWR" issue 2019-10-11 19:00:14 +01:00
Klaus Basan
afd7881a90 Ref T730, ATC station properties for cross coupled ATC stations 2019-10-11 19:00:04 +01:00
Klaus Basan
7c89234f8c Ref T730, callsign set used for received callsigns 2019-10-11 19:00:02 +01:00
Klaus Basan
5a19bbdb5e Ref T730, audio settings use 0..100 values, check the values 2019-10-11 19:00:02 +01:00
Klaus Basan
835fdc478a Ref T730, adjusted audio device info/info list,
so it can be used with QAudioDeviceInfo
2019-10-11 19:00:00 +01:00
Klaus Basan
b9b3675073 Ref T730, log category for audio 2019-10-11 19:00:00 +01:00
Klaus Basan
2fed1e7e99 Ref T730, style 2019-10-11 18:59:59 +01:00
Klaus Basan
81ade55cb5 Ref T730, added QT multimedia in some projects, as it is now needed in blackmisc 2019-10-11 18:59:58 +01:00
Klaus Basan
6b19ed665e Ref T730, added settings in AFV client 2019-10-11 18:59:56 +01:00
Klaus Basan
7c765654c0 Ref T730, style
* avoid float, use double
* const correctness
* use fuzzyCompare for float/double
2019-10-11 18:59:55 +01:00
Klaus Basan
e21fdeb039 Ref T730, pass PTT key events to client
* currently passing from context to client, so context and client know the state
* PTT enum in own file so it can be reused
2019-10-11 18:59:55 +01:00
Klaus Basan
acde5e4f01 Ref T730, ATC station value object update 2019-10-11 18:59:53 +01:00
Klaus Basan
4a578110b0 Ref T731, adjusted audio settings for AFV and added functions in UI component 2019-10-11 18:59:11 +01:00
Klaus Basan
55f70a794e Style 2019-10-11 18:59:10 +01:00
Klaus Basan
f9b73bf70e Ref T730, add QJsonWebToken for jwt token decoding 2019-10-11 18:59:05 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Roland Rossgotterer
fa6e7108c7 Propagate FacilityType and LoginMode to value objects 2019-09-17 17:29:25 +02:00