Commit Graph

429 Commits

Author SHA1 Message Date
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
0eaab1753d Unload simulator driver when unchecked in settings
refs #909
2017-04-18 00:06:01 +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
d078aa9580 refs #911, formatting 2017-04-18 00:00:48 +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
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
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
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +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
1619a5ceb3 Formatting application context 2017-02-24 15:21:52 +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
6a96d14baa Formatting, icon utility function, icon size 2017-02-24 15:20:52 +00:00
Klaus Basan
7eacb41113 refs #873, allow to request aircraft parts (aircraft config) from network 2017-02-24 00:20:09 +00:00
Klaus Basan
818cdfba59 Doxygen, added link to dev wiki and fixed group 2017-02-24 00:19:11 +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
372e92072c Fall back to observer mode login in case no simulator is available
refs #860
2017-02-24 00:09:25 +00:00
Klaus Basan
63e2743867 refs #858, fixed todo by adding "getInterimPositionReceivers()" 2017-02-24 00:09:02 +00:00
Mathew Sutcliffe
a0e59546f0 fixed mistakes caught by clang 2017-01-11 01:28:42 +00:00
Roland Winklmeier
1a6c7fa192 Add control button to activate and deactivate swift weather
- GUI changes
- Context and ISimulator APIs
- Refactored settings and static weather injection in CSimulatorCommon

refs #807
2017-01-10 23:47:39 +00:00
Klaus Basan
194b2fd9ba refs #849, network context
* formatting
* made some functions protected instead public
2017-01-10 23:47:01 +00:00
Klaus Basan
44d7e3cca9 refs #849, simulator context
* detect when network is connected (to receive data for statistics)
* function to get statistics
* also added function to re-initialize last model set (unrelated, but in same class)
2017-01-10 23:46:59 +00:00
Klaus Basan
5c6436e896 Doxygen 2017-01-10 23:46:24 +00:00
Klaus Basan
15020b2d5f refs #848, parse command line in simulator context
* forward to driver if applicable
* hook up with facade to receive command lines
2017-01-10 23:46:20 +00:00
Klaus Basan
f281092f16 refs #844, request booking updates from airspace monitor
* removed blocks of \copydoc
* renamed to requestAtcBookingUpdate
2017-01-10 23:46:12 +00:00
Klaus Basan
be297d8ccf refs #840, update (ground) elevation via remote aircraft provider 2017-01-10 23:45:29 +00:00
Klaus Basan
667009c85e refs #840, moved interpolator classes into Simulation namespace 2017-01-10 23:45:27 +00:00
Roland Winklmeier
4994bf12b2 Let airspace monitor store the aircraft parts history
This commit adds a feature in airspace monitor to store the history
of received aircraft parts. If needed the history can be retrieved
via context methods.

refs #835
2017-01-10 23:45:00 +00:00
Mathew Sutcliffe
7e85422da7 refs #837 CAircraftSituation altitude is part of its position. 2017-01-10 23:44:40 +00:00
Klaus Basan
9bce443ced Removed unused function 2016-12-15 04:06:23 +01:00
Klaus Basan
b69008e0b3 refs #829, consolidated settings for simulator/messages
* move traits from blackcore to blackmisc
* renamed CSimulatorSettings/Messages
2016-12-13 19:02:13 +01:00
Klaus Basan
6befaa32d5 refs #797, added support for combined type
* adjusted log messages
* aligned name to combined type
2016-12-13 19:01:40 +01:00
Klaus Basan
49613651a8 Utility function to find out if model set is initialized 2016-12-13 19:01:31 +01:00
Klaus Basan
04e5bc6ecb refs #818, allow to log dummy messages / text messages from internals UI
* UI
* slots in network context
* adjusted overlay layout (based on the tests)
2016-12-13 19:01:22 +01:00
Klaus Basan
20b4044d29 Minor UI and style fixes
* completer for airports in ATC component
* log messages
* style fixes
2016-12-13 19:01:18 +01:00
Klaus Basan
2163fd9b01 refs #808, CSimulatorInternals
* renamed from CSimulatorSetup to CSimulatorInternals
* removed the FSX class, no longer needed
* utility functions for CNameVariantPair
2016-12-13 19:00:58 +01:00
Klaus Basan
3903a24696 refs #806, apply CInterpolationAndRenderingSetup
* removed no longer needed signatures
* some renaming of CInterpolationAndRenderingSetup functions
* adjusted UI element
2016-12-13 19:00:53 +01:00
Roland Winklmeier
d6deb077a7 Disconnect simulator plugin signals before unloading
When we unload a simulator plugin, we don't need to listen to any
of its events anymore. Therefore disconnect its signals before
unloading.
The disconnect already existing before this commit probably had the
same intention but did the wrong thing.

refs #801
2016-12-13 19:00:50 +01:00
Mathew Sutcliffe
53ceaca47c refs #800 Fixed unreachable code. 2016-12-13 19:00:32 +01:00
Klaus Basan
590433bc9f refs #780, renamed as mentioned in MS review
https://dev.vatsim-germany.org/issues/780 no 6
2016-12-13 19:00:14 +01:00
Klaus Basan
80d52963ef refs #801, temp. fix. avoiding crash during shutdown 2016-12-13 19:00:04 +01:00