Commit Graph

4388 Commits

Author SHA1 Message Date
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
Klaus Basan
c55ad7e142 ref T104, unify logging of inconsistent data 2017-09-24 19:50:24 +01:00
Klaus Basan
f53a64396a Ref T103, not all executables on MacOSX are bundles 2017-09-24 19:50:22 +01:00
Klaus Basan
c0b78bee6f Improved info string 2017-09-24 19:50:21 +01:00
Klaus Basan
0e3a06c24e Ref T107, some minor fixes while investigating T107 2017-09-24 19:50:20 +01:00
Klaus Basan
880cedec5d Some reader improvements
* Log when VATSIM status file has been read
* fix: read VATSIM status file after initReaders completes
* some private slots -> normal private functions
* removed copy/paste error illegalIcaoCodes

follow up of Ref T105
2017-09-24 19:50:19 +01:00
Klaus Basan
76b3b6c0b6 Utility function to directly log warning when network not accessible 2017-09-24 19:50:18 +01:00
Klaus Basan
8aed8f598e Ref T105, remove empty cleanup functions 2017-09-24 19:50:17 +01:00
Klaus Basan
0bfd9a55a2 Ref T105, use timer in base class CContinuousWorker
* remove unused cleanup
* object name set in base class
2017-09-24 19:50:15 +01:00
Klaus Basan
4a7ad09e46 Ref T105, m_updateTimer as protected member of CContinuousWorker
* stop timer
* default cleanup implementation
* set timer name
2017-09-24 19:50:14 +01:00
Klaus Basan
52755e59c8 Minor tweaks in swiftdata
* removed private slots
* formatting
2017-09-24 19:50:13 +01:00
Klaus Basan
cd15bdc506 Ref T105, adjusted airspace analyzer
* removed private slots
* gracefulShutdown -> setEnabled
2017-09-24 19:50:12 +01:00
Klaus Basan
4e4d33a755 Ref T105, adjusted CDirectPlayPeer
* log cats
* and log messages
2017-09-24 19:50:10 +01:00
Klaus Basan
18ab0e8459 Ref T105, minor adjustements in CThreadedTonePairPlayer 2017-09-24 19:50:09 +01:00
Klaus Basan
b6b1b96ec4 Ref T105, use new style with threaded readers
* use doWorkCheck
* relaxed doWorkCheck in unit tests
* removed isShuttingDown, gracefulShutdown
* set timer object name (in case something is wrong, we might see the name in the log)
2017-09-24 19:50:08 +01:00
Klaus Basan
2fbd2c6382 Ref T105, modified background updater
* removed gracefulShutdown
* removed isShuttingDown
2017-09-24 19:50:07 +01:00
Klaus Basan
7f3643fb0e Ref T105, use enabled in CContinuousWorker
* removed slots
* getName
2017-09-24 19:50:06 +01:00
Klaus Basan
291af98770 Formatting 2017-09-24 19:50:04 +01:00
Klaus Basan
847fcfbb71 Ref T104, return inconsistent airports 2017-09-24 19:50:03 +01:00
Klaus Basan
297c2f0539 Ref T104, return inconsistent aircraft/airline ICAOs codes
- use audit
- and log inconsistent DB entries
2017-09-24 19:50:02 +01:00
Klaus Basan
922e39f61d Ref T104, utility function 2017-09-24 19:50:01 +01:00
Klaus Basan
4c5dca40d7 Ref T104, new log category 2017-09-24 19:50:00 +01:00
Klaus Basan
7168f97b45 Ref T28, fixed issues mentioned in inline review
https://dev.swift-project.org/rSWIFTPILOTCLIENT2f289a4c7e196095e64de78f222e56fd21d80476
2017-09-24 19:49:59 +01:00
Klaus Basan
07b096b398 Ref T103, verify important files/directories
* utility function in CDirectoryUtils
* deployed in main/application
2017-09-24 19:49:58 +01:00
Klaus Basan
d25be35868 Ref T103, unified isMacOSXBundle 2017-09-24 19:49:57 +01:00
Klaus Basan
caf358401f Ref T103, executable file path moved to CDirectoryUtils::executableFilePath 2017-09-24 19:49:56 +01:00
Klaus Basan
3245ff4ef4 Ref T103, plugin directory now from CDirectoryUtils::pluginDirectory()
Hence we can use const QString & like const QString &CPluginManagerWeatherData::pluginDirectory()
2017-09-24 19:49:54 +01:00
Klaus Basan
a9198e4f13 Ref T103, Unified naming of directory functions
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00