Commit Graph

1789 Commits

Author SHA1 Message Date
Roland Winklmeier
2616f94f2d Define precipitation rate default unit to mm/h
There was a misalignment in precipitation rate units across the code.
GFS values are in kg m-2 s-1 which is equal to mm/s, but the default
unit seems to be mm/h in many weather documents.
2017-02-24 00:09:22 +00:00
Roland Winklmeier
f75a9ac476 Slightly adapt the cloud coverage conversion
refs #851
2017-02-24 00:09:20 +00:00
Roland Winklmeier
1f61458504 Add SimConnect utility converting weather grid
refs #851
2017-02-24 00:09:16 +00:00
Roland Winklmeier
97b21b6dac Add application role 'Sample'
Sample hotkey which requires access to CGuiApplication, did not yet
set a application role. Since there was no corresponding role for
samples, I added one and set it in sample hotkey.
2017-02-24 00:09:14 +00:00
Klaus Basan
265b6d33f0 refs #859, allow to trigger digest signal manually
* Useful if the input signal was just a bogus signal used to trigger
* Login component shows a use case
2017-02-24 00:09:11 +00:00
Klaus Basan
61e7f23847 refs #858, todo review (demoted, commented) 2017-02-24 00:09:00 +00:00
Klaus Basan
1ced7f3c0b refs #857, check if network is accessible in readers
* new read state "skipped"
* renamed to "isNetworkConnectedAndAccessible"
* checking before reading, which would only fail if network is not accessible
2017-02-24 00:08:55 +00:00
Mathew Sutcliffe
ac490eeed7 refs #815 Fixed missing CJsonScope in CAircraftEngineList. 2017-01-12 01:18:06 +00:00
Mathew Sutcliffe
a0e59546f0 fixed mistakes caught by clang 2017-01-11 01:28:42 +00:00
Mathew Sutcliffe
1c082c4649 doxygen 2017-01-11 01:28:40 +00:00
Mathew Sutcliffe
52777cf7dc todo adjustments 2017-01-11 01:28:39 +00:00
Mathew Sutcliffe
5ea9b90e87 noexcept adjustments in Optional<T> 2017-01-11 01:28:37 +00:00
Roland Winklmeier
7f21dae378 Pin QtDBus shared library on Windows after being loaded by X-Plane
refs #850
2017-01-10 23:47:21 +00:00
Klaus Basan
9eff387207 Removed deprecated funtions and changed code to use new functions 2017-01-10 23:47:10 +00:00
Klaus Basan
928dd9f34a Allow to admit caches used in model set loader 2017-01-10 23:46:57 +00:00
Klaus Basan
2a083f9113 refs #849, utility functions in model list added 2017-01-10 23:46:56 +00:00
Klaus Basan
ad0ef16ba5 refs #849, matching statistics entry and container class 2017-01-10 23:46:49 +00:00
Klaus Basan
dcfaca431c refs #849, use timestamp with server to indicate when login started
* CServer -> ITimestampBased
* added compare functions
2017-01-10 23:46:48 +00:00
Klaus Basan
5f18707c9c Minor fixes: Formatting, string generation 2017-01-10 23:46:47 +00:00
Roland Winklmeier
09963bf33a Call SymInitialize only once and SymCleanup at app exit
In order to refresh the modules, call SymRefreshModuleList regularly

refs #845
2017-01-10 23:46:43 +00:00
Mathew Sutcliffe
045b2a9f59 refs #815 When a cache/settings file has errors, back it up before it can be overwritten. 2017-01-10 23:46:38 +00:00
Mathew Sutcliffe
51c3ae8c25 refs #815 Catch and handle CJsonException when calling convertFromJson. 2017-01-10 23:46:36 +00:00
Mathew Sutcliffe
4f6d3ed3a3 refs #815 Added convertFromJsonNoThrow methods which catch CJsonException and return CStatusMessage. 2017-01-10 23:46:34 +00:00
Mathew Sutcliffe
bbdbd26f82 refs #815 Throw CJsonException when required JSON objects are not found. 2017-01-10 23:46:33 +00:00
Mathew Sutcliffe
7c5c9d30e6 refs #815 Added CJsonException and related utilities. 2017-01-10 23:46:31 +00:00
Klaus Basan
0c720c7c71 refs #848, added (utility) functions to parser 2017-01-10 23:46:18 +00:00
Klaus Basan
c20b54466f refs #848, some upfront cleanup 2017-01-10 23:46:17 +00:00
Klaus Basan
3f2fc33b27 Minor change, added ' in error messages 2017-01-10 23:46:08 +00:00
Klaus Basan
8341da2310 refs #846, support message as HTML 2017-01-10 23:45:57 +00:00
Klaus Basan
24bf0b940f refs #506, utility function for status message 2017-01-10 23:45:45 +00:00
Klaus Basan
2108422dc2 refs #844, allow to remove ATC stations outside of range 2017-01-10 23:45:41 +00:00
Klaus Basan
97819f0154 Formatting 2017-01-10 23:45:38 +00:00
Klaus Basan
d1e5566579 refs #844, settings for ATC stations (value object + trait) 2017-01-10 23:45:37 +00:00
Klaus Basan
b2e53d64f1 refs #841, settings which text messages will be displayed in GUI
(not to be confused which messages will be relayed to simulator)
2017-01-10 23:45:33 +00:00
Klaus Basan
be297d8ccf refs #840, update (ground) elevation via remote aircraft provider 2017-01-10 23:45:29 +00:00
Klaus Basan
667009c85e refs #840, moved interpolator classes into Simulation namespace 2017-01-10 23:45:27 +00:00
Klaus Basan
46fafde7a0 refs #840, add support for interpolation hints 2017-01-10 23:45:25 +00:00
Klaus Basan
534b9fb09e refs #840, style and const-correctness 2017-01-10 23:45:24 +00:00
Klaus Basan
de72a678a2 refs #840, updated value classes
* VTOL flag
* doxygen
* allow to stop after an object has been found
* support for hints/elevation
2017-01-10 23:45:22 +00:00
Klaus Basan
e1b472490f refs #840, class combining all hints for the interpolator 2017-01-10 23:45:19 +00:00
Klaus Basan
70aee605cb refs #840, value classes for ground elevation plane
Can be used as single point elevation or plane covering an airport
2017-01-10 23:45:18 +00:00
Mathew Sutcliffe
ef04c05831 refs #847 Missing cache directory is not an error, just means there is nothing to load. 2017-01-10 23:45:16 +00:00
Mathew Sutcliffe
34f7acbf8d refs #847 Fixed apparent copy/paste mistake. 2017-01-10 23:45:15 +00:00
Roland Winklmeier
58c816197e Use onGround flag only when ground speed is low
OnGround flag is not synchronized with positions and causes jumps
during right before takeoff and after landing. By adding a threshold
currently being 20 kts, we move the jump into an area when the aircraft
is still leveled.
2017-01-10 23:45:06 +00:00
Roland Winklmeier
518a0debb4 Fix CAircraftEngine to QString conversion
Instead of the actual engine number, the ASCII character with number
0-3 was printed.
2017-01-10 23:45:03 +00:00
Roland Winklmeier
4994bf12b2 Let airspace monitor store the aircraft parts history
This commit adds a feature in airspace monitor to store the history
of received aircraft parts. If needed the history can be retrieved
via context methods.

refs #835
2017-01-10 23:45:00 +00:00
Klaus Basan
a210b029f1 Fixed issues shown by new cppcheck rules
#831
2017-01-10 23:44:56 +00:00
Klaus Basan
5adb86ae83 refs #836, display elevation in UI
* added has hasGroundElevation
* added elevation to sim.values
2017-01-10 23:44:55 +00:00
Mathew Sutcliffe
7e85422da7 refs #837 CAircraftSituation altitude is part of its position. 2017-01-10 23:44:40 +00:00
Mathew Sutcliffe
7e1ed21662 refs #837 Height in feet, for consistency. 2017-01-10 23:44:37 +00:00