Commit Graph

4213 Commits

Author SHA1 Message Date
Klaus Basan
92f67c7eca Qt 5.9 fixme comment, formatting 2017-03-01 20:51:29 +01:00
Mathew Sutcliffe
669e8b0320 refs #213, #893 Disable precompiled header when using MSVC2015. 2017-03-01 18:14:15 +00:00
Mathew Sutcliffe
220c237b8c refs #884 Fixed some settings usage in CApplication. 2017-03-01 12:42:39 +00:00
Mathew Sutcliffe
53fc629490 Removed outdated precompiled header stuff. 2017-02-28 22:34:52 +00:00
Mathew Sutcliffe
75293f2c27 Generated sources are not distributable products. 2017-02-28 22:34:51 +00:00
Mathew Sutcliffe
a0d3461d9b refs #884 CValueCache::getAllValues should skip empty values. 2017-02-28 22:34:50 +00:00
Mathew Sutcliffe
cc1cec519b refs #884 GUI should use the context to get the list of unsaved settings. 2017-02-28 22:34:49 +00:00
Mathew Sutcliffe
baf5c62502 refs #884 Use CJsonException instead of CLogMessage when CVariant::convertFromJson fails. 2017-02-28 17:05:35 +00:00
Mathew Sutcliffe
01a84252db refs #884 Fixed JSON deserialization of qint64 when stored inside CVariant. 2017-02-28 17:02:20 +00:00
Mathew Sutcliffe
97e3cf8475 refs #890 Use BlackMisc::singleShot for async calls in CDataCache,
to tolerate calls made before the CDataCacheSerializer has started.
(Like all CContinuousWorkers, it moves thread upon being started.)
2017-02-26 03:36:12 +00:00
Mathew Sutcliffe
3e9ceb1838 Bump version number. 2017-02-25 03:05:58 +00:00
Roland Winklmeier
11d641bb97 Fix error 'call of overloaded ... is ambiguous'
With Qt 5.9, I got an error when calling compare(BlackMisc::Network::CEntityFlags::Entity,
BlackMisc::Network::CEntityFlags::Entity). The underlying integral type
of an enum is implementation defined and gcc seem to choose an unsigned
int in this case. This made the call ambiguous, since there was no unsigned
int overload yet of compare.
2017-02-25 02:11:20 +00:00
Roland Winklmeier
2ab7071423 Update libxplanemp 2017-02-25 02:11:18 +00:00
Roland Winklmeier
7cb95ef91f Remove 10.8 and older accessibility since it is no longer supported 2017-02-25 02:11:17 +00:00
Mathew Sutcliffe
3439edf946 Fixed warning and error found by Clang svn-trunk. 2017-02-25 02:11:16 +00:00
Mathew Sutcliffe
db692461ef Qmake directives to help using Templight to analyse our template usage. 2017-02-25 02:11:14 +00:00
Mathew Sutcliffe
c268581954 refs #885 Regenerate revision file from available JSON files. 2017-02-25 02:11:13 +00:00
Mathew Sutcliffe
e7f61dabea refs #213 Added precompiled header for MSVC in blackmisc, blackcore, blackgui. 2017-02-25 02:11:11 +00:00
Mathew Sutcliffe
01ccb4d023 Inhibit -Wsuggest-override in GCC 5, causes lots of warnings in Qt headers. 2017-02-24 15:22:46 +00:00
Mathew Sutcliffe
65b0443cfa Fixed GCC warning. 2017-02-24 15:22:45 +00:00
Mathew Sutcliffe
683c5f38a9 Fixed GCC warning flags. 2017-02-24 15:22:44 +00:00
Mathew Sutcliffe
fe3c97e37f Updates for Qt 5.8. 2017-02-24 15:22:43 +00:00
Mathew Sutcliffe
b6f6e0f676 refs #876 Utility to examine which members of value objects compare equal. 2017-02-24 15:22:42 +00:00
Mathew Sutcliffe
4fd9ecbe4d refs #876 Workaround GCC bug.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67274
2017-02-24 15:22:40 +00:00
Mathew Sutcliffe
7b8d88876f refs #876 All metaclass mixins now directly access the metamembers.
This avoids bloating CMetaClassIntrospector with inconvenient convenience methods.
2017-02-24 15:22:39 +00:00
Mathew Sutcliffe
0e0f068471 refs #876 Removed unused methods. 2017-02-24 15:22:38 +00:00
Mathew Sutcliffe
3d121ee052 refs #876 Mostly-unrelated refactoring of metaclass flags. 2017-02-24 15:22:37 +00:00
Mathew Sutcliffe
64f20f0141 refs #863 Fixed wrong test that had been masked by CRemoteAircraftProviderDummy being too clever. 2017-02-24 15:22:36 +00:00
Mathew Sutcliffe
598733d521 refs #863 Fixed a bug where a plane would only start rendering when it first starts moving. 2017-02-24 15:22:35 +00:00
Mathew Sutcliffe
04ddd3bfa5 refs #863 Move interpolator logging into a separate class.
A single logger instance can be shared between multiple interpolator instances.
2017-02-24 15:22:34 +00:00
Mathew Sutcliffe
e67b5fccc4 refs #863 Change callsign parameter to be a member instead. 2017-02-24 15:22:32 +00:00
Mathew Sutcliffe
8d351d8279 refs #863 Added cubic spline interpolator. 2017-02-24 15:22:31 +00:00
Mathew Sutcliffe
4cc5643340 refs #863 Further decomposed interpolator into granularly replaceable strategy methods. 2017-02-24 15:22:30 +00:00
Mathew Sutcliffe
aad4cb5e88 refs #863 Factor out code not specific to linear interpolation into the base class. 2017-02-24 15:22:28 +00:00
Mathew Sutcliffe
c0f163589d refs #863 Simplification. 2017-02-24 15:22:27 +00:00
Mathew Sutcliffe
9c918b8799 refs #863 Interpolator inheritance based on CRTP rather than virtual methods. 2017-02-24 15:22:26 +00:00
Mathew Sutcliffe
1c2533f5d2 refs #863 Moved nested status classes to namespace scope. 2017-02-24 15:22:25 +00:00
Mathew Sutcliffe
b8fc62a2a4 refs #863 Removed unused method. 2017-02-24 15:22:24 +00:00
Mathew Sutcliffe
a167cc8e43 refs #863 Each aircraft gets its own interpolator instance,
so each one can cache calculations from one frame to the next.
The recent situations and parts are members of the interpolator.
2017-02-24 15:22:22 +00:00
Mathew Sutcliffe
2181702c5c refs #863 Change interpolation setup member to be a method parameter instead. 2017-02-24 15:22:21 +00:00
Mathew Sutcliffe
36474f65a0 Parametrized position of xbus text message box. 2017-02-24 15:22:20 +00:00
Roland Winklmeier
66cf96d47f Use CEventLoop to process events until a signal is received
refs #869
2017-02-24 15:22:18 +00:00
Roland Winklmeier
63f625fe4e CEventLoop - swift's custom event loop 2017-02-24 15:22:17 +00:00
Roland Winklmeier
0878a82b2c Add Qt5 bearer plugins to install target 2017-02-24 15:22:16 +00:00
Roland Winklmeier
7faffc520d Remove obsolete network connection checks
refs #869
2017-02-24 15:22:15 +00:00
Roland Winklmeier
98b2061d3d Remove redundant checks in CNetworkUtils::getKnownLocalIpV4Addresses()
refs #869
2017-02-24 15:22:14 +00:00
Roland Winklmeier
7edd1bb621 Rename CThreadedReader::isNetworkConnectedAndAccessible() for consistency
refs #869
2017-02-24 15:22:13 +00:00
Roland Winklmeier
64a47da67f Use CApplication::isNetworkAccessible() wherever possible
Up to now we had a mixture of different methods to detect whether
network is connected, accessible or both. Even if they implied a
different meaning, they were all doing the same and internally
referred to almost the same code. Almost, since our implementation
of CNetworkUtils::hasConnectedInterface refers to code from Qt 4.4.
However, all of them returned a boolean status whether a network
interface is generally up or not. Instead of maintaining our own
version, use Qt functions.

refs #869
2017-02-24 15:22:11 +00:00
Roland Winklmeier
10f9c9c50a Fix typo 2017-02-24 15:22:10 +00:00
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00