Commit Graph

7901 Commits

Author SHA1 Message Date
Mat Sutcliffe
c8d2f2be7e Return status message when value is not set because it was unchanged. 2019-04-12 14:54:47 +01:00
Mat Sutcliffe
5521a20883 Swap comparison order in case the value expensive to compare. 2019-04-12 14:54:46 +01:00
Mat Sutcliffe
6d9c1b4d5e Ref T552 Added unittest for QDataStream marshalling. 2019-04-12 13:57:18 +01:00
Mat Sutcliffe
d29576b67a Ref T552 Register value classes with qRegisterMetaTypeStreamOperators. 2019-04-12 13:57:17 +01:00
Mat Sutcliffe
6d9f9a286d Ref T552 Using QDataStream marshalling mixins in value classes. 2019-04-12 13:30:55 +01:00
Mat Sutcliffe
fabf6e59ab Ref T552 Added mixins for QDataStream marshalling. 2019-04-12 13:30:55 +01:00
Mat Sutcliffe
a6facc7e7c Ref T552 Removed old unused string-based QDataStream operator that would cause ambiguity with new ones. 2019-04-12 13:30:54 +01:00
Mat Sutcliffe
3454e08bb1 Using more constexpr in metaclass system, that was not possible before due to compiler bugs. 2019-04-12 13:30:54 +01:00
Mat Sutcliffe
a366ad8943 Added with() and withValidation() methods in CLogCategoryList. 2019-04-12 13:30:54 +01:00
Mat Sutcliffe
1cb21f0a4b Ref T545 Removed redundant constructors that are now inherited. 2019-04-12 13:30:53 +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
Mat Sutcliffe
08b1141072 D98 Split up releaseWithDebugInfo and profileRelease as 2 separate configs 2019-04-12 13:30:48 +01:00
Mat Sutcliffe
980e1d7b80 Restored constexpr initialization and return-by-value of CMeasurementUnit constants
that were removed by commit 787b54108e.

For rationale, see the commits fef2bc528e, c8d78ada65, 07ec7e6bc1 where these
were originally introduced.
2019-04-12 13:30:48 +01:00
Mat Sutcliffe
30c0054f57 Next version number. 2019-04-12 12:38:26 +01:00
Mat Sutcliffe
fee3562d32 Bump to version 0.9. RELEASE_0.9.0 2019-04-11 22:16:31 +01:00
Mat Sutcliffe
50e71b11a5 Ref T546 Fixed mistake with locking the correct mutexes. 2019-04-11 22:12:20 +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
Klaus Basan
42af7e4e9f Avoid the style change crash. This is a temp.workaround until we know how to avoid it, but the usability impact can be neglected
Changing the style takes very long anyway and is a bit fault even if it works.
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
6f1fb20b1c Ref T596, do not call shutdown if close is called, as close already calls shutdown 2019-04-11 22:12:19 +01:00
Klaus Basan
5626b28ddc Fixed typo not setting the new, but still the old style
* Crashes if the style is changed when the UI is fully initialized
* Still needs to be fixed
* Crashes are random
2019-04-11 22:12:19 +01:00
Klaus Basan
24880c39fc Guard 2019-04-11 22:12:19 +01:00
Klaus Basan
d875df6fc7 Remove the comments from qss 2019-04-11 22:12:19 +01:00
Klaus Basan
dd37c7b876 Ref T577, added dep. icons support (for ATC suffix) and changed string comparison to QStringView as discussed with MS 2019-04-11 22:12:19 +01:00
Klaus Basan
79fc8683f9 Removed unused navigator code 2019-04-11 22:12:19 +01:00
Klaus Basan
46be7d5e0a UI adjustments 2019-04-11 22:12:18 +01:00
Klaus Basan
68b53c2a74 Use pre-sorted messages
Ref T247 follow up
2019-04-11 22:12:18 +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
fd1f6bcc84 Utility functions, status messages and model list
Ref T247 follow up
2019-04-11 22:12:17 +01:00
Klaus Basan
5c870a8404 Center wizard page and use "classic style" 2019-04-11 22:12:17 +01:00
Klaus Basan
1dd10ffe29 Aligned signatures for model matcher log matcher
Ref T247 follow up
2019-04-11 22:12:17 +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
347e584998 Use simulator directory in background validation
Ref T247 follow up
2019-04-11 22:12:16 +01:00
Klaus Basan
fd8cf4337b Allow to validate models against a root directory of the simulator
The XPlane aircraft needs to be inside the XPlane folder

Ref T247 follow up
2019-04-11 22:12:16 +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
df119c6e98 Ref T585, only use push buttons as direct input devices 2019-04-11 22:12:13 +01:00
Klaus Basan
5661180f3e Minor cockpit navigator adjustments 2019-04-11 22:12:13 +01:00
Klaus Basan
a9967e2002 Style 2019-04-11 22:12:13 +01:00
Klaus Basan
5e32064d21 Ref T566, UI allow to enable/full matching log messages 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
002f9e6a9b Ref T566, log flags/enum in own files and DBus/meta registration
I do not want to have to include the complex matcher and network classes just for the enums/flags
2019-04-11 22:12:12 +01:00
Klaus Basan
b2065b5da3 Ref T566, style 2019-04-11 22:12:12 +01:00