Commit Graph

614 Commits

Author SHA1 Message Date
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
7ef0e6e1eb Fix cppcheck warnings 2023-04-18 16:07:19 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Mat Sutcliffe
7691e42a5b Fix doxygen warnings
Fixes #188
2023-04-05 18:57:11 +02:00
Mat Sutcliffe
b43d093b67 Bypass double precision issues in CComSystem::isSameFrequency 2023-03-12 19:00:03 +00:00
Lars Toenning
e2fb684ac8 Increase upper frequency limit for 8.33 kHz spacing
Related to #186
2023-02-10 19:08:56 +01:00
Lars Toenning
8747b91ea6 Remove unused ChannelSpacing parameter 2023-02-10 19:08:49 +01:00
Lars Toenning
76b591bf06 Rename CAtcStation frequency related methods 2023-02-10 19:08:49 +01:00
Lars Toenning
7fdb1035d1 Remove unused methods 2023-02-10 19:08:48 +01:00
Lars Toenning
a96d792e25 Adapt channel comparison for 8.33 kHz spacing
Related to #186
2023-02-10 19:08:44 +01:00
Lars Toenning
5724d286d0 Add 8.33 kHz spacing helper methods
Related to #186
2023-02-10 19:08:36 +01:00
Lars Toenning
b3e5539ec2 Enable 8.33 kHz frequency spacing support
Related to #186
2023-02-10 19:08:32 +01:00
Lars Toenning
92351fa8ee Fix rounding of 8.33 kHz spacing frequencies
Related to #186
2023-02-10 19:08:13 +01:00
oktal3700
6c9b2890a7 Remove wrong assert
CG can be negative.
2022-08-27 16:08:11 +01:00
Lars Toenning
315df4bceb Remove unused method parameters 2022-06-20 23:43:45 +02:00
Lars Toenning
e5a82d67f9 Declare empty constructor as default 2022-06-20 23:43:45 +02:00
Lars Toenning
f5d3d59a86 Use C++17 nested namespaces 2022-06-20 23:38:48 +02:00
Lars Toenning
d1f41daba2 Remove aggregate include headers
They are only used for registermetadata. Explicitly mentioning the
dependencies/headers there will reduce work to maintain two separate files.
2022-06-20 23:38:48 +02:00
Lars Toenning
0c1a5a5c97 Remove unused stringutils methods 2022-05-25 19:47:34 +01:00
Lars Toenning
beeabb51c2 Remove unused adfsystem 2022-05-25 19:47:34 +01:00
Lars Toenning
c0efc9ea81 Clean up includes 2022-05-25 19:47:34 +01:00
Mat Sutcliffe
117f01902a [Velocity] Add length unit and rename time unit 2022-02-20 14:33:08 +00:00
Mat Sutcliffe
edc175d133 Rename member 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
a90957ee56 Add a flag indicating whether a situation has a velocity 2022-02-20 14:33:07 +00:00
Lars Toenning
209f145f98 Explicitly set flightrule on SimBrief xml flightplan import 2022-02-13 16:57:45 +01:00
Lars Toenning
e16dc6ef25 Initialize FlightRule when using default constructor
The FlightRule enum of CFlightPlan was uninitialized when using the default constructor. This caused undefined behavior in some special cases while e.g. loading a SimBrief xml flightplan.
2022-02-13 16:57:45 +01:00
Lars Toenning
5837351605 Issue #127 Set IFR to default in flight-plan page 2022-02-13 16:57:45 +01:00
Mat Sutcliffe
0faa7ed8fc Issue #94 Add new class CAircraftVelocity as member of CAircraftSituation 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
a185c7aae7 Explicit template instantiations for mixins for containers 2021-10-11 14:20:07 +01:00
Mat Sutcliffe
2b72600937 Explicit template instantiations for mixins for value classes
To reduce compile time.
2021-10-11 14:20:07 +01:00
Mat Sutcliffe
916448ef6a [Clang][Windows] Remove workarounds 2021-10-11 14:20:07 +01:00
Mat Sutcliffe
a592bb2bbe Include style 2021-09-18 15:07:49 +01:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
2aeacf49a7 Issue #114 Use CSetBuilder and CMapBuilder 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
14e03bd4b5 Issue #18 Allow lower case text in FP altitude field 2021-08-21 18:38:56 +01:00
Mat Sutcliffe
09b58b8084 Issue #22 Error when FL doesn't end in 0 or 5 should be warning 2021-08-21 18:38:55 +01:00
Mat Sutcliffe
33209fa1eb Use std::as_const (C++17 feature) 2021-07-13 17:56:31 +01:00
Mat Sutcliffe
5d67cd9f68 Use _v traits variable aliases (C++17 feature) 2021-07-13 17:56:29 +01:00
Mat Sutcliffe
f228055229 Use fallthrough attribute (C++17 feature) 2021-07-13 17:56:29 +01:00
Mat Sutcliffe
d09336bd26 Issue #77 Break redundant cyclic dependencies 2020-12-19 18:50:40 +00:00
Mat Sutcliffe
2c66e2215e Issue #77 Move all methods of CLogUtilities to other classes 2020-12-19 18:50:40 +00:00
Mat Sutcliffe
b2ae19111f Issue #77 Break cyclic dependencies between CAircraftParts, CAircraftLights, CAircraftSituation classes 2020-12-19 18:50:40 +00:00
Mat Sutcliffe
761fd56cc9 Issue #77 Break cyclic dependency between CDatastoreUtility CAircraftModelList by factoring out dependent functionality 2020-12-19 18:50:39 +00:00
Mat Sutcliffe
0c3977fc35 Fix Clang error 2020-12-19 18:50:37 +00:00
Mat Sutcliffe
49611b7f44 Issue #77 Explicit template instantiations needed by Clang on Windows 2020-12-19 18:50:37 +00:00
Mat Sutcliffe
3c3b4cd2fe Issue #77 Move some templated member functions into their respective header files 2020-12-19 18:50:37 +00:00
Mat Sutcliffe
63f5d28622 Issue #77 Break cyclic dependency between CVariant and all other value classes 2020-12-19 18:50:36 +00:00
Mat Sutcliffe
1991b4847a Issue #77 Break cyclic dependency between CPropertyIndex and all other value classes 2020-12-19 18:50:36 +00:00
Mat Sutcliffe
363758e8ea Issue #77 Move GlobalIndex enum from CPropertyIndex to CPropertyIndexRef 2020-12-19 18:50:36 +00:00