Klaus Basan
09e65a2525
Ref T739, renamed CContext -> IContext
...
This reflects the purpose better, it is a base class for all context interfaces
2019-10-11 19:00:35 +01:00
Roland Rossgotterer
b5a2f2ad13
AFV initial commit
2019-10-11 18:58:47 +01:00
Roland Rossgotterer
4772aadc1a
Replace INetwork::CConnectionStatus with proper value object
2019-09-17 17:29:25 +02:00
Klaus Basan
6521b89fdd
Ref T717, simulator ground elevation
2019-09-16 22:41:39 +01:00
Klaus Basan
f80e093a0a
Ref T717, function to send parts/situation for testing and in the model browser
2019-09-16 22:41:37 +01:00
Klaus Basan
903cf07eac
Ref T717, "testRemoteAircraft" simulator context functions
2019-09-16 22:41:35 +01:00
Klaus Basan
4c9654d81d
Use simulator from plugin if plugin is connected
2019-09-16 22:41:34 +01:00
Klaus Basan
2e96caef5c
Functions to remove models from model set
2019-09-16 22:41:32 +01:00
Klaus Basan
902d18339a
Improved manual changing of aircraft and reset
...
* deferred adding and reset
* HTML overlay messages
* debug code for DBus messages
2019-09-16 22:41:32 +01:00
Klaus Basan
083293c016
Style
2019-09-16 22:41:28 +01:00
Klaus Basan
2dc72163f2
Ref T681, set CG from DB based on settings
2019-09-16 22:40:36 +01:00
Klaus Basan
4237839bbd
Ref T704, split matching utils for logging in aviation context
2019-09-16 22:40:32 +01:00
Klaus Basan
7b03ed5aec
Ref T554, signal if auto publish data are written
2019-09-16 22:40:07 +01:00
Klaus Basan
71e09b008f
Ref T681, renamed to rememberElevationAndSimulatorCG and style
2019-09-16 22:38:08 +01:00
Klaus Basan
6d490e9a49
Ref T681, preparations to use CG from DB
...
* renamed to "getSimulatorCG" ...
* pass simulator settings to sim.env.provider to decide what CG to use
* store DB CG and init it when aircraft is added
* style
2019-09-16 22:38:07 +01:00
Klaus Basan
ab5fc6f0ee
Ref T658, adjusted matching with script
...
* return values changed
* pass in model and matched model
* JavaScript objects for web services, model set
* allow to pass back a model
2019-09-16 20:29:54 +01:00
Klaus Basan
a646e122af
Avoid ASSERT from emulated driver
...
* not all plugins are installed
* use default simulator if there is no simulator info
2019-09-16 20:29:44 +01:00
Klaus Basan
c51dce8bfd
Style
2019-05-13 11:20:44 +02:00
Klaus Basan
a553dfc708
Ref T632, minor improvements for no callsign
2019-05-13 11:20:40 +02:00
Klaus Basan
2d654e2fef
Ref T609, tristate LED showing if synced with simulator com
2019-05-13 11:20:40 +02:00
Klaus Basan
53fb28d70c
Ref T609, setting if COM is synced with simulator
2019-05-13 11:20:39 +02:00
Klaus Basan
e8ea050882
Trigger validation with sim.directory
...
Ref T247 follow up
2019-04-11 22:12:18 +01:00
Klaus Basan
d51b26cf8d
Aligned signatures for context and dialog to use sim.directory in validator
...
Ref T247 follow up
2019-04-11 22:12:17 +01:00
Klaus Basan
0c335beea6
Style
2019-04-11 22:12:16 +01:00
Klaus Basan
0d2e6dd997
Ref T566, configurable matching log in matcher/simulator components
...
* log flag/enum in own file
* pass "what to log" as parameter
2019-04-11 22:12:13 +01:00
Klaus Basan
50d886791a
Ref T566, matching log flag/enum to decide what is being logged
2019-04-11 22:12:12 +01:00
Klaus Basan
859a418691
Ref T566, added "short log" parameter
2019-04-11 22:11:39 +01:00
Klaus Basan
6ca6d12851
Added "isWeatherActivated" based on the discussion with LT
2019-04-11 22:11:34 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
bae7680e59
Ref T401, server info also when not connected
2019-02-22 20:36:31 +00:00
Mat Sutcliffe
fe7a45afcf
Ref T516 Update CStatusMessage call sites to use new syntax.
2019-02-22 20:35:51 +00:00
Klaus Basan
73e566a76e
ChangedModel in ownAircraft context was not really used.
...
However, there are cases where the "own model" is changed via own model context, mostly in the emulated driver.
* made changedModel -> ps_changedModel a "private" signal
* connected it to simulator context
* used identifier to avoid roundtrips
So the "ownAircraftModelChanged" signal of the simulator context is to be used
2019-02-22 20:35:45 +00:00
Klaus Basan
2f450ec9c5
Ref T515, implemented added failover strategy and try again <n> times
2019-02-22 20:35:42 +00:00
Klaus Basan
0ac6739377
Ref T515, context function "isValidationInProgress"
2019-02-22 20:35:40 +00:00
Klaus Basan
2dd396c0df
Ref T515, renaming to "isKnownModelInSet"
2019-02-22 20:35:40 +00:00
Klaus Basan
faddf40ba7
Ref T515, functions for matcher setting/getting disabled models
2019-02-22 20:35:38 +00:00
Klaus Basan
85cf339e04
Ref T515, some minor adjustments
...
* use validation status messages for prerequisites
* SwiftGuiStd::onRequestedConsoleMessage
* displayInOverlayWindow for HTML messages
2019-02-22 20:35:37 +00:00
Klaus Basan
cea6611656
Ref T515, added background validation in simulator context
...
* added signals
* added validator
2019-02-22 20:35:37 +00:00
Klaus Basan
a0c8f3778b
Ref T515, context menus for re-matching
...
* added re-matching for single aircraft
* re-ordered
2019-02-22 20:35:33 +00:00
Klaus Basan
58cfdd1bb9
Ref T492, alias in model lists and model
...
Search for alias and modelstring in matching
2019-02-22 20:35:22 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Mat Sutcliffe
bd9948bbff
Ref T486 Using QMetaObject::invokeMethod with pointer-to-member-function (or functor).
2019-02-22 20:34:53 +00:00
Klaus Basan
0970dbdcfc
Ref T451, disable model (in model set) functions for context
2019-02-22 20:24:05 +00:00
Mat Sutcliffe
6c05c5249d
When calling arg() on a QString constructed from a literal, use QStringLiteral.
2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ca813a1814
Fixed clazy warning: missing emit keyword.
2019-02-22 20:23:42 +00:00
Mat Sutcliffe
8979b5257e
Fixed clazy warnings: returning void expression.
2019-02-22 20:23:34 +00:00
Klaus Basan
c591728e88
Aircraft ICAO code of own model is wrong
...
Although the reverse lookup of a model is correct, it's aircraft ICAO code is wrong
Issues found
* in the driver the ICAO code is permanently overridden -> commented out
* there are two contexts, own aircraft and simulator, but only one uses reverse lookup -> now both
* using Qt::QueuedConnection for context -> GUI
2018-12-11 00:51:31 +01:00
Roland Rossgotterer
060c3ee492
Remove the warning about conflicting X-Plane plugins
...
This warning got superseded by the return value from CTraffic::acquireMultiplayerPlanes. All plugins can live side by side as long as nobody else has multiplayer planes acquired. If so, we warn the user directly and tell him the plugin name.
2018-11-29 20:54:26 +01:00
Klaus Basan
a6b7b10651
Ref T420, signal when simulator no longer is vital
2018-11-16 02:49:56 +01:00
Klaus Basan
8cf7f676fa
Ref T423, function to recalculate all aircraft (used when aircraft is moved or such)
2018-11-16 02:49:52 +01:00