Commit Graph

2119 Commits

Author SHA1 Message Date
Klaus Basan
091c61c909 refs #446, style sheet adjustments
* split up style sheets
* prepared stylesheet, also include placeholder for forthcoming data GUI
2015-11-19 20:57:13 +00:00
Klaus Basan
9d0408138a refs #446, changed log handler as discussed in slack 2015-11-19 20:57:12 +00:00
Klaus Basan
9b77e1fc5c refs #446, add GUI icons 2015-11-19 20:57:11 +00:00
Roland Winklmeier
8755621b73 Fix missing include (build failure with Qt 5.5.0) 2015-11-19 20:57:10 +00:00
Roland Winklmeier
1ac89d477f refs #444 Use CAircraftMatcher to match a model and send it to xbus
In case the model name is empty, xbus falls back to its former
behaviour and lets libxplanemp do the matching. If aircraft matcher
does provide a model this will be used instead.
Until model mapping database is ready, a dummy provider has been added.
Hence CAircraftMatcher will always return a default model.
2015-11-19 20:57:09 +00:00
Roland Winklmeier
b28634e586 refs #444 Move CAircraftMatcher into Simulation namespace
It used to be before in FsCommon namespace, however it does not
have any MSFS specific implementation any more and is used by
xplane driver as well.
2015-11-19 20:57:07 +00:00
Roland Winklmeier
b0530aa567 XPMPCreatePlaneWithModelName adds plane with a defined model name
It bypasses the internal model matching of libxplanemp and lets
external applications do the model matching themselves.
2015-11-19 20:51:34 +00:00
Mathew Sutcliffe
6688a87ece refs #297, #50 Added network setting for FSD wire text codec. 2015-11-19 20:51:32 +00:00
Mathew Sutcliffe
eb594e5397 refs #297 Doxygen. 2015-11-19 20:51:31 +00:00
Mathew Sutcliffe
3037daed1d refs #297 Removed old network settings. 2015-11-19 20:51:30 +00:00
Mathew Sutcliffe
bacf771a15 refs #297 Added new network settings. 2015-11-19 20:51:29 +00:00
Mathew Sutcliffe
d971b073b7 refs #297 Removed old simulator settings, which were not even used. 2015-11-19 20:51:28 +00:00
Mathew Sutcliffe
dace9e4da5 refs #297 Added CSettingsCache singleton derived class of CValueCache
for core settings, with context signal and slot for relay.
2015-11-19 20:51:27 +00:00
Mathew Sutcliffe
31c081c14d refs #297 Added the kernel of the distributed value cache system. 2015-11-19 20:51:25 +00:00
Mathew Sutcliffe
2aef4a2881 refs #297 Added CStatusException, a throwable exception class containing a CStatusMessage. 2015-11-19 20:51:24 +00:00
Mathew Sutcliffe
55049537a9 refs #297 Added CVariantMap derived from CDictionary. 2015-11-19 20:51:23 +00:00
Mathew Sutcliffe
5da4b75d3e refs #297 CDictionary: allow access to m_impl and added forEachIntersection function (only supported when impl is QMap). 2015-11-19 20:51:22 +00:00
Mathew Sutcliffe
71d93f1690 Fixed switch case fall-through mistake in CVariant JSON methods. 2015-11-19 20:51:21 +00:00
Mathew Sutcliffe
3941876aad Fixed CDictionary::swap and made CDictionary::operator== into a friend function. 2015-11-19 20:51:20 +00:00
Mathew Sutcliffe
ff5e5735b1 Corrected alignment of COptional::m_bytes. 2015-11-19 20:51:18 +00:00
Mathew Sutcliffe
7a37c86782 Rewrite CWorker::waitForFinished using std::future<void> instead of QWaitCondition. 2015-11-19 20:51:17 +00:00
Roland Winklmeier
95fe93a83c Style fixes 2015-11-19 20:51:16 +00:00
Roland Winklmeier
c31a383547 Fix unsafe and broken keyboard detection on Linux 2015-11-19 20:51:15 +00:00
Michał Garapich
2a3dc05fb0 Use thread instance comparison to check whether the listener is set up
or not
2015-11-19 20:51:14 +00:00
Michał Garapich
3d81199d79 Remove stub files from x-plane plugin directory 2015-11-19 20:51:13 +00:00
Michał Garapich
15cc23a43c refs #442 Add CPluginManagerSimulator class 2015-11-19 20:51:11 +00:00
Michał Garapich
2c55fe2306 refs #442 Add CPluginManager class 2015-11-19 20:51:10 +00:00
Roland Winklmeier
25cdff54f3 refs #435 Read installed models from X-Plane via xbus 2015-11-19 20:51:09 +00:00
Roland Winklmeier
d24488d38f Make installed model info available from libxplanemp 2015-11-19 20:51:01 +00:00
Roland Winklmeier
b661443053 Remove obsolete method LoadOnePackage 2015-11-19 20:50:49 +00:00
Roland Winklmeier
cf3d527457 Implement and use single command parser methods 2015-11-19 20:50:21 +00:00
Roland Winklmeier
04abdb7004 Fix directory separators in blackmisc.pro 2015-06-11 01:40:18 +02:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Mathew Sutcliffe
a4ca75c5c7 refs #438 Use compare_exchange_strong to avoid spurious failures. 2015-06-06 18:02:15 +01:00
Klaus Basan
5faa0d144c refs #438, gcc fix std::atomic<InitState> 2015-06-05 02:29:44 +02:00
Klaus Basan
d706c85d87 refs #438, do not change comboxbox from backend.
Use a field to display the really selected driver and let the user choice unchanged works best for me
2015-06-05 01:35:27 +02:00
Klaus Basan
dbce887946 refs #438, allow to stop and reinit parser/matcher
* plugin changes, mapper/parser will be stopped.
  make sure worker is properly shutdown
* restarted FS/FSX. Allow to reset mapper/parser data from store
2015-06-05 01:35:23 +02:00
Klaus Basan
d603b28697 refs #438, plugin loading testing session + meeting results
* simulator common, many members now private (info -> read only)
* renamed printDirectPlayError -> logDirectPlayError
* (re)added ASSERT for FS9
* removed parent from listener (with parent no moveToThread)
* removed QFuture / QConcurrent as we have agreed to do
* unloading a plugin no longer automatically restarts all listeners
  this allows a user to set one particualar simulator in the GUI and ony wait for that
* stop listener from own signal
2015-06-04 23:44:50 +02:00
Klaus Basan
e822c9f7d2 Using first or default #414 2015-06-03 16:26:59 +02:00
Klaus Basan
18f803b214 Added scrollbar qss 2015-06-03 16:26:54 +02:00
Klaus Basan
91bcba6a0c refs #438, added plug info to listeners
* listener signal can be directly used without mapping
* (during debugging) it is much easier to identify a listener
2015-06-03 16:26:49 +02:00
Klaus Basan
f423f167f3 refs #438, settings simulator component
* load new plugin via startSimulatorPlugin
* removed dependency from settings
* utility method to get plugin names
2015-06-03 16:26:45 +02:00
Klaus Basan
c6364f2bb0 refs #438, revised context plugin handling
* only 2 public interface functions start/stopSimulatorPlugin
* internal functions like starting the listeners private
* removed loading from settings, it does not make any sense as auto will find the running sim
* only 2 central functions in impl: un/loadSimulatorPlugin - rest is handled automatically from there
* graceful shutdown when runtime goes down
* utility function getSimulatorStatusEnum()
2015-06-03 16:26:39 +02:00
Klaus Basan
631814bcbd refs #438 minor tweaks
* removed unused include
* status to enum utility function
* disconnect signals in network context
2015-06-03 16:26:35 +02:00
Klaus Basan
8e56a14caf refs #438, allow to cancel parser
* added flag for parsing success
* unload driver cancels parsing
* assert for invoke
* using waitForFinished
2015-06-03 16:25:53 +02:00
Klaus Basan
a6dd7fdd09 refs #438, fixed assert situation in FS9 driver 2015-06-03 16:25:38 +02:00
Klaus Basan
e861eb7bcd refs #438, adjusted plugin info
* removed ==
* auto info object
* removed unused .h files
2015-06-02 20:22:49 +02:00
Klaus Basan
d3d2d4eb63 refs #438, renamed file to simulatorplugininfolist 2015-06-02 20:22:46 +02:00
Mathew Sutcliffe
732903b243 refs #439 Adjust noexcept specification of worker methods commonly used in destructors. 2015-06-02 18:54:08 +01:00
Mathew Sutcliffe
17c1742bec refs #439 CWorkerBase::waitForFinished(). 2015-06-02 18:54:08 +01:00