Commit Graph

4719 Commits

Author SHA1 Message Date
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
Mathew Sutcliffe
c790e344ac BLACK_AUDIT macro for paranoid checks on data consistency
Summary:
Triggers a breakpoint when the debugger is attached to a debug build. Otherwise, logs a warning.

Related: T101

Reviewers: kbasan, rwinklmeier

Reviewed By: kbasan

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D35
2017-09-24 19:49:35 +01:00
Mathew Sutcliffe
7d7ce055ef T102 Implement move constructor and move assignment for CWorkerPointer
so the connection to the worker's aboutToStart signal remains valid.
2017-09-24 19:49:34 +01:00
Mathew Sutcliffe
a37b12c8bc T102 Fixed mistake that caused CWorkerPointer to delete the worker
immediately as soon as it starts.
2017-09-24 19:49:33 +01:00
Mathew Sutcliffe
fdbfda848f T102 Don't try to wait for a worker to finish while holding a lock
on the mutex that protects its finished flag, as it will deadlock.
2017-09-24 19:49:31 +01:00
Roland Winklmeier
7317ddd155 Add first batch of configuration tests
Summary:
Configuration tests check whether all mandatory dependencies to build
swift are met. They can also be used to check optional dependencies, which
results in certain features to be enabled or disabled.
This first batch tests for mandatory libraries libpng, zlib and OpenGL.
If this is not tested and some libraries are missing, the developer will
be notified very late in the build.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, jenkins

Differential Revision: https://dev.swift-project.org/D34
2017-09-24 19:49:30 +01:00
Klaus Basan
045caddcc8 Added website 2017-09-24 19:49:29 +01:00
Klaus Basan
709b9a3dd9 Check thread for icon cache (assert) 2017-09-24 19:49:28 +01:00
Klaus Basan
9ad721b77a Ref T99, use new icon names
* use icon id list from directory for performance
* some minor adjustments
2017-09-24 19:49:26 +01:00
Klaus Basan
d422873e08 Legal 2017-09-24 19:49:25 +01:00
Klaus Basan
da77908dcf Typos 2017-09-24 19:49:24 +01:00
Klaus Basan
fbe1e78da7 Ref T99, renamed icons
* upper case
* and DB id
2017-09-24 19:49:23 +01:00
Klaus Basan
ec844fd438 Ref T27, made isAircraftInRange context and provider function
Based on clang warnings and RW's comment now pure virtual and context and provider function
2017-09-24 19:49:19 +01:00
Mathew Sutcliffe
1400f38aa9 Add missing PRE_TARGETDEPS in simulator plugin projects
Summary:
This fixes issue reported by Klaus in Slack:
> when I change something in the plugin driver, I always have to rebuild the plugins before I can debug again.

Also refactored `libraries.pri` to remove duplication.

Reviewers: #swift_pilot_client, rwinklmeier

Reviewed By: #swift_pilot_client, rwinklmeier

Subscribers: kbasan, jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D31
2017-09-24 19:49:18 +01:00
Roland Winklmeier
574d4056ce Initialize NewVis::Spare member variable
Summary: This struct variable is not used yet, but initializing it fixes a warning in cppcheck.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, kbasan, jenkins

Differential Revision: https://dev.swift-project.org/D32
2017-09-24 19:49:17 +01:00
Roland Winklmeier
984b30aef3 Enable P3D-v4 64 bit build
Summary:
This commit enables P3D-v4 for 64 bit including all dependent libraries.
Those binaries are not yet installed, since they are considered
experimental.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Differential Revision: https://dev.swift-project.org/D30
2017-09-24 19:49:16 +01:00
Klaus Basan
d15b6446e3 Ref T26, another callsign to airline resolution 2017-09-24 19:49:15 +01:00
Klaus Basan
a7bd53aaee Exclude FSUIPC from Doxygen 2017-09-24 19:49:14 +01:00
Klaus Basan
2093d9def2 Ref T97, use fuzzy search for aircraft ICAO 2017-09-24 19:49:13 +01:00
Klaus Basan
32abac5d94 Ref T97, fuzzy search function 2017-09-24 19:49:11 +01:00