Commit Graph

4424 Commits

Author SHA1 Message Date
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
Klaus Basan
debd9c802f Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Klaus Basan
eaac4dacd6 Ref T30, added font icons
Additionally removed bogus font menu entry in swiftdata
2017-09-24 19:49:50 +01:00
Klaus Basan
534ba5f9ec Ref T30, integrated font menu into view base 2017-09-24 19:49:48 +01:00
Klaus Basan
3c9435c1cf Ref T30, font menu class
* font dialog
* shortcuts CTRL+/- to increase/decrease font size
2017-09-24 19:49:47 +01:00
Klaus Basan
be3c8b0bdd Ref T30, using font settings in GUI component 2017-09-24 19:49:46 +01:00
Klaus Basan
bf573f0f20 Ref T30, font settings component and same as dialog 2017-09-24 19:49:45 +01:00
Klaus Basan
c0fb236b25 Ref T30, more utility functions for style sheets 2017-09-24 19:49:43 +01:00
Klaus Basan
9c52334017 Ref T30, icon for font 2017-09-24 19:49:42 +01:00
Klaus Basan
0c7ead7977 Ref T30, allow to set font as string (stylesheet string) 2017-09-24 19:49:41 +01:00
Klaus Basan
3780bc18e0 Formatting, minor tweaks 2017-09-24 19:49:40 +01:00
Klaus Basan
a1e16ea162 Background updater can be const, only needed "readonly" for UI 2017-09-24 19:49:39 +01:00
Klaus Basan
6a17465633 Use normal private member functions instead of slots 2017-09-24 19:49:38 +01:00
Klaus Basan
6d61935bc7 Doxygen 2017-09-24 19:49:37 +01:00
Klaus Basan
e2c43a688b Automatically start background updater
Ref T28
2017-09-24 19:49:36 +01:00