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
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
Roland Winklmeier
a13f7eb1d4
[FS9] Add missing null termination when serializing QStrings
...
The produced QByteArray was missing the null terminating character,
since QByteArray::append() only added up to and not including '\0'.
This was also the reason why sometimes planes did not change their
aircraft models properly.
2016-12-06 09:46:44 +01:00
Roland Winklmeier
ea561cf723
Warn in case pitch value from simulator is out of limits
...
refs #790
2016-12-06 09:46:43 +01:00
Roland Winklmeier
eb58450e8c
Remove unnecessary limit checking
...
A signed 10 bit integer has a range of [-512, +511]. After applying
the multiplicator, neither pitch nor bank will every be outside of
those ranges.
refs #790
2016-12-06 09:46:42 +01:00
Roland Winklmeier
7f90652b2f
Use bitwise negation operator to invert integer pitch and bank angles
...
refs #790
2016-12-06 09:46:41 +01:00
Roland Winklmeier
5d7eff0797
Fix incorrect integer signedness in FS9 SDK
...
refs #790
2016-12-06 09:46:40 +01:00
Mathew Sutcliffe
5035e7b5fb
refs #782 CAtomicFile on Windows: flush buffer before attempting to rename,
...
and use ReplaceFile to rename if target already exists.
2016-12-06 09:46:39 +01:00
Klaus Basan
52cd84dd99
refs #787 , display shared files timestamp in UI
2016-12-06 09:46:19 +01:00
Klaus Basan
ff394f4785
refs #787 , support for Header / shared files in database reader / web services
...
* split JsonDatastoreResponse in subclass HeaderResponse
* support for request newtwork request duration ("started") in application
* removed ps_setupChanged because it was unused
2016-12-06 09:35:02 +01:00
Klaus Basan
5379215dd5
Unrelated typo/formatting fixes
2016-12-06 09:35:01 +01:00
Klaus Basan
dcaa745e7b
refs #787 , utility functions for shared files
...
* entity to shared file, shared file for DB Info
* CUrl path function
* removed redundant code in CDbInfo::getEntity() and fixed CEntityFlags::singleEntityByName
2016-12-06 09:35:00 +01:00
Klaus Basan
cbcb307748
Clang warning reported by MS (slack)
2016-12-06 09:34:59 +01:00
Klaus Basan
4c1890dbd2
refs #793 , renamed function in simulator common
2016-12-06 09:34:57 +01:00
Klaus Basan
72fdf7c5bc
refs #793 , added function to reset model (after it was manually changed)
...
* located in context since context owns matcher object
* call from GUI
* some code formatting to indicate the cross simulator slots connected in runtime
refs #780
2016-12-06 09:34:56 +01:00
Klaus Basan
55020277b5
refs #793 , adjusted model to use network model, also renamed mode to better relect meaning
2016-12-06 09:34:55 +01:00
Klaus Basan
ca6f3b15b7
refs #793 , added updateAircraftNetworkModel in provider
...
* adjusted network context (implementing provider interface)
* and airspace monitor (also implementing provider interface)
* also formatted provider / context to new style (less copydoc)
2016-12-06 09:34:54 +01:00
Klaus Basan
0dd9bce697
refs #793 , keep network model (as reverse looked up)
2016-12-06 09:34:53 +01:00
Klaus Basan
7231ec06f3
refs #792 , do not reverse lookup a model if it is not 100% identifiable
...
Instead only use livery, airline, aircraft ICAO
2016-12-06 09:34:52 +01:00