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
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
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
e28df21641
[xswiftbus] Fix UTF-8 bug when displaying text messages
...
std::string is not UTF-8 aware, so it was possible to create
malformed strings by splitting in the middle of a code point.
The splitting code also did read beyond the end of the input string.
Now we use a Unicode-aware iterator adaptor to help find the
correct place to split the string across multiple lines.
2020-11-24 22:47:22 +00:00
Roland Rossgotterer
bd862fa451
Enforce *.air file siblings only in 64 bit builds
...
P3D ships with aircraft.cfg/sim.cfg models which are not actual aircraft. Only those with an *.air file sibling are actual aircraft models.
However the 32 bit MSFS simulators do not ship with *.air files. Hence enforce it for 64 bit which limits it to 64 bit P3D.
2020-10-20 23:36:01 +01:00
Mat Sutcliffe
fda0abc94e
Extra validation to prevent asserts from invalid CSL files
2020-10-20 23:35:52 +01:00
Roland Rossgotterer
65b8eec439
Improve aircraft cfg parser for FS2020
...
- Handle inline comments
- use icao_type_designator as icao type
2020-09-16 22:59:58 +01:00
Roland Rossgotterer
3baab2ae4d
Add initial simulator plugin support for FS2020
...
This adds simulator plugin support for FS2020. It still pretends to be FSX until full integration is completed.
2020-09-16 22:59:58 +01:00
Mat Sutcliffe
43bb72788e
Issue #77 Break dependency of pixmap on statusmessage
2020-08-29 14:16:23 +01:00
Mat Sutcliffe
89659fdeaa
Issue #77 Break cyclic dependency statusmessage <-> jsonexception
2020-08-29 14:16:19 +01: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
Mat Sutcliffe
8e065a8fef
Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
...
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
802576eda9
Issue #77 Rename
2020-08-29 14:16:11 +01:00
Mat Sutcliffe
2dc86652c2
Issue #77 Include style
2020-08-28 00:45:26 +01:00
Mat Sutcliffe
ced60a4768
Issue #79 Path elements below the root are no longer salient in xpmp2
2020-08-21 18:54:28 +01:00
Mat Sutcliffe
3ea0c7f2a5
Issue #17 Report errors for unsupported CSL formats
2020-08-10 22:02:24 +01:00
Mat Sutcliffe
f3c4af3121
Fix stuttering by adding basic linear interpolation in xswiftbus
2020-08-05 19:45:42 +01:00
Mat Sutcliffe
5548d8af2d
Issue #17 Udjust to model string changes in xplanemp2
2020-08-02 23:01:30 +01:00
Mat Sutcliffe
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +01:00
Mat Sutcliffe
e8a0a0b6ba
Issue #15 Register CSequence as a sequential container metatype
2020-07-31 00:57:46 +01:00
Mat Sutcliffe
670b1a1986
Fix cppcheck and compiler warnings
2020-06-29 18:34:16 +01:00
Mat Sutcliffe
78987a678f
Suppress Qt 5.15 deprecation warnings
2020-06-29 18:34:14 +01:00
Klaus Basan
947e393b03
[P3D] Support for v5, wrong path used for validation
...
* guess version in validation
* changed some values to v5 as default
* search also for future versions of P3D (e.g. v5)
2020-06-12 18:42:56 +01:00
Roland Rossgotterer
9fa3221abc
Replace deprecated endl with Qt::endl
2020-06-12 18:42:54 +01:00
Klaus Basan
e50520c0aa
Added a component for aircraft parts
...
* internals page and log.display both use that component
* complete parts code now encapsulated
2020-06-12 18:42:53 +01:00
Mat Sutcliffe
26af392085
Ignore null pointer warnings in rapidjson
2020-06-12 18:42:53 +01:00
Klaus Basan
95ca63ce6d
Ref T786, fixed weather sample
...
* RR found that no alt value means a huge number of grid points is parsed
* see https://discordapp.com/channels/539048679160676382/539925070550794240/701762348506939693
2020-06-12 18:42:51 +01:00
Klaus Basan
f9bb71c8ee
Ref T786, FSX/P3D METAR (weather inject)
...
* allow to select which layers are converted to METAR string
* allow to pass sim.flag (FSX/P3D)
* winds aloft seem to crash FSX, disabled(!)
2020-06-12 18:42:51 +01:00
Klaus Basan
1bdcd4ac9a
[Parts] Experimental try with aircraft parts, see https://discordapp.com/channels/539048679160676382/539846348275449887/701438699048796280
2020-06-12 18:42:50 +01:00
Klaus Basan
d5a81a349b
Style
2020-06-12 18:42:49 +01:00
Klaus Basan
4d7468f913
[FSD] Check attributes of full JSON parts
2020-06-12 18:42:48 +01:00