Commit Graph

2062 Commits

Author SHA1 Message Date
Mat Sutcliffe
26376a5fa1 Macro definitions should be after includes, not before. 2019-02-22 20:23:39 +00:00
Mat Sutcliffe
4344ca1a77 Suppressed clazy false positives: method potentially mismarked as slot. 2019-02-22 20:23:39 +00:00
Mat Sutcliffe
462172a87f Fixed clazy warnings: unnecessary containers and containers being detached in range-for loops. 2019-02-22 20:23:37 +00:00
Mat Sutcliffe
8979b5257e Fixed clazy warnings: returning void expression. 2019-02-22 20:23:34 +00:00
Mat Sutcliffe
e32ea65a27 Fixed clazy warnings: fully-qualified signal parameter types. 2019-02-22 20:23:34 +00:00
Mat Sutcliffe
9f85a7b560 Fixed clazy warnings: pass large objects by reference to const. 2019-02-22 20:23:33 +00:00
Mat Sutcliffe
e40af8132c Fixed clazy warnings: missing Q_OBJECT. 2019-02-22 20:23:33 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Mat Sutcliffe
82679a3010 Replace qmake variable BLACK_CONFIG with a system based on json files.
The config is loaded from json files by qmake, and we define the qmake
function `swiftConfig` for checking whether a feature is enabled.
This function can be directly used in `buildconfig_gen.cpp.in`,
so the trick with C++ comment tokens in variables is not needed.
2019-02-22 20:23:25 +00:00
Klaus Basan
a09d7191f3 Ref T456, user statistics monitored at backend
* values for simulator/network
* changed concept a bit so crash handler values are used for statistics as well
2018-12-16 00:22:33 +01:00
Roland Rossgotterer
686f8a478e Update crashpad
crashpad is now also supported on Linux. Therefore build it everywhere except under Windows MinGW.
2018-12-16 00:22:00 +01:00
Klaus Basan
59343c6c24 Minor style fixes 2018-12-14 19:57:31 +01:00
Klaus Basan
8ec5735185 Ref T456, remove "{}" from UUID 2018-12-14 19:57:30 +01:00
Roland Rossgotterer
08558a0803 Change crashreport url to to backtrace.io
From now on, all crashreports will be submitted to backtrace.io url. Backtrace.io also requires a different set of annotations.
2018-12-11 17:42:49 +01:00
Klaus Basan
c591728e88 Aircraft ICAO code of own model is wrong
Although the reverse lookup of a model is correct, it's aircraft ICAO code is wrong

Issues found

* in the driver the ICAO code is permanently overridden -> commented out
* there are two contexts, own aircraft and simulator, but only one uses reverse lookup -> now both
* using Qt::QueuedConnection for context -> GUI
2018-12-11 00:51:31 +01:00
Klaus Basan
9525e0dbe5 Ref T441, added progress bar and stop button to UI 2018-12-10 03:41:16 +01:00
Klaus Basan
a1bea413f4 Style 2018-12-10 03:41:15 +01:00
Klaus Basan
42af510342 Check for minimum mapping version
* check functions in gui application/application
* check for instance mapping wizard
* check on mapping tool's stashing component
2018-12-05 04:03:59 +01:00
Klaus Basan
3c20590293 Allow a forced update of the setup reader
When the network is down it can happen the bootstrap file request is not yet timed out but we use our own time out.
In that case we check the cached data upfront by faking a failed web read.
2018-12-05 04:03:43 +01:00
Klaus Basan
f54bb1d9e9 Ref T441, improved messages for issues in model set (like duplicates) 2018-12-05 04:03:42 +01:00
Klaus Basan
6ef10b92ab Fixed non-saving crashdump setting and some improvements for setup
Registration for "Settings::CCrashSettings::registerMetadata()" was missing
2018-12-02 18:26:49 +01:00
Roland Rossgotterer
060c3ee492 Remove the warning about conflicting X-Plane plugins
This warning got superseded by the return value from CTraffic::acquireMultiplayerPlanes. All plugins can live side by side as long as nobody else has multiplayer planes acquired. If so, we warn the user directly and tell him the plugin name.
2018-11-29 20:54:26 +01:00
Klaus Basan
394147dcb9 Server handling
* added tower view as hardcoded
* renamed to predefined servers
* utility functions to add/remove FSD setup flags
2018-11-29 20:54:25 +01:00
Klaus Basan
4792dbf8d1 Ref T420, setting to save "auto logoff"
* added flag in settings
* use in login component
2018-11-29 20:54:25 +01:00
Klaus Basan
d704a8aeab Simulator update returns info what was updated 2018-11-29 20:54:25 +01:00
Klaus Basan
e7e82c3ab1 Style, minor fixes 2018-11-25 18:26:45 +01:00
Klaus Basan
62860eb30b Ref T436, allow to set a global offset altitude for testing (example: ".altos ? -10m") 2018-11-23 02:43:11 +01:00
Klaus Basan
7f7cf2e031 Ref T436, underflow detection for FSX
* utility functions
* force gnd flag to avoid underflow
2018-11-22 19:55:04 +01:00
Klaus Basan
0ab4a18bda Set correct model type and added model type "TypeReverseLookup" 2018-11-22 19:55:02 +01:00
Klaus Basan
cb422d72cf Misc. style issues interpolation/model adding 2018-11-22 19:55:02 +01:00
Klaus Basan
2ba89ec10c Cleaner setup load messages 2018-11-22 19:54:52 +01:00
Klaus Basan
dac6a2ca1a Ref T432, context functions to get ATC stations by COM frequency 2018-11-16 02:49:56 +01:00
Klaus Basan
a6b7b10651 Ref T420, signal when simulator no longer is vital 2018-11-16 02:49:56 +01:00
Klaus Basan
b452cd7530 Ref T410, show number of SB4 packets received under simulator/information 2018-11-16 02:49:55 +01:00
Klaus Basan
3eb46690c0 Removed clamped messages 2018-11-16 02:49:55 +01:00
Mat Sutcliffe
df563d5b29 Fixes needed to compile swift with MSVC with the /permissive- switch
which enables more C++ standard conformance.
2018-11-16 02:49:55 +01:00
Klaus Basan
db05388bea Ref T431, send airline ICAO designator or VDesignator depending on setup 2018-11-16 02:49:54 +01:00
Roland Winklmeier
ee8af9f4c6 Filter other pilots ghost aircraft when flying in shared cockpit mode
When flying in shared cockpit mode, both pilots log into the network.
One as pilot to be visible to ATC and other pilots. The other one as
observer. For the observing user, the pilots aircraft needs to be filtered.
Filter algorithm is using the same schema as vPilot does.

ref T427
2018-11-16 02:49:54 +01:00
Roland Winklmeier
420fc40fb2 Remove _OBS callsign suffix when logging in as observer
ref T428
2018-11-16 02:49:54 +01:00
Klaus Basan
839c75effc Ref T429, style and CLANG warnings 2018-11-16 02:49:53 +01:00
Klaus Basan
64b0ec87b1 Ref T423, changed strategy to force position updates
* force update for "some time", and remove all sent information
* no longer update some cycles, but for some time
* updated FSX/P3D/XPlane drivers
2018-11-16 02:49:52 +01:00
Klaus Basan
8cf7f676fa Ref T423, function to recalculate all aircraft (used when aircraft is moved or such) 2018-11-16 02:49:52 +01:00
Klaus Basan
dfd33e40c1 Detect emulated driver before casting to avoid crashs 2018-11-16 02:49:51 +01:00
Klaus Basan
084ade9e2b Ref T422, context/provider functions for COM, XPDR values 2018-11-16 02:49:51 +01:00
Klaus Basan
951247dc0b Ref T422, private slots -> private 2018-11-06 01:41:48 +01:00
Klaus Basan
0dbaf989e9 Ref T424, renamed altitude string functions and added "roundedToNearest100ft" 2018-11-06 01:41:48 +01:00
Klaus Basan
2b8e388ba1 Ref T423, force update if simulator was paused or interrupted before
* force full updates for some cycles "m_updateAllRemoteAircraftCycles"
* only use "emitSimulatorCombinedStatus" to emit changed simulator status
* renamed to "finishUpdateRemoteAircraftAndSetStatistics"
* override "forced" in "getInterpolationSetupConsolidated"

This addresses the issue that aircraft appear below ground after moving the aircraft
2018-11-06 01:41:47 +01:00
Klaus Basan
4d7ca00324 Ref T421, interpolation log message follow up, deprecated "clampedLog" 2018-11-05 01:39:51 +01:00
Klaus Basan
4172701586 Ref T422, functions to toggle/set XPDR mode 2018-11-05 01:39:51 +01:00
Klaus Basan
17382a0019 Ref T401, update functions for crashpad info in CApplication 2018-11-04 17:43:06 +01:00