Commit Graph

2143 Commits

Author SHA1 Message Date
Roland Winklmeier
04b84295c8 Fix wrong usage of QString::arg()
QString::arg() does not change the object itself, but returns a copy
with the place marker replaced.
2015-11-19 20:57:42 +00:00
Roland Winklmeier
e9c362f8ac Fix DBus signal signature in CContextNetworkProxy 2015-11-19 20:57:41 +00:00
Roland Winklmeier
86b238a092 refs #449 Remove internal usage of QTime in CTime
QTime does not support values greater than 24 hours. Therefore
parsing from such values or conversions failed. This commit
reimplements all necessary methods without using QTime.
2015-11-19 20:57:40 +00:00
Roland Winklmeier
2d9e9863c2 refs #449 Implement SubdivisionConverters with less precision errors 2015-11-19 20:57:39 +00:00
Klaus Basan
e3b0720295 Made value object regular expressions thread safe
(note: which is important because the RegEx is static)
2015-11-19 20:57:38 +00:00
Klaus Basan
f8c83ce2a3 some fixes
* as of slack discussion with MG, made area finding a bit more robust
* removed unused function in keypadarea
* added unit test subproject for GUI
2015-11-19 20:57:37 +00:00
Klaus Basan
03e16e37e7 refs #445, simulator info for database operations 2015-11-19 20:57:35 +00:00
Klaus Basan
6a1f5e8347 as discussed in slack: added default swift testserver (FSD servers) if no settings can be loaded 2015-11-19 20:57:34 +00:00
Klaus Basan
d8e0ff83e6 refs #445, as discussed with #445 added receiver
(QObject:connec robust to threading issues)
2015-11-19 20:57:33 +00:00
Klaus Basan
938c0f3dc8 refs #445, settings for global network/readers values 2015-11-19 20:57:32 +00:00
Klaus Basan
4120608532 refs #445, change livery in XP driver.
(still work in progress)
2015-11-19 20:57:30 +00:00
Klaus Basan
d7bd20dd26 refs #445, data entry GUI
* component for main info area
* component for data mapping
* new subproject
2015-11-19 20:57:29 +00:00
Klaus Basan
a2527e69e3 refs #445, prepared for data entry GUI
* unified init of GUIs
* used CProject::swiftVersionString()
2015-11-19 20:57:28 +00:00
Klaus Basan
13df4302d7 refs #445, adjusted the drivers to reflect changes (liveries) 2015-11-19 20:57:27 +00:00
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