Klaus Basan
92deb19572
Also allow to use SHIFT + button for models, aircraft
...
* added setTab functions
* shift can be used to reset to first tab
2018-08-09 01:25:51 +02:00
Roland Winklmeier
461d146619
Test port number string conversion to short instead of int
...
Port numbers have a small range and are typically expressed as short ints.
Therefore test the string conversion to short instead.
2018-08-09 01:25:49 +02:00
Roland Winklmeier
6a8658f04c
Declare destructor virtual for IMetarDecoderPart
2018-08-09 01:25:48 +02:00
Roland Winklmeier
a36023f6d8
Add missing copy constructor and assignment operators
2018-08-09 01:25:46 +02:00
Roland Winklmeier
3774f2b60f
Fix cppcheck warnings and cleanup suppression config
...
- redundantAssignment
- knownConditionTrueFalse
2018-08-09 01:25:41 +02:00
Roland Winklmeier
000bdee457
Properly default initialze DBus dispatcher
2018-08-09 01:25:39 +02:00
Roland Winklmeier
868cae446a
Fix misplaced bracket
2018-08-09 01:25:37 +02:00
Klaus Basan
b5ed7ccd0b
Ref T298, matcher improvements by using setup
...
* setup configurable
* made some functions "static" (future perspective threadsafe)
* score/reduction use some reduction functions upfront
2018-08-09 01:25:36 +02:00
Klaus Basan
d78a7e639a
Improved default for matching messages based on model set size
2018-08-09 01:25:34 +02:00
Klaus Basan
8b6bdf2276
Ref T298, added algorithm and score values to matching setup
2018-08-09 01:25:33 +02:00
Klaus Basan
bd8d11d9d6
Simulator "live data", clean up when simulator status changes (remove no longer valid values)
2018-08-09 01:25:31 +02:00
Klaus Basan
68607a3cb8
Ref T298, better string handling/messages
2018-08-09 01:25:30 +02:00
Klaus Basan
d310c9c843
Ref T298, model matching settings trait and used settings in simulator context
2018-08-09 01:25:28 +02:00
Klaus Basan
5c5cab3d80
Ref T298,settings matching component which can save setup to context
2018-08-09 01:25:26 +02:00
Klaus Basan
0b952e7336
Ref T298, get/set matching setup in context plus some minor style fixes
2018-08-09 01:25:24 +02:00
Klaus Basan
6fbdd700ae
Ref T298, matching setup form added
2018-08-09 01:25:22 +02:00
Klaus Basan
264ef7f5cb
Ref T298, move matcher setup into BlackMisc::Simulation
2018-08-09 01:25:20 +02:00
Klaus Basan
c0ca56ee93
Ref T295, fix for the "no network config" issue
...
* details: https://stackoverflow.com/questions/51686943/no-qnetworkconfiguration-although-i-can-connect-to-wifi
* network accessibility check can be disabled if network config looks suspicious
* using QNetworkConfigurationManager
2018-08-09 01:25:18 +02:00
Klaus Basan
bab821d3f1
Ref T295, QNetworkConfiguration as string
2018-08-09 01:25:14 +02:00
Klaus Basan
92a7d650e3
Ref T299, added pitch to interpolation form
2018-08-09 01:25:13 +02:00
Klaus Basan
b81ff8b9d6
Ref T299, set "pitch on ground" in interpolator
2018-08-09 01:25:05 +02:00
Klaus Basan
2a50454b03
Ref T299, allow to force "pitch on ground" settings
2018-08-09 01:25:02 +02:00
Klaus Basan
ba9c979769
Ref T297, network setup form (dynamic offset times)
2018-08-07 20:41:09 +02:00
Klaus Basan
1f17b49e6a
Ref T297, allow "null" values as value
2018-08-07 20:41:08 +02:00
Klaus Basan
b671c2a0a5
Style, removed redundant CForm overrides
2018-08-07 20:41:06 +02:00
Klaus Basan
b4f39f6226
Changed order of platform and version plus cast to int
2018-08-07 20:41:05 +02:00
Klaus Basan
d05b4da2a9
Ref T299, renaming
2018-08-07 20:41:04 +02:00
Klaus Basan
ff9d6147c8
Ref T299, pitch bank heading info
2018-08-07 20:41:03 +02:00
Klaus Basan
007e175721
Fix Doxygen warning suddenly showing up
2018-08-07 20:41:02 +02:00
Roland Winklmeier
2f4887b5cf
Add publishCppcheck to Jenkins Pipeline
...
This was not supported by the plugin previously, but got now fixed in the
last version.
2018-08-07 20:41:00 +02:00
Roland Winklmeier
f637b2996d
Fix floating point comparison
2018-08-07 20:40:59 +02:00
Roland Winklmeier
05e0480bb4
Move XPlane gnd flag handling from parts to situation
...
ref T276
2018-08-07 20:40:57 +02:00
Roland Winklmeier
10a0575a80
Fix clang static analyzer warnings
2018-08-07 20:40:56 +02:00
Roland Winklmeier
9f8f29f8fd
Remove obsolete and commented Qt code from XSwiftBus
2018-08-07 20:40:54 +02:00
Roland Winklmeier
ce0b63f8f1
Add simple config file support to XSwiftBus
...
This adds a simple configuration file to XSwiftbus. So far, only the
xswiftbus DBus server is configured.
ref T291
2018-08-07 20:40:52 +02:00
Roland Winklmeier
9b1b39e3a4
Prefill XSwiftBus server selector widget with default settings value
...
Initially, the port is filled with 45000 which is reserved for GUI<->Core
DBus communication. Therefore, the default address must be overwritten.
The displayed value might change again in case, a custom TCP address and port
is selected in the user settings.
ref T291
2018-08-07 20:40:51 +02:00
Roland Winklmeier
ae07d9151e
Add method to change the default displayed P2P address in DBus server address selector
2018-08-07 20:40:49 +02:00
Roland Winklmeier
1ead5fc356
Add WARNING_LOG macro to xswiftbus
2018-08-07 20:40:48 +02:00
Roland Winklmeier
2765de2b93
Add method to get default value from a Setting
2018-08-07 20:40:47 +02:00
Roland Winklmeier
4d9141fd50
Don't use the system bus anywhere
...
The system bus is owned by root and should also be on Linux only used
for kernel messages. No user applications should transmit on it.
2018-08-07 20:40:46 +02:00
Roland Winklmeier
6a7a9ff710
Refactor X-Plane Plugin Config Window to use DBus server address selector
...
ref T291
2018-08-07 20:40:45 +02:00
Roland Winklmeier
488ff96ce6
Add DBus P2P support to XSwiftBus
...
ref T291
2018-08-07 20:40:43 +02:00
Roland Winklmeier
fd45de89d9
Fix CDBusConnection::isConnected
...
ref T291
2018-08-07 20:40:42 +02:00
Roland Winklmeier
a764fa0d03
Move DBus event processing from DBusConnection to DBusDispatcher
...
ref T291
2018-08-07 20:40:41 +02:00
Roland Winklmeier
59da68da5e
Delay setting the DBusConnection for a DBusObject
...
Previously, the DBusconnection had to be set at construction time and could
not be changed over the DBusObject life time. Now a new connection can be
set anytime and as often as required.
The shared ownership is now also properly implemented by shared pointers.
ref T291
2018-08-07 20:40:40 +02:00
Roland Winklmeier
01085f24b3
Allow DBusMessage sender and destination values to be empty
...
ref T291
2018-08-07 20:40:39 +02:00
Roland Winklmeier
f881b118b6
Connect XSwiftBus signals manually in the proxy
...
This way we can check the return value and make sure that it is properly
connected.
ref T291
2018-08-07 20:40:38 +02:00
Roland Winklmeier
ef8c7d7d1c
Fix rare crash and swift not being notified about a failed plane adding
...
This fixes are rare case, that no XPMP plane could be created (no model
was found) and this was not signaled to swift.
2018-08-07 20:40:36 +02:00
Roland Winklmeier
dc9b2a42f7
Fix the correct naming of altitude and elevation
2018-08-07 20:40:34 +02:00
Roland Winklmeier
d05b2982cb
Align argument names in XSwiftBus traffic introspection file
2018-08-07 20:40:33 +02:00