Commit Graph

8777 Commits

Author SHA1 Message Date
Klaus Basan
afe72b029f Doxygen/style 2019-10-23 00:38:24 +02:00
Klaus Basan
7a1b5a0237 Minor FSD client text message handling fixes 2019-10-19 02:41:26 +02:00
Klaus Basan
ca149d78c0 Text message "CTextMessageList::markedAsSent" 2019-10-19 01:29:24 +02:00
Klaus Basan
f26b85f493 [AFV] Test server for AFV no longer exists 2019-10-19 00:15:25 +02:00
Klaus Basan
57909d97dc [AFV] Ref T730, request mic.access on MacOS for launcher
* needed to start the mic.access depending applications GUI/core
* see https://discordapp.com/channels/539048679160676382/567983892791951374/634806582013591603
2019-10-19 00:03:09 +02:00
Klaus Basan
88ff7ff758 [AFV] Ref T739, added ATC tuned in/out 2019-10-18 22:51:17 +02:00
Klaus Basan
607256d4b8 [AFV] Ref T730, changed qDebug to CLogMessage 2019-10-18 22:41:38 +02:00
Klaus Basan
40eb531a3a [AFV], Ref T731 allow to open the drashdump directory from menu/launcher tools 2019-10-18 16:36:15 +02:00
Klaus Basan
7cfcc61bd3 Doxygen/style, test for div/0 2019-10-18 16:35:39 +02:00
Klaus Basan
aaa5fc259a Doxygen 2019-10-18 12:10:55 +02:00
Klaus Basan
b88bdee405 [AFV] Ref T739, verify devices 2019-10-18 10:36:34 +02:00
Klaus Basan
11f74a05e6 [AFV] Ref T739, avoid roundtrips if devices did not change but are refreshed 2019-10-18 10:36:34 +02:00
Klaus Basan
0bdc124c8f [AFV] Ref T730 check function for same devices 2019-10-18 10:36:25 +02:00
Klaus Basan
a8c7575d9d Style 2019-10-18 10:36:25 +02:00
Klaus Basan
f81fc31da6 [AFV] Ref T730, fetch settings in correct thread (i.e. context thread) 2019-10-18 10:36:25 +02:00
Klaus Basan
59baf237cc [AFV] Ref T730, added notification files for "station tuned in"
Those will be a replacement for the "joined voice room"
2019-10-18 10:36:25 +02:00
Klaus Basan
1fe2109a89 [AFV] Ref T730, allow to set AFV notifcation sounds in AFV settings 2019-10-18 10:36:25 +02:00
Klaus Basan
7fdc2c3db3 [AFV] Ref T730, changed/added settings for AFV and allow still to use old swift notifications 2019-10-18 10:36:25 +02:00
Klaus Basan
3a469d4654 [AFV] Ref T730, bring back swift PTT click sounds 2019-10-18 10:36:25 +02:00
Klaus Basan
c054f4d307 [FSD] Disable voice room signal (precautionary) 2019-10-18 10:36:25 +02:00
Klaus Basan
35cdaf09bf Style 2019-10-18 10:36:25 +02:00
Klaus Basan
439f76c9bb [AFV] Ref T730, extra lock for volume (less blocking) 2019-10-18 10:36:25 +02:00
Klaus Basan
9959b12b9d [AFV] Ref T739, encapsulate defaultXXDevice calls
* based on bug: https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-55631
* approach: avoid calls to default device (did not work out)
* kept encapsulation as it easier allows to text/apply workarounds
2019-10-18 10:36:25 +02:00
Klaus Basan
2dbe8464f4 [AFV] Ref T739, CoInitializeEx main thread of CAfvClient 2019-10-18 10:36:24 +02:00
Klaus Basan
1e7bc8a80f [AFV] Ref T739, reduce verbose log message 2019-10-18 10:36:24 +02:00
Klaus Basan
f236b54084 Style 2019-10-18 10:36:24 +02:00
Klaus Basan
79f8e1b959 [AFV] Ref T739, CPPCheck fixes 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
5efa52cba6 Update aircraft parts in FS9 plugin 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
5fc173786d Doxygen 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
84248fc1b0 Fix double deletion of CLobbyClient during shutdown 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
1051cc5751 [AFV] Add fuzzy callsign matching before aliasing a HF station
# Conflicts:
#	src/blackcore/afv/clients/afvclient.h
2019-10-18 10:36:24 +02:00
Roland Rossgotterer
cf50d50f4f [FSD] Fix broadcasting of incremental aircraft config updates 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
2362e25593 [AFV] Add client version to API auth 2019-10-18 10:36:24 +02:00
Klaus Basan
f980fd02d5 [AFV] Ref T739, check if COM integration is used and make sure to use TX/RX defaults if NOT
There was a bug that COM integration was used although it was disabled
2019-10-18 10:36:24 +02:00
Klaus Basan
725a798cba [AFV] Ref T739, removed unused code 2019-10-18 10:36:24 +02:00
Klaus Basan
8ecfd8f23d Ref T739, workaround to hide "local signals" from Dbus registration
Directly using CAfvClient signals - a scenario we actually want to avoid
2019-10-18 10:36:24 +02:00
Klaus Basan
9dc287accb [AFV] Ref T739, added a dialog for cockpit/audio so CAfvClient can be used in core UI 2019-10-18 10:36:24 +02:00
Klaus Basan
8d956436e7 [AFV] Ref T739, use the Audio base class with the shared CAfvClient functions 2019-10-18 10:36:24 +02:00
Klaus Basan
383352f79c [AFV] Ref T739, remove implementation details from IContextAudio to keep the DBus interface "pure"
* This was an approach to avoid registration of "local signals"
* that part DID NOT work as planned, as all object's signals are registered
* the refactoring itself nevertheless is NOT a bad idea and has been kept
* as the audio context has this special "concept" and CAfvClient can run on both sides (proxy AND impl.side)
2019-10-18 10:36:23 +02:00
Klaus Basan
632a85d079 [AFV] changed AFV update rate to 20secs 2019-10-18 10:36:23 +02:00
Klaus Basan
8fb74f945b [AFV] Ref T730, move voice settings into voice setup .h file
* same like we do for audio
* there was only one file in the settings subdir
2019-10-18 10:36:23 +02:00
Klaus Basan
58e2f35653 [AFV] Ref T730, use "%Application%" to split audio settings among core and UI
* both can have independent settings
* user report hanging core - this seems to fix it
2019-10-18 10:36:23 +02:00
Klaus Basan
6cbd2d9486 [AFV] Ref T739 remove unused old coreaudio arguments 2019-10-18 10:36:15 +02:00
Klaus Basan
a334b97ac6 [AFV] Ref T730, use callbacks for "connectTo", avoid EventLoop
* this is a pure asynchronous concept
* callbacks are called when network request "is done"
2019-10-16 17:40:33 +02:00
Klaus Basan
218c099456 [AFV] Ref T730, Ref T739, mutexes for some parts which still were NOT threadsafe
* connection object
* auto logoff if FSD terminates and voice client is still online
* "the server is full" is a good test case for the auto logoff,
  FSD login fails, AFV login works, and needs to be terminated

IMPORTANT: using the mutex before login results in a situation where the EventLoop runs into a deadlock
See https://discordapp.com/channels/539048679160676382/623947987822837779/633338177922269224
2019-10-16 17:40:33 +02:00
Klaus Basan
1eb8ed463d Minor UI glitch fixed 2019-10-16 17:40:32 +02:00
Klaus Basan
dc20359c76 Ref T741, typo 2019-10-16 17:40:32 +02:00
Klaus Basan
de75cdc214 [AFV] Ref T730 incorporated MS fixes
see https://discordapp.com/channels/539048679160676382/623947987822837779/633025547999510530
2019-10-16 17:40:32 +02:00
Klaus Basan
563e5d85be Style 2019-10-16 17:40:32 +02:00
Klaus Basan
fc43199c32 [AFV] Ref T730, CPPCheck (e.g. virtual function call in ctor) 2019-10-16 17:40:32 +02:00