Commit Graph

2320 Commits

Author SHA1 Message Date
Mat Sutcliffe
61d933be12 Tidying up around QPointer guards. 2019-05-13 11:21:06 +02:00
Roland Rossgotterer
5f00747d19 [MacOS] Ask user for permission to access microphone
This is required for MacOS 10.14 and later. This also requires an explanation why
access is required in the apps Info.plist. Hence added custom Info.plist templates
for each app.
2019-05-13 11:21:05 +02:00
Roland Rossgotterer
a7509669f9 Refactor crashpad initialization
Crashpad handler was initialized quite late since we were waiting for settings. However the settings in crashpad are persistent itself, hence we can start it at the earliest possible time and change the upload settings independently later. The only prerequisite is to have QCoreApplication constructed in order for the application name to be available.
ref T652
2019-05-13 11:21:05 +02:00
Klaus Basan
6ff118b3c0 Ref T645, minor style changes 2019-05-13 11:21:04 +02:00
Klaus Basan
94e65e3bc4 No ASSERT without callsign, just VERIFY/ignore
https://discordapp.com/channels/539048679160676382/568904623151382546/575712119513677826
2019-05-13 11:21:01 +02:00
Klaus Basan
23342bea3c Improved matching log 2019-05-13 11:20:54 +02:00
Klaus Basan
3be753a6a7 Allow to update model directories 2019-05-13 11:20:53 +02:00
Klaus Basan
3c23fdb461 Ref T650, better log messages 2019-05-13 11:20:52 +02:00
Klaus Basan
5d98b56a7e Ref T644, deferred init of notification sounds 2019-05-13 11:20:51 +02:00
Klaus Basan
77fcde6465 Ref T644, audio volume for notification sounds can be set 2019-05-13 11:20:50 +02:00
Klaus Basan
bcbdaaf1a7 COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz

As a result changed to channel spacing based on COM unit, which could also be changed at runtime

* the issue itself was in own aircraft context
* added functions for channel spacing
* changed to COM unit channel spacing (instead of hardcoded spacing)
2019-05-13 11:20:49 +02:00
Klaus Basan
8df7404f2b Fixed staggered update 2019-05-13 11:20:49 +02:00
Klaus Basan
a764a2de7e Added value for notification volume in sound setting 2019-05-13 11:20:49 +02:00
Klaus Basan
e4b0655129 Ref T644, allow to fetch notifications sounds from an arbitrary directory
* added settings
* utility functions
2019-05-13 11:20:48 +02:00
Klaus Basan
57c6d8ac77 Ref T623, ignore/unignore dot command 2019-05-13 11:20:45 +02:00
Klaus Basan
c51dce8bfd Style 2019-05-13 11:20:44 +02:00
Klaus Basan
f03d2bf36b Ref T632, QPointer for single shot 2019-05-13 11:20:43 +02:00
Klaus Basan
a1490fd4e0 Ref T632, mix fixes
* avoid empty callsign CClient object (harmless, but stupid)
* better validations in client provider
* check aircraft config packets (really broadcasts)
2019-05-13 11:20:42 +02:00
Klaus Basan
275006dad4 Ref T632, more detailled entry check for adding a remote aircraft (finds empty callsign) 2019-05-13 11:20:41 +02:00
Klaus Basan
303e8b0f88 Ref T632, in snapshot avoid to add aircraft which are no longer in range 2019-05-13 11:20:41 +02:00
Klaus Basan
989c998e66 Also log rendering setup in crashinfo 2019-05-13 11:20:41 +02:00
Klaus Basan
22f140a494 Write info about the weather into the crashinfo file 2019-05-13 11:20:40 +02:00
Klaus Basan
599064fe6c Use models from centralized model cache
* no copy needed
* cache is synchronized when loading models
2019-05-13 11:20:40 +02:00
Klaus Basan
a553dfc708 Ref T632, minor improvements for no callsign 2019-05-13 11:20:40 +02:00
Klaus Basan
9fd3925238 Style 2019-05-13 11:20:40 +02:00
Klaus Basan
2d654e2fef Ref T609, tristate LED showing if synced with simulator com 2019-05-13 11:20:40 +02:00
Klaus Basan
53fb28d70c Ref T609, setting if COM is synced with simulator 2019-05-13 11:20:39 +02:00
Klaus Basan
13a2465424 Ref T609, encapsulate PTT action/key 2019-05-13 11:20:39 +02:00
Klaus Basan
4951e7e35f Ref T614, improved log 2019-05-13 11:20:37 +02:00
Klaus Basan
df686d7efc Ref T607, detect mappings from quick mapping wizard 2019-05-13 11:20:36 +02:00
Klaus Basan
dd1aec056f Ref T601, added chat command 2019-05-13 11:20:34 +02:00
Mat Sutcliffe
d29576b67a Ref T552 Register value classes with qRegisterMetaTypeStreamOperators. 2019-04-12 13:57:17 +01:00
Mat Sutcliffe
a366ad8943 Added with() and withValidation() methods in CLogCategoryList. 2019-04-12 13:30:54 +01:00
Mat Sutcliffe
c05a32dbd4 Ref T545 Using constructor inheritance in derived container classes. 2019-04-12 13:30:51 +01:00
Mat Sutcliffe
8c0d82de99 Added CDatabaseWriter::getLogCategories. 2019-04-12 13:30:49 +01:00
Mat Sutcliffe
21a13978a2 Remove redundant code. 2019-04-12 13:30:49 +01:00
Mat Sutcliffe
bb59007656 D99 Enable compiler caches 2019-04-12 13:30:48 +01:00
Klaus Basan
375d26de32 The magic hotkey handling alorithm developed and tested in joined effort via SLACK
* no redundant action calls
* do not call release action if the action is still active by another combination

ref T585
2019-04-11 22:12:20 +01:00
Roland Rossgotterer
563a69e3f5 Remember and ignore hotkey combination before capturing
When capturing a new hotkey combination, we want to get only the delta of the keys and buttons being pressed during the capturing. 

ref T585
2019-04-11 22:12:20 +01:00
Roland Rossgotterer
c51a1b8c7b Don't trigger an action during combination capturing
ref T595
2019-04-11 22:12:19 +01:00
Roland Rossgotterer
59c69e379a Change InputManager trigger behavior to subset triggering
Previously, InputManager triggered an action only for exact matching. If 'CTRL' was configured, the action would be released as soon as 'CTRL + R' was pressed.
The behavior is changed now that the action stays active as long as its configured combination is keeping pressed (ignoring any extra keys/buttons).

ref T595
2019-04-11 22:12:19 +01:00
Klaus Basan
e8ea050882 Trigger validation with sim.directory
Ref T247 follow up
2019-04-11 22:12:18 +01:00
Klaus Basan
36381351b9 Style 2019-04-11 22:12:18 +01:00
Klaus Basan
d51b26cf8d Aligned signatures for context and dialog to use sim.directory in validator
Ref T247 follow up
2019-04-11 22:12:17 +01:00
Klaus Basan
0c335beea6 Style 2019-04-11 22:12:16 +01:00
Klaus Basan
269bad3c42 Ref T566, added DBus streaming operators so the DECLARED enums can be used with DBus 2019-04-11 22:12:15 +01:00
Klaus Basan
a9967e2002 Style 2019-04-11 22:12:13 +01:00
Klaus Basan
0d2e6dd997 Ref T566, configurable matching log in matcher/simulator components
* log flag/enum in own file
* pass "what to log" as parameter
2019-04-11 22:12:13 +01:00
Klaus Basan
991c7d59ef Ref T566, use "configurable" reverse lookup in network/airspace monitor parts 2019-04-11 22:12:12 +01:00
Klaus Basan
b2065b5da3 Ref T566, style 2019-04-11 22:12:12 +01:00