Commit Graph

3634 Commits

Author SHA1 Message Date
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
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
f620147fe6 [FSD] Thread utility function to "call function in its own thread" 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
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
123387f1a7 Style 2020-01-07 19:57:18 +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
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
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
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
6a95abb194 [UI] Change distributor buttons to BB/XCSL
XPlane standard DOES NOT make sense, as it adds AI aircraft
2020-01-07 19:46:16 +00:00
Klaus Basan
32c6ef3fd6 [AFV, Ref T739 register device also based on process 2020-01-07 19:46:15 +00:00
Klaus Basan
134c805990 [AFV] Ref T739, device info improvements
* registration
* use identifier in device info list
* propertyByIndex/compareByIndex
* unRegisterDevices
2020-01-07 19:46:15 +00:00
Klaus Basan
7beed0225c Style 2020-01-07 19:46:15 +00:00
Klaus Basan
f986e9ca8b Style 2020-01-07 19:46:15 +00:00
Klaus Basan
1d195b87fa [AFV] Ref T731, allow to re-init audio in UI
* audio can be started/stopped and disabled/enabled
* allow to connect signals if audio was started
* allow default devices in combobox
2020-01-07 19:05:42 +00:00
Klaus Basan
aed1103ce6 [AFV] Ref T739, default device handling
* renamed some device list functions
* improved default device handling
2020-01-07 19:05:42 +00:00
Klaus Basan
a63fe0dc21 [AFV] Ref T739, unified callsign functions in CAfvClient
* improved CallsignSet from QStringList
* renamed the functions which just return a string
* added functions for CCallsignSet
2019-10-23 00:38:26 +02:00
Klaus Basan
317607f5a5 Fixed bug in FP, removing of colons 2019-10-23 00:38:26 +02:00
Klaus Basan
003788c89b Style 2019-10-23 00:38:26 +02:00
Klaus Basan
7428cb0819 [AFV], Ref T730 play audio "tuned in"/"out"
Replaces the former voice room connected sounds
2019-10-23 00:38:26 +02:00
Klaus Basan
97eb8880a8 Doxygen, style 2019-10-23 00:38:26 +02:00
Mat Sutcliffe
07e64099b1 Ref T725 Extend CLogMessage to allow ICoordinateGeodetic arguments,
using a system of traits to select the stringifier corresponding to the argument type.
2019-10-23 00:38:25 +02:00
Mat Sutcliffe
6d1f0328bf Improve handling of BLACK_VERIFY on different Clang versions. 2019-10-23 00:38:25 +02:00
Mat Sutcliffe
a93e7982b5 Define BLACK_USE_CRASHPAD in qmake, to avoid relying on fragile include order. 2019-10-23 00:38:25 +02:00
Klaus Basan
ca149d78c0 Text message "CTextMessageList::markedAsSent" 2019-10-19 01:29:24 +02:00
Klaus Basan
0bdc124c8f [AFV] Ref T730 check function for same devices 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
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
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
f236b54084 Style 2019-10-18 10:36:24 +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
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