Klaus Basan
bb13a32c7c
Ref T111, utility function for local decimal point
2017-09-24 19:51:34 +01:00
Klaus Basan
9445bd56a3
Ref T111, normalize utility functions
2017-09-24 19:51:33 +01:00
Klaus Basan
4e45496431
Ref T111, different implementation as recommended by MS
2017-09-24 19:51:31 +01:00
Klaus Basan
c36c3a4a05
Ref T111, set a single simulator as proposed by RW
2017-09-24 19:51:28 +01:00
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
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
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
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
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
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
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
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
3b6edcd575
Fix for fuzzy search function
...
Ref T97
2017-09-24 19:50:53 +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
8e388bfeb5
Ref T25, icons for swift map
2017-09-24 19:50:32 +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
f53a64396a
Ref T103, not all executables on MacOSX are bundles
2017-09-24 19:50:22 +01:00
Klaus Basan
0e3a06c24e
Ref T107, some minor fixes while investigating T107
2017-09-24 19:50:20 +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
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
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
9c52334017
Ref T30, icon for font
2017-09-24 19:49:42 +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
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
da77908dcf
Typos
2017-09-24 19:49:24 +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