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
Roland Winklmeier
cff12d78fb
Style improvement
2018-08-07 20:40:31 +02:00
Roland Winklmeier
ee2b70ffcc
Change argument type to double
...
DBus does not support float. This was not causing any error, because it
got implicitly converted.
2018-08-07 20:40:30 +02:00
Klaus Basan
08113e8c1d
Ref T298, adjusting used aircraft matcher (using setup)
2018-08-07 20:40:29 +02:00
Klaus Basan
3d19de1331
Ref T298, matching setup (settings), making the matching configurable
2018-08-07 20:40:20 +02:00
Klaus Basan
dd687b7d90
Cppcheck and unit test fixes
2018-08-07 20:39:06 +02:00
Klaus Basan
fe99eb0fed
Style and some view columns/UI renamings
2018-08-01 03:06:26 +02:00
Klaus Basan
ce004be6ac
Ref T297, network settings (dynamic offset times)
2018-08-01 03:06:25 +02:00
Klaus Basan
abafbc335a
Ref T297, calculate ts differences ITimestampObjectList::getTimestampDifferenceMinMaxMean
2018-08-01 03:06:24 +02:00
Klaus Basan
e20ee986a1
Minor UI fix
2018-08-01 03:06:21 +02:00
Klaus Basan
1709119ebf
Setup form fix, do not hide "override" bar if "override" flag changes
2018-08-01 03:06:20 +02:00
Klaus Basan
89ae16025e
Read only checkbox style
2018-08-01 03:06:19 +02:00
Klaus Basan
bc39695ecc
GUI crashes if stylesheet changes, this provides a fix
2018-08-01 03:06:17 +02:00
Klaus Basan
418584c5e3
Style
2018-08-01 03:06:16 +02:00
Klaus Basan
4ca6bb11aa
Style change signals used Qt::QueuedConnection
2018-07-31 01:43:38 +02:00
Klaus Basan
d9f0066ec4
Ref T296, provider stores scenery offset in situation
2018-07-31 01:43:37 +02:00
Klaus Basan
c8fc50e787
Ref T296, adding scenery offset as situation member plus utility functions
...
* frontOrNull/backOrNull
* added offset in model
* style/renaming
2018-07-31 01:43:36 +02:00
Klaus Basan
90df1e2521
Keyboard shortcut
2018-07-31 01:43:35 +02:00
Klaus Basan
6c55ee617f
Ref T296, scenery offset disabled as per default (experimental)
2018-07-31 01:43:34 +02:00
Klaus Basan
4fef6fe0b2
Jenkins not yet supporting the new QMetaObject::invokeMethod syntax, locally on Qt 5.11 it is working
2018-07-31 01:43:33 +02:00
Klaus Basan
c282d4e1f8
Ref T295, network watchdog optimizations
...
* constructor can pass network accessibility as default
* ping URL now constructed in global setup
* watchdog will prevent unnecessary signals by checking if state has really changed (there are redundant QAM signals for QNetworkAccessManager::networkAccessibleChanged)
* refactorings, thread checks
2018-07-31 01:43:32 +02:00
Klaus Basan
1b973c4796
Ref T295, moved getDbClientPingServiceUrl to global setup
2018-07-31 01:43:28 +02:00
Klaus Basan
fbfbdedb65
Ref T294, display simulator internals correctly
...
* view rows not selectable
* added settings to ISimulator
* ISimulator implements initSimulatorInternals() and sets default values
* also display plugin name
* XPlane using initSimulatorInternals()
2018-07-31 01:43:27 +02:00
Klaus Basan
a05d11fff0
Ref T294, name pair style
2018-07-28 00:07:36 +02:00
Klaus Basan
5966a1ead4
Display platform in title bar (easier to identify screenshot)
2018-07-27 23:33:14 +02:00
Klaus Basan
106ef6709e
Ref T285, Ref T292 improved background updater
...
* use atomic members (precaution)
* refactoring
2018-07-27 23:31:29 +02:00
Klaus Basan
a8a36591f8
Ref T285, Ref T292 central caches only work in same thread
2018-07-27 23:27:10 +02:00
Klaus Basan
19f5fd1735
New syntax for QMetaObject::invokeMethod(this, &CWorker::deleteLater)
2018-07-27 09:36:09 +02:00
Klaus Basan
e1c7edb24d
No BLACK_VERIFY if base url function
2018-07-27 04:19:27 +02:00
Klaus Basan
1746388560
Ref T292, Ref T285 use CEntityFlags::isFinishedReadState to also check against restricted read plus refactoring
2018-07-27 04:02:50 +02:00
Klaus Basan
0c4a2209f2
Ref T292, Ref T285 fixed CBackgroundDataUpdater::syncDbEntity which was called always with model entity
2018-07-27 01:18:37 +02:00
Klaus Basan
c253520f4a
Ref T292, Ref T285 cache singleShot guard
2018-07-27 01:15:57 +02:00
Klaus Basan
ceaad53375
Ref T292, Ref T285 avoid unnecessary calls of cache synchronize in model set/model caches
2018-07-27 01:13:16 +02:00
Klaus Basan
c7e6f79a07
Ref T292, Ref T285 avoid unnecessary calls of cache synchronize in DB readers
...
Rational: Normally calling synchronize multiple times does not matter. However, it can time out if the cache is in use (e.g. saving) and create an exception. This exception is just unwanted "noise".
2018-07-27 01:11:34 +02:00
Klaus Basan
efbd24e10e
Model reader refactorings
2018-07-26 22:32:10 +02:00
Klaus Basan
1fd7ad6891
Ref T292, Ref T285 background updater improvements
...
* less cycles
* message history
* more detailed status messages
2018-07-26 21:43:51 +02:00
Klaus Basan
5a51d06e33
SingleShot guarding
2018-07-26 21:42:00 +02:00
Klaus Basan
25b446deac
Layout of status message form
2018-07-26 21:41:30 +02:00
Klaus Basan
4f3cb6447f
Ref T292, Ref T285 minor adjustments in worker/cache
2018-07-26 21:40:52 +02:00
Klaus Basan
7a58cc2222
Ref T292, Ref T285 moved setToConnectedSimulator into simulator selector so it can be used elsewhere
2018-07-26 21:40:30 +02:00
Klaus Basan
94e3b89479
Ref T292, Ref T285 model loader and cache improvements
...
* multi caches also emit when values are set and synchronized
* model loader detects cache changed
* added CCentralMultiSimulatorModelCachesAware
2018-07-26 04:32:40 +02:00
Klaus Basan
2838e90e75
Ref T292, Ref T285 XPlane loader to set file timestamp correctly
2018-07-26 04:32:39 +02:00
Klaus Basan
a6ee6d4b72
Ref T292, Ref T285 minor style improvements, renamings
2018-07-26 04:32:38 +02:00
Klaus Basan
338c5b344a
Ref T292, Ref T285 function to set file timestamp
2018-07-26 02:13:53 +02:00