Commit Graph

3677 Commits

Author SHA1 Message Date
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
Klaus Basan
c1622951b3 Util. function for class name 2020-06-12 18:42:53 +01:00
Mat Sutcliffe
26bd157551 Ref T786 Fixed dangling pointer in CSlot::singleShot 2020-06-12 18:42:52 +01:00
Klaus Basan
e63129267d Ref T786, smaller improvements
* allow to use ICoordinateGeodetic, not the CCoordinateGeodetic implementation only
* allow to init weather grid by initial ICoordinateGeodetic
2020-06-12 18:42:52 +01:00
Klaus Basan
95ca63ce6d Ref T786, fixed weather sample
* RR found that no alt value means a huge number of grid points is parsed
* see https://discordapp.com/channels/539048679160676382/539925070550794240/701762348506939693
2020-06-12 18:42:51 +01:00
Klaus Basan
0a2b25e409 [PQ] Parsing with default unit, bug fixed 2020-06-12 18:42:51 +01:00
Klaus Basan
f9bb71c8ee Ref T786, FSX/P3D METAR (weather inject)
* allow to select which layers are converted to METAR string
* allow to pass sim.flag (FSX/P3D)
* winds aloft seem to crash FSX, disabled(!)
2020-06-12 18:42:51 +01:00
Klaus Basan
1bdcd4ac9a [Parts] Experimental try with aircraft parts, see https://discordapp.com/channels/539048679160676382/539846348275449887/701438699048796280 2020-06-12 18:42:50 +01:00
Klaus Basan
8fe11c7633 Ref T786, used weather data printer code for weather description (to QString) 2020-06-12 18:42:50 +01:00
Klaus Basan
cc77183b05 Ref T786, changed provider interface, addded identifier based version
* virtual void requestWeatherGrid(const BlackMisc::Geo::ICoordinateGeodetic &position, const BlackMisc::CIdentifier &identifier)
* CWeatherGridAware function do not need to be virtual
2020-06-12 18:42:49 +01:00
Klaus Basan
d5a81a349b Style 2020-06-12 18:42:49 +01:00
Klaus Basan
cfc748420c Ref T786, stub for getting description of weather grid 2020-06-12 18:42:49 +01:00
Klaus Basan
0fa6a6e4c3 Ref T786, singleShot for CSlot 2020-06-12 18:42:49 +01:00
Klaus Basan
4d7468f913 [FSD] Check attributes of full JSON parts 2020-06-12 18:42:48 +01:00
Klaus Basan
668659248e Send distance if own aircraft has been moved 2020-06-12 18:42:48 +01:00
Klaus Basan
8278a7d5e6 [P3D] Adjustments for P3D v5
* guess version
* added new version selection
2020-06-12 18:42:48 +01:00
Klaus Basan
4e45249142 Use "fixed "gear down" if on ground.
Reason: Some sims do send incorrect gear down.

Follow up of T778
2020-06-12 18:42:48 +01:00
Klaus Basan
148368ca0c Some fixes for interpolation setups
* added missing signal
* refresh list on reload button press
* display pitch value
* list ctor for single object
2020-06-12 18:42:48 +01:00
Klaus Basan
9b031bb582 [PQ] Allow to provide a default unit for parsing, e.g. "0" -> "0ft" 2020-06-12 18:42:47 +01:00
Klaus Basan
e839820940 Check UNC path to avoid "hanging" if other machine is not reachable 2020-06-12 18:42:47 +01:00
Klaus Basan
04562a6651 Style, as_const 2020-06-12 18:42:46 +01:00
Klaus Basan
a3f646a792 [FS9] Function for at least halfway correct engine type 2020-06-12 18:42:46 +01:00
Klaus Basan
c3aac2f581 [Weather] Ref T786, fixes some values for "thunderstorm" plus some smaller fixes 2020-06-12 18:42:46 +01:00
Klaus Basan
f14184ddc0 Style and minor UI tweaks 2020-06-12 18:42:45 +01:00
Klaus Basan
b5d100b71b Ref T778, style 2020-06-12 18:42:45 +01:00