Roland Winklmeier
0c8f2f596e
Let CInputManager select only action hotkeys applicable to local machine
...
So far, CInputManager did not properly ignore action hotkey settings
which did not belong to the local machine.
refs #881
2017-04-17 23:59:12 +01:00
Klaus Basan
35c685b344
Formatting, #825 (matching)
2017-04-17 23:58:53 +01:00
Klaus Basan
5e19431d2b
Formatting, comments
...
#895
2017-04-17 23:58:04 +01:00
Klaus Basan
2eef9288b9
Added shutting down function
2017-04-17 23:58:02 +01:00
Klaus Basan
38ea336cbb
refs #894 , register dot commands for help
...
(wherever dor commands are implemented)
2017-04-17 23:57:50 +01:00
Klaus Basan
b287d8d9d7
refs #894 , dot commands help can be obtained via application context
2017-04-17 23:57:49 +01:00
Klaus Basan
188669501b
Formatting
2017-04-17 23:57:46 +01:00
Roland Winklmeier
e83a02b854
Set application to unit test before a call to CApplication::getSwiftApplication()
2017-04-17 23:57:39 +01:00
Roland Winklmeier
ba1122533f
Remove deprecated custom packet API from INetwork
...
Usage of this API was already discouraged, since all official
VATSIM packet handling should be in vatlib itself or for custom defined
packets in CNetworkVatlib. If a new custom packet needs to be added,
it should go into CNetworkVatlib directly and made available via normal
API methods to abstract the packets custom nature. The fact that
custom packets exist, should be kept internal. However, a debug message
is raised in case of an unknown custom packet in order to allow
detection and debugging.
refs #870
2017-04-17 23:57:37 +01:00
Klaus Basan
056d205488
refs #891 , unified "windows.h"
...
Remark: Using the lc version seems to be slightly smarter
http://stackoverflow.com/a/15466951/356726
2017-04-17 23:57:19 +01:00
Klaus Basan
e2b573b850
refs #891 , formatting
2017-04-17 23:57:10 +01:00
Klaus Basan
7203655a05
refs #892 , disable audio settings when no audio context is available
...
* Info for which machine audio setup is displayed
* Obtain audio "location"
* Remark: Audio can run on core and in GUI which is different from other contexts
2017-04-17 23:57:05 +01:00
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