Commit Graph

1281 Commits

Author SHA1 Message Date
Klaus Basan
0942d007d5 refs #917, made simulator settings read only 2017-04-18 00:04:49 +01:00
Klaus Basan
08f6f3f81c refs #912, icon and identifier for PTT hotkey as static functions 2017-04-18 00:04:39 +01:00
Klaus Basan
422e6626c8 refs #912, formatting, typos, const 2017-04-18 00:04:37 +01:00
Klaus Basan
277837bb30 refs #916, dot command for interpolator mode 2017-04-18 00:01:03 +01:00
Klaus Basan
d078aa9580 refs #911, formatting 2017-04-18 00:00:48 +01:00
Klaus Basan
622a2f0937 refs #911, backend function in listener
Can provide information of the system which was connected
2017-04-18 00:00:47 +01:00
Klaus Basan
8a2eef66ae refs #911, formatting FSX/P3D connect info 2017-04-18 00:00:45 +01:00
Mathew Sutcliffe
70520d44c3 refs #884 Protect filesystem race in settings using QLockFile. 2017-04-18 00:00:24 +01:00
Mathew Sutcliffe
5b5e80e67f refs #914 Ignore FSIP2PR packets. 2017-04-18 00:00:18 +01:00
Klaus Basan
0f2680ba2a Formatting #910 2017-04-18 00:00:06 +01:00
Klaus Basan
705e83e156 Simplified Ctor for application with CApplicationInfo::Application 2017-04-18 00:00:02 +01:00
Roland Winklmeier
dbcde5bcf5 Create crashpad database directory before initializing CrashReportDatabase 2017-04-17 23:59:50 +01:00
Klaus Basan
fce4cb8a4d refs #827, preferColorLiveries as parameter for scoreFull
flag will be set in aircraft matcher
2017-04-17 23:59:33 +01:00
Klaus Basan
8d198a9174 refs #827, moved matching utilities to blackmisc so it can be used also with score functions in blackmisc 2017-04-17 23:59:25 +01:00
Klaus Basan
5323491eb9 Improved handling for "unexpected shutdown"
(such as DBus down/unavailable)
2017-04-17 23:59:23 +01:00
Klaus Basan
6640c84e63 refs #907, consolidation function
remark: kept with other consolidation functions although not DB related
2017-04-17 23:59:21 +01:00
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