Commit Graph

5945 Commits

Author SHA1 Message Date
Klaus Basan
1d8bbaf3be Ref T264, improved detection of multiple container formats 2018-05-22 13:35:00 +02:00
Klaus Basan
ef3f312bc5 Ref T264, application info list view 2018-05-22 13:34:59 +02:00
Klaus Basan
9fb7ba7592 Ref T264, application info list model 2018-05-22 13:34:58 +02:00
Klaus Basan
a3f12a866b Hint that FS9 is experimental 2018-05-22 13:23:57 +02:00
Klaus Basan
fc35e8b654 Formatting, style 2018-05-22 13:23:47 +02:00
Klaus Basan
7965f67455 Ref T264, better display of other installed swift versions
* improved CApplicationInfo, added property support
* renamed functions
2018-05-22 13:20:13 +02:00
Klaus Basan
bc969dcd9e Ref T270, setup component improvements 2018-05-22 13:20:10 +02:00
Klaus Basan
2d2047ba4f Ref T270, display window for interpolation log 2018-05-22 13:20:09 +02:00
Klaus Basan
d8fb84c021 Ref T241, changed CAirspaceAnalyzer ctor so signals (CAirspaceMonitor) can be used 2018-05-22 13:20:08 +02:00
Klaus Basan
a3a62919fc Ref T270, improved setup/logger handling
* utility functions to enable logging
* logger access and access to log messages
2018-05-22 13:20:07 +02:00
Klaus Basan
e3465f432c Ref T261, Ref T251 gnd flag support in context/client provider
* allow to set gnd.flag capability via context/client
* utility functions in client provider
2018-05-22 13:20:06 +02:00
Klaus Basan
06a4efba51 Ref T261, Ref T270, Ref T245 aircraft view improvements
* context menu gnd.flag/follow aircraft
* display CG
2018-05-22 13:20:05 +02:00
Klaus Basan
27e9702101 Switch to "aircraft model view" when loading models 2018-05-22 13:20:04 +02:00
Klaus Basan
89c16bad7f Ref T270, use QPointer with simulator map in context. The advantage is, that we can also detect if the simulator is deleted elsewhere. 2018-05-22 13:20:03 +02:00
Klaus Basan
35d78b641a Fix clang warnings as discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1526463295000266
Reported in CLANG test build here: https://build.swift-project.org/job/macos_test_job/4/warnings10Result/
2018-05-22 13:20:02 +02:00
Klaus Basan
58bdbac7b6 Ref T270, "about to shutdown" in CApplication 2018-05-18 00:25:12 +02:00
Klaus Basan
2ae8f5b03f Ref T270, added CSimulatorPluginCommon as base class in driver project
* unlike BlackCore::CSimulatorCommon we can add also UI aspects here
* used by emulated driver, XP and the FS series
2018-05-18 00:25:11 +02:00
Klaus Basan
afe4a09218 Formatting 2018-05-18 00:25:10 +02:00
Klaus Basan
ba8b9a52da Ref T264, Ref T263 simple approach to remember last directory (load/save) in view
* utility function "unwrapCache" to unwrap cache data
* fixed loading from file, also supporting memoized formats as well
* remember last directory
2018-05-18 00:25:09 +02:00
Klaus Basan
50a625d2bc Ref T267, allow to call "convertFromMemoizedJson", but also convert via "convertFromJson"
The variant convertFromMemoizedJson trait did already do something similar, calling "convertFromJson" if the memoized version is not avilable. Now the function also "decides" based on the passed data itself.
2018-05-18 00:25:08 +02:00
Klaus Basan
98bc0a7d6e Ref T264, sued "new signal syntax" with some QShortcuts and as a result made some slots "normal functions" 2018-05-18 00:25:07 +02:00
Klaus Basan
1336aa05f9 Fixed XSwiftBus pro as discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1526231272000077 2018-05-18 00:25:06 +02:00
Klaus Basan
7ff131d7af Fix isntall component, use copy of filename as the referenced var can be out of scope already 2018-05-18 00:25:05 +02:00
Klaus Basan
4f143539f8 Fixed unit tests
* Random number generation was faulty, as we have to use RAND_MAX and not INT_MAX
* fixed CTestAircraftSituation::testSetRotateUpPitch, we need to use a defined front function otherwise it can be randomly outside range
* adjusted performance unit test a bit, as the value vary a lot


Ref T261
2018-05-18 00:25:04 +02:00
Klaus Basan
b4835e650d Ref T259, Ref T243 setup component adjusted to support "change signal" 2018-05-18 00:25:03 +02:00
Klaus Basan
abd8e35549 Layout status message form 2018-05-18 00:25:03 +02:00
Klaus Basan
8bd969105a XSwiftBus install dialog (for local environment)
* can also be called from menu
* improved file check
* renamed some functions
2018-05-18 00:25:02 +02:00
Klaus Basan
9c33c5d9fc Ref T245, Ref T261, added functions for "follow plane", "setup changed" signal in context and simulator interface 2018-05-18 00:25:01 +02:00
Klaus Basan
aea3d013b6 Fix string output 2018-05-18 00:25:00 +02:00
Klaus Basan
cada9ff7fc Fixed other issues with status message UI
* messages were insert, which did not consider the sort order
* do not update every message, but deferred for performance reasons
2018-05-18 00:24:59 +02:00
Klaus Basan
4ced6b4f97 Formatting 2018-05-18 00:24:58 +02:00
Klaus Basan
4c2aaf73e1 View/Model support push_back 2018-05-18 00:24:57 +02:00
Klaus Basan
6addfb5fd8 Ref T213, DSGVO legal files (privacy) 2018-05-18 00:23:51 +02:00
Klaus Basan
e851934ce8 Ref T261, FSX clamped logging to avoid "status message overflow" if something goes wrong in interpolator.
In interpolator scenarios it can happen plenty of error log messagesa re generated in a short time. This can cause hanging.
2018-05-14 02:27:36 +02:00
Klaus Basan
60ad3d9c2b Fixed trait so "compare" is properly called 2018-05-12 21:40:33 +02:00
Klaus Basan
0f9b275f52 Allow to mark interpolator for unit tests (which can be used to disable some checks) 2018-05-12 21:40:31 +02:00
Klaus Basan
a750c02520 Added unit tests for status message and property index sorting 2018-05-12 21:40:29 +02:00
Klaus Basan
1f9f148519 Status message fix, copy timestamp in assigmnet operator
* the timestamp of status message was not copied, so every time a status message was sorted or otherwise assigned the ts got lost or wrongly assigned.
* this meant the log messages were in wrong order, leading to very confusing results in the log screen or file.
* also added new timestamp formatter
* new function "BlackMisc::CVariant displayRole(const PQ &pq) const" which can be used if the PQ is already available
2018-05-12 21:40:27 +02:00
Klaus Basan
40cd720e13 Unified compare return value 2018-05-12 21:40:25 +02:00
Klaus Basan
6c50c4ea72 Formatting, minor tweaks 2018-05-12 21:40:23 +02:00
Klaus Basan
43cc99710a Shutdown guard 2018-05-12 21:40:20 +02:00
Klaus Basan
47afc4d6fc Conversion function to int, which can be used when int is needed to avoid 2018-05-12 21:40:18 +02:00
Klaus Basan
2dc2d94b53 Ref T264, minor screen size adjustments 2018-05-12 21:40:15 +02:00
Klaus Basan
7ad4c29d28 Ref T261, detect gnd.flag (from network) suppport, display gnd.flag info in UI
* add flag info in simulated aircraft
* allow to display info  in UI
* unified naming to "contains" in situation list
* updated client provider
2018-05-12 21:40:13 +02:00
Klaus Basan
6e249aa15d Win x64 compile warning fix 2018-05-12 21:40:11 +02:00
Klaus Basan
23dcccc806 Ref T261, adjusted interpolation setup
* removed "IndexEnableGndFlag" as this is actually part of FSD network settings
* renamed to "isForcingVtolInterpolation"
* adjusted interpolator, and UI for setup
2018-05-12 21:40:09 +02:00
Klaus Basan
f4320b18c5 Quick fix so model sets can be saved, see https://swift-project.slack.com/archives/G96QTUBEG/p1525815058000559 2018-05-12 21:40:07 +02:00
Roland Winklmeier
d743ec98fa Remove unused code 2018-05-12 21:40:04 +02:00
Roland Winklmeier
dab41045d3 [xswiftbus] Check if plane exists already before adding a new one 2018-05-12 21:40:02 +02:00
Roland Winklmeier
48b1b78d81 Update libxplanemp submodule 2018-05-12 21:40:00 +02:00