Commit Graph

208 Commits

Author SHA1 Message Date
Klaus Basan
afbb87298f Ref T77, prefix for getDbKeyAsStringInParentheses 2017-05-09 19:13:53 +02:00
Mathew Sutcliffe
d5ab73e1bc Replace QRegExp with QRegularExpression
Reviewers: kbasan, msutcliffe

Reviewed By: kbasan, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D11
2017-05-05 23:08:35 +01:00
Mathew Sutcliffe
e3fe8ec39f refs #937 Resolved clazy warnings: miscellaneous. 2017-04-19 19:31:50 +01:00
Mathew Sutcliffe
3ea9e33e6b refs #937 Resolved clazy warnings: pass-by-value/reference. 2017-04-19 19:31:42 +01:00
Mathew Sutcliffe
b7f69c6887 refs #937 Resolved clazy warnings: unnecessary memory allocation. 2017-04-19 19:31:39 +01:00
Klaus Basan
5c32a912f3 Based on unit test failure (clang):
* now ignore incomplete entities for airline/aircraft ICAOs from DB
* utility functions to find invalid designators
* adjusted unit test, avoid taking a random element
* and fixed 4 wrong ICAO entries in DB
2017-04-18 00:08:08 +01:00
Klaus Basan
35c685b344 Formatting, #825 (matching) 2017-04-17 23:58:53 +01:00
Klaus Basan
297fef7c3c refs #899, added replaceOrAddObjectsByCallsign utility function 2017-04-17 23:58:24 +01:00
Klaus Basan
f71e717ec1 refs #899, formatting, renaming, include guard names 2017-04-17 23:58:22 +01:00
Klaus Basan
a7393b04e1 Formatting #897 2017-04-17 23:58:18 +01:00
Klaus Basan
f9e0146df9 refs #827, added groupid/name/designator 2017-04-17 23:57:32 +01:00
Klaus Basan
a68f9db2ec refs #893, Modulator added compareByPropertyIndex 2017-04-17 23:57:27 +01:00
Klaus Basan
e90c65a33a refs #893, formatting 2017-04-17 23:57:20 +01:00
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
f71cb04cd2 Formatting (#879) 2017-02-24 15:21:23 +00:00
Klaus Basan
87fc64f86d refs #875, PODType
Clang: const type without a user-provided default constructor
2017-02-24 15:21:11 +00:00
Klaus Basan
113fe2ec5a refs #878, fixes CAirport for DBus 2017-02-24 15:21:07 +00:00
Klaus Basan
c1482dca36 Formatting, help text beautifyHelpMessage, improved convertToQString 2017-02-24 15:20:55 +00:00
Klaus Basan
b6ac5cbb45 refs #873, added cabin and recognition light plus anyEngineOn 2017-02-24 15:20:32 +00:00
Klaus Basan
e3ab9d08c3 Do not show tiny airfields of FSX 2017-02-24 15:20:31 +00:00
Klaus Basan
f0cbe3b332 refs #873, nullable interface for value objects 2017-02-24 15:20:28 +00:00
Klaus Basan
d4b2238dc6 Formatting 2017-02-24 00:20:11 +00:00
Klaus Basan
36fb62a6fe refs #873, allow null for lights 2017-02-24 00:19:53 +00:00
Klaus Basan
3090413849 refs #873, value object light to light states 2017-02-24 00:19:43 +00:00
Klaus Basan
62d4a94106 refs #865, further improved logging
* set log flag in hints, so no lock for each aircraft is needed
* as a result log functions have a bool log parameter now
* highlight situation and parts changed
2017-02-24 00:19:18 +00:00
Klaus Basan
8fb79f613c refs #865, use CG for on ground estimation 2017-02-24 00:19:13 +00:00
Klaus Basan
def51576de refs #865, added log functions to interpolator
* updated HTML template
* parts use now string builder
2017-02-24 00:18:57 +00:00
Klaus Basan
c84bf93862 refs #865, added ternary ground flag
* also add reliablity for ground flag
* default elevation null
* added missing property indexes
2017-02-24 00:18:54 +00:00
Klaus Basan
3c7eb6ea28 refs #865, add onGround flag to aircraft situation 2017-02-24 00:18:45 +00:00
Klaus Basan
daab5eed49 refs #865, adjusted interpolator to use elevation or elevation provider
* adjusted IInterpolator::setGroundElevationFromHint
* removed cgAboveGround from getCorrectedAltitude
2017-02-24 00:18:43 +00:00
Klaus Basan
38585d10b2 refs #865, hints get ground elevation from provider or from set value
* using CAltitude for elevation provider
* null() for CAltitude
* formatting of members
* fixme in fs9 client
2017-02-24 00:18:40 +00:00
Mathew Sutcliffe
1c7fb518ca Fixed broken link URLs in comments. 2017-02-24 00:18:16 +00:00
Mathew Sutcliffe
c00a13a29c refs #852 Added a floating-point onGround value in CAircraftParts. 2017-02-24 00:17:48 +00:00
Mathew Sutcliffe
3e70ab1207 refs #852 Add a time offset to CAircraftParts. 2017-02-24 00:17:46 +00:00
Mathew Sutcliffe
ac490eeed7 refs #815 Fixed missing CJsonScope in CAircraftEngineList. 2017-01-12 01:18:06 +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
5f18707c9c Minor fixes: Formatting, string generation 2017-01-10 23:46:47 +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
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
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
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
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
544a1cca45 refs #837 Don't misuse coordinate height as ground elevation, use a separate member instead. 2017-01-10 23:44:31 +00:00
Mathew Sutcliffe
b252673928 refs #837 Using new abbreviated syntax for null units. 2017-01-10 23:44:30 +00:00
Klaus Basan
3b25781a06 refs #825, utility functions
* allow to prefer color liveries (idea: when no airline is found, a neutral livery looks better)
* pick randomly among equal scores
2016-12-13 19:02:00 +01:00
Klaus Basan
630ec78d38 refs #820, utility functions for score and groupBy 2016-12-13 19:01:43 +01:00
Klaus Basan
6befaa32d5 refs #797, added support for combined type
* adjusted log messages
* aligned name to combined type
2016-12-13 19:01:40 +01:00