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
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
33209fa1eb
Use std::as_const (C++17 feature)
2021-07-13 17:56:31 +01: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
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
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
fda0abc94e
Extra validation to prevent asserts from invalid CSL files
2020-10-20 23:35:52 +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
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
5548d8af2d
Issue #17 Udjust to model string changes in xplanemp2
2020-08-02 23:01:30 +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
Roland Rossgotterer
9fa3221abc
Replace deprecated endl with Qt::endl
2020-06-12 18:42:54 +01:00
Klaus Basan
3d1dad989e
[TCAS] Fixed "mixed" values for debug/TCAS xswiftbus.conf file
...
Also only update if simulator XPlane is not connected, otherwise values are updated there
This allows to update the values BEFORE XPlane starts and avoids a restart
2020-06-12 18:42:38 +01:00
Mat Sutcliffe
0f6b7d910e
Ref T723 [xswiftbus] Expose configuration to enable/disable TCAS traffic
2020-01-07 19:57:24 +00:00
Mat Sutcliffe
8d204cded1
Ref T723 [xswiftbus] Expose configuration for render phase debug messages
2020-01-07 19:57:24 +00:00
Klaus Basan
386a0ccd5d
[XPlane] Model set must not contain ACF models
...
Discussion: see https://discordapp.com/channels/539048679160676382/539064750055751690/648974956306366499
2020-01-07 19:57:22 +00:00
Roland Rossgotterer
e8b14c435f
Check that X-Plane OBJ8 file exists
2019-09-16 22:41:33 +01:00
Klaus Basan
7b8db694cc
Use BLACK_AUDIT_X because this is a check for external data
2019-09-16 22:41:31 +01:00
Klaus Basan
741843d0c6
Make sure listener does NOT restart when settings are updated, but DBus address did not change (set member correctly)
2019-09-16 22:41:14 +01:00
Klaus Basan
add649c321
Ref T709, improved normalization and space pressed handling, unit test
2019-09-16 22:41:14 +01:00
Klaus Basan
447152bd13
Ref T709, only update settings if changed
2019-09-16 22:41:04 +01:00
Klaus Basan
d1db1943ae
Ref T709, display settings as string/QString (for logging)
2019-09-16 22:40:56 +01:00
Klaus Basan
60305d461f
Ref T709, style
2019-09-16 22:40:55 +01:00
Klaus Basan
cc4b8b61ae
Ref T709, move case insensitive compare to utils (so it can be used elsewhere)
2019-09-16 22:40:52 +01:00
Klaus Basan
5799e31d27
XPlane sub directory check (model dirs in XPlane dir), unified with settings is valid
2019-09-16 22:40:28 +01:00
Mat Sutcliffe
359bd1ab15
Ref T633 Simplify whitespace in X-Plane flyable model strings.
2019-09-16 22:40:04 +01:00
Mat Sutcliffe
61439a48e0
Inline functions defined in header file, to avoid ODR violation.
2019-09-16 22:40:04 +01:00
Klaus Basan
ab281649f8
Minor improvements for XP model loader, file path concatenation
2019-09-16 20:29:59 +01:00
Klaus Basan
d59e1c3332
Style
2019-09-16 20:29:56 +01:00
Roland Rossgotterer
013bd08b5f
Fix segfault when a parser error occurred before any parsed CSL plane
2019-05-16 10:12:51 +02:00
Mat Sutcliffe
9c07326462
Treat an OBJ8_AIRCRAFT command with too many arguments as merely a warning.
...
The aircraft can still be successfully loaded.
2019-05-13 11:21:06 +02:00
Roland Rossgotterer
267a9720da
Don't skip CSL package parsing after an error occurred
...
Summary:
This patch fixes X-Plane CSL package parsing to no longer skip the rest
of the package when an error occurred. Instead CSL planes are marked
having errors and are removed after the full package has been parsed.
Reviewers: #gatekeepers, msutcliffe
Reviewed By: #gatekeepers, msutcliffe
Maniphest Tasks: T616
Differential Revision: https://dev.swift-project.org/D101
2019-05-13 11:20:46 +02:00
Mat Sutcliffe
c05a32dbd4
Ref T545 Using constructor inheritance in derived container classes.
2019-04-12 13:30:51 +01:00
Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
02f638501e
Ref T529, model loader improvements
...
* XP loader improved progress messages
* added LoadingFailed
* use "Qt::QueuedConnection" for CMultiAircraftModelLoaderProvider
In some cases the loading progress signal was not send properly changing to Qt::QueuedConnection has solved the issue
2019-02-22 20:36:06 +00:00
Klaus Basan
001d90bd6b
Ref T529, using sort order in model loader
2019-02-22 20:36:04 +00:00
Mat Sutcliffe
fe7a45afcf
Ref T516 Update CStatusMessage call sites to use new syntax.
2019-02-22 20:35:51 +00:00
Roland Rossgotterer
6aa1402303
Improve XP model loader messages
...
Change the severity to Error for parser errors and raise a prominent popup with all collected issues.
Also be more explicit from which file and line the error came from.
Maniphest Tasks: T462
2019-02-22 20:35:51 +00:00
Roland Rossgotterer
6ea8d16460
Fix CAircraftModelLoaderXPlane::performParsing to accept multiple dirs
...
This implements an old todo from KB.
2019-02-22 20:35:50 +00:00
Roland Rossgotterer
5181855b59
Update loading progress while parsing X-Plane models
...
Maniphest Tasks: T517
2019-02-22 20:35:50 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00