Commit Graph

8406 Commits

Author SHA1 Message Date
Mat Sutcliffe
463ed4bfbd Ref T709 Made settings provider non-static. 2019-09-16 22:41:16 +01:00
Mat Sutcliffe
349da3633b 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-09-16 22:41:16 +01:00
Mat Sutcliffe
2e571b72fd Update libxplanemp. 2019-09-16 22:41:15 +01:00
Mat Sutcliffe
db146435fd Added a new clazy warning. 2019-09-16 22:41:15 +01:00
Klaus Basan
93bf6cb44c Ref T709, avoid camera below ground if aircraft is on ground 2019-09-16 22:41:15 +01:00
Klaus Basan
55690b423f Ref T709, review points
* overload "normalize"
* renamed to CSettingsProvider
2019-09-16 22:41:15 +01:00
Klaus Basan
741843d0c6 Make sure listener does NOT restart when settings are updated, but DBus address did not change (set member correctly) 2019-09-16 22:41:14 +01:00
Klaus Basan
add649c321 Ref T709, improved normalization and space pressed handling, unit test 2019-09-16 22:41:14 +01:00
Klaus Basan
cdffc11c99 Ref T715, use "night texture mode" in traffic class 2019-09-16 22:41:13 +01:00
Klaus Basan
e908593847 Ref T709, style 2019-09-16 22:41:13 +01:00
Klaus Basan
e62aa6fb2f Ref T715, setting for "night texture"
* settings class
* UI
2019-09-16 22:41:12 +01:00
Klaus Basan
0605c2d139 Ref T709, static "ownAircraftString" and improved logging 2019-09-16 22:41:12 +01:00
Klaus Basan
61072c70ce Ref T709, further checks and voodoo as "follow aircraft still crashes 2019-09-16 22:41:12 +01:00
Klaus Basan
f491f19cfc Log XSwiftBus version when starting 2019-09-16 22:41:12 +01:00
Klaus Basan
1d7e3dc9aa Ref T659, renamed buttons and use "alwaysOverride" function 2019-09-16 22:41:11 +01:00
Klaus Basan
04812581ea Ref T659, display mode in overview and allow to properly close the dialog 2019-09-16 22:41:11 +01:00
Klaus Basan
daf927223a Ref T659, login mode as string 2019-09-16 22:41:11 +01:00
Klaus Basan
23a44ced2a Ref T659, display server name on details tab and allow to reset state for details component 2019-09-16 22:41:10 +01:00
Klaus Basan
d546ebdcba Ref T659, improved handling of override checkbox in FSD details/voice
* the checkbox can be always enabled
* or disabled in read only mode
2019-09-16 22:41:10 +01:00
Klaus Basan
4e9bf35cfc Improved "kicked" message handling, make sure it goes in the log too 2019-09-16 22:41:10 +01:00
Klaus Basan
86db7f18d8 Ref T659, hide icon if read only 2019-09-16 22:41:09 +01:00
Klaus Basan
b33fe9048a Ref T659, login dialog can display connected and disconnected state and also change its state 2019-09-16 22:41:09 +01:00
Klaus Basan
1c0e57bb95 Ref T659, login overview (read only) component
* overview component
* display values as preset in network in aircraft values component
2019-09-16 22:41:09 +01:00
Klaus Basan
3c633af365 Check for NULL icon 2019-09-16 22:41:09 +01:00
Klaus Basan
cffab0954d Ref T659, get network preset values from network vatlib 2019-09-16 22:41:09 +01:00
Klaus Basan
3b9f5bad46 Ref T659, cleanup some unused code 2019-09-16 22:41:08 +01:00
Klaus Basan
03096f8f7e Ref T609, adjusted audio context to support changed COM units and muted transmission if muted in COM unit 2019-09-16 22:41:08 +01:00
Klaus Basan
90deceae6b Ref T609, mixer utility functions 2019-09-16 22:41:07 +01:00
Klaus Basan
e53833856a Ref T609, function in audio context for COM integration + fix for wrong mixer device 2019-09-16 22:41:07 +01:00
Klaus Basan
35906660d1 Allow to save matcher log 2019-09-16 22:41:07 +01:00
Klaus Basan
a9a0216e53 Ref T609, change COM transmission values in UI/emulated driver 2019-09-16 22:41:07 +01:00
Klaus Basan
5470a55e15 Ref T609, adjusted/fixed cockpit form
* Naming to receive/transmit
* Fixed wrong LED order
2019-09-16 22:41:06 +01:00
Klaus Basan
3275d97653 Ref T609, UI to set Tx/Receive for COM unit in emulated driver 2019-09-16 22:41:06 +01:00
Klaus Basan
b60f84244b Ref T609, renamed to Transmit/Receive for COM sync. 2019-09-16 22:41:06 +01:00
Klaus Basan
9ba7dfee4d Ref T609, allow to get COM unit from own aircraft context 2019-09-16 22:41:06 +01:00
Klaus Basan
398f28fd9e Ref T609, style 2019-09-16 22:41:05 +01:00
Klaus Basan
918f22ba16 Ref T709, add colon for "swiftbus:" log messages 2019-09-16 22:41:05 +01:00
Klaus Basan
79d0109e5a Ref T709, check on screen w/h and report warning instead of info. Also log missing traffic object. 2019-09-16 22:41:05 +01:00
Klaus Basan
be261a2dd4 Ref T709, normalize degrees to +/i180degs 2019-09-16 22:41:04 +01:00
Klaus Basan
2df218ff99 Ref T709, return 0 if there is no camera position (nullptr) 2019-09-16 22:41:04 +01:00
Klaus Basan
b539964906 Ref T709, style 2019-09-16 22:41:04 +01:00
Klaus Basan
447152bd13 Ref T709, only update settings if changed 2019-09-16 22:41:04 +01:00
Klaus Basan
79f347cc1b Ref T709, changed DBus function to get/setSettingsJson, disambiguate from get/setSettings (returning CSettings) 2019-09-16 22:41:03 +01:00
Klaus Basan
77883edf9c Ref T709, bool return value if settings changed 2019-09-16 22:41:03 +01:00
Klaus Basan
432f7398b3 UI tweak minimum button width 2019-09-16 22:41:03 +01:00
Klaus Basan
73b8e606e2 Ref T709, further aircraft camera pos. checks and init zoom to 1.0
Attempts to avoid the follow aircraft crash
2019-09-16 22:41:02 +01:00
Klaus Basan
4a0101feed Ref T709, update labels every n-th frame 2019-09-16 22:41:02 +01:00
Klaus Basan
01f90fc9bf Ref T709, check position for "follow aircraft" 2019-09-16 22:41:01 +01:00
Klaus Basan
f9c87326fb Ref T709, changed to settings provider
* CPlugin is the provider
* it is "kept" in DBus object for traffic, service, weather
2019-09-16 22:41:01 +01:00
Klaus Basan
97926eee26 Ref T709, removed unused includes and style 2019-09-16 22:41:01 +01:00