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
Klaus Basan
5bde36479d
Assert in network context
2016-12-13 18:59:55 +01:00
Klaus Basan
42549760ed
refs #789 , support for aircraft out of FSX reality bubble
...
* such aircraft will be tried to be added again
* removed qeueud adding as it was not solving the problem
2016-12-13 18:59:54 +01:00
Klaus Basan
356e91c22f
refs #789 , fixed wrong geodetic height for onGround guessing
...
use null unit instead
2016-12-13 18:59:53 +01:00
Klaus Basan
fbf048db4e
Utility function allows to remove multiple callsigns
2016-12-13 18:59:52 +01:00
Klaus Basan
5babb26861
refs #800 , fixed issues reported by MS
...
https://dev.vatsim-germany.org/issues/800#note-2
2016-12-13 18:59:51 +01:00
Klaus Basan
874f477611
refs #799 , overview page in settings component
2016-12-13 18:59:50 +01:00
Klaus Basan
82995ab690
refs #799 , some minor adjustments
2016-12-13 18:59:49 +01:00
Klaus Basan
438e72555a
refs #799 , own component for view update times
...
* utility function in CTime
* settings class for update times
2016-12-13 18:59:48 +01:00
Klaus Basan
9386741144
Fixed isValidAtcCallsign
2016-12-06 09:47:10 +01:00
Klaus Basan
851a7cd1a8
refs #798 , "limbo fix" as discussed on slack
...
* save FsInn packet and apply it when we know if we deal with pilot or ATC
* solves issues with wrongly assumed callsign
2016-12-06 09:47:09 +01:00
Klaus Basan
c86f56fae9
Some renaming and minor improvements in mapping view
...
* fixed issue with ambigious title
* renamed to ps_toogleEnabledAircraft
2016-12-06 09:47:08 +01:00
Klaus Basan
94d6b8d6b8
refs #789 , improvements to try to solve FSX issue in driver
...
* more asserts to find issues
* limit number of exceptions displayed
* reset() function (there was an issue with not cleaned up values)
* using CSimConnectObjects and adjustments for the previous changes
2016-12-06 09:47:07 +01:00
Klaus Basan
9deedf1e10
refs #789 , improvements when addressing FSX driver issue
...
* added new utility funtion is model list / aircraft list
* added setters/getters for CSimConnectObject
* added setters/getters for InterpolationStatus / PartsStatus
* added CSimConnectObjects (better encapsulation)
2016-12-06 09:47:04 +01:00
Klaus Basan
3de052494f
refs #796 , UI for internals
2016-12-06 09:47:02 +01:00
Klaus Basan
3f6cef1c9f
refs #796 , allow to toggle full interpolation
...
* add setup class, metadata registration, property index ...
* removed enableDebugMessages, added setInterpolatorSetup
* adjusted contexts
* used in interolator
2016-12-06 09:47:01 +01:00
Klaus Basan
f1ce5fc173
refs #793 , display mismatch between rendered and network model
...
* utility functions to display that info
* added in aircraft model
2016-12-06 09:47:00 +01:00
Klaus Basan
8a5d50a167
refs #780 , fixed property index compare issues found in the client
2016-12-06 09:46:57 +01:00
Roland Winklmeier
0b5f02f5d6
Restore simulator listeners after previous connection closed
2016-12-06 09:46:56 +01:00
Roland Winklmeier
ffa0b503a8
Handle addresses larger than 2 GB for MinGW builds
...
Before this commit, the default memory limit was around 2 GB and
our MinGW built executables hit this limit. Swift and all 3rd party
libraries are 64 bit safe, so it is also safe to use the
large-address-aware linker flag. This allows memory allocation up
to 4 GB.
refs #788
2016-12-06 09:46:55 +01:00
Mathew Sutcliffe
c9ddb2ba39
Added missing methods in CSequence.
2016-12-06 09:46:53 +01:00
Mathew Sutcliffe
e25785d09b
Fixed wrong CLogMessage constructor being used
...
nullptr was being implicitly converted to a null C-style string
via the initializer_list constructor of CLogCategoryList.
refs #790
2016-12-06 09:46:52 +01:00