Commit Graph

2089 Commits

Author SHA1 Message Date
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
Klaus Basan
e04ada3a7c refs #437, remove convertFromCVariant 2015-05-31 01:31:09 +02:00
Klaus Basan
dc918dfaba Moved some samples into unit tests 2015-05-30 18:18:47 +02:00
Klaus Basan
4cafc259bb Some workarounds for GUI issues ( refs #419 )
* info bar getting too wide
* buttons floating into tabbat
2015-05-30 18:18:42 +02:00
Roland Winklmeier
b6e9d6f0d1 Static assert in CVariant::from to if value type is CVariant 2015-05-30 18:06:19 +02:00
Roland Winklmeier
d3de687db2 Remove CSamplesConcurrent from samples_blackmisc 2015-05-30 17:00:06 +02:00
Roland Winklmeier
eb93317190 Remove sample_geo 2015-05-30 17:00:02 +02:00
Roland Winklmeier
25f090ac64 Remove sample_voice_client 2015-05-30 16:59:58 +02:00
Roland Winklmeier
041c97be75 Fix unit test return values 2015-05-30 16:59:55 +02:00
Roland Winklmeier
e4f2c9e88a Replace occurrences of CVariant::toCVariant() with CVariant::from() 2015-05-30 16:59:51 +02:00
Michał Garapich
28d2561a48 Fix duplicate line 2015-05-30 10:41:42 +02:00
Michal Garapich
b9b2b5770a refs #417 Add support for FSX and FS9 2015-05-30 08:22:55 +02:00
Michał Garapich
23761fad13 refs #417 Remove ISimulator::asyncConnectTo() for x-plane 2015-05-29 22:03:06 +02:00
Michał Garapich
e3bb701d7b refs #417 Rename ISimulator::SimulatorStatus to SimulatorStatusFlag 2015-05-29 22:01:45 +02:00
Michał Garapich
49a9b91258 refs #423 Detect already running xbus 2015-05-29 23:34:43 +02:00
Klaus Basan
76993ab394 Fixed some signature const / & issues causing malfunctions with DBus 2015-05-29 16:53:46 +02:00
Klaus Basan
ff87b3e9ae Application icon
http://doc.qt.io/qt-4.8/appicon.html
2015-05-29 16:53:43 +02:00
Klaus Basan
94eb33d228 refs #431, infinite recursion in driver unload
* Trivial changes to avoid changedStatus signal when nothing changed
* Do not reload plugin when already loaded
2015-05-29 16:53:39 +02:00
Klaus Basan
eb8b6e6f1f refs #432, unit test for originator, in same step cleaned unit test code a bit (headers, ...) 2015-05-29 16:53:35 +02:00
Klaus Basan
d8d0eca3d8 refs #395, improved snapshot handling
* disabled sets distance and max.aircraft to 0
* fixed changed snapshot detection
* added rendering enabled to signal, only one function to decide (instead of duplicated logic)
2015-05-29 16:53:31 +02:00
Klaus Basan
718b10d9f6 refs #434, fixes issue described 2015-05-29 03:49:20 +02:00