Commit Graph

3799 Commits

Author SHA1 Message Date
Mat Sutcliffe
33209fa1eb Use std::as_const (C++17 feature) 2021-07-13 17:56:31 +01:00
Mat Sutcliffe
6d617f40a4 Use *this in lambda capture (C++17 feature) 2021-07-13 17:56:30 +01:00
Mat Sutcliffe
0ebe21a7cf Use if constexpr in metaclass visitor functions 2021-07-13 17:56:30 +01:00
Mat Sutcliffe
d7a461ff7a Use if constexpr (C++17 feature) 2021-07-13 17:56:30 +01:00
Mat Sutcliffe
5d67cd9f68 Use _v traits variable aliases (C++17 feature) 2021-07-13 17:56:29 +01:00
Mat Sutcliffe
6d232756f4 Use std::bool_constant (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
22301c1a1f Use structured bindings (C++17 feature) 2021-07-13 17:56:29 +01:00
Mat Sutcliffe
9964f44d25 Use std::void_t (C++17 feature) 2021-07-13 17:56:28 +01:00
Mat Sutcliffe
b75e3859d4 Use fold expressions (C++17 feature) 2021-07-13 17:56:28 +01:00
Mat Sutcliffe
7955d0a06e Remove workarounds for fixed bugs 2021-07-13 17:56:23 +01:00
Mat Sutcliffe
0612e07979 Remove std::iterator (deprecated in C++17) 2021-07-13 17:52:00 +01:00
Roland Rossgotterer
7e04a2c40f [MSFS] Rename FS2020 to MSFS 2021-07-13 17:51:58 +01:00
Mat Sutcliffe
31c0f20ac6 Style 2021-07-13 17:51:57 +01:00
Mat Sutcliffe
729ad8a2d8 Fix Markdown syntax in Doxygen comment 2021-01-07 18:49:38 +00: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
761fd56cc9 Issue #77 Break cyclic dependency between CDatastoreUtility CAircraftModelList by factoring out dependent functionality 2020-12-19 18:50:39 +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
ac48e64891 Issue #77 Break dependency of CNetworkUtils on CUrl and CUrlList 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
611b7547c0 Issue #77 Break dependency of CFileLogger on CLogHandler 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
8ea0a4b344 Issue #77 Break dependency of verify.cpp on logmessage.h 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
1b36c95b7b Issue #77 Remove unused includes 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
2435350e17 Issue #77 Break cyclic dependency between CVariant and CVariantList 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
4df055afbe Issue #77 Break cyclic dependency between CIcon and CIconList by using CSequence<CIcon> 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
3d129dc83f Issue #77 Break cyclic dependency between CStatusMessage and CLogPattern by moving methods from one to the other 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
211fd42eaf Issue #77 Break cyclic dependency between CStatusMessage and CStatusException, by removing unused methods 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
0c3977fc35 Fix Clang error 2020-12-19 18:50:37 +00:00
Mat Sutcliffe
f461f60635 Fix Clang warnings 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
Mat Sutcliffe
0971c8ce68 Issue #77 All classes propertyindex methods use CPropertyIndexRef and QVariant 2020-12-19 18:50:35 +00:00
Mat Sutcliffe
d9e3d1dccc Issue #77 Methods to convert icons to QVariant
Needed so propertyindex methods don't need to depend on CVariant.
2020-12-19 18:50:35 +00:00
Mat Sutcliffe
ecac4bcb8c Issue #77 Add class CPropertyIndexRef
This is a reference to a CPropertyIndex with
a subset of its API, and fewer dependencies.
2020-12-19 18:50:35 +00:00
Mat Sutcliffe
c2ac37f552 Issue #77 Remove unused methods 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
4cc1c7e0a9 Issue #77 Move definition of Mixin::Index::apply 2020-12-19 18:50:34 +00:00
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
05d28017e7 Remove broken code 2020-12-19 18:50:32 +00:00
Mat Sutcliffe
647e9064b0 Issue #77 Break cyclic dependency between CIcon and all other value classes 2020-12-19 18:50:32 +00:00
Mat Sutcliffe
b1185eb541 Issue #77 toIcon returns a simple enum instead of a full object 2020-12-19 18:50:31 +00:00
Mat Sutcliffe
f2eba38282 Use QString::arg instead of std::sprintf 2020-12-15 23:35:57 +00:00
Mat Sutcliffe
40362c1f4a Use sprintf to decompose the degrees, minutes, and seconds
Instead of repeatedly multiplying by 100, which can cause
epsilon errors to grow to too significant magnitudes.
2020-12-08 21:02:19 +00:00