Commit Graph

3901 Commits

Author SHA1 Message Date
Mat Sutcliffe
ced60a4768 Issue #79 Path elements below the root are no longer salient in xpmp2 2020-08-21 18:54:28 +01:00
Mat Sutcliffe
5b14cf7f71 Style: renaming methods 2020-08-17 19:14:56 +01:00
Mat Sutcliffe
2f22904540 Issue #73 Unittest for CIdentifier dbus object path conversion 2020-08-16 14:54:36 +01:00
Mat Sutcliffe
97fe8069b0 Issue #73 Add extra info to DBus error messages 2020-08-16 14:54:36 +01:00
Mat Sutcliffe
1fd044af70 Issue #73 Percent-encode for a reversible conversion to dbus object path
Use underscore instead of percent, as the only
non-alnum char allowed in dbus path elements.
2020-08-16 14:54:35 +01:00
Mat Sutcliffe
8e3a861a3f Issue #73 Drop trailing padding in base64 encoding 2020-08-16 00:09:06 +01:00
Mat Sutcliffe
3ea0c7f2a5 Issue #17 Report errors for unsupported CSL formats 2020-08-10 22:02:24 +01:00
Mat Sutcliffe
660f3fc17b Issue #69 Menu item to launch CSL2XSB in own models component 2020-08-10 12:51:24 +01:00
Mat Sutcliffe
19e409a451 Issue #69 Add icon for terminal applications 2020-08-10 12:51:24 +01:00
Mat Sutcliffe
f3c4af3121 Fix stuttering by adding basic linear interpolation in xswiftbus 2020-08-05 19:45:42 +01:00
Mat Sutcliffe
5548d8af2d Issue #17 Udjust to model string changes in xplanemp2 2020-08-02 23:01:30 +01:00
Mat Sutcliffe
2ae0352e75 [doxygen] Fix broken groupings 2020-08-01 19:48:37 +01:00
Mat Sutcliffe
d1e177a4ba Issue #15 [GUI] Use filter to avoid sending ignored messages over dbus 2020-08-01 19:48:36 +01:00
Mat Sutcliffe
7382564633 Issue #15 Classes for sharing the history of log messages 2020-08-01 19:48:36 +01:00
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
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
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
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
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
Mat Sutcliffe
38a1d24411 #42 Enable reading update info from GitHub Packages REST API 2020-07-04 21:33:23 +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
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
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
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
89c241b2e7 Utility functions for livery 2020-06-12 18:42:57 +01:00
Klaus Basan
8d51c42cfc Ref T784, joystick (PTT) buttons
* style
* more detailed logs
2020-06-12 18:42:56 +01:00
Klaus Basan
947e393b03 [P3D] Support for v5, wrong path used for validation
* guess version in validation
* changed some values to v5 as default
* search also for future versions of P3D (e.g. v5)
2020-06-12 18:42:56 +01:00
Roland Rossgotterer
9fa3221abc Replace deprecated endl with Qt::endl 2020-06-12 18:42:54 +01:00
Klaus Basan
fccaf1fae1 Fixing some bugs in simulator, use CCrashHandler::instance()->crashAndLogAppendInfo IF NOT shutting down 2020-06-12 18:42:54 +01:00
Klaus Basan
2c6794a009 StringBuilder for client 2020-06-12 18:42:54 +01:00
Klaus Basan
54646c8edb [LOG] Ignore some Qt warnings in released swift version
* those warnings confuse the user
* not ignored in DEV versions
* see https://discordapp.com/channels/539048679160676382/539925070550794240/704375325336928338
2020-06-12 18:42:54 +01:00
Klaus Basan
e50520c0aa Added a component for aircraft parts
* internals page and log.display both use that component
* complete parts code now encapsulated
2020-06-12 18:42:53 +01:00
Mat Sutcliffe
26af392085 Ignore null pointer warnings in rapidjson 2020-06-12 18:42:53 +01:00
Mat Sutcliffe
20c6bef800 Fixed mistakes in CStatusMessage copy assignment operator 2020-06-12 18:42:53 +01:00