Commit Graph

2329 Commits

Author SHA1 Message Date
Klaus Basan
3e982b014f refs #445, preparation for data GUI
* improved finding of main window
* project -> version string
* location of application icon
2015-11-19 20:57:25 +00:00
Klaus Basan
b308014bc2 refs #445, models and views for new value classes
* livery
* distributor
2015-11-19 20:57:24 +00:00
Klaus Basan
3c9f95356e refs #445, samples for vPilot rules
* new samples for vPilot rules
* also adjusted other samples to latest changes (livery, new readers)
2015-11-19 20:57:23 +00:00
Klaus Basan
c760f1d424 refs #445, encapsulated web service based reading in CWebDataReader
* the reader will be used in context, but can also be used standalone (ie mapping GUI) GUI
* adjustments in context/airspace as required
** for web reader
** livery
* base class for database based reading (via JSON/web)
* model data reader for models
2015-11-19 20:57:22 +00:00
Klaus Basan
6ccc23fb32 refs #445, vPilot rules
* value classes
* reader for rules
* mapping provider using the rules reader
2015-11-19 20:57:21 +00:00
Klaus Basan
4fcf9efab7 Some fixes and formatting
* CTime::switchUnit(CTimeUnit::hms());
* Coordinate canHandleIndex protected
* copyright
2015-11-19 20:57:19 +00:00
Klaus Basan
edf8191969 refs #445, unit tests
* tests for DB reading
* adjusted other unit tests (livery, formatting, doxygen)
2015-11-19 20:57:18 +00:00
Klaus Basan
25fd0f4f2d refs #445, value objects and containers
* common base class for DB based classes
* common base class for DB based containers
* Livery, distributor value class
* adjusted value classes to livery
* utility functions for DB values (blackmisc free functions)
* register new objects with metadata system
2015-11-19 20:57:17 +00:00
Klaus Basan
99b7c52383 refs #446, minor improvements in core
log handler, keep GUI responsible
2015-11-19 20:57:16 +00:00
Klaus Basan
08670c9e89 refs #446, moved common parts for GUI applications in a utility function
* for init
* for parser
2015-11-19 20:57:15 +00:00
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