Klaus Basan
3d314f8820
refs #808 , UI for CSimulatorInternals
...
* some functions renamed
* update function and view for internals
2016-12-13 19:01:03 +01:00
Klaus Basan
47b395f6b5
refs #808 , set internals object for FS9
...
(only basic code, needs to be completed)
2016-12-13 19:01:02 +01:00
Klaus Basan
53d430575c
refs #808 , set internals object for FSX
2016-12-13 19:01:01 +01:00
Klaus Basan
c4dd888fa7
refs #808 , added support for internals object
...
* initInternalsObject
* some formatting
2016-12-13 19:01:00 +01:00
Klaus Basan
c70b1ccb00
refs #808 , adjusted FSUIPC class
2016-12-13 19:00:59 +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
e9f52bb829
refs #806 , use token based approach for mapping component
...
Allows to respond quickly without overloading (DBus)
2016-12-13 19:00:56 +01:00
Klaus Basan
291474b96f
refs #806 , minor adjustments of token bucket
2016-12-13 19:00:55 +01:00
Klaus Basan
6a66ab84c2
Added log categories for driver/plugin
2016-12-13 19:00:54 +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
Klaus Basan
871a1dd321
Prevent killing timer with wrong id
2016-12-13 19:00:52 +01:00
Roland Winklmeier
2e5176ebcc
Set timer id to invalid once it got killed
...
After two consecutive calls to CSimulatorFsx::reset(), the timer was
killed again in the second call. This caused an internal Qt warning,
since the id is unknown after it got killed in the first call.
2016-12-13 19:00:51 +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
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