Commit Graph

2159 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
d8091df47d refs #414 Efficient findFirstBy methods in CRangeBase. 2015-06-02 18:53:33 +01:00
Mathew Sutcliffe
ada03ee513 refs #434 CPropertyIndexVariantMap: removed operator templates and replaced CVariant comparison operators with a named method, matches(). 2015-06-01 21:35:00 +01:00
Mathew Sutcliffe
e76015004b refs #434 Removed CVariant comparison operator templates. 2015-06-01 21:34:59 +01:00
Mathew Sutcliffe
8db8fdef94 refs #437 Adjust static assert, caught one more case of CVariant containing CVariant. 2015-06-01 18:00:16 +01:00
Mathew Sutcliffe
6a2af9d387 Fixed broken include guard, detected by clang. 2015-05-31 21:00:16 +01:00
Mathew Sutcliffe
d4c5dff17a qint32 -> int replacements to make implementations consistent with headers. 2015-05-31 17:27:05 +01:00
Mathew Sutcliffe
90d7771ca3 No \file doxygen command in cpp file. 2015-05-31 17:23:23 +01:00
Mathew Sutcliffe
62418931b0 Removed Mixin::MetaTypeAndQList. 2015-05-31 17:22:24 +01:00
Mathew Sutcliffe
47cac09e81 refs #437 Removed toQVariant and convertFromQVariant. 2015-05-31 17:21:17 +01:00
Klaus Basan
db5181c26a Sound generator: Replaced qint32 by int and formatting 2015-05-31 01:33:09 +02:00