Commit Graph

1264 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
Lars Toenning
72ac4e6b47 Fix doxygen warnings
Fixes #188
2023-04-05 18:59:41 +02:00
Mat Sutcliffe
7691e42a5b Fix doxygen warnings
Fixes #188
2023-04-05 18:57:11 +02:00
Lars Toenning
d51e4646c6 Clarify CSimulatedAircraft method name 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
65b4251a3c Move FGSwiftBus settings to own class 2023-02-07 18:47:17 +01:00
Lars Toenning
9974e67afb Remove unused header 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
1a1b5429d5 Partially revert "Remove unused stringutils methods"
This partially reverts commit 0c1a5a5c97.
2022-06-05 22:47:41 +02:00
Lars Toenning
0c1a5a5c97 Remove unused stringutils methods 2022-05-25 19:47:34 +01:00
Lars Toenning
c0efc9ea81 Clean up includes 2022-05-25 19:47:34 +01:00
Mat Sutcliffe
0482634d81 Ignore ordinary situations after a visual situation is received 2022-02-20 14:33:07 +00:00
Mat Sutcliffe
aa7da1de53 Increase number of situations stored per remote aircraft
With 5Hz updates and a maximum offset of 6s, we need to store
at least 30 situations to guarantee we're not throwing away
situations that we haven't even used yet.

There is probably a smarter way, like keeping situations
based on their age rather than quantity, or letting the
consumer remove them after they are no longer needed.
2022-01-29 14:40:55 +00:00
Mat Sutcliffe
0faa7ed8fc Issue #94 Add new class CAircraftVelocity as member of CAircraftSituation 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
8dc206d62b Issue #93 Reduce update offset for 5 Hz updates and rename member 2022-01-03 16:38:47 +00:00
Mat Sutcliffe
65b85a1606 Don't require air files for MSFS (32 or 64 bit) 2021-12-09 18:21:47 +00:00
Mat Sutcliffe
586f605d04 Delegate parts of CSequence to a non-template implementation
To reduce build time.
2021-10-29 16:47:13 +01: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
312dec792b Doxygen style 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
57d32da826 Use nested namespaces (C++17 feature) 2021-09-18 15:07:48 +01:00
Mat Sutcliffe
ad9779ed3c Issues #72, #110 Add missing labelColor value in xswiftbus settings JSON
Used when marshalling the settings to xswiftbus via DBus.
2021-08-31 19:09:59 +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
dd3fc42c94 Remove unused code 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
5616a49706 Issues #72, #110 Extend settings class with label and text colors 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
0ebe21a7cf Use if constexpr in metaclass visitor functions 2021-07-13 17:56:30 +01:00
Mat Sutcliffe
22301c1a1f Use structured bindings (C++17 feature) 2021-07-13 17:56:29 +01:00
Mat Sutcliffe
7955d0a06e Remove workarounds for fixed bugs 2021-07-13 17:56:23 +01:00
Roland Rossgotterer
7e04a2c40f [MSFS] Rename FS2020 to MSFS 2021-07-13 17:51:58 +01:00
Mat Sutcliffe
038c57d149 Issue #77 Factor out parts of CFsCommonUtil into new class CFsDirectories
This breaks the cyclic dependency involving
CSimulatorInfo, CFsCommonUtil, and CAircraftModelList.
2020-12-19 18:50:40 +00:00
Mat Sutcliffe
d09336bd26 Issue #77 Break redundant cyclic dependencies 2020-12-19 18:50:40 +00:00
Mat Sutcliffe
a22591c8c0 Issue #77 Move CMultiAircraftModelLoaderProvider into a new module
This breaks the cyclic dependencies between IAircraftModelLoader and its subclasses.
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
2cf02c484e Issue #77 Break cyclic dependency between CSimulatorInfo and CSimulatorPluginInfo by moving a method from one to the other 2020-12-19 18:50:39 +00:00
Mat Sutcliffe
b81cc9a9dc Issue #77 Break cyclic dependency between CDirectoryUtils and CNetworkUtils by factoring out canPing method 2020-12-19 18:50:39 +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
Mat Sutcliffe
0971c8ce68 Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant 2020-12-19 18:50:35 +00:00