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
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
Klaus Basan
c693423905
refs #883 , OS independent version of CFileUtils::getSwiftExecutables
2017-02-24 15:22:07 +00:00
Klaus Basan
8ca8f51802
refs #883 , overlay messages can have shadow
2017-02-24 15:22:06 +00:00
Klaus Basan
1690c560b7
refs #883 , added functions for fade in/out
2017-02-24 15:22:05 +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
d980f99300
refs #883 , support for "single application" in CApplication
2017-02-24 15:22:01 +00:00
Klaus Basan
abbcd18d82
refs #883 , shortcuts for dock widgets
2017-02-24 15:22:00 +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
3b3cdf4566
refs #883 , launcher improvements
...
* check if core is running before starting pilot client DBus UI
* avoid starting pilot client when already running
* save UI state (cache)
* made lauchner BlackMisc::CIdentifiable
2017-02-24 15:21:58 +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
1619a5ceb3
Formatting application context
2017-02-24 15:21:52 +00:00
Klaus Basan
4a31fa1cba
refs #883 , improved layout of launcher`s "new version" section
...
* group boxes
* header bar if new version is avilable
2017-02-24 15:21:50 +00:00
Klaus Basan
c5b4b01a90
refs #883 , display of news/about
...
* use QTextBrowser, external links will be opened in browser
* display about in credits tabs
* added shortcuts for tabs
Remark: Gives us a first (not perfect) version of news/about in launcher
2017-02-24 15:21:49 +00:00
Klaus Basan
dd37945625
refs #883 , added new "directories"
...
* directories for in buildconfig/globalsetup
* renamed to CBuildConfig::getSwiftShareDir
2017-02-24 15:21:47 +00:00
Klaus Basan
a0b5258346
refs #883 , launcher can be started from the applications and navigator
2017-02-24 15:21:45 +00:00
Klaus Basan
24a9b332b0
refs #883 , application class extended
...
* allow to register application as running (needed for launcher)
* getExecutableForApplication
* swift launcher can be started
2017-02-24 15:21:44 +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
455d9c7b7d
refs #883 , added menus for core and assigned shortcuts to menu items
2017-02-24 15:21:40 +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
368b955c66
refs #883 , Kill button for overlay error messages
...
Example: swift pilot client started for core, but core not running. There is no way to stop the application as there are permanent errors.
2017-02-24 15:21:38 +00:00
Klaus Basan
83dbd3fcb6
refs #883 , display core mode selection first
...
* show news only if new
* removed duplicate call of this->ps_loadedUpdateInfo (avoid redundant loads)
2017-02-24 15:21:37 +00:00