Commit Graph

909 Commits

Author SHA1 Message Date
Klaus Basan
abd1927eb9 refs #452, added streaming operator for pixmap 2015-11-19 20:58:42 +00:00
Klaus Basan
874f29098b refs #452, removed some classes which will be replaced by new classes
* CAircraftMappings -> will be replace by CAircraftModel
* CAircraftIcaoData aircraft ICAO data -> aircraft/airline ICAO code and livery
* CAircraft class no longer to be used, but CSimulatedAircraft
* removed corresponding GUI model classes / filters
2015-11-19 20:58:36 +00:00
Klaus Basan
51e8a6a208 refs #452, added getClassName for variant
(as discussed with MS)
2015-11-19 20:58:34 +00:00
Klaus Basan
ab46ed615c refs #452, added a resource project just adding files such as icons, data files etc. 2015-11-19 20:58:32 +00:00
Mathew Sutcliffe
0e2f8f51ba refs #450 CVariant has to work around the fact that QtDBus can't marshal an invalid QVariant. 2015-11-19 20:58:29 +00:00
Mathew Sutcliffe
6601393df8 refs #460 CDataCache for dynamic (downloaded/generated) data with file-based distribution among processes. 2015-11-19 20:58:26 +00:00
Mathew Sutcliffe
56d8bf4651 refs #457 Workaround GCC 4.7.2 internal compiler error. 2015-11-19 20:58:25 +00:00
Mathew Sutcliffe
f50400bd94 refs #457 Use cases for CWorker non-void tasks and thenWithResult(). 2015-11-19 20:58:24 +00:00
Mathew Sutcliffe
3cc9468d63 refs #457 CWorker support for non-void tasks and thenWithResult(). 2015-11-19 20:58:23 +00:00
Mathew Sutcliffe
6131030267 refs #457 Refactored SFINAE into a protected part of CWorker. 2015-11-19 20:58:22 +00:00
Mathew Sutcliffe
08716705ca refs #450 Last-minute fix for settings synchronization logic. 2015-11-19 20:58:20 +00:00
Mathew Sutcliffe
51c97264f5 refs #459 Removed compare() workaround in CActionHotkeyList. 2015-11-19 20:58:19 +00:00
Mathew Sutcliffe
00cd4f4f87 refs #459 Removed CAircraftParts::m_correspondingCallsign per Slack discussion MS/RW. 2015-11-19 20:58:18 +00:00
Mathew Sutcliffe
d1955ba61f refs #459 Fixed bugs in aircraft parts. 2015-11-19 20:58:17 +00:00
Mathew Sutcliffe
fc4745fc66 refs #459 Fixed JSON deserialization of qint64 values. 2015-11-19 20:58:16 +00:00
Mathew Sutcliffe
5e02b5defe refs #459 Fixed "CVariant requested unsupported operation" errors. 2015-11-19 20:58:15 +00:00
Mathew Sutcliffe
af3775c8ea refs #450 Changed path for log files in accordance with our new directory structure. 2015-11-19 20:58:12 +00:00
Mathew Sutcliffe
54bc3f265a refs #450 Added disk file saving and loading of CValueCache. 2015-11-19 20:58:10 +00:00
Mathew Sutcliffe
ca9256be82 refs #450 Corrected emission of log messages from value cache validation. 2015-11-19 20:58:09 +00:00
Roland Winklmeier
08a1de995a refs #454 #455 #458 Remove obsolete code 2015-11-19 20:58:06 +00:00
Roland Winklmeier
63c7c6be0d refs #453 Refactor Input value classes
All previous Hardware classes have been refactored and moved into
the Input namespace.
2015-11-19 20:57:58 +00:00
Roland Winklmeier
41e17aa0c7 Add CSequence::removeIfIn(const CSequence &other)
Remove all elements if they are in other
2015-11-19 20:57:57 +00:00
Roland Winklmeier
a7b71d974b Fix segfault in CSequence::operator <() 2015-11-19 20:57:55 +00:00
Roland Winklmeier
e4ef6e4058 Replace qint32 with int 2015-11-19 20:57:53 +00:00
Roland Winklmeier
5fbf8a227d Fixed friend compare() method in CContainerBase 2015-11-19 20:57:50 +00:00
Roland Winklmeier
d9ab612154 refs #448 metar decoder and unit tests 2015-11-19 20:57:46 +00:00
Roland Winklmeier
a94ea5618f refs #448 metar value classes 2015-11-19 20:57:45 +00:00
Roland Winklmeier
047e408597 Add missing BLACKMISC_EXPORT
This caused a MinGW build failure as symbols were not exported.
2015-11-19 20:57:44 +00:00
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
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
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
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
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
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
Mathew Sutcliffe
3037daed1d refs #297 Removed old network settings. 2015-11-19 20:51:30 +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
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