Klaus Basan
cb024b0245
Formatting
2017-04-17 23:56:55 +01:00
Klaus Basan
888375d294
refs #887 , directories available via CDirectoryUtils/relative paths
...
* relative cache/settings paths are available relativeFilePath
* directories build in CDirectoryUtils
* directory comparison in CDirectoryUtils
* using CFileUtils to concatenate dir paths
* using URL encoded string for normalized directory (as it can be decoded)
2017-03-01 20:51:34 +01:00
Klaus Basan
92f67c7eca
Qt 5.9 fixme comment, formatting
2017-03-01 20:51:29 +01:00
Mathew Sutcliffe
220c237b8c
refs #884 Fixed some settings usage in CApplication.
2017-03-01 12:42:39 +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
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
9c918b8799
refs #863 Interpolator inheritance based on CRTP rather than virtual methods.
2017-02-24 15:22:26 +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
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
7faffc520d
Remove obsolete network connection checks
...
refs #869
2017-02-24 15:22:15 +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
Klaus Basan
060a10dfb6
Replaced QLatin1Literal by QLatin1String
...
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
d980f99300
refs #883 , support for "single application" in CApplication
2017-02-24 15:22:01 +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
1619a5ceb3
Formatting application context
2017-02-24 15:21:52 +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
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
7bc53ada3e
refs #883 , fixes and formatting
...
* QProcess::startDetached is static, removed startNewProcess
* QStringBuilder
2017-02-24 15:21:42 +00:00
Klaus Basan
f73ee87e13
refs #882 , support redirect transparently in CApplication
...
* SSL client certificate functionality used from utils
* support for max redirects
Remark:
QNetworkRequest::FollowRedirectsAttribute would allow auto redirect, but we use our approach as it gives us better control
2017-02-24 15:21:35 +00:00
Klaus Basan
7917769802
refs #875 , adjusted using classes to use new namespaces
2017-02-24 15:21:18 +00:00
Klaus Basan
31b6ef83f0
refs #875 , moved DBus test classes to blackmisc
...
https://dev.vatsim-germany.org/issues/875#note-8
2017-02-24 15:21:14 +00:00
Klaus Basan
3c588e61fa
refs #875 , moved classes for DBus unit tests and samples to BlackCore::Test
2017-02-24 15:21:00 +00:00
Klaus Basan
5b08363179
refs #875 , unit test for proxies
...
tests init and signal connects
2017-02-24 15:20:58 +00:00
Klaus Basan
2f4c86fac4
refs #875 , DBus fixes
...
* wrong signal connection signature -> assert
* missing SELCAL in simulated aircraft
2017-02-24 15:20:56 +00:00
Klaus Basan
c1482dca36
Formatting, help text beautifyHelpMessage, improved convertToQString
2017-02-24 15:20:55 +00:00
Klaus Basan
a34be02e07
refs #617 , CActionItem supports icon
...
* standard paths for applications
* support for Qt::DecorationRole
* QMap<QString, QPixmap> m_availableActions
* Constructor for icon only
* only leafs support actions
2017-02-24 15:20:54 +00:00
Klaus Basan
6a96d14baa
Formatting, icon utility function, icon size
2017-02-24 15:20:52 +00:00
Klaus Basan
74d608b5df
refs #617 , allow to use CGuiActionBindHandler with buttons
...
* used for weather enable/disable
* use actionBindWasDestroyed when corresponding BlackCore::CActionBind is destroyed
2017-02-24 15:20:44 +00:00
Klaus Basan
8c81f2bea3
refs #617 , CActionBind extended
...
* delete callback when dtor is called (can use related receivers)
* added cpp file
* CActionBindings for multiple bindings (shared pointers)
* normalize action string
2017-02-24 15:20:40 +00:00
Klaus Basan
eeaed099f0
Formatting, typos
2017-02-24 15:20:39 +00:00
Klaus Basan
d4b2238dc6
Formatting
2017-02-24 00:20:11 +00:00
Klaus Basan
7eacb41113
refs #873 , allow to request aircraft parts (aircraft config) from network
2017-02-24 00:20:09 +00:00
Roland Winklmeier
47aa04b5e9
Attach swift client certificate if url is swift shared url
...
refs #762
2017-02-24 00:19:38 +00:00
Klaus Basan
818cdfba59
Doxygen, added link to dev wiki and fixed group
2017-02-24 00:19:11 +00:00
Klaus Basan
e3d81c6c44
refs #865 , use same function for removing outdated aircraft parts
...
* in airspace monitor
* in XP traffic.cpp
2017-02-24 00:19:09 +00:00
Klaus Basan
309d593607
refs #871 , use const values for times
2017-02-24 00:19:07 +00:00
Klaus Basan
af15929b30
refs #865 , allow to enable interpolator/parts logging
...
* removed debug messages from interpolator
* added callsign to getInterpolatedParts / getInterpolatedSituation signatures
* config for logging via CInterpolationAndRenderingSetup::addCallsignToLog etc.
2017-02-24 00:18:56 +00:00
Klaus Basan
301db27945
refs #865 , make log directory available for blackmisc
2017-02-24 00:18:52 +00:00
Klaus Basan
68dccbefa6
Formatting, renaming, Doxygen, minor UI adjustments
2017-02-24 00:18:51 +00:00
Roland Winklmeier
a7635a7e13
Force observer mode login only in shipped versions
...
The required feature to force observer login in case no simulator
is available, is only necessary in offically shipped versions.
In order to allow developer testing, limit it to shipped builds only.
refs #872
2017-02-24 00:18:33 +00:00
Roland Winklmeier
1401b2f956
Add new command line argument 'serverType'
...
ServerType allows to override the ServerType at runtime
refs #872
2017-02-24 00:18:31 +00:00
Roland Winklmeier
c260af7b11
Update externals
2017-02-24 00:18:30 +00:00
Roland Winklmeier
9ccec07c36
Process all pending NetworkVatlib tasks before logging off
2017-02-24 00:18:26 +00:00
Mathew Sutcliffe
76cc9f8ad8
refs #852 CAirspaceMonitor has no maximum number of parts per callsign,
...
but regularly prune the list based on timestamp age.
2017-02-24 00:17:53 +00:00
Mathew Sutcliffe
3e70ab1207
refs #852 Add a time offset to CAircraftParts.
2017-02-24 00:17:46 +00:00