Commit Graph

408 Commits

Author SHA1 Message Date
Klaus Basan
dec0b12ea2 Ref T397, checks on vector to find root cause NaN/inf issue
* sometimes very large numbers (xxE38) in vector
* sometimes vectors which look correct, but exceed [-1,1]
2018-11-04 17:42:40 +01:00
Klaus Basan
abe363494b Ref T385, added propertyBy functions for airport ICAO + style 2018-10-07 16:17:27 +02:00
Klaus Basan
428c37fd97 Ref T384, check for ATC suffix 2018-10-05 17:39:59 +02:00
Klaus Basan
1195eba417 Ref T385, OBS aircraft callsign
* in CAirspaceMonitor::onIcaoCodesReceived we know we deal with aircraft only and explicitly deal with it
* in other cases we can not tell if we deal with aircraft/ATC callsign for sure, we ignore invalid callsigns
2018-10-05 17:39:59 +02:00
Roland Winklmeier
ebe23a694b Fix GCC7 fallthrough warnings 2018-10-05 17:39:58 +02:00
Klaus Basan
da3b5bb763 Ref T372, callsign clear 2018-10-05 17:39:56 +02:00
Klaus Basan
5dbf4468f2 COM frequency rounding + testcase 2018-10-05 17:39:56 +02:00
Klaus Basan
01cfe644d3 Ref T373, utility functions in COM system 2018-09-25 03:16:22 +02:00
Klaus Basan
418324e64f Ref T372, Ref T370 testing with emulated driver fixes
* added ground speed
* changed altitude parsing to CPqString::SeparatorsBestGuess
* signal when parts form is set
2018-09-25 01:39:08 +02:00
Klaus Basan
a9f0cebe13 Ref T345, fixed bug: only one station must be updated with the new message 2018-09-17 18:28:53 +02:00
Klaus Basan
4913b93724 Style 2018-09-17 18:28:52 +02:00
Klaus Basan
1f3650e7e2 Avoid empty callsign objects 2018-09-17 18:28:51 +02:00
Klaus Basan
c3cf39e102 Renamed to simplifyAccents (actually the chars are not removed, but replaced) 2018-09-17 18:28:29 +02:00
Klaus Basan
6c9804a1df Ref T353, clean string used with remarks and route
* use ASCII only characters
* simplify string
* max. length
2018-09-17 18:28:24 +02:00
Klaus Basan
c675ef5c32 Ref T335, misc. improvements of value classes/list
- verifyModelData
- setModelType
- getCallsignsAsString
2018-09-12 17:40:51 +02:00
Klaus Basan
ad37e67a6b Ref T345, improved handling of info message in CAtcStation 2018-09-12 17:40:32 +02:00
Klaus Basan
62601bde9d Ref T345, fixed value class CInformationMessage
- added property functions
- used ITimestampBased
2018-09-12 17:40:31 +02:00
Klaus Basan
1243d6e93a Ref T323, better parsing of altitude values
- assume "24000" also as FL
- epsilon comparison
- use 0-9 char functions
- style
2018-09-12 17:40:24 +02:00
Klaus Basan
a9d728f451 Ref T338, utility functions / parsing
- nthIndexOf
- measurement unit can be parsed case insensitive
- CSimpleCommandParser::remainingStringAfter from n-th space
- improved frequency parsing
2018-09-12 17:01:41 +02:00
Klaus Basan
3d2d999f7a Ref T338, style 2018-09-09 02:55:16 +02:00
Klaus Basan
a2486981bd Style 2018-09-08 15:36:25 +02:00
Klaus Basan
651ead5b51 Ref T335, misc improvements in value objects
* allow to reset PBH for terrain probe
* check for null altitude before converting
* function isTerrainProbe for model/aircraft
2018-09-08 15:36:25 +02:00
Klaus Basan
8286da4395 Fixed Doxygen warning 2018-09-01 03:12:44 +02:00
Klaus Basan
260585e35c Ref T308, performance optimized fromDatabaseJsonCaching
* maps for id/object
* caching fromDatabaseJsonCaching
* fixed CAircraftModel::fromDatabaseJson wrong prefix
2018-08-29 03:08:23 +02:00
Klaus Basan
c43fba9abd Ref T308, style 2018-08-29 03:08:21 +02:00
Klaus Basan
84bf19697c Ref T310, utility functions for statistics (incl.renaming) 2018-08-28 01:15:49 +02:00
Klaus Basan
fd751e66c2 Faster QString handling in aircraft ICAO code 2018-08-27 18:58:12 +02:00
Klaus Basan
09e8b3ffcf Completer sort order and ICAO code string building 2018-08-26 15:27:04 +02:00
Klaus Basan
302e9fc9d0 Use QStringBuilder in livery 2018-08-26 15:26:59 +02:00
Klaus Basan
1755463ec4 Improved way to get situation with altitude offset 2018-08-26 15:26:51 +02:00
Klaus Basan
d010f6f15a Utility functions to improve resolution in auto stash component 2018-08-26 15:25:08 +02:00
Roland Winklmeier
3267d1ec38 Fix implicit conversion warning 2018-08-25 22:12:03 +02:00
Roland Winklmeier
29e50ee516 Fix missing function argument 2018-08-25 22:12:03 +02:00
Klaus Basan
9ec59514dc Small improvements of auto stash component
- airline can be set in model
- fallback if there is no airline, but livery code
2018-08-22 12:32:07 +02:00
Klaus Basan
12f6e006ab Ref T308, loading JSON from DB optimizations
- info about time consumed for parsing (so we can benchmark)
- using the "optimized" YYYYmmdd parsing
2018-08-22 12:31:54 +02:00
Klaus Basan
f1312bbb50 Style 2018-08-21 22:10:27 +02:00
Klaus Basan
dc534fc88c Ref T298, improved matching log messages 2018-08-17 01:43:07 +02:00
Klaus Basan
e21328a5a6 Style 2018-08-16 14:44:11 +02:00
Klaus Basan
38e2a3ee3d Ref T301, some transponder code style fixes 2018-08-13 02:59:38 +02:00
Klaus Basan
2461cfb0ba Ref T302, register metadata functions 2018-08-13 02:59:37 +02:00
Klaus Basan
9bb3f98489 Style 2018-08-13 02:59:35 +02:00
Klaus Basan
68607a3cb8 Ref T298, better string handling/messages 2018-08-09 01:25:30 +02:00
Klaus Basan
ff9d6147c8 Ref T299, pitch bank heading info 2018-08-07 20:41:03 +02:00
Klaus Basan
c8fc50e787 Ref T296, adding scenery offset as situation member plus utility functions
* frontOrNull/backOrNull
* added offset in model
* style/renaming
2018-07-31 01:43:36 +02:00
Klaus Basan
9c0e4356b2 Fix finding of std. livery for a given airline.
This was ambigous in the past and could show wrong liveries if 2 or more liveries had the same airline code.
2018-07-20 18:05:57 +02:00
Klaus Basan
52513db63f Ref T290, XPlane refactoring
* typo getRemoteAircraftsData -> getRemoteAircraftData (no "s")
* typo getEelevationAtPosition (double "Ee")
* get functions "const"
* added unit for some variables such as latitudeDeg
2018-07-17 19:04:50 +02:00
Klaus Basan
6af1998f58 Style and comments 2018-07-12 18:29:42 +02:00
Klaus Basan
dd4ce91744 Situation change fix, typo 2018-07-12 18:29:41 +02:00
Klaus Basan
a5acd0a1ec Ref T268, elevation handling improvements
* utility functions
* made storeAircraftSituation virtual and return Aviation::CAircraftSituation
* coordinate toQString in deg/rad
2018-07-11 23:44:11 +02:00
Klaus Basan
b74de43ce0 Ref T268, compare for CAltitude 2018-07-10 17:17:34 +02:00