Commit Graph

9592 Commits

Author SHA1 Message Date
Mat Sutcliffe
da66aee67d Make datastore ping interval configurable
And don't bother sending pings more frequently if
the server is struggling to reply to every one.
2021-01-07 18:49:38 +00:00
Mat Sutcliffe
24b9f35653 Update xplanemp2 2021-01-07 18:49:38 +00:00
Mat Sutcliffe
16337c2244 Update externals 2020-12-19 18:50:40 +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
59bbac9a1f [installer] minor cosmetic fix 2020-12-19 18:50:31 +00:00
Mat Sutcliffe
18286ccdb1 Fix qmake warning 2020-12-19 18:50:30 +00:00
Mat Sutcliffe
ae24b06b4b Update Qt version 2020-12-19 18:50:30 +00:00
Mat Sutcliffe
5d99fc0cc3 Version number 2020-12-19 18:50:30 +00:00
Mat Sutcliffe
584595ff2f UUID in DB client ping should uniquely identify the client machine v0.9.6.75 2020-12-17 20:24:01 +00:00
Mat Sutcliffe
f2eba38282 Use QString::arg instead of std::sprintf 2020-12-15 23:35:57 +00:00
Mat Sutcliffe
5c40a22875 Adjust CSL2XSB according to Chris Collins' xpmp2 datarefs 2020-12-15 18:37:28 +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
Mat Sutcliffe
50eebb799d Update VATSIM data file reader to read new JSON data file format 2020-12-05 17:30:15 +00:00
Mat Sutcliffe
9014a673f1 [Radar] Don't rotate the compass rose, even when not locked north 2020-12-01 16:16:25 +00:00
Mat Sutcliffe
880722fc9f [CI] Pin older version of importlib-metadata on Linux
(Newer version requires python 3.6, ubuntu 16 has python 3.5)
2020-11-24 22:49:35 +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
Mat Sutcliffe
550f8fd7e6 Adjust to change in GitHub Actions workflow syntax
See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
v0.9.6.67
2020-10-20 23:36:01 +01: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