Commit Graph

4365 Commits

Author SHA1 Message Date
Klaus Basan
4d9ee1626d Ref T120, refactoring of modulator related classes
* avoid virtual functions in modulator related classes
* removed unused isDefaultValue()
* using null values (which was not present when class was written)
* removed destructor
2017-09-24 19:51:26 +01:00
Klaus Basan
f936f07c8d Ref T120, PQ units: made final and removed virtual dtor 2017-09-24 19:51:25 +01:00
Klaus Basan
c066ffcd28 Ref T111, emit signal simulatorPluginChanged after function completes 2017-09-24 19:51:24 +01:00
Klaus Basan
4a9ab8c3d7 Ref T120, removed virtual dtor for
* CDictionary
* CAircraftCfgEntriesList
2017-09-24 19:51:23 +01:00
Klaus Basan
2b0241a8a7 Ref T111, utility function setEnabled 2017-09-24 19:51:22 +01:00
Klaus Basan
8bffc9b598 Ref T111, default implementation for physicallyRemoveAllRemoteAircraft() in CSimulatorCommon::physicallyRemoveAllRemoteAircraft(). 2017-09-24 19:51:21 +01:00
Klaus Basan
384c186fce Ref T111, removed as requested in review by MS 2017-09-24 19:51:19 +01:00
Klaus Basan
37ef181e13 Ref T113, COwnAircraftAware functions not virtual 2017-09-24 19:51:18 +01:00
Klaus Basan
d597dcec15 Ref T111, improved dot commands (e.g. ".drv") handling
* register help implementation to .cpp file
* tooltip HTML formatting
2017-09-24 19:51:17 +01:00
Klaus Basan
52805965cd Ref T111, swift driver plugin 2017-09-24 19:51:16 +01:00
Klaus Basan
c8d6ebb318 Ref T111, swift driver config plugin 2017-09-24 19:51:15 +01:00
Klaus Basan
d00c0c0519 Ref T111, coordinate selector
UI component to change and enter coordinates
2017-09-24 19:51:13 +01:00
Klaus Basan
ba31171a10 Ref T111, allow to alter plugin info (needed for dummy driver) 2017-09-24 19:51:12 +01:00
Klaus Basan
119351800c Ref T111, moved registerHelp implementation to .cpp 2017-09-24 19:51:11 +01:00
Klaus Basan
654c35f666 Ref T111, use Q_DECLARE_FLAGS SimulatorStatus instead of int
* changed emitSimulatorCombinedStatu
* changed connected slots/functions
2017-09-24 19:51:10 +01:00
Klaus Basan
e55480737e Ref T111, lat/lng/angle changes
* get struct CAngle::DegMinSecFractionalSec to obtain parts
* round to epsilon utility functions and fix (qint64)
2017-09-24 19:51:09 +01:00
Klaus Basan
77546a46b1 Ref T111, settings UI component 2017-09-24 19:51:08 +01:00
Klaus Basan
7d88a64914 Ref T111, settings value object for swift pseudo driver 2017-09-24 19:51:07 +01:00
Klaus Basan
b423a62626 Ref T111, access to own aircraft`s situation 2017-09-24 19:51:06 +01:00
Klaus Basan
a1357f0bd7 Ref T111, UI element for model key completion 2017-09-24 19:51:05 +01:00
Klaus Basan
b1295cd457 Ref T111, added utility functions used for swift plugin (dummy driver)
* new reader functions
* plugin info
2017-09-24 19:51:04 +01:00
Klaus Basan
29e1d54e05 Ref T111, some fixes in the vicinity of plugin / drivers
* mostly style / doxygen / formatting
* assert/verify
2017-09-24 19:51:02 +01:00
Klaus Basan
e72546d282 Ref T109, fix: when starting swift pilot client read mode is "cache + shared info objects"
Comparing with info objects only makes sense when reading shared or from DB
2017-09-24 19:51:01 +01:00
Klaus Basan
b53a02821b Ref T109, improved lookup and matching log message 2017-09-24 19:51:00 +01:00
Klaus Basan
dfb6b05e9d Ref T109, datastore object and list
* unified properties in int/string DB objects
* fixed typo dbKeysAsString
2017-09-24 19:50:59 +01:00
Klaus Basan
03a551d016 Ref T109, new utility functions for reverse lookup 2017-09-24 19:50:58 +01:00
Klaus Basan
808fd48650 Ref T109, make sure CWebDataServices::initXXAndTriggerRead is in correct thread 2017-09-24 19:50:57 +01:00
Klaus Basan
e2853c3db2 Ref T109, worker tweaks
* set name already in ctor
* Q_ASSERT_X for start
2017-09-24 19:50:56 +01:00
Klaus Basan
551d9326fe Ref T109, make sure liveries and ICAO are compared correctly
* isDbEqual function
* used in getXXDifference functions
2017-09-24 19:50:55 +01:00
Klaus Basan
d64bfcabce Formatting, minor tweaks 2017-09-24 19:50:54 +01:00
Klaus Basan
3b6edcd575 Fix for fuzzy search function
Ref T97
2017-09-24 19:50:53 +01:00
Roland Winklmeier
c8a9f76a32 Remove the workaround to install libstdc++-6.dll
Summary: In version 5.9.0, Qt fixed installing file names containing the plus sign.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D45
2017-09-24 19:50:52 +01:00
Roland Winklmeier
b9c06c8581 Fix xswiftbus library install on Unix
Summary:
With Qt 5.9, the install executable changed from coreutils 'install'
 to qmake. This changed the behaviour for symbol links and wild cards.
 Previously, the symbol link target was installed as deep copy but with
 the name of the symbol link on MacOS. Now qmake just creates a new symbol
 link everywhere. Wild cards at install time also do not work anymore.
 Install files are only resolved properly, if they existed when qmake was
 running. This is not the case for our build products.
 To address both issues, we need to manually call cp command. cp command
 does deep copy symbol links, therefore copy only one with the major version
 number only.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, jenkins

Differential Revision: https://dev.swift-project.org/D38
2017-09-24 19:50:46 +01:00
Roland Winklmeier
3481949a46 Add missing library dependency for P3D plugin
Summary:
There were a couple of unresolved symbols when building swift with 64 bit
MSVC. Those are resolved by linking against Advapi32.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Differential Revision: https://dev.swift-project.org/D37
2017-09-24 19:50:44 +01:00
Klaus Basan
c39b8cd7fd Ref T30, use font shortcuts with dock widget
(instead of view)
2017-09-24 19:50:43 +01:00
Klaus Basan
4acf496aa4 Ref T30, remove conflicting CTRL 0 from infoarea shortcuts 2017-09-24 19:50:42 +01:00
Klaus Basan
fcdf238512 Ref T30, added font shortcuts to CShortcut and allow to pass context shortcut 2017-09-24 19:50:40 +01:00
Klaus Basan
7370b6f33b Fixed ifndef/define guard 2017-09-24 19:50:39 +01:00
Klaus Basan
8c9e3541ee Added "About swift dialog"
* Details as text edit, so users can cut and paste it for bug reports
* Removed setup/compile info from internals and show it in about
* display Qt icon for "About Qt"
2017-09-24 19:50:38 +01:00
Klaus Basan
94c9886c35 Based on discussion around T107 and slack
* Use CJsonScope scope("MetaData") for stacktrace
* added Q_UNUSED(scope) to avoid QtC warnings
2017-09-24 19:50:37 +01:00
Klaus Basan
c4db854fad Added "About Qt" help menu item 2017-09-24 19:50:36 +01:00
Klaus Basan
380da41544 Handling during shuttdown
* Do not start new event loop when shutting down
* FSX Listener end checking when shutting down
* in same step fixed: FSX driver can connect to P3D and FSX but not vice versa
2017-09-24 19:50:35 +01:00
Klaus Basan
b3186d6b91 Doxygen 2017-09-24 19:50:34 +01:00
Klaus Basan
48f65ee080 Ref T25, menu starting swift map 2017-09-24 19:50:33 +01:00
Klaus Basan
8e388bfeb5 Ref T25, icons for swift map 2017-09-24 19:50:32 +01:00
Klaus Basan
c276d7cd44 Private slot -> private 2017-09-24 19:50:31 +01:00
Klaus Basan
c81a56bcba Ref T29, allow to read CDbFlags::Shared in background 2017-09-24 19:50:30 +01:00
Klaus Basan
9e4cfca2cc Ref T29, utility function added and flag names adjusted 2017-09-24 19:50:29 +01:00
Klaus Basan
224c61c7e9 Ref T108, avoid duplicates in status message categories
and using string builder in CStatusMessage::convertToQString
2017-09-24 19:50:27 +01:00
Klaus Basan
874b517e23 Ref T104, use unified log function
and removed some redundant log messages
2017-09-24 19:50:25 +01:00