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
096e1e9a81
refs #804 Fixed Clang static analysis warnings.
2016-12-13 19:00:49 +01:00
Mathew Sutcliffe
132ffa9ec2
refs #802 Fixed Clang warning (read beyond the end of a string literal).
2016-12-13 19:00:48 +01:00
Mathew Sutcliffe
5080c47288
refs #802 Fixed Clang warnings.
2016-12-13 19:00:47 +01:00
Mathew Sutcliffe
873b508943
refs #802 Fixed Clang warnings (Q_FUNC_INFO used outside function).
2016-12-13 19:00:45 +01:00
Mathew Sutcliffe
3ab121a593
refs #802 Fixed linker errors for exported explicit template instantiations with Clang on Windows.
2016-12-13 19:00:44 +01:00
Mathew Sutcliffe
3c40c1026e
refs #802 Fixed internal compiler errors with Clang on Windows.
2016-12-13 19:00:43 +01:00
Mathew Sutcliffe
10ca2026a9
refs #802 Enable build with Clang on Windows.
2016-12-13 19:00:42 +01:00
Mathew Sutcliffe
95bfff36b0
refs #800 Use int as size_type for compatibility with Qt containers.
2016-12-13 19:00:41 +01:00
Mathew Sutcliffe
cb266f0326
refs #800 Fixed missing virtual destructor on base class.
2016-12-13 19:00:40 +01:00
Mathew Sutcliffe
08ffc57ffa
refs #800 Removed needless virtual destructor of value class.
2016-12-13 19:00:39 +01:00
Mathew Sutcliffe
3351b1f8e1
refs #800 Fixed warning: deprecated implicit copy ctor/assign with user-declared dtor (rule of zero).
2016-12-13 19:00:38 +01:00
Mathew Sutcliffe
a44ffcbe79
refs #800 Removed pointless casts and conversions.
2016-12-13 19:00:37 +01:00
Mathew Sutcliffe
95a82f37a0
refs #800 QtInfoMsg severity was added in Qt 5.5, we can remove the category suffix workaround.
2016-12-13 19:00:36 +01:00
Mathew Sutcliffe
af066be740
refs #800 Fixed copy/paste mistake.
2016-12-13 19:00:35 +01:00
Mathew Sutcliffe
6f907c5ade
refs #800 Fixed uninitialized variable.
2016-12-13 19:00:34 +01:00
Mathew Sutcliffe
39188fa7a8
refs #800 Fixed logic error (all control paths lead to assert).
2016-12-13 19:00:33 +01:00
Mathew Sutcliffe
53ceaca47c
refs #800 Fixed unreachable code.
2016-12-13 19:00:32 +01:00
Mathew Sutcliffe
ced70c4612
refs #800 Replaced some C-style casts.
2016-12-13 19:00:31 +01:00
Mathew Sutcliffe
1f54bbc0d5
refs #800 Removed redundant semi-colons, etc.
2016-12-13 19:00:30 +01:00
Mathew Sutcliffe
429c6946c6
refs #800 Fixed making unnecessary copies.
2016-12-13 19:00:29 +01:00
Mathew Sutcliffe
6f972035ab
refs #800 Fixed some declaration shadows variable in outer scope warnings.
2016-12-13 19:00:27 +01:00
Mathew Sutcliffe
5791de6860
refs #800 Fixed some implicit conversion warnings.
2016-12-13 19:00:26 +01:00
Mathew Sutcliffe
461474e29d
refs #800 Fixed "using namespace" in header.
2016-12-13 19:00:25 +01:00
Mathew Sutcliffe
c43c1458f4
Minor cleanup in qmake files.
2016-12-13 19:00:24 +01:00
Mathew Sutcliffe
f60f46bcda
refs #800 Extend elevated warnings mode and make it configurable with BLACK_CONFIG.
2016-12-13 19:00:23 +01:00
Mathew Sutcliffe
ee8518ef93
We can restore this warning now that Microsoft have fixed their <functional> header.
2016-12-13 19:00:22 +01:00
Mathew Sutcliffe
2ab2819867
refs #784 Adjust CValueCache to use the new JSON schema.
2016-12-13 19:00:21 +01:00
Mathew Sutcliffe
72a5a0e670
refs #784 CVariant can detect whether a value object supports memoized JSON and pick the appropriate methods to call.
2016-12-13 19:00:20 +01:00
Mathew Sutcliffe
5d7289adb3
refs #784 The data cache worker thread could interfere with performance measurements,
...
so only run it in applications that start the main event loop.
2016-12-13 19:00:19 +01:00
Mathew Sutcliffe
f4982ffbc4
refs #784 Extend JSON performance sample to test memoization of CAircraftModelList.
2016-12-13 19:00:18 +01:00
Mathew Sutcliffe
45bb9a2737
refs #784 Use CMemoTable to implement a compact JSON schema for CAircraftModelList.
2016-12-13 19:00:17 +01:00
Mathew Sutcliffe
f6f2d38821
refs #784 Added helper class for using CMemoTable with containers of value objects.
2016-12-13 19:00:16 +01:00
Mathew Sutcliffe
13380aa85d
refs #784 Added CMemoTable, a data structure for performing memoization.
2016-12-13 19:00:15 +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
f57eadef7c
refs #780 , remove unused signatures in variantprivate
...
* as discussed MS/KB on slack
* MS: "`setFromQVariant` is never actually called, so I prefer to remove it"
2016-12-13 19:00:13 +01:00
Klaus Basan
cb2be14083
Fixed "synchronized" typos
2016-12-13 19:00:12 +01:00
Klaus Basan
dff8db131f
refs #780 , "qUtf8Printable" fixes
...
https://dev.vatsim-germany.org/issues/780#note-9 number 2
2016-12-13 19:00:11 +01:00
Klaus Basan
04a5a74dc3
ref #803 , do not use synchronize from another thread
...
* changed info component to use admit
* removed web service synchronize
2016-12-13 19:00:10 +01:00
Klaus Basan
6f1a6deefd
refs #796 , started to move rendering distance/max.aircraft to CInterpolationAndRenderingSetup
...
(this will allow to remove a lot of signatures in context/simulator interface)
2016-12-13 19:00:08 +01:00
Klaus Basan
1a771aaed0
refs #789 , treat aircraft with no model string as disabled
2016-12-13 19:00:07 +01:00
Klaus Basan
281bae1e6e
GUI fixes
...
* added missing support for weather component in main info area
* closing the navigator needs to display main window (otherwise no windows is visible)
2016-12-13 19:00:06 +01:00
Klaus Basan
6e6a1d1519
Minor adjustments based on a slack discussion with MS
...
(already call admit in ctor to start loading)
2016-12-13 19:00:05 +01:00
Klaus Basan
80d52963ef
refs #801 , temp. fix. avoiding crash during shutdown
2016-12-13 19:00:04 +01:00
Klaus Basan
ec5bbc37ad
refs #801 , shutdown flag in runtime
...
(can be used to skip functions/tasks no longer make sense during shutdown)
2016-12-13 19:00:03 +01:00
Klaus Basan
4d7e69e5b0
Minor formatting
2016-12-13 19:00:02 +01:00
Klaus Basan
8a44774c98
refs #799 , use message settings
2016-12-13 19:00:01 +01:00
Klaus Basan
af6dcc6191
Minor fix
2016-12-13 19:00:00 +01:00
Klaus Basan
bb0a96749e
refs #799 , adjusted swift client reg. the settings updates
2016-12-13 18:59:59 +01:00
Klaus Basan
df64f31dbf
refs #799 , changed components to use settings
...
* removed update timer
* Removed getter/setters for update times
* used UI component for settings in main settings component
2016-12-13 18:59:58 +01:00