Commit Graph

8701 Commits

Author SHA1 Message Date
Mat Sutcliffe
151810d6fc Issue #15 Shared state unittest 2020-08-01 19:48:36 +01:00
Mat Sutcliffe
46caf4640b Issue #15 Classes for sharing a value list,
also built on top of the lower level API

Compared to the scalar classes they support features specific to lists.
This means they don't need to resend the whole list each time a value is appended.
2020-08-01 19:48:35 +01:00
Mat Sutcliffe
805cec7caf Issue #15 Classes for sharing a single value object,
built on top of the lower level API
2020-08-01 19:48:35 +01:00
Mat Sutcliffe
538421b0b7 Issue #15 Fixed dangling pointer in CDBusServer 2020-08-01 19:48:35 +01:00
Mat Sutcliffe
ee4e41d0a6 Issue #15 CCoreFacade owns an instance of CDataLinkDBus 2020-08-01 19:48:35 +01:00
Mat Sutcliffe
2ddc5d51f7 Issue #15 Added CDataLinkDBus, an implementation for sharing state between processes via DBus 2020-08-01 19:48:35 +01:00
Mat Sutcliffe
7df7de7f07 Issue #15 Added IDataLink, an interface for registering observers and mutators,
and CDataLinkLocal, an implementation for sharing state within a single process
2020-08-01 13:18:56 +01:00
Mat Sutcliffe
741dd45f67 Issue #15 Added CActiveObserver and CActiveMutator
These extend CPassiveObserver and CPassiveMutator with a one-to-many request/reply pattern.
2020-08-01 13:18:56 +01:00
Mat Sutcliffe
333804a0e6 Issue #15 Added CPassiveObserver and CPassiveMutator
These implement a many-to-many publish/subscribe pattern.
2020-08-01 13:18:56 +01:00
Mat Sutcliffe
073f1549a2 Issue #15 Added CVariant::matches()
If the contained object type has a matches() method, CVariant::matches()
will call that method and return its result.
(This is a utility to allow using CVariant to represent an event subscription.)
2020-08-01 13:18:56 +01:00
Mat Sutcliffe
8de217fbab Issue #15 Methods to generate a DBus object path from a CIdentifier 2020-08-01 13:18:55 +01:00
Mat Sutcliffe
6aa9f0cc25 Issue #15 Created CPromise, a way to set the result of QFuture objects
This enables several new features:
* singleShot can return a QFuture.
* a version of invokeMethod that returns a QFuture.
* CGenericDBusInterface::callDBusFuture, which returns a QFuture.
2020-08-01 13:18:55 +01:00
Mat Sutcliffe
07f6c8b73c Issue #15 CVariant can convert between CVariantList and our other container classes 2020-08-01 13:18:55 +01:00
Mat Sutcliffe
e8a0a0b6ba Issue #15 Register CSequence as a sequential container metatype 2020-07-31 00:57:46 +01:00
Mat Sutcliffe
3bd444dfb7 Issue #15 Style 2020-07-31 00:57:45 +01:00
Mat Sutcliffe
5edde582b2 Fix misleading error message 2020-07-31 00:57:45 +01:00
Mat Sutcliffe
4e56fb7f69 Fixed broken timer for debug message 2020-07-31 00:57:45 +01:00
Mat Sutcliffe
022a5b2cd3 Fix missing metatype for CElevationPlane (fixes dbus signals and slots) 2020-07-31 00:57:45 +01:00
Mat Sutcliffe
94eaa1af17 Remove useless code 2020-07-31 00:57:44 +01:00
Lars Toenning
71c980446d Flash taskbar if new important message arrives 2020-07-28 00:25:33 +02:00
Lars Toenning
f987b81e6d Add feedback when .wallop message is sent
This does the following:
- Opens a message-tab called "SUP" when a .wallop message is sent.
- Throws a validation error if another message is directly send into this "SUP" channel as another .wallop should be used.
2020-07-26 19:46:06 +02:00
Lars Toenning
c4202d73f5 Add validationError if .wallop is sent while not connect
Same is already done for .msg (and equivalent)
2020-07-26 19:46:06 +02:00
Lars Toenning
6cf7571dff Add user-defined literals for physical quantities
Fixes #14
2020-07-17 10:33:01 +02:00
Lars Toenning
368dd1f46d [PQ] Add unary minus operator 2020-07-17 10:33:01 +02:00
Lars Toenning
89434c355d [FG] Update compatibility check 2020-07-07 18:54:30 +02:00
Lars Toenning
e7bc66076c [FG] Add surface/transponder support + sync changes from xswiftbus
Fixes #57
2020-07-07 18:54:30 +02:00
Mat Sutcliffe
f9c9ee197a #42 Remove code for reading update info from datastore 2020-07-04 21:34:10 +01:00
Mat Sutcliffe
38a1d24411 #42 Enable reading update info from GitHub Packages REST API 2020-07-04 21:33:23 +01:00
Mat Sutcliffe
8375881941 Remove dead code 2020-07-04 21:30:53 +01:00
Mat Sutcliffe
eae0f5c008 #42 CRemoteFile name can include directory path components 2020-07-04 21:30:53 +01:00
Mat Sutcliffe
5ad0e83cea Doxygen 2020-07-04 21:30:53 +01:00
Mat Sutcliffe
170727fca2 Update libxplanemp 2020-06-29 18:34:16 +01:00
Mat Sutcliffe
670b1a1986 Fix cppcheck and compiler warnings 2020-06-29 18:34:16 +01:00
Mat Sutcliffe
78987a678f Suppress Qt 5.15 deprecation warnings 2020-06-29 18:34:14 +01:00
Mat Sutcliffe
d4ee4896c1 Update libxplanemp 2020-06-29 18:34:14 +01:00
Mat Sutcliffe
f68b1e1a88 #28 Use a hash of toolbar and dockwidget names as crosscheck of window geometry format 2020-06-29 17:22:18 +01:00
Mat Sutcliffe
372e9876db #28 Save window geometry in an ini file in the application settings directory 2020-06-29 17:22:13 +01:00
Mat Sutcliffe
d1aa26ed2f #28 Style 2020-06-29 17:22:10 +01:00
Lars Toenning
1d4aa96e9b Add warning about expire and redesign warning/error popup
Fixes Github Issue #38
2020-06-29 17:22:09 +01:00
Klaus Basan
189bb15936 Fixes mapping tool livery form,
if form is empty allow a signal from airline form to override the value
2020-06-29 17:22:07 +01:00
Mat Sutcliffe
68cb177d96 Revert previous commit, as the corresponding changes have not yet been merged in FG 2020-06-29 17:22:04 +01:00
Lars Toenning
a222d09f21 [FG] Add surface/transponder support + sync changes from xswiftbus 2020-06-12 19:07:57 +01:00
Lars Toenning
6b811f9d47 Fix gcc9 compiler warnings
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58407
2020-06-12 19:07:57 +01:00
tzobler
66a1a87805 protocol type -MD added 2020-06-12 19:07:57 +01:00
Klaus Basan
637bae5bb6 #32 use remove/add to replace hotkey
possible workaround for "edited hotkey" not working
2020-06-12 19:07:57 +01:00
Klaus Basan
7981815ddf Improvements on livery selector and form, also airline form
* use id first to find data
* use id in selector and fields
* based on issue https://discordapp.com/channels/539048679160676382/717493722392297493/717511173146411061
2020-06-12 18:42:57 +01:00
Klaus Basan
89c241b2e7 Utility functions for livery 2020-06-12 18:42:57 +01:00
Klaus Basan
6fc3d55d9a Fixed mute handling and audio LED
* AFV client has own "changedMute" signal
* unmute if started/stopped AFC client
* in statusbar also check audio start/stop to refresh LEDs
* see https://discordapp.com/channels/539048679160676382/539486309882789888/713491666971000872
2020-06-12 18:42:57 +01:00
Klaus Basan
24bc57ac32 [Weather] Allow to trigger reload of weather from UI 2020-06-12 18:42:57 +01:00
Klaus Basan
c2ecf167b7 [UI] Mapping wizard 2020-06-12 18:42:56 +01:00