Commit Graph

6294 Commits

Author SHA1 Message Date
Klaus Basan
24ee4da4f9 Ref T391, style 2018-10-07 18:56:53 +02:00
Roland Winklmeier
f90ad72d9e CJoystickButton fixes 2018-10-07 16:17:28 +02:00
Roland Winklmeier
832082c5bc Delay creating input devices to when required
Every first call to CInputManager::instance() was automatically creating
the low level input devices. This was not always desired and therefore
creation is now explicit via function.
Unit tests do not need the devices created. In contrast, Windows unit tests
failed since Windows didn't like the Jenkins service childs to allocate
DInput devices.

T391
2018-10-07 16:17:28 +02:00
Klaus Basan
81bbcc56cd Ref T390, Ref T372, extended check for coordinate issue
See https://swift-project.slack.com/archives/G7GD2UP9C/p1538849878000100
2018-10-07 16:17:28 +02:00
Klaus Basan
1382da29c5 Make sure simulator is P3D or FSX for terrain probe copy 2018-10-07 16:17:27 +02:00
Klaus Basan
b22ffae2fb Ref T385, not all "_OBS" observers are ATC, they can be copilots too 2018-10-07 16:17:27 +02:00
Klaus Basan
e6ae28b17d Ref T385, allow to filter "by voiceroom"/"by frequency" so co-pilot (OBS login) can be shown 2018-10-07 16:17:27 +02:00
Klaus Basan
f0297297c0 Wizard, copy settings and caches in scrollable container 2018-10-07 16:17:27 +02:00
Klaus Basan
197b0fb53f Button padding 2018-10-07 16:17:27 +02:00
Klaus Basan
abe363494b Ref T385, added propertyBy functions for airport ICAO + style 2018-10-07 16:17:27 +02:00
Klaus Basan
1280359fe1 Style 2018-10-07 16:17:27 +02:00
Klaus Basan
56f2b48c47 Launcher style/minor UI adjustments 2018-10-07 16:17:27 +02:00
Klaus Basan
b5bfe301d2 Misc. wizard UI adjustments
- toolbox layout for terrain probe/XSwiftBus
- load overview URLs in table
- size adjustments
2018-10-07 16:17:27 +02:00
Klaus Basan
037708e4fa Ref T384, icon for overlay text message in cockpit message 2018-10-07 16:17:26 +02:00
Klaus Basan
3a1a1aaf02 Finished messages for wizard copying component 2018-10-07 16:17:26 +02:00
Klaus Basan
4ba8d7a758 Function QStringList -> HTML table 2018-10-07 16:17:26 +02:00
Klaus Basan
484d89dd85 Ref T390, Ref T372, check for equal coordinates to avoid NaN 2018-10-07 16:17:26 +02:00
Roland Winklmeier
c42900f959 Release input devices when application is shutdown
If they are released with the deallocation of CInputManager, we might
run into global deallocation hell.
Also on Windows release all DirectX devices before COM library is closed.

ref T391
2018-10-07 16:17:26 +02:00
Roland Winklmeier
910b536dee Automatically start XSwiftBus
In the past, XSwiftBus required to be started from the menu. This was a
historic behaviour since it made it possible to start it with different
DBus connection options. Since those are now moved into a config file,
it can be started right away.
2018-10-07 16:17:26 +02:00
Roland Winklmeier
bd222f3c97 Fix segfault if number is bigger than size of airports 2018-10-07 16:17:25 +02:00
Roland Winklmeier
f3f3ebc306 Cleanup aircraft in X-Plane after DBusConnection drops
ref T392
2018-10-07 16:17:25 +02:00
Klaus Basan
71b06d5fa8 Copy settings as discussed here: https://swift-project.slack.com/archives/G96QTUBEG/p1538703968000100 2018-10-05 17:40:00 +02:00
Klaus Basan
4246e12c31 Ref T384, overlay text message in ATC station component 2018-10-05 17:40:00 +02:00
Klaus Basan
228e686b77 Ref T384, ATC button component and integration in text message component 2018-10-05 17:40:00 +02:00
Klaus Basan
df08923455 Ref T384, context isOnlineStation 2018-10-05 17:39:59 +02:00
Klaus Basan
f962b24212 Fixed mixed action names 2018-10-05 17:39:59 +02:00
Klaus Basan
428c37fd97 Ref T384, check for ATC suffix 2018-10-05 17:39:59 +02:00
Klaus Basan
7b02816f82 Ref T389, 1st quickfix for nullptr issue 2018-10-05 17:39:59 +02:00
Klaus Basan
1388929041 Ref T388, added 2 compares and ignore 7 setter indexes 2018-10-05 17:39:59 +02:00
Klaus Basan
7300a2af1f Ref T384, get closest ATC stations online 2018-10-05 17:39:59 +02:00
Klaus Basan
4c159d8293 Style 2018-10-05 17:39:59 +02:00
Klaus Basan
1195eba417 Ref T385, OBS aircraft callsign
* in CAirspaceMonitor::onIcaoCodesReceived we know we deal with aircraft only and explicitly deal with it
* in other cases we can not tell if we deal with aircraft/ATC callsign for sure, we ignore invalid callsigns
2018-10-05 17:39:59 +02:00
Klaus Basan
df4ef3f52d Sending wallop message 2018-10-05 17:39:59 +02:00
Klaus Basan
7e47349b30 Ref T386, partial sort 2018-10-05 17:39:59 +02:00
Klaus Basan
d556383090 Ref T384, text message component "self connecting" to contexts.
Also allow to remove "all messages" tab
2018-10-05 17:39:59 +02:00
Klaus Basan
792d2ced30 Ref T384, trigger (show) overlay text messages 2018-10-05 17:39:59 +02:00
Klaus Basan
b3c6e22346 Ref T384, overlay text messages added in frame 2018-10-05 17:39:59 +02:00
Klaus Basan
b71936c6a1 Ref T384, addjusted text message component to be used with overlay text messages
* Tab enum in own file
* Funtions to change tab and hide UI elements
2018-10-05 17:39:58 +02:00
Klaus Basan
e82695e6ae Ref T384, style 2018-10-05 17:39:58 +02:00
Klaus Basan
e4dfa01c2e Ref T384, strip added name before adding a changed one 2018-10-05 17:39:58 +02:00
Roland Winklmeier
ed80bc90a8 Correct the NetworkVatlib ATIS and password regular expressions
The password one was not matching if the integers had multiple digits.
The ATIS one was matching on every random 'z' in any ATIS line.

ref T380
2018-10-05 17:39:58 +02:00
Roland Winklmeier
b140e0e193 Add P3D 64 bit SDK build version config 2018-10-05 17:39:58 +02:00
Roland Winklmeier
ebe23a694b Fix GCC7 fallthrough warnings 2018-10-05 17:39:58 +02:00
Roland Winklmeier
c0d9aacbb1 Update to new vatlib 2018-10-05 17:39:58 +02:00
Roland Winklmeier
4387c3b433 Fix missing override keyword 2018-10-05 17:39:58 +02:00
Roland Winklmeier
c13121edbd Fix PropertyIndex for CKeyboardKey and CJoystickButton 2018-10-05 17:39:58 +02:00
Roland Winklmeier
7f1d1847ca Revert back to DirectInput COM initialization
Using and linking against DirectInput libraries directly caused dinput.dll
to be loaded at startup time. Windows 10 kills applications started from
services (as the Jenkins slave service) that load dinput.dll.
This commit also adds some safety in case no helper windows could be created.
2018-10-05 17:39:58 +02:00
Roland Winklmeier
8ee428e7cf Style 2018-10-05 17:39:58 +02:00
Roland Winklmeier
7e10ea2f64 Pass QString argument by const reference 2018-10-05 17:39:58 +02:00
Klaus Basan
400ca612e2 Reset windows size by pressing Shift+Alt 2018-10-05 17:39:57 +02:00