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
Mat Sutcliffe
ace7650ebe
Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals.
2019-02-22 20:23:46 +00:00
Mat Sutcliffe
268d858e2d
Parse errors in CAircraftModelLoaderXPlane should be errors, not warnings.
2019-02-22 20:23:32 +00:00
Klaus Basan
363b7c9966
Ref T430, style
2018-12-07 02:37:15 +01:00
Roland Winklmeier
2843e20d54
Update xswiftbus.conf when updating connection details
...
ref T434
2018-11-29 20:54:25 +01:00
Klaus Basan
9293989a78
Doxygen comments
2018-11-04 17:42:45 +01:00
Roland Winklmeier
1fecf65a40
Fix parsing of X-Plane ACF file headers
...
So far the 'version' literal was compared case sensitive. So we did not
parse ACF files which had a capitalized literal. Instead the comparison
should be case insensitive. To do that we convert all strings to lower
case before comparing.
ref T378
2018-11-04 17:42:43 +01:00
Roland Winklmeier
dbbc459dbc
Add X-Plane object version into the model description
2018-09-12 17:01:47 +02:00
Roland Winklmeier
01779183c4
Don't set distributor from CSL package name
...
That is almost always wrong.
2018-09-12 17:01:46 +02:00
Roland Winklmeier
d682df243a
Fix loading of older OBJ8 CSL modelsets
...
- Fix support for older modelsets not using the texture for OBJ8 feature
- Small error when xsb_aircraft.txt was outside the object folder
ref T326
2018-09-12 17:01:45 +02:00
Roland Winklmeier
4cf3bc580f
Use case sensitive name of Windows header files
2018-08-25 22:12:06 +02:00
Roland Winklmeier
a60ee4a7dd
Use override for destructors
2018-08-25 22:12:06 +02:00
Roland Winklmeier
a19ccabf35
Refactor shared X-Plane model parser in common header only functions
...
ref T290
2018-08-24 21:27:00 +02:00