Commit Graph

1301 Commits

Author SHA1 Message Date
Klaus Basan
da59ff42a4 Formatting, comments
#930
2017-04-18 00:07:50 +01:00
Klaus Basan
a22631777d Check on reader to avoid redundant error messages 2017-04-18 00:07:24 +01:00
Klaus Basan
9ec452f1c4 Minor, string building 2017-04-18 00:07:10 +01:00
Klaus Basan
9faad01c8b refs #921, changed setup/reader to distribution URL 2017-04-18 00:07:08 +01:00
Klaus Basan
127f1bc38c Set started flag correctly
Parsing will disable starting if there is an issue with the cmd line (mostly network not available, bootstrap URL not reachable).
2017-04-18 00:07:03 +01:00
Klaus Basan
f85501c7bf refs #921, use QVersionNumber
* CVersion removed
* remaining utility functions moved to CBuildConfig
* patch version -> micro version (Qt naming)
* using classes adjusted
2017-04-18 00:06:58 +01:00
Klaus Basan
ec297d5838 Formatting, typos 2017-04-18 00:06:53 +01:00
Klaus Basan
d4fbf8b49c Typo 2017-04-18 00:06:47 +01:00
Klaus Basan
09a71feef4 refs #921, adjusted application class to use distribution info 2017-04-18 00:06:45 +01:00
Klaus Basan
d1a72f8d62 refs #921, adjusted reader to use distribution info 2017-04-18 00:06:42 +01:00
Klaus Basan
cbf69d9847 refs #921, remove UpdateInfo class (now distribution list) 2017-04-18 00:06:37 +01:00
Klaus Basan
929e2883d0 refs #921, renaming follow ups 2017-04-18 00:06:34 +01:00
Mathew Sutcliffe
3011c3a7ed Treat traffic network connection failure as a non-validation message, so it gets its own overlay messagebox. 2017-04-18 00:06:10 +01:00
Mathew Sutcliffe
c1a82ad60e Fixed undescriptive error message generated by CNetworkUtils::canConnect. 2017-04-18 00:06:08 +01:00
Roland Winklmeier
9dbb984e1a Split listening for simulators and loading their plugins
Previously loadSimulatorPlugin was doing two things. First starting
a listener and second loading the plugin itself. This was confusing
since the sequence is to listen first and load not before a simulator
is available.
This change splits this up properly into two methods. listenForSimulator()
is called when the plugin is started and as soon as a simulator is started,
its plugin will be loaded.

refs #909
2017-04-18 00:06:06 +01:00
Roland Winklmeier
aafe211b5c Make simulator listeners safe against multiple starts
refs #909
2017-04-18 00:06:03 +01:00
Roland Winklmeier
0eaab1753d Unload simulator driver when unchecked in settings
refs #909
2017-04-18 00:06:01 +01:00
Klaus Basan
b785e32256 refs #911, utility functions for cut and paste JSON 2017-04-18 00:05:33 +01:00
Klaus Basan
d214739912 refs #917, validate simulator setting 2017-04-18 00:04:54 +01:00
Klaus Basan
0544ab0193 refs #917, fixed plugin ids in wizard
utility functions CSimulatorInfo -> plugin
2017-04-18 00:04:50 +01:00
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