Commit Graph

77 Commits

Author SHA1 Message Date
Klaus Basan
a6ee6d4b72 Ref T292, Ref T285 minor style improvements, renamings 2018-07-26 04:32:38 +02:00
Klaus Basan
4ded1636a5 Ref T292, Ref T285 replaced model set loader in context 2018-07-25 02:37:08 +02:00
Klaus Basan
ac406d43f6 Ref T286, renaming / adding utility functions in simulator info 2018-07-09 22:30:24 +02:00
Klaus Basan
ca87784509 Ref T275, remember CG per model string 2018-07-09 22:30:22 +02:00
Klaus Basan
eaa40e8289 Per default enable matching log 2018-06-27 12:49:16 +02:00
Klaus Basan
69193f089a Minor tweaks, style 2018-06-25 02:04:35 +02:00
Klaus Basan
d3796fc65a Ref T275, added param "ignoreSameAsGlobal" in function "setInterpolationAndRenderingSetupsPerCallsign" 2018-06-20 00:58:47 +02:00
Klaus Basan
73ea22530c Ref T275, override simulator setup provider functions to emit signals
* the provider itself is no QObject and cannot emit signals
* removed redundant function setInterpolationAndRenderingSetup
2018-06-20 00:58:41 +02:00
Klaus Basan
7bee8e9ee8 Formatting 2018-06-01 01:30:42 +02:00
Klaus Basan
9c33c5d9fc Ref T245, Ref T261, added functions for "follow plane", "setup changed" signal in context and simulator interface 2018-05-18 00:25:01 +02:00
Klaus Basan
4ced6b4f97 Formatting 2018-05-18 00:24:58 +02:00
Klaus Basan
3f4cb7529c Guard QTimer::singleShot 2018-05-08 16:06:52 +02:00
Klaus Basan
5bf21c2937 Ref T261, correct implementation of client provider
* made the interface a "real" interface and provided implementation as CCLientProvider
* aligned some function names with networl context
* network context "impl" also implements ICLientProvider
2018-05-08 16:06:49 +02:00
Klaus Basan
d390116666 Relay when simulator isAvailable, otherwise FSX/P3D misses all calls when loading scenery or paused 2018-05-08 16:06:42 +02:00
Klaus Basan
e97de13545 Ref T260, adjusted context/remote provider
* signal from simulator -> context
* return number of updated situations
2018-05-08 16:06:38 +02:00
Klaus Basan
07589e8219 Avoid redundant update of model set ui
* added changed simulator in signal
* only changed once when cache changed
2018-04-13 23:36:45 +02:00
Klaus Basan
3b9a732fff Ref T259, Ref T243 relay interpolation setup via context (DBus) 2018-04-13 23:36:43 +02:00
Klaus Basan
42ef7c5633 Avoid long "hanging" if Windows UNC path is not reachable
Use own "isDirExisting" function checking UNC paths
2018-04-05 02:54:40 +02:00
Klaus Basan
d7ac721d09 Ref T259, Ref T243 setSimulationEnvironmentProvider when simulator changes 2018-04-05 02:54:36 +02:00
Klaus Basan
3e41a91455 Ref T131, verifyPrerequisites in simulator context (checking XP conflicts) 2018-04-05 02:53:40 +02:00
Klaus Basan
3f086e1d52 Allow to display position logs also in the console window
* added requestUiConsoleMessage
* utility functions
2018-04-05 02:52:38 +02:00
Klaus Basan
8dc25fbad7 Allow to alter model set simulator in pilot client
* selector can be read only
* functions in context to obtain model set from loader/matcher, this will not be used when a plugin driver is present
* adjusted UI
2018-02-13 03:57:46 +01:00
Klaus Basan
ccd7c477e2 Ref T246, unified signal handling in model caches and loader
* setSimulator as checked, simulatorChanged as unchecked version
* some renamings
* made some functions private, turned public slots -> public
2018-02-10 01:33:48 +01:00
Klaus Basan
887d1ec401 Ref T246, some upfront formatting 2018-02-09 04:43:54 +01:00
Klaus Basan
10f942e702 Formatting, minor tweaks 2018-02-09 04:43:45 +01:00
Klaus Basan
301eb79eca Renamings and adjustments of developer flag 2018-01-30 20:34:50 +01:00
Klaus Basan
d118ea402f Ref T232 clear remote aircraft data once network disconnects
* blackconfig in .pro
* verify function to detect dangling states
* clear remote data when disconnected from network
* there was one problem that the data where not correctly cleaned up and hence new aircraft where not added again after a disconnect/reconnect from network
* it is not yet clear why data happens (dangling data), that is what the debugVerify function is for
2018-01-30 20:31:11 +01:00
Klaus Basan
c1ee159ff9 Ref T232, some formatting
* made "private slots" -> "slots"
* cross context slots marked with "xCtx" prefix
2018-01-30 20:30:14 +01:00
Roland Winklmeier
7edcc02f15 Return the plugin info of the emulated simulator rather than emulated itself 2018-01-22 14:07:02 +01:00
Klaus Basan
8103df18f7 Ref T195, formatting 2017-12-21 19:45:46 +01:00
Klaus Basan
89db83f3c7 Ref T182, use enum instead of int in ps_networkConnectionStatusChanged 2017-11-09 04:42:15 +01:00
Klaus Basan
822ef11c02 Ref T180, formatting 2017-11-09 04:42:11 +01:00
Klaus Basan
482023b2c0 Ref T180, dot commands to set rendering setup
* enable parts/debug messages via dot command
* allow to log to console via application context
2017-11-06 22:20:59 +01:00
Klaus Basan
93a29b2b11 Ref T180, formatting 2017-11-05 20:02:06 +01:00
Klaus Basan
ecc4789855 Ref T171, Ref T136, renaming "swift driver" -> "emulated driver" 2017-10-18 22:58:37 +02:00
Klaus Basan
bc5f431953 Ref T171, simulator context formatting 2017-10-18 22:58:29 +02:00
Klaus Basan
7a87f986e2 Ref T167, renaming LocalInDBusServer and verifyModelSet 2017-10-10 00:27:17 +01:00
Klaus Basan
71fa0fc7b8 Ref T111, handle SELCAL in simulator context (fix, was missing so far) 2017-09-24 19:51:59 +01:00
Klaus Basan
1387573e5b Ref T112, moved simulator settings in subdir/settings namespace 2017-09-24 19:51:46 +01:00
Klaus Basan
c066ffcd28 Ref T111, emit signal simulatorPluginChanged after function completes 2017-09-24 19:51:24 +01:00
Klaus Basan
52805965cd Ref T111, swift driver plugin 2017-09-24 19:51:16 +01:00
Klaus Basan
654c35f666 Ref T111, use Q_DECLARE_FLAGS SimulatorStatus instead of int
* changed emitSimulatorCombinedStatu
* changed connected slots/functions
2017-09-24 19:51:10 +01:00
Klaus Basan
29e1d54e05 Ref T111, some fixes in the vicinity of plugin / drivers
* mostly style / doxygen / formatting
* assert/verify
2017-09-24 19:51:02 +01:00
Mathew Sutcliffe
2134b4e874 refs #937 Resolved clazy warnings: wrong usage of emit keyword. 2017-04-19 19:31:48 +01:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Roland Winklmeier
9dbb984e1a Split listening for simulators and loading their plugins
Previously loadSimulatorPlugin was doing two things. First starting
a listener and second loading the plugin itself. This was confusing
since the sequence is to listen first and load not before a simulator
is available.
This change splits this up properly into two methods. listenForSimulator()
is called when the plugin is started and as soon as a simulator is started,
its plugin will be loaded.

refs #909
2017-04-18 00:06:06 +01:00
Roland Winklmeier
0eaab1753d Unload simulator driver when unchecked in settings
refs #909
2017-04-18 00:06:01 +01:00
Klaus Basan
0942d007d5 refs #917, made simulator settings read only 2017-04-18 00:04:49 +01:00
Klaus Basan
d078aa9580 refs #911, formatting 2017-04-18 00:00:48 +01:00
Klaus Basan
8d198a9174 refs #827, moved matching utilities to blackmisc so it can be used also with score functions in blackmisc 2017-04-17 23:59:25 +01:00