Commit Graph

6753 Commits

Author SHA1 Message Date
Klaus Basan
b92d336d2a Try/catch for unit test main 2018-10-05 17:39:56 +02:00
Klaus Basan
7c42818f44 CTestFsxP3DCommon changed to the UNIT test style of the other unit tests 2018-10-05 17:39:56 +02:00
Klaus Basan
d37a6cd20d Ref T376, CVoiceSetup used in login component to override 2018-10-05 17:39:55 +02:00
Klaus Basan
b5a270dc09 Ref T376, context support for CVoiceSetup 2018-10-05 17:39:55 +02:00
Klaus Basan
a475d12339 Ref T376, voice (vatlib) getter/setter for CVoiceSetup 2018-10-05 17:39:55 +02:00
Klaus Basan
6390f5dc5e Ref T376, integrated voice form into server form 2018-10-05 17:39:55 +02:00
Klaus Basan
e51bbd1f5d Ref T376, adjusted CServer class ctor 2018-10-05 17:39:55 +02:00
Klaus Basan
3101a77614 Ref T376, adjusted sibling FSD setup class 2018-10-05 17:39:55 +02:00
Klaus Basan
0c3a89f1b5 Ref T376, voice setup form 2018-10-05 17:39:55 +02:00
Klaus Basan
b5cf65cefa Ref T376, renamed server settings file 2018-10-05 17:39:55 +02:00
Klaus Basan
c34339cd9b Ref T376, removed former audio settings 2018-10-05 17:39:55 +02:00
Klaus Basan
6abd13d13d Ref T376, integrated voice setup into server and adjusted FSD setup to support compare 2018-10-05 17:39:55 +02:00
Klaus Basan
70370edca3 Ref T376, voice setup and settings 2018-10-05 17:39:55 +02:00
Roland Winklmeier
28b404d065 Make Vatsim Voice UDP port configurable and 3290 the default 2018-10-05 17:39:55 +02:00
Roland Winklmeier
c72742029b [XSwiftBus] Set transponder info for all rendered aircraft
Without setting the transponder, no TCAS rendering is possible.

ref T374
2018-10-05 17:39:44 +02:00
Roland Winklmeier
616cc241f4 [XSwiftBus] Convert setPlanesTransponders to list setter
ref T374
2018-10-03 03:03:41 +02:00
Roland Winklmeier
65d00dca6e [XSwiftBus] Fix plural in CTraffic::setPlanesSurfaces 2018-10-03 03:03:41 +02:00
Roland Winklmeier
91179ba0ef [XSwiftBus] Fix DBus traffic introspect xml 2018-10-03 03:03:40 +02:00
Roland Winklmeier
da9c55486d [XSwiftBus] Add show/hide aircraft label menu item 2018-10-03 03:03:40 +02:00
Roland Winklmeier
ab45757c8d [XSwiftBus] Add message window menu items
- Popup window when a new message arrives
- Automatically hide window message after 5s

ref T359
2018-10-03 03:03:40 +02:00
Roland Winklmeier
cfc9c3166e Decouple flightloop processing from DBus
There are needs to not only run DBus tasks, but also different generic
tasks during the processing loop.
2018-10-03 03:03:40 +02:00
Roland Winklmeier
41ac858df8 Fix X-Plane checkable menu items
- menuItem ref was wrong
- CMenuItem::setChecked did not use the menu enum
- Remove the checked argument to CMenuItem constructor
2018-10-03 03:03:40 +02:00
Roland Winklmeier
84f1e21cf8 Add support for multiple Joystick devices
This includes a major refactoring of the Linux and Windows implementations
Each joystick device is now its own QObject. They all setup their own
native device instances and poll the button states.
On Windows, COM initialization has been removed since it caused segfaults
while releasing the DirectInput8 instance.

ref T254
2018-10-03 03:03:40 +02:00
Roland Winklmeier
fa74f28bca Add deviceName attribute to CJoystickButton
ref T254
2018-10-03 03:03:40 +02:00
Roland Winklmeier
f62ab3266f Implement log message fixmes in joystickwindows.cpp 2018-10-03 03:03:40 +02:00
Roland Winklmeier
28302feea0 Remove unnecessary updating of voice room callsigns
The voice room callsign will be set from the current context values right
before a new connection is made. Therefore all updates in between are not
necessary and can be removed.

ref T354
2018-10-03 03:03:40 +02:00
Roland Winklmeier
321c195f4b Change voice room callsign format to "callsign (userid)"
So far the callsign, was the callsign itself only. However, other VATSIM
clients expect it to include the user id in brackets.

ref T354
2018-10-03 03:03:40 +02:00
Roland Winklmeier
89ab1a0138 Add alternative method to poll keyboard state on Windows
It seems that Windows is frequently disconnecting the keyboard hook
(eventually if swift was too busy processing messages) and caused all hotkeys
to be unreliable.
Instead use a polling mechanism. The previous method is kept in code for
testing, but is disabled by compile time switch.
2018-10-03 03:03:40 +02:00
Roland Winklmeier
324e16121e Correct wrong variable types in CKeyboardWindows 2018-10-03 03:03:40 +02:00
Roland Winklmeier
23a1f86834 Connect to remoteHotkeyAction in CContextApplicationProxy::relaySignals
ref T330
2018-10-03 03:03:39 +02:00
Klaus Basan
85f7a37c8b Make sure there are no "illegal" characters in text messages 2018-10-03 03:03:39 +02:00
Klaus Basan
09f6738363 Ref T369, style 2018-10-03 03:03:39 +02:00
Klaus Basan
3d2c177637 Ref T369, text message component style / font size +/- 2018-10-03 03:03:39 +02:00
Klaus Basan
1a0bcdaecc Ref T369, allow to change font size +/- in text message style settings 2018-10-03 03:03:39 +02:00
Klaus Basan
499236c391 Ref T369, link font size signals with dock widget 2018-10-03 03:03:39 +02:00
Klaus Basan
35c035570f Ref T369, replace font style in style sheet from font dialog 2018-10-03 03:03:39 +02:00
Klaus Basan
b9ae33d126 Ref T369, fixed findChildren by adding Q_OBJECT macro
https://swift-project.slack.com/archives/G7GD2UP9C/p1537898045000100
2018-09-27 02:35:19 +02:00
Klaus Basan
df3fb1f1a8 Style FSD form (less height, as swift GUI is not high enough) 2018-09-27 02:35:04 +02:00
Klaus Basan
8416431e48 Mapping component, set simulator selector when simulator is connected 2018-09-25 21:06:23 +02:00
Klaus Basan
d62e904371 Ref T373, Qt::QueuedConnection for audio context -> GUI 2018-09-25 03:51:33 +02:00
Klaus Basan
5c165c4fe7 Ref T373, style 2018-09-25 03:47:46 +02:00
Klaus Basan
84970760c1 Ref T373, removed unused function 2018-09-25 03:19:28 +02:00
Klaus Basan
01cfe644d3 Ref T373, utility functions in COM system 2018-09-25 03:16:22 +02:00
Klaus Basan
684d2933e7 Ref T372, p3D version of releaseAIControl 2018-09-25 02:14:04 +02:00
Klaus Basan
5323cb09d7 Ref T372, fixed freeze so aircraft is really stable
see https://swift-project.slack.com/archives/G96QTUBEG/p1537784648000100
2018-09-25 02:14:03 +02:00
Klaus Basan
f50266a5a3 Ref T370, Ref T372 loopback situations updated from FSX/P3D simulator 2018-09-25 02:14:01 +02:00
Klaus Basan
a871579479 Ref T370, added public removeAllRemoteAircraft
* protected clearAllRemoteAircraftData
* ISimulator::clearAllRemoteAircraftData no longer calls clearAllRemoteAircraftData (circular)
2018-09-25 02:14:00 +02:00
Klaus Basan
24c2da67e7 Ref T372, style 2018-09-25 01:43:08 +02:00
Klaus Basan
418324e64f Ref T372, Ref T370 testing with emulated driver fixes
* added ground speed
* changed altitude parsing to CPqString::SeparatorsBestGuess
* signal when parts form is set
2018-09-25 01:39:08 +02:00
Klaus Basan
09acea6eb4 Ref T370, re-init terrain probe when all objects are removed 2018-09-24 00:54:09 +02:00