Commit Graph

8446 Commits

Author SHA1 Message Date
Klaus Basan
b575bf4b64 Avoid shutdown if modal window closes
See https://discordapp.com/channels/539048679160676382/567139633964646411/613564665255034903
2019-08-22 00:32:02 +02:00
Klaus Basan
069e32c896 Ref T609, fixed signal/slot connection of cross context hookup
* audio can be local or remote special case
* so we have to hookup on core or remote side depending on that
2019-08-22 00:30:56 +02:00
Klaus Basan
09a82cb6d2 Avoid ASSERT in XPlane "rapid shutdown" 2019-08-21 14:57:31 +02:00
Klaus Basan
4d19c52628 Frameless window close button 2019-08-20 15:46:20 +02:00
Klaus Basan
a653ea897c fixup! Ref T709, also log model name (so we can see if a particular model causes a crash) 2019-08-18 19:38:30 +02:00
Klaus Basan
3bd2ff449a fixup! Ref T709, static "ownAircraftString" and improved logging 2019-08-18 19:38:30 +02:00
Klaus Basan
8493b22301 Ref T703, sending and receiving of relayed text messages
* turn relayed messages into normal messages
* avoid signals for relayed messaged
* relay received messages to partner (co-pilot)
2019-08-18 01:12:41 +02:00
Klaus Basan
e5a5b96835 Ref T703, utility functions for "relayed messages" (i.e. copilot/pilot) 2019-08-18 01:12:41 +02:00
Klaus Basan
b1c0712f6f Fixed FS9/FSX message handling as reported here: https://discordapp.com/channels/539048679160676382/567139633964646411/612104936574156870 2019-08-17 21:01:11 +02:00
Klaus Basan
20266b7338 FS9 style 2019-08-17 21:01:11 +02:00
Klaus Basan
a409bfc130 Ref T703, get partner callsign and validate it
* added functions in network details
* validation and login with partner callsign
2019-08-17 21:01:11 +02:00
Klaus Basan
f18f2327ae Ref T703, set partner callsign in network vatlib / functions in context adjusted 2019-08-17 21:01:11 +02:00
Klaus Basan
21cb1fac0d Ref T703, overlay message utility functions 2019-08-17 21:01:11 +02:00
Klaus Basan
ec7da98570 Ref T709, also log model name (so we can see if a particular model causes a crash) 2019-08-17 21:01:11 +02:00
Klaus Basan
a97668851e [libxplanemp] Ref T715, draw translucent (blend) part after lights (as in the original code) 2019-08-17 21:01:11 +02:00
Klaus Basan
0e285b6cd6 Ref T709, use std::advance for message iterator 2019-08-17 21:01:11 +02:00
Klaus Basan
e78ad0e0d1 Style 2019-08-17 21:01:11 +02:00
Klaus Basan
ece0c67431 Ref T709, updated XSwiftBus service and messages to support settings 2019-08-17 21:01:11 +02:00
Klaus Basan
33ac40eb9d Ref T709, UI for settings "lights" and "message box margins" 2019-08-17 21:01:10 +02:00
Klaus Basan
6c2d140b1b Ref T709, added support for taxi lights in XPlane, using the "bundle lights" flag 2019-08-15 23:08:19 +02:00
Klaus Basan
807e87af7c Ref T709, added settings for lights and message box margins 2019-08-15 23:08:19 +02:00
Klaus Basan
14e396bce0 Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor 2019-08-15 20:32:57 +02:00
Klaus Basan
f9e7449fdd Ref T709, smaller style changes 2019-08-15 20:32:57 +02:00
Klaus Basan
eb67310b04 Improved logging of "adding aircraft" so we can see details such as the model string 2019-08-14 00:25:31 +02:00
Klaus Basan
bd49f5151a Ref T709, doxygen 2019-08-14 00:22:36 +02:00
Mat Sutcliffe
3d413c749c Ref T709 Encapsulate the CSettingsProvider pointer in a CSettingsAware base class. 2019-08-13 20:18:23 +01:00
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