Commit Graph

2301 Commits

Author SHA1 Message Date
Klaus Basan
f4941b2189 refs #886, configuration button in launcher 2017-03-01 20:51:33 +01:00
Mathew Sutcliffe
a0d3461d9b refs #884 CValueCache::getAllValues should skip empty values. 2017-02-28 22:34:50 +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
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
Mathew Sutcliffe
3439edf946 Fixed warning and error found by Clang svn-trunk. 2017-02-25 02:11:16 +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
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
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
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
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
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
c693423905 refs #883, OS independent version of CFileUtils::getSwiftExecutables 2017-02-24 15:22:07 +00:00
Klaus Basan
873823eaa1 refs #883, improved position and layout of overlay message frame 2017-02-24 15:22:04 +00:00
Klaus Basan
4ef64e4e22 refs #883, new log categories 2017-02-24 15:22:03 +00:00
Klaus Basan
c460505d2e refs #883, refs #869 using ping as socket is slow/sometimes has trouble 2017-02-24 15:21:59 +00:00
Klaus Basan
5d81b23386 refs #883, some UI finetuning / Doxygen comments 2017-02-24 15:21:57 +00:00
Klaus Basan
6c72f8491c refs #883, improved detection if core is running
* use proxy to really ping core (not only checking connection)
* avoid closing Qt default connections -> crash
* some refactoring
2017-02-24 15:21:55 +00:00
Klaus Basan
d918ee4cfd refs #883, class for storing the launcher state
* removed DBus setting (causing crash as it was shared among launcher/pilot client, so using cache)
* also remember UI values
2017-02-24 15:21:54 +00:00
Klaus Basan
92100c85f7 refs #883, added utility function ping 2017-02-24 15:21:53 +00:00
Klaus Basan
c8c18b0b21 refs #883, utility functions
* get executable names
* containsApplication
2017-02-24 15:21:43 +00:00
Klaus Basan
7bc53ada3e refs #883, fixes and formatting
* QProcess::startDetached is static, removed startNewProcess
* QStringBuilder
2017-02-24 15:21:42 +00:00
Klaus Basan
a57b83f9de refs #879, moved testdata into small files
motivated by MS comment
2017-02-24 15:21:39 +00:00
Klaus Basan
74db515802 refs #882, support for 30x redirect and some more utility functions
* CNetworkUtils::setSwiftClientSslCertificate for shared URLs
* redirect functions
2017-02-24 15:21:34 +00:00
Klaus Basan
f581a40b75 refs #881, utility functions for identifier list 2017-02-24 15:21:31 +00:00
Klaus Basan
e73c8c4f36 refs #879, use test data in samples/unit tests 2017-02-24 15:21:30 +00:00
Klaus Basan
4b506f20ab refs #879, test data class
* added and renamed functions
* added some DB data
2017-02-24 15:21:28 +00:00
Klaus Basan
2f14886db5 refs #879, added utility function toQList in collection 2017-02-24 15:21:27 +00:00
Klaus Basan
5bea0e2a96 refs #879, added ctor for CSimulatedAircraft / CPropertyIndexVariantMap::size() 2017-02-24 15:21:26 +00:00
Klaus Basan
9b56c5bf51 refs #879, added static fromJson 2017-02-24 15:21:25 +00:00