Commit Graph

8420 Commits

Author SHA1 Message Date
Mat Sutcliffe
b90327cf07 Ref T709 Made settings provider non-static. 2019-08-13 19:17:58 +01:00
Mat Sutcliffe
dbba3ccf6f Ref T709 Prevent instantiation of CXSwiftBusSettingsQtFree, to avoid slicing.
- Constructors and destructor are protected.
- Therefore destructor doesn't need to be virtual.
- objectUpdated is pure virtual, so the class is abstract.
- Both derived classes are declared final.
2019-08-12 22:39:14 +01:00
Mat Sutcliffe
8510fbe3bb Update libxplanemp. 2019-08-11 23:16:10 +01:00
Mat Sutcliffe
0ccd0fe44d Added a new clazy warning. 2019-08-11 23:16:09 +01:00
Klaus Basan
038a2ffdf0 Ref T709, avoid camera below ground if aircraft is on ground 2019-08-11 23:16:09 +01:00
Klaus Basan
08ba4d8f65 Ref T709, review points
* overload "normalize"
* renamed to CSettingsProvider
2019-08-11 23:16:09 +01:00
Klaus Basan
d5b1eab55a Make sure listener does NOT restart when settings are updated, but DBus address did not change (set member correctly) 2019-08-11 23:16:08 +01:00
Klaus Basan
4830bbc646 Ref T709, improved normalization and space pressed handling, unit test 2019-08-11 23:16:08 +01:00
Klaus Basan
9cb9556d87 Ref T715, use "night texture mode" in traffic class 2019-08-11 23:16:07 +01:00
Klaus Basan
2fc01bc568 Ref T709, style 2019-08-11 23:16:07 +01:00
Klaus Basan
a596121ea2 Ref T715, setting for "night texture"
* settings class
* UI
2019-08-11 23:16:07 +01:00
Klaus Basan
3260209ca5 Ref T709, static "ownAircraftString" and improved logging 2019-08-11 23:16:06 +01:00
Klaus Basan
60ea80301e Ref T709, further checks and voodoo as "follow aircraft still crashes 2019-08-11 23:16:06 +01:00
Klaus Basan
ade65dedde Log XSwiftBus version when starting 2019-08-11 23:16:05 +01:00
Klaus Basan
52725b10e9 Ref T659, renamed buttons and use "alwaysOverride" function 2019-08-11 23:16:05 +01:00
Klaus Basan
81fbc08553 Ref T659, display mode in overview and allow to properly close the dialog 2019-08-11 23:16:05 +01:00
Klaus Basan
83c6a5d4eb Ref T659, login mode as string 2019-08-11 23:16:04 +01:00
Klaus Basan
cd25ca8bd3 Ref T659, display server name on details tab and allow to reset state for details component 2019-08-11 23:16:04 +01:00
Klaus Basan
2b0fa22135 Ref T659, improved handling of override checkbox in FSD details/voice
* the checkbox can be always enabled
* or disabled in read only mode
2019-08-11 23:16:04 +01:00
Klaus Basan
d6f8da0f1f Improved "kicked" message handling, make sure it goes in the log too 2019-08-11 23:16:04 +01:00
Klaus Basan
56e516dbcf fixup! Ref T659, network details component for FSD/voice setu 2019-08-11 23:16:03 +01:00
Klaus Basan
47a56c2c94 Ref T659, hide icon if read only 2019-08-11 23:16:03 +01:00
Klaus Basan
d1715ef5ba Ref T659, login dialog can display connected and disconnected state and also change its state 2019-08-11 23:16:03 +01:00
Klaus Basan
d52eb9c8d6 Ref T659, login overview (read only) component
* overview component
* display values as preset in network in aircraft values component
2019-08-11 23:16:02 +01:00
Klaus Basan
09afc25dd7 Check for NULL icon 2019-08-11 23:16:02 +01:00
Klaus Basan
75579cda38 Ref T659, get network preset values from network vatlib 2019-08-11 23:16:01 +01:00
Klaus Basan
22bdb730f4 Ref T659, cleanup some unused code 2019-08-11 23:16:01 +01:00
Klaus Basan
5720ed43a1 Ref T609, adjusted audio context to support changed COM units and muted transmission if muted in COM unit 2019-08-11 23:16:01 +01:00
Klaus Basan
2bd766ceb1 Ref T609, mixer utility functions 2019-08-11 23:16:00 +01:00
Klaus Basan
429c63d220 Ref T609, function in audio context for COM integration + fix for wrong mixer device 2019-08-11 23:16:00 +01:00
Klaus Basan
64b2bd11ba Allow to save matcher log 2019-08-11 23:16:00 +01:00
Klaus Basan
0596782926 Ref T609, change COM transmission values in UI/emulated driver 2019-08-11 23:15:59 +01:00
Klaus Basan
b9afe63511 Ref T609, adjusted/fixed cockpit form
* Naming to receive/transmit
* Fixed wrong LED order
2019-08-11 23:15:59 +01:00
Klaus Basan
04be93f8c0 Ref T609, UI to set Tx/Receive for COM unit in emulated driver 2019-08-11 23:15:58 +01:00
Klaus Basan
3d8bc7b8c7 Ref T609, renamed to Transmit/Receive for COM sync. 2019-08-11 23:15:58 +01:00
Klaus Basan
98b31b9674 Ref T609, allow to get COM unit from own aircraft context 2019-08-11 23:15:57 +01:00
Klaus Basan
143a3a6006 Ref T609, style 2019-08-11 23:15:57 +01:00
Klaus Basan
45427f5ef3 Ref T709, add colon for "swiftbus:" log messages 2019-08-11 23:15:57 +01:00
Klaus Basan
d090295471 Ref T709, check on screen w/h and report warning instead of info. Also log missing traffic object. 2019-08-11 23:15:56 +01:00
Klaus Basan
6be0586fbc Ref T709, normalize degrees to +/i180degs 2019-08-11 23:15:56 +01:00
Klaus Basan
5e9be9e96e Ref T709, return 0 if there is no camera position (nullptr) 2019-08-11 23:15:55 +01:00
Klaus Basan
917d9bb3e7 Ref T709, style 2019-08-11 23:15:55 +01:00
Klaus Basan
cd06c52cb7 Ref T709, only update settings if changed 2019-08-11 23:15:55 +01:00
Klaus Basan
5a8f41611b Ref T709, changed DBus function to get/setSettingsJson, disambiguate from get/setSettings (returning CSettings) 2019-08-11 23:15:54 +01:00
Klaus Basan
392c821841 Ref T709, bool return value if settings changed 2019-08-11 23:15:54 +01:00
Klaus Basan
423d9e3e73 UI tweak minimum button width 2019-08-11 23:15:54 +01:00
Klaus Basan
761c45c547 Ref T709, further aircraft camera pos. checks and init zoom to 1.0
Attempts to avoid the follow aircraft crash
2019-08-11 23:15:54 +01:00
Klaus Basan
972cca9fed Ref T709, update labels every n-th frame 2019-08-11 23:15:53 +01:00
Klaus Basan
034cd0c8f3 Ref T709, check position for "follow aircraft" 2019-08-11 23:15:53 +01:00
Klaus Basan
384b50ff80 Ref T709, changed to settings provider
* CPlugin is the provider
* it is "kept" in DBus object for traffic, service, weather
2019-08-11 23:15:52 +01:00