Commit Graph

7292 Commits

Author SHA1 Message Date
Klaus Basan
400a8fc2a8 Splash screen messages for web data services 2019-02-22 20:35:01 +00:00
Klaus Basan
8c3faa4ca9 Ref T489, support download progress in our readers
* signal for download progress per entity (DB reader)
* ProgressSlot
* changed signatures for ProgressSlot
2019-02-22 20:35:00 +00:00
Klaus Basan
5c785643c7 Ref T484, string improvements 2019-02-22 20:35:00 +00:00
Klaus Basan
8cb04e4965 Minor fixes DB loading overview 2019-02-22 20:35:00 +00:00
Klaus Basan
9d2da4524a Shared URLs display only every 5secs 2019-02-22 20:35:00 +00:00
Klaus Basan
b6844e4a44 Fixed bug, some values not considered 2019-02-22 20:35:00 +00:00
Klaus Basan
48b18c7acd Resize columns of "other swift versions" to percentage 2019-02-22 20:34:59 +00:00
Klaus Basan
7baf5f238e Allow columns with percentage width 2019-02-22 20:34:59 +00:00
Mat Sutcliffe
73d8cf392b Ref T275 testaircraftsituation: repeat test 20 times to mitigate external influences. 2019-02-22 20:34:59 +00:00
Mat Sutcliffe
4f2579b812 Ref T275 testaircraftsituation: detach lists to get meaningful benchmark results. 2019-02-22 20:34:58 +00:00
Mat Sutcliffe
b87b3177d3 Fix T193 by setting a Qt environment variable. 2019-02-22 20:34:58 +00:00
Mat Sutcliffe
d088a9bec4 Minor adjustments in CLogMessage implementation. 2019-02-22 20:34:58 +00:00
Mat Sutcliffe
f4a0df315d Ref T488 Fixed undefined behaviour in g2clib and libxplanemp. 2019-02-22 20:34:58 +00:00
Mat Sutcliffe
7cb581f865 Ref T488 Fixed cppcheck warnings. 2019-02-22 20:34:57 +00:00
Mat Sutcliffe
e709d27e05 Ref T488 Fixed mistake in CStatusMessage::severitiesToString. 2019-02-22 20:34:57 +00:00
Mat Sutcliffe
5a17f43a5b Ref T488 Update cppcheck suppressions. 2019-02-22 20:34:56 +00:00
Mat Sutcliffe
84a5349c6c Using Doxygen QUIET option to reduce the number of useless build messages. 2019-02-22 20:34:56 +00:00
Mat Sutcliffe
3b07618830 Ref T482 Enable makeKeysRange and makePairsRange for non-const lvalues. 2019-02-22 20:34:55 +00:00
Mat Sutcliffe
e625c67005 Ref T480 Fixed remaining uses of QStringLiteral and QLatin1String in QStringBuilder expressions. 2019-02-22 20:34:55 +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
cba820cbce Ref T485 Update for efficient QString usage in CLogMessage:
- `debug()`, `warning()`, `error()` etc. overloaded on `const char16_t[]` to accept UTF-16 string literals.
- Overloads on `const char *` are deleted to avoid accidents.
- Message is stored as QString and/or QStringView depending which overload is used.
- The multiplexing between QString and QStringView is handled by a special value class, to keep the metaclass simple.
- QStringView does not have `arg()` method, so had to implement our own.
2019-02-22 20:34:54 +00:00
Mat Sutcliffe
dd655bcb25 Ref T486 Using QRandomGenerator. 2019-02-22 20:34:53 +00:00
Mat Sutcliffe
bd9948bbff Ref T486 Using QMetaObject::invokeMethod with pointer-to-member-function (or functor). 2019-02-22 20:34:53 +00:00
Mat Sutcliffe
f48a411f43 Using qOverload, removing static_cast workaround. 2019-02-22 20:34:53 +00:00
Roland Rossgotterer
1403926d3d Run SimPluginFsxP3d unit test with QCoreApplication
Summary: Running it as appless, caused the warning "QCoreApplication::applicationDirPath: Please instantiate the QApplication object first"

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Differential Revision: https://dev.swift-project.org/D80
2019-02-22 20:34:52 +00:00
Roland Rossgotterer
524a2829a1 Fix installbuilder variable syntax
Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Differential Revision: https://dev.swift-project.org/D78
2019-02-22 20:34:52 +00:00
Roland Rossgotterer
4c15193693 Read deploy_ratio as ArrayDataRef and not as single DataRef
Summary:
deploy_ratio is an array dataref of size 10. Reading it via XPLMGetDatad
returned always 0.0 as invalid.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Maniphest Tasks: T474

Differential Revision: https://dev.swift-project.org/D77
2019-02-22 20:34:51 +00:00
Roland Rossgotterer
d639187f91 Convert static common simulator plugins to shared ones
Test Plan:
- Check that the new shared libraries are packaged in all platform installers.
- check that plugins are loaded properly on all platforms.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Maniphest Tasks: T471

Differential Revision: https://dev.swift-project.org/D79
2019-02-22 20:34:50 +00:00
Klaus Basan
0970dbdcfc Ref T451, disable model (in model set) functions for context 2019-02-22 20:24:05 +00:00
Klaus Basan
7f9182a1c4 Ref T451, added disable functionality in matcher 2019-02-22 20:24:04 +00:00
Klaus Basan
b648960b59 Ref T451, utility functions 2019-02-22 20:24:04 +00:00
Klaus Basan
93cf349a04 Ref T451, context menu in views (simulated aircraft/model) to disable model 2019-02-22 20:24:03 +00:00
Klaus Basan
158ba34936 Minor adjustments setup reader 2019-02-22 20:24:03 +00:00
Klaus Basan
7f1591c972 Filter, deferred connect of "setFilter" signals to avoid filtering during "swing-in" of UI 2019-02-22 20:24:02 +00:00
Klaus Basan
314c48d5d1 Filter minor style/refactoring
* use normal functions instead of slots
* some renamings
2019-02-22 20:24:02 +00:00
Klaus Basan
f00866fbe7 Ref T484, QString optimization for aircraftmatcher 2019-02-22 20:24:01 +00:00
Klaus Basan
0efb24f7fc Minor tweaks, style 2019-02-22 20:24:01 +00:00
Klaus Basan
e7a807efdf Allow text messages on the splash screen, currently used with setup reader 2019-02-22 20:24:00 +00:00
Klaus Basan
0817d38b4c Ref T265, Ref T430, added parts and CG to modify form 2019-02-22 20:24:00 +00:00
Klaus Basan
ddb26a0ea5 Ref T265, Ref T430, Ref T473 renamed to CDbModelMappingModifyDialog (as it is a dialog) 2019-02-22 20:23:59 +00:00
Klaus Basan
4aec50ccfc Ref T478, removed the critical functions + adjustments
The code was never used as we decided not to translate swift, but do it all in English. So that code branch was never executed and I have removed the above 4 function + required adjustments.

* getTranslationContextChar
* getColumnNameChar
* getColumnToolTipChar
* getTranslationContextChar
2019-02-22 20:23:59 +00:00
Klaus Basan
da0e021332 Ref T265, Ref T430, Ref T473 parts added to mapping UI 2019-02-22 20:23:58 +00:00
Klaus Basan
000a03b2c9 Ref T265, Ref T430, Ref T473 CG/parts in UI model 2019-02-22 20:23:58 +00:00
Klaus Basan
ecb77191e5 Ref T265, Ref T430, Ref T473 "supported parts" in model
* added part member
* unified parsing from DB "CAircraftModel::fromDatabaseJsonBaseImpl"
2019-02-22 20:23:57 +00:00
Klaus Basan
2d3e2e2d99 Ref T265, Ref T430, Ref T473 functions renamed 2019-02-22 20:23:55 +00:00
Klaus Basan
6bd3a50ed8 Ref T265, Ref T430, Ref T473 improved validator for parts 2019-02-22 20:23:54 +00:00
Klaus Basan
d89b217e9b PQ parsing using "best guess" strategy as default plus renamings 2019-02-22 20:23:54 +00:00
Klaus Basan
4e1835b80d Overlay progress bar 2019-02-22 20:23:53 +00:00
Klaus Basan
298f746862 Ref T265, Ref T430, Ref T473 CG in model form 2019-02-22 20:23:53 +00:00
Klaus Basan
c14e85a805 ATC stations, display icon+text for buttons 2019-02-22 20:23:52 +00:00