Commit Graph

4051 Commits

Author SHA1 Message Date
Mathew Sutcliffe
c43c1458f4 Minor cleanup in qmake files. 2016-12-13 19:00:24 +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
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
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
Mathew Sutcliffe
b5dfd15d66 When dealing with pitch and bank as signed ints, it is desirable to
round down, rather than toward zero, to get a linear distribution.

refs #790
2016-12-06 09:46:51 +01:00
Mathew Sutcliffe
f4d7474941 [FS9] Removed needless constructors 2016-12-06 09:46:50 +01:00
Mathew Sutcliffe
c427052354 [FS9] Using auto to avoid mindless duplication 2016-12-06 09:46:49 +01:00
Roland Winklmeier
dd0d9f1133 Fix cmd line arguments to allow passing client id and key pair
Before this commit, a user was able to pass a FSD key only via command
line arguments. However, changing the key itself is not enough. The key
always needs to be set together with its corresponding id.

refs #795
2016-12-06 09:46:48 +01:00
Mathew Sutcliffe
969c077182 Fixed possible memory leak in BlackMisc::singleShot. 2016-12-06 09:46:47 +01:00
Roland Winklmeier
6f5193a74f [FS9] Read and update own aircraft model via FSUIPC
FS9 plugin did not detect own aircraft model under all circumstances.
FS9 does not initially send it when connecting - only
during initial selection and if it is changed later. In order
to get the initial model if swift is started while FS9 was already
running, read it regularly from FSUIPC.
2016-12-06 09:46:46 +01:00
Roland Winklmeier
55b19d2f74 [FS9] Move MPChangePlayerPlane sending into its own member function 2016-12-06 09:46:45 +01:00