Commit Graph

84 Commits

Author SHA1 Message Date
Mat Sutcliffe
371c1f4f7c Issue #77 Break cyclic dependency between CLogCategory and numerous classes 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
b80114213d Issue #77 Move mixin classes to separate files
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Klaus Basan
a3f646a792 [FS9] Function for at least halfway correct engine type 2020-06-12 18:42:46 +01:00
Klaus Basan
e6a12d45c4 Ref T778, improved "canLikelySkipNearGround" in airspace monitor
* use CAircraftIcaoCode::guessModelParameters as this gives us an impression of speed
* use "breakable" do/while block / fewer nested "if" levels
2020-06-12 18:42:41 +01:00
Klaus Basan
4237839bbd Ref T704, split matching utils for logging in aviation context 2019-09-16 22:40:32 +01:00
Klaus Basan
6e5ce49498 Ref T654, "G" is glider and NOT gyrocopter 2019-05-13 11:20:54 +02:00
Klaus Basan
246d9abca8 Ref T578, CG null and DB key improvements 2019-04-11 22:12:02 +01:00
Klaus Basan
0b29894bd8 Ref T472, completer displays category 2019-04-11 22:11:41 +01:00
Klaus Basan
13de708944 Ref T472, improved scoring for ICAO code and added category support 2019-04-11 22:11:41 +01:00
Klaus Basan
360edca4b3 Ref T472, utility functions for category 2019-04-11 22:11:39 +01:00
Klaus Basan
a4dc89a295 Ref T562, fix 2-letter aircraft ICAO codes
* added constexpr for aircraft ICAO min/max length
* use ICAO designator in FP if there is no "getCombinedPrefixIcaoSuffix"
2019-04-11 22:11:39 +01:00
Klaus Basan
e31fa91052 FP style 2019-04-11 22:11:38 +01:00
Klaus Basan
4e20c20274 CAircraftIcaoCode/CAirlineIcao style 2019-04-11 22:11:37 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
c82efe441f Ref T472, category support for ICAO value objects 2019-02-22 20:36:18 +00:00
Klaus Basan
3be2cd6c5f Ref T472, style 2019-02-22 20:36:18 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Klaus Basan
509a60d06f Ref T524, filter by combined type/manufacturer 2019-02-22 20:35:46 +00:00
Mat Sutcliffe
1493106970 Style: removed outdated comments and includes. 2019-02-22 20:35:15 +00:00
Klaus Basan
2d3e2e2d99 Ref T265, Ref T430, Ref T473 functions renamed 2019-02-22 20:23:55 +00:00
Mat Sutcliffe
d651a9ee95 Fixed mistake in CAircraftIcaoCode::guessModelParameters 2019-02-22 20:23:50 +00:00
Mat Sutcliffe
d6b5dca6b2 Return a default-constructed QString instead of implicitly converting an empty string literal. 2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d When calling arg() on a QString constructed from a literal, use QStringLiteral. 2019-02-22 20:23:47 +00:00
Mat Sutcliffe
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
c71d358648 Fixed clazy warnings: unnecessary containers and containers being detached. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00: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
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
68607a3cb8 Ref T298, better string handling/messages 2018-08-09 01:25:30 +02:00
Klaus Basan
169dca8d84 Ref T275, aligned classes with new "comparePropertyByIndex" in base class 2018-06-13 14:00:27 +02:00
Klaus Basan
eb815ab987 Ref T261, improved value classes 2018-05-08 16:06:49 +02:00
Klaus Basan
756b1a1ada Ref T261, engine type as QChar 2018-05-08 16:06:48 +02:00
Klaus Basan
3f7b229e66 Ref T261, aircraft ICAO/parts guessing 2018-05-08 16:06:43 +02:00
Klaus Basan
7f4ee19d24 Ref T260, utility functions/improvements in aviation/simulation value objects 2018-05-08 16:06:36 +02:00
Klaus Basan
e3d17859a0 Ref T259, Ref T243 improved utility functions so parts can be guessed in interpolator
* engine count
* aligned naming to "getEnginesCount"
* formatting
2018-05-08 16:06:32 +02:00
Klaus Basan
33d4cf82ea Ref T242, null functions for livery, airline, aircraft 2018-02-09 04:43:50 +01:00
Klaus Basan
10f942e702 Formatting, minor tweaks 2018-02-09 04:43:45 +01:00
Klaus Basan
12b2bc4181 Ref T201, fixes for info object overview
* more detailed log info
* sort info objects so the correct value is obtained ("raw" names)
* check both "duplicate" strings
2017-12-21 19:47:41 +01:00
Klaus Basan
909342e172 Ref T201, formatting 2017-12-21 19:47:39 +01:00
Klaus Basan
9048ff0977 Ref T182, aircraft ICAO, airline ICAO and livery also contribute to scoring log messages 2017-11-09 04:42:20 +01:00
Klaus Basan
7db5e9aea3 Ref T182, adjust scoring in livery, ICAO codes 2017-11-09 04:42:07 +01:00
Klaus Basan
0f133f6505 Ref T182, livery/ICAO classed formatting 2017-11-09 04:42:06 +01:00
Klaus Basan
e25a3bdc93 Ref T118, aircraft ICAO formatting 2017-10-31 15:39:19 +01:00
Klaus Basan
d74bd4e7c3 Ref T118, "ZZZZ" ICAO from DB passes validation 2017-10-31 15:39:18 +01:00
Klaus Basan
b53a02821b Ref T109, improved lookup and matching log message 2017-09-24 19:51:00 +01:00
Klaus Basan
2093d9def2 Ref T97, use fuzzy search for aircraft ICAO 2017-09-24 19:49:13 +01:00
Klaus Basan
ff556e771f Ref T94, J super heavy 2017-09-24 19:49:10 +01:00
Klaus Basan
0c336952d2 Ref T26, Ref T27, utility functions in "value object" classes 2017-06-27 20:50:31 +02:00